aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-18 13:45:34 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-26 04:25:56 +0800
commit73e8f890b520ceaf16b5ad38f926b67dd3ea148b (patch)
tree0312339e0537111fc81c41f5cdaefe3d8f69c5fb
parentc11ba988c78e2d6b7c8e1a57f937c6069337c702 (diff)
downloaddexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.tar
dexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.tar.gz
dexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.tar.bz2
dexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.tar.lz
dexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.tar.xz
dexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.tar.zst
dexon-sol-tools-73e8f890b520ceaf16b5ad38f926b67dd3ea148b.zip
Remove unused imports
-rw-r--r--src/0x.ts1
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts6
-rw-r--r--src/contract_wrappers/proxy_wrapper.ts1
-rw-r--r--src/contract_wrappers/token_registry_wrapper.ts1
-rw-r--r--src/types.ts1
-rw-r--r--src/utils/assert.ts1
-rw-r--r--test/0x.js_test.ts1
-rw-r--r--test/artifacts_test.ts1
-rw-r--r--test/ether_token_wrapper_test.ts2
-rw-r--r--test/exchange_wrapper_test.ts1
10 files changed, 1 insertions, 15 deletions
diff --git a/src/0x.ts b/src/0x.ts
index eaaa67d59..b581d242d 100644
--- a/src/0x.ts
+++ b/src/0x.ts
@@ -3,7 +3,6 @@ import * as BigNumber from 'bignumber.js';
import {bigNumberConfigs} from './bignumber_config';
import * as ethUtil from 'ethereumjs-util';
import contract = require('truffle-contract');
-import * as Web3 from 'web3';
import findVersions = require('find-versions');
import compareVersions = require('compare-versions');
import {Web3Wrapper} from './web3_wrapper';
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index f75f8d9bb..65bb37760 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -1,7 +1,6 @@
import * as _ from 'lodash';
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');
-import * as Web3 from 'web3';
import {Web3Wrapper} from '../web3_wrapper';
import {
ECSignature,
@@ -27,17 +26,12 @@ import {
LogErrorContractEventArgs,
LogFillContractEventArgs,
LogCancelContractEventArgs,
- EventCallback,
- ContractEventArg,
- ExchangeContractByAddress,
- ContractArtifact,
} from '../types';
import {assert} from '../utils/assert';
import {utils} from '../utils/utils';
import {eventUtils} from '../utils/event_utils';
import {OrderValidationUtils} from '../utils/order_validation_utils';
import {ContractWrapper} from './contract_wrapper';
-import {ProxyWrapper} from './proxy_wrapper';
import {ecSignatureSchema} from '../schemas/ec_signature_schema';
import {signedOrdersSchema} from '../schemas/signed_orders_schema';
import {subscriptionOptsSchema} from '../schemas/subscription_opts_schema';
diff --git a/src/contract_wrappers/proxy_wrapper.ts b/src/contract_wrappers/proxy_wrapper.ts
index c247754f8..9deed5231 100644
--- a/src/contract_wrappers/proxy_wrapper.ts
+++ b/src/contract_wrappers/proxy_wrapper.ts
@@ -1,5 +1,4 @@
import * as _ from 'lodash';
-import {Web3Wrapper} from '../web3_wrapper';
import {ContractWrapper} from './contract_wrapper';
import * as ProxyArtifacts from '../artifacts/Proxy.json';
import {ProxyContract} from '../types';
diff --git a/src/contract_wrappers/token_registry_wrapper.ts b/src/contract_wrappers/token_registry_wrapper.ts
index c9f21e46f..d15e5c4f7 100644
--- a/src/contract_wrappers/token_registry_wrapper.ts
+++ b/src/contract_wrappers/token_registry_wrapper.ts
@@ -1,7 +1,6 @@
import * as _ from 'lodash';
import {Web3Wrapper} from '../web3_wrapper';
import {Token, TokenRegistryContract, TokenMetadata} from '../types';
-import {assert} from '../utils/assert';
import {ContractWrapper} from './contract_wrapper';
import * as TokenRegistryArtifacts from '../artifacts/TokenRegistry.json';
diff --git a/src/types.ts b/src/types.ts
index 974057fed..ee45acf11 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1,4 +1,3 @@
-import * as _ from 'lodash';
import * as Web3 from 'web3';
export enum ZeroExError {
diff --git a/src/utils/assert.ts b/src/utils/assert.ts
index dab796c4e..969209208 100644
--- a/src/utils/assert.ts
+++ b/src/utils/assert.ts
@@ -3,7 +3,6 @@ import * as BigNumber from 'bignumber.js';
import * as Web3 from 'web3';
import {Web3Wrapper} from '../web3_wrapper';
import {SchemaValidator} from './schema_validator';
-import {utils} from './utils';
const HEX_REGEX = /^0x[0-9A-F]*$/i;
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 3d9aa105b..03bf21e96 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -6,7 +6,6 @@ import * as BigNumber from 'bignumber.js';
import * as Sinon from 'sinon';
import {ZeroEx, Order} from '../src';
import {constants} from './utils/constants';
-import {assert} from '../src/utils/assert';
import {web3Factory} from './utils/web3_factory';
chaiSetup.configure();
diff --git a/test/artifacts_test.ts b/test/artifacts_test.ts
index 04b9ecb2d..65d75f16e 100644
--- a/test/artifacts_test.ts
+++ b/test/artifacts_test.ts
@@ -3,7 +3,6 @@ import * as chai from 'chai';
import {chaiSetup} from './utils/chai_setup';
import HDWalletProvider = require('truffle-hdwallet-provider');
import {ZeroEx} from '../src';
-import {web3Factory} from './utils/web3_factory';
import {constants} from './utils/constants';
chaiSetup.configure();
diff --git a/test/ether_token_wrapper_test.ts b/test/ether_token_wrapper_test.ts
index 5ed800fc7..a8186499c 100644
--- a/test/ether_token_wrapper_test.ts
+++ b/test/ether_token_wrapper_test.ts
@@ -5,7 +5,7 @@ import * as Web3 from 'web3';
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');
import {web3Factory} from './utils/web3_factory';
-import {ZeroEx, ZeroExError, Token} from '../src';
+import {ZeroEx, ZeroExError} from '../src';
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
chaiSetup.configure();
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 4b4cfeccb..9c3da81b2 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -1,5 +1,4 @@
import 'mocha';
-import * as _ from 'lodash';
import * as chai from 'chai';
import * as Web3 from 'web3';
import * as BigNumber from 'bignumber.js';