diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-08 06:47:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-07-11 15:30:14 +0800 |
commit | 7cbd408c24cf87755dca10d6dbcb5f4e99d6be17 (patch) | |
tree | 425fdd536888081b400fc98ccb7c9d8f94fe1876 /src/types.ts | |
parent | b774a9f91ca1200ef9cef1b6fb0d3396df5d59ed (diff) | |
download | dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.tar dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.tar.gz dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.tar.bz2 dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.tar.lz dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.tar.xz dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.tar.zst dexon-0x-contracts-7cbd408c24cf87755dca10d6dbcb5f4e99d6be17.zip |
Migrate batchFillOrders
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/types.ts b/src/types.ts index bf5a0281a..b854aac66 100644 --- a/src/types.ts +++ b/src/types.ts @@ -80,11 +80,14 @@ export interface ExchangeContract extends ContractInstance { shouldThrowOnInsufficientBalanceOrAllowance: boolean, v: number, r: string, s: string, txOpts?: TxOpts) => number; }; - batchFill: { - (orderAddresses: OrderAddresses[], orderValues: OrderValues[], fillAmounts: BigNumber.BigNumber[], - shouldCheckTransfer: boolean, v: number[], r: string[], s: string[], txOpts?: TxOpts): ContractResponse; - estimateGas: (orderAddresses: OrderAddresses[], orderValues: OrderValues[], fillAmounts: BigNumber.BigNumber[], - shouldCheckTransfer: boolean, v: number[], r: string[], s: string[], txOpts?: TxOpts) => number; + batchFillOrders: { + (orderAddresses: OrderAddresses[], orderValues: OrderValues[], fillTakerTokenAmounts: BigNumber.BigNumber[], + shouldThrowOnInsufficientBalanceOrAllowance: boolean, + v: number[], r: string[], s: string[], txOpts?: TxOpts): ContractResponse; + estimateGas: (orderAddresses: OrderAddresses[], orderValues: OrderValues[], + fillTakerTokenAmounts: BigNumber.BigNumber[], + shouldThrowOnInsufficientBalanceOrAllowance: boolean, + v: number[], r: string[], s: string[], txOpts?: TxOpts) => number; }; fillOrdersUpTo: { (orderAddresses: OrderAddresses[], orderValues: OrderValues[], fillTakerTokenAmount: BigNumber.BigNumber, |