aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
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
Diffstat (limited to 'src')
-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
6 files changed, 0 insertions, 11 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;