aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 04:07:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:37 +0800
commit87d34f9c7f3ccf22e01798c27c4a4d5d4f943816 (patch)
treee92510af5e9f1504acbfda424a59bf4facd0249d /packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts
parentd20926e150beed4785b31451a415bbf545f850be (diff)
downloaddexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.gz
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.bz2
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.lz
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.xz
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.zst
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.zip
Auto-fix linter errors
Diffstat (limited to 'packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts')
-rw-r--r--packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts b/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts
index 50871d3f2..60fe7f33a 100644
--- a/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts
@@ -1,10 +1,12 @@
import * as _ from 'lodash';
-import {Web3Wrapper} from '../web3_wrapper';
+
+import {artifacts} from '../artifacts';
+import {Token, TokenMetadata, TokenRegistryContract, ZeroExError} from '../types';
import {assert} from '../utils/assert';
-import {Token, TokenRegistryContract, TokenMetadata, ZeroExError} from '../types';
import {constants} from '../utils/constants';
+import {Web3Wrapper} from '../web3_wrapper';
+
import {ContractWrapper} from './contract_wrapper';
-import {artifacts} from '../artifacts';
/**
* This class includes all the functionality related to interacting with the 0x Token Registry smart contract.
@@ -123,7 +125,7 @@ export class TokenRegistryWrapper extends ContractWrapper {
const contractInstance = await this._instantiateContractIfExistsAsync<TokenRegistryContract>(
artifacts.TokenRegistryArtifact, this._contractAddressIfExists,
);
- this._tokenRegistryContractIfExists = contractInstance as TokenRegistryContract;
+ this._tokenRegistryContractIfExists = contractInstance;
return this._tokenRegistryContractIfExists;
}
}