diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 18:39:44 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 18:39:44 +0800 |
commit | 9325bd8cb4d3b0f3bbf241a52bd60cda77972236 (patch) | |
tree | e2f31862725a5d8a8ba205edb83927127a63be78 /src/types.ts | |
parent | 28d3528e42563f95255cee3bd7f85cc03141522e (diff) | |
download | dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.tar dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.tar.gz dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.tar.bz2 dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.tar.lz dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.tar.xz dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.tar.zst dexon-0x-contracts-9325bd8cb4d3b0f3bbf241a52bd60cda77972236.zip |
Add initial batchCancelAsync implementation
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 5407b0121..6c217fe51 100644 --- a/src/types.ts +++ b/src/types.ts @@ -74,6 +74,12 @@ export interface ExchangeContract extends ContractInstance { estimateGas: (orderAddresses: OrderAddresses, orderValues: OrderValues, cancelAmount: BigNumber.BigNumber, txOpts?: TxOpts) => number; }; + batchCancel: { + (orderAddresses: OrderAddresses[], orderValues: OrderValues[], cancelAmount: BigNumber.BigNumber[], + txOpts?: TxOpts): ContractResponse; + estimateGas: (orderAddresses: OrderAddresses[], orderValues: OrderValues[], cancelAmount: BigNumber.BigNumber[], + txOpts?: TxOpts) => number; + }; filled: { call: (orderHash: string) => BigNumber.BigNumber; }; |