diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-07 23:54:27 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-07 23:54:27 +0800 |
commit | ca308354880e81425043cd586da6c781013bea9d (patch) | |
tree | aace4130451f80c01fdc5e7da16260e2d70c96e2 /src/types.ts | |
parent | 9e855b4c6ad3baef8be3a725ca26b679c2542c00 (diff) | |
download | dexon-0x-contracts-ca308354880e81425043cd586da6c781013bea9d.tar.gz dexon-0x-contracts-ca308354880e81425043cd586da6c781013bea9d.tar.zst dexon-0x-contracts-ca308354880e81425043cd586da6c781013bea9d.zip |
make txOpts optional
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types.ts b/src/types.ts index 92e9dfb9c..cc145dc2e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -76,9 +76,9 @@ export interface ExchangeContract extends ContractInstance { }; fillOrKill: { (orderAddresses: OrderAddresses, orderValues: OrderValues, fillAmount: BigNumber.BigNumber, - v: number, r: string, s: string, txOpts: TxOpts): ContractResponse; + v: number, r: string, s: string, txOpts?: TxOpts): ContractResponse; estimateGas: (orderAddresses: OrderAddresses, orderValues: OrderValues, fillAmount: BigNumber.BigNumber, - v: number, r: string, s: string, txOpts: TxOpts) => number; + v: number, r: string, s: string, txOpts?: TxOpts) => number; }; filled: { call: (orderHash: string) => BigNumber.BigNumber; |