aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-25 18:10:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-29 16:01:13 +0800
commit5b60d9f0f487719510e8d3463faf2fbad9d95d61 (patch)
tree68de0b3438be8b9d672d499d0cc0ce8b41ae1af8 /src/contract_wrappers/exchange_wrapper.ts
parentdcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e (diff)
downloaddexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.gz
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.bz2
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.lz
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.xz
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.tar.zst
dexon-sol-tools-5b60d9f0f487719510e8d3463faf2fbad9d95d61.zip
Remove default value for gasPrice
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 8ae51da43..d09df236b 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -73,7 +73,7 @@ export class ExchangeWrapper extends ContractWrapper {
];
return [orderAddresses, orderValues];
}
- constructor(web3Wrapper: Web3Wrapper, tokenWrapper: TokenWrapper, gasPrice: BigNumber.BigNumber) {
+ constructor(web3Wrapper: Web3Wrapper, tokenWrapper: TokenWrapper, gasPrice?: BigNumber.BigNumber) {
super(web3Wrapper, gasPrice);
this._tokenWrapper = tokenWrapper;
this._orderValidationUtils = new OrderValidationUtils(tokenWrapper, this);