Remove tokenTransferProxyAddress from config
This commit is contained in:
parent
f02ada2d11
commit
d84bb7ed7e
@ -63,15 +63,11 @@ export class ContractWrappers {
|
|||||||
_.forEach(abiArrays, abi => {
|
_.forEach(abiArrays, abi => {
|
||||||
this._web3Wrapper.abiDecoder.addABI(abi);
|
this._web3Wrapper.abiDecoder.addABI(abi);
|
||||||
});
|
});
|
||||||
this.erc20Proxy = new ERC20ProxyWrapper(
|
this.erc20Proxy = new ERC20ProxyWrapper(this._web3Wrapper, config.networkId, config.erc20ProxyContractAddress);
|
||||||
this._web3Wrapper,
|
|
||||||
config.networkId,
|
|
||||||
config.tokenTransferProxyContractAddress,
|
|
||||||
);
|
|
||||||
this.erc721Proxy = new ERC721ProxyWrapper(
|
this.erc721Proxy = new ERC721ProxyWrapper(
|
||||||
this._web3Wrapper,
|
this._web3Wrapper,
|
||||||
config.networkId,
|
config.networkId,
|
||||||
config.tokenTransferProxyContractAddress,
|
config.erc721ProxyContractAddress,
|
||||||
);
|
);
|
||||||
this.erc20Token = new ERC20TokenWrapper(this._web3Wrapper, config.networkId, this.erc20Proxy);
|
this.erc20Token = new ERC20TokenWrapper(this._web3Wrapper, config.networkId, this.erc20Proxy);
|
||||||
this.erc721Token = new ERC721TokenWrapper(this._web3Wrapper, config.networkId, this.erc721Proxy);
|
this.erc721Token = new ERC721TokenWrapper(this._web3Wrapper, config.networkId, this.erc721Proxy);
|
||||||
|
@ -105,8 +105,8 @@ export type SyncMethod = (...args: any[]) => any;
|
|||||||
* gasPrice: Gas price to use with every transaction
|
* gasPrice: Gas price to use with every transaction
|
||||||
* exchangeContractAddress: The address of an exchange contract to use
|
* exchangeContractAddress: The address of an exchange contract to use
|
||||||
* zrxContractAddress: The address of the ZRX contract to use
|
* zrxContractAddress: The address of the ZRX contract to use
|
||||||
* tokenRegistryContractAddress: The address of a token registry contract to use
|
* erc20ProxyContractAddress: The address of the erc20 token transfer proxy contract to use
|
||||||
* tokenTransferProxyContractAddress: The address of the token transfer proxy contract to use
|
* erc721ProxyContractAddress: The address of the erc721 token transfer proxy contract to use
|
||||||
* orderWatcherConfig: All the configs related to the orderWatcher
|
* orderWatcherConfig: All the configs related to the orderWatcher
|
||||||
*/
|
*/
|
||||||
export interface ContractWrappersConfig {
|
export interface ContractWrappersConfig {
|
||||||
@ -114,8 +114,8 @@ export interface ContractWrappersConfig {
|
|||||||
gasPrice?: BigNumber;
|
gasPrice?: BigNumber;
|
||||||
exchangeContractAddress?: string;
|
exchangeContractAddress?: string;
|
||||||
zrxContractAddress?: string;
|
zrxContractAddress?: string;
|
||||||
tokenRegistryContractAddress?: string;
|
erc20ProxyContractAddress?: string;
|
||||||
tokenTransferProxyContractAddress?: string;
|
erc721ProxyContractAddress?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user