diff options
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r-- | src/contract_wrappers/proxy_wrapper.ts | 4 | ||||
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/contract_wrappers/proxy_wrapper.ts b/src/contract_wrappers/proxy_wrapper.ts index 9deed5231..c69ca7017 100644 --- a/src/contract_wrappers/proxy_wrapper.ts +++ b/src/contract_wrappers/proxy_wrapper.ts @@ -1,6 +1,6 @@ import * as _ from 'lodash'; import {ContractWrapper} from './contract_wrapper'; -import * as ProxyArtifacts from '../artifacts/Proxy.json'; +import * as TokenTransferProxyArtifacts from '../artifacts/TokenTransferProxy.json'; import {ProxyContract} from '../types'; /** @@ -34,7 +34,7 @@ export class ProxyWrapper extends ContractWrapper { if (!_.isUndefined(this._proxyContractIfExists)) { return this._proxyContractIfExists; } - const contractInstance = await this._instantiateContractIfExistsAsync((ProxyArtifacts as any)); + const contractInstance = await this._instantiateContractIfExistsAsync((TokenTransferProxyArtifacts as any)); this._proxyContractIfExists = contractInstance as ProxyContract; return this._proxyContractIfExists; } diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index 9b529f64f..ae1c7fa43 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -7,7 +7,7 @@ import {eventUtils} from '../utils/event_utils'; import {constants} from '../utils/constants'; import {ContractWrapper} from './contract_wrapper'; import * as TokenArtifacts from '../artifacts/Token.json'; -import * as ProxyArtifacts from '../artifacts/Proxy.json'; +import * as TokenTransferProxyArtifacts from '../artifacts/TokenTransferProxy.json'; import {subscriptionOptsSchema} from '../schemas/subscription_opts_schema'; import {indexFilterValuesSchema} from '../schemas/index_filter_values_schema'; import { @@ -248,7 +248,7 @@ export class TokenWrapper extends ContractWrapper { const networkIdIfExists = await this._web3Wrapper.getNetworkIdIfExistsAsync(); const proxyNetworkConfigsIfExists = _.isUndefined(networkIdIfExists) ? undefined : - (ProxyArtifacts as any).networks[networkIdIfExists]; + (TokenTransferProxyArtifacts as any).networks[networkIdIfExists]; if (_.isUndefined(proxyNetworkConfigsIfExists)) { throw new Error(ZeroExError.ContractNotDeployedOnNetwork); } |