diff options
Diffstat (limited to 'src')
-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 { |