diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-08 06:18:19 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-07-11 15:30:14 +0800 |
commit | 4ecfac6cb47477444d25c42e9fa569b4c47e3ee4 (patch) | |
tree | 0364a02c137dcc4bcf91b3ecaab8ca5f968b2676 /src/types.ts | |
parent | 00c1198b34423ff4f999bc5998d61ab3c07a168e (diff) | |
download | dexon-0x-contracts-4ecfac6cb47477444d25c42e9fa569b4c47e3ee4.tar.gz dexon-0x-contracts-4ecfac6cb47477444d25c42e9fa569b4c47e3ee4.tar.zst dexon-0x-contracts-4ecfac6cb47477444d25c42e9fa569b4c47e3ee4.zip |
Migrate cencelOrder
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/types.ts b/src/types.ts index 66881e170..fce42352f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -89,10 +89,11 @@ export interface ExchangeContract extends ContractInstance { estimateGas: (orderAddresses: OrderAddresses[], orderValues: OrderValues[], fillAmount: BigNumber.BigNumber, shouldCheckTransfer: boolean, v: number[], r: string[], s: string[], txOpts?: TxOpts) => number; }; - cancel: { - (orderAddresses: OrderAddresses, orderValues: OrderValues, cancelAmount: BigNumber.BigNumber, + cancelOrder: { + (orderAddresses: OrderAddresses, orderValues: OrderValues, canceltakerTokenAmount: BigNumber.BigNumber, txOpts?: TxOpts): ContractResponse; - estimateGas: (orderAddresses: OrderAddresses, orderValues: OrderValues, cancelAmount: BigNumber.BigNumber, + estimateGas: (orderAddresses: OrderAddresses, orderValues: OrderValues, + canceltakerTokenAmount: BigNumber.BigNumber, txOpts?: TxOpts) => number; }; batchCancel: { |