aboutsummaryrefslogtreecommitdiffstats
path: root/src/0x.js.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-02 00:21:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-02 00:21:12 +0800
commit0554f947b12f36a1cd5f7be469123e794b467f0b (patch)
treec3d1a55af98063dadfb37cf588adc6e00dfdf3b1 /src/0x.js.ts
parent6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3 (diff)
downloaddexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.tar
dexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.gz
dexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.bz2
dexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.lz
dexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.xz
dexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.zst
dexon-sol-tools-0554f947b12f36a1cd5f7be469123e794b467f0b.zip
Add not enough taker balance tests
Diffstat (limited to 'src/0x.js.ts')
-rw-r--r--src/0x.js.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index 336700a54..a95bc3384 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -103,9 +103,9 @@ export class ZeroEx {
}
constructor(web3: Web3) {
this.web3Wrapper = new Web3Wrapper(web3);
- this.exchange = new ExchangeWrapper(this.web3Wrapper);
- this.tokenRegistry = new TokenRegistryWrapper(this.web3Wrapper);
this.token = new TokenWrapper(this.web3Wrapper);
+ this.exchange = new ExchangeWrapper(this.web3Wrapper, this.token);
+ this.tokenRegistry = new TokenRegistryWrapper(this.web3Wrapper);
}
/**
* Sets a new provider for the web3 instance used by 0x.js