diff options
author | Assaf <apackin@gmail.com> | 2017-10-11 07:52:43 +0800 |
---|---|---|
committer | Assaf <apackin@gmail.com> | 2017-10-11 07:52:43 +0800 |
commit | c8b54f3bac33f28c315c7018b3185f59e9a474dc (patch) | |
tree | a829bd9b51b7284ea97e9c2a2f5f1efe43302cb5 /src/types.ts | |
parent | 233f97891c4e9fa88c339a29bd2ebc12096dbccb (diff) | |
download | dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.tar dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.tar.gz dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.tar.bz2 dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.tar.lz dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.tar.xz dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.tar.zst dexon-0x-contracts-c8b54f3bac33f28c315c7018b3185f59e9a474dc.zip |
Use OrderFillRequest interface for batchFillOrKill
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/types.ts b/src/types.ts index 8c0bc1cf9..4d0b477dd 100644 --- a/src/types.ts +++ b/src/types.ts @@ -57,7 +57,7 @@ export interface ExchangeContract extends Web3.ContractInstance { callAsync: (orderHash: string, defaultBlock?: Web3.BlockParam) => Promise<BigNumber.BigNumber>; }; isRoundingError: { - callAsync: (fillTakerAmount: BigNumber.BigNumber, takerTokenAmount: BigNumber.BigNumber, + callAsync: (takerTokenFillAmount: BigNumber.BigNumber, takerTokenAmount: BigNumber.BigNumber, makerTokenAmount: BigNumber.BigNumber, txOpts?: TxOpts) => Promise<boolean>; }; fillOrder: { @@ -360,11 +360,6 @@ export interface SubscriptionOpts { export type DoneCallback = (err?: Error) => void; -export interface OrderFillOrKillRequest { - signedOrder: SignedOrder; - fillTakerAmount: BigNumber.BigNumber; -} - export interface OrderCancellationRequest { order: Order|SignedOrder; takerTokenCancelAmount: BigNumber.BigNumber; |