diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-06 00:45:20 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-06 00:45:20 +0800 |
commit | a7b2131db77b72379f0d57eaff694d5a925191cd (patch) | |
tree | f7c5d443f4bcbd9ee702c8897d1c60a7b6056510 /src/contract_wrappers/token_registry_wrapper.ts | |
parent | f0572679557ebdc6956d079ea2b1f54fd52c2c67 (diff) | |
download | dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.tar dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.tar.gz dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.tar.bz2 dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.tar.lz dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.tar.xz dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.tar.zst dexon-sol-tools-a7b2131db77b72379f0d57eaff694d5a925191cd.zip |
Decode logs args in awaitTransactionMinedAsync
Diffstat (limited to 'src/contract_wrappers/token_registry_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/token_registry_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/token_registry_wrapper.ts b/src/contract_wrappers/token_registry_wrapper.ts index 79eb516fe..528a88e06 100644 --- a/src/contract_wrappers/token_registry_wrapper.ts +++ b/src/contract_wrappers/token_registry_wrapper.ts @@ -4,7 +4,7 @@ import {assert} from '../utils/assert'; import {Token, TokenRegistryContract, TokenMetadata} from '../types'; import {constants} from '../utils/constants'; import {ContractWrapper} from './contract_wrapper'; -import * as TokenRegistryArtifacts from '../artifacts/TokenRegistry.json'; +import {artifacts} from '../artifacts'; /** * This class includes all the functionality related to interacting with the 0x Token Registry smart contract. @@ -102,7 +102,7 @@ export class TokenRegistryWrapper extends ContractWrapper { return this._tokenRegistryContractIfExists; } const contractInstance = await this._instantiateContractIfExistsAsync<TokenRegistryContract>( - TokenRegistryArtifacts as any as Artifact, + artifacts.TokenRegistryArtifact, ); this._tokenRegistryContractIfExists = contractInstance as TokenRegistryContract; return this._tokenRegistryContractIfExists; |