aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-07 23:54:27 +0800
committerFabio Berger <me@fabioberger.com>2017-06-07 23:54:27 +0800
commitca308354880e81425043cd586da6c781013bea9d (patch)
treeaace4130451f80c01fdc5e7da16260e2d70c96e2 /src
parent9e855b4c6ad3baef8be3a725ca26b679c2542c00 (diff)
downloaddexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.tar
dexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.tar.gz
dexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.tar.bz2
dexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.tar.lz
dexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.tar.xz
dexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.tar.zst
dexon-sol-tools-ca308354880e81425043cd586da6c781013bea9d.zip
make txOpts optional
Diffstat (limited to 'src')
-rw-r--r--src/types.ts4
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;