diff options
Diffstat (limited to 'packages/website/ts/types.ts')
-rw-r--r-- | packages/website/ts/types.ts | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts index 42788d0e4..c1fb7111f 100644 --- a/packages/website/ts/types.ts +++ b/packages/website/ts/types.ts @@ -59,40 +59,15 @@ export interface OrderToken { name: string; symbol: string; decimals: number; - address: string; -} - -export interface OrderParty { - address: string; - token: OrderToken; - amount: string; - feeAmount: string; } export interface Order { - maker: OrderParty; - taker: OrderParty; - expiration: string; - feeRecipient: string; - salt: string; - signature: SignatureData; - exchangeContract: string; - networkId: number; -} - -export interface SerializedOrderToken { - name: string; - symbol: string; - decimals: number; -} - -export interface SerializedOrder { maker: string; taker: string; makerTokenAddress: string; takerTokenAddress: string; - makerToken: SerializedOrderToken; - takerToken: SerializedOrderToken; + makerToken: OrderToken; + takerToken: OrderToken; makerFee: string; takerFee: string; makerTokenAmount: string; |