diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-01 17:34:32 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-01 17:34:32 +0800 |
commit | cc4b322a93d659820c4d2a621ebcbf15d32e8929 (patch) | |
tree | 9222f241e3eb7388beb20108dc0acec7492c99ae | |
parent | 0a68a69d0ca75b45c4ebf46ff35f513f1c4344ec (diff) | |
download | dexon-0x-contracts-cc4b322a93d659820c4d2a621ebcbf15d32e8929.tar.gz dexon-0x-contracts-cc4b322a93d659820c4d2a621ebcbf15d32e8929.tar.zst dexon-0x-contracts-cc4b322a93d659820c4d2a621ebcbf15d32e8929.zip |
Type estimateGas
-rw-r--r-- | src/types.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/types.ts b/src/types.ts index cf1376754..c3cabd4c7 100644 --- a/src/types.ts +++ b/src/types.ts @@ -36,10 +36,12 @@ export type OrderValues = [ export interface ExchangeContract { isValidSignature: any; - fill: ( - orderAddresses: OrderAddresses, orderValues: OrderValues, fillAmount: BigNumber.BigNumber, - shouldCheckTransfer: boolean, v: number, r: string, s: string, txData: TxOpts, - ) => ContractResponse; + fill: { + (orderAddresses: OrderAddresses, orderValues: OrderValues, fillAmount: BigNumber.BigNumber, + shouldCheckTransfer: boolean, v: number, r: string, s: string, txData: TxOpts): ContractResponse; + estimateGas: (orderAddresses: OrderAddresses, orderValues: OrderValues, fillAmount: BigNumber.BigNumber, + shouldCheckTransfer: boolean, v: number, r: string, s: string, txData: TxOpts) => number; + }; } export interface TokenContract { |