aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers/ether_token_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/ether_token_wrapper.ts
parentd20926e150beed4785b31451a415bbf545f850be (diff)
downloaddexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar
dexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.gz
dexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.bz2
dexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.lz
dexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.xz
dexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.zst
dexon-sol-tools-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.zip
Auto-fix linter errors
Diffstat (limited to 'packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts')
-rw-r--r--packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts b/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
index 9867e9a23..0ac21cb78 100644
--- a/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
@@ -1,11 +1,13 @@
-import * as _ from 'lodash';
import BigNumber from 'bignumber.js';
+import * as _ from 'lodash';
+
+import {artifacts} from '../artifacts';
+import {EtherTokenContract, ZeroExError} from '../types';
+import {assert} from '../utils/assert';
import {Web3Wrapper} from '../web3_wrapper';
+
import {ContractWrapper} from './contract_wrapper';
import {TokenWrapper} from './token_wrapper';
-import {EtherTokenContract, ZeroExError} from '../types';
-import {assert} from '../utils/assert';
-import {artifacts} from '../artifacts';
/**
* This class includes all the functionality related to interacting with a wrapped Ether ERC20 token contract.
@@ -89,7 +91,7 @@ export class EtherTokenWrapper extends ContractWrapper {
const contractInstance = await this._instantiateContractIfExistsAsync<EtherTokenContract>(
artifacts.EtherTokenArtifact, this._contractAddressIfExists,
);
- this._etherTokenContractIfExists = contractInstance as EtherTokenContract;
+ this._etherTokenContractIfExists = contractInstance;
return this._etherTokenContractIfExists;
}
}