diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-31 05:45:20 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-31 05:45:20 +0800 |
commit | 9200ed2216688410a95175bab460d262fc52a591 (patch) | |
tree | 82677b3cc9be709458d1c40eeac9e2057db1c28d /packages/contracts/src/utils/types.ts | |
parent | e1f7dd1372d2639a5f72705b089bb2250a2fe361 (diff) | |
download | dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.tar dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.tar.gz dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.tar.bz2 dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.tar.lz dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.tar.xz dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.tar.zst dexon-sol-tools-9200ed2216688410a95175bab460d262fc52a591.zip |
Introduce OrderWithoutExchangeAddress type since this is what get's sent to the smart contracts
Diffstat (limited to 'packages/contracts/src/utils/types.ts')
-rw-r--r-- | packages/contracts/src/utils/types.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts index e4401bd92..9a0c95504 100644 --- a/packages/contracts/src/utils/types.ts +++ b/packages/contracts/src/utils/types.ts @@ -1,4 +1,4 @@ -import { AbiDefinition, ContractAbi, Order } from '@0xproject/types'; +import { AbiDefinition, ContractAbi, Order, OrderWithoutExchangeAddress } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; export interface ERC20BalancesByOwner { @@ -18,25 +18,25 @@ export interface SubmissionContractEventArgs { } export interface BatchFillOrders { - orders: Order[]; + orders: OrderWithoutExchangeAddress[]; signatures: string[]; takerAssetFillAmounts: BigNumber[]; } export interface MarketSellOrders { - orders: Order[]; + orders: OrderWithoutExchangeAddress[]; signatures: string[]; takerAssetFillAmount: BigNumber; } export interface MarketBuyOrders { - orders: Order[]; + orders: OrderWithoutExchangeAddress[]; signatures: string[]; makerAssetFillAmount: BigNumber; } export interface BatchCancelOrders { - orders: Order[]; + orders: OrderWithoutExchangeAddress[]; } export interface CancelOrdersBefore { @@ -143,13 +143,13 @@ export interface OrderInfo { } export interface CancelOrder { - order: Order; + order: OrderWithoutExchangeAddress; takerAssetCancelAmount: BigNumber; } export interface MatchOrder { - left: Order; - right: Order; + left: OrderWithoutExchangeAddress; + right: OrderWithoutExchangeAddress; leftSignature: string; rightSignature: string; } |