aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 00:05:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 16:14:20 +0800
commit451ded4963aaaa40ff4d00bcb0d589b06b45ce24 (patch)
treed7c0a8aee987531fddf45f78c0309559acc73a33 /src/0x.ts
parent837618c7a016b9b66d70f3c0e9682c97a9d4cf8a (diff)
downloaddexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.gz
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.bz2
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.lz
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.xz
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.zst
dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.zip
Add tests for zeroEx.exchange.getLogsAsync
Diffstat (limited to 'src/0x.ts')
-rw-r--r--src/0x.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/0x.ts b/src/0x.ts
index c187fc5c2..c5e8e0066 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -206,7 +206,11 @@ export class ZeroEx {
this._getTokenTransferProxyAddressAsync.bind(this),
);
const exchageContractAddressIfExists = _.isUndefined(config) ? undefined : config.exchangeContractAddress;
- this.exchange = new ExchangeWrapper(this._web3Wrapper, this.token, exchageContractAddressIfExists);
+ this.exchange = new ExchangeWrapper(
+ this._web3Wrapper,
+ this._abiDecoder,
+ this.token,
+ exchageContractAddressIfExists);
this.proxy = new TokenTransferProxyWrapper(
this._web3Wrapper,
this._getTokenTransferProxyAddressAsync.bind(this),