diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 16:06:34 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:54 +0800 |
commit | d84bb7ed7e25e8ed01c1228f7792f901db3d60e4 (patch) | |
tree | 69372adfc19adad821c4c7fe22fb3141fa262649 /packages/contract-wrappers/src/contract_wrappers.ts | |
parent | f02ada2d11b5dec6bc4615cba43a932821501473 (diff) | |
download | dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.tar dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.tar.gz dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.tar.bz2 dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.tar.lz dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.tar.xz dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.tar.zst dexon-sol-tools-d84bb7ed7e25e8ed01c1228f7792f901db3d60e4.zip |
Remove tokenTransferProxyAddress from config
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers.ts')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts index aa7931285..72c953421 100644 --- a/packages/contract-wrappers/src/contract_wrappers.ts +++ b/packages/contract-wrappers/src/contract_wrappers.ts @@ -63,15 +63,11 @@ export class ContractWrappers { _.forEach(abiArrays, abi => { this._web3Wrapper.abiDecoder.addABI(abi); }); - this.erc20Proxy = new ERC20ProxyWrapper( - this._web3Wrapper, - config.networkId, - config.tokenTransferProxyContractAddress, - ); + this.erc20Proxy = new ERC20ProxyWrapper(this._web3Wrapper, config.networkId, config.erc20ProxyContractAddress); this.erc721Proxy = new ERC721ProxyWrapper( this._web3Wrapper, config.networkId, - config.tokenTransferProxyContractAddress, + config.erc721ProxyContractAddress, ); this.erc20Token = new ERC20TokenWrapper(this._web3Wrapper, config.networkId, this.erc20Proxy); this.erc721Token = new ERC721TokenWrapper(this._web3Wrapper, config.networkId, this.erc721Proxy); |