diff options
author | Fabio Berger <me@fabioberger.com> | 2017-08-21 20:20:06 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-08-21 20:20:06 +0800 |
commit | 1311dfe7f5fac9b08a83bc4d0eaab7996dad1957 (patch) | |
tree | f734bb86dde3943d97a73ac7ed76f0dae75b8551 /src/contract_wrappers/token_wrapper.ts | |
parent | dd6997423f64509f1badfc8b44a63e3cf73db648 (diff) | |
download | dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.tar dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.tar.gz dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.tar.bz2 dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.tar.lz dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.tar.xz dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.tar.zst dexon-sol-tools-1311dfe7f5fac9b08a83bc4d0eaab7996dad1957.zip |
Update artifacts and rename proxy to tokenTransferProxy
Diffstat (limited to 'src/contract_wrappers/token_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |