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 19:26:13 +0800 |
commit | d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9 (patch) | |
tree | 6b8d27406a8c57fd281e2c0faa33546435968a05 /src/types.ts | |
parent | 87e0eceb9b5b4460e0875bedcd3a5864ab870e12 (diff) | |
download | dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.tar dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.tar.gz dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.tar.bz2 dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.tar.lz dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.tar.xz dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.tar.zst dexon-sol-tools-d55213e1aa1bf5d934afaef3f28d4b5c7a5cc7f9.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 877864f49..a1bd6d19e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -80,6 +80,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; }; |