diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-05 22:34:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-05 22:34:30 +0800 |
commit | a406b4d134e729bceba81a98f5756a8759f18655 (patch) | |
tree | 2f0b3315da8bc3d2f5e163b81f1747e287d47a13 /src | |
parent | 1414b8ee8bdb1be901371c4cf7b8a5150d8fb771 (diff) | |
download | dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.tar dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.tar.gz dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.tar.bz2 dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.tar.lz dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.tar.xz dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.tar.zst dexon-sol-tools-a406b4d134e729bceba81a98f5756a8759f18655.zip |
Remove unused imports
Diffstat (limited to 'src')
-rw-r--r-- | src/0x.ts | 9 | ||||
-rw-r--r-- | src/contract_wrappers/contract_wrapper.ts | 1 | ||||
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 4 | ||||
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 4 | ||||
-rw-r--r-- | src/subproviders/empty_wallet_subprovider.ts | 1 | ||||
-rw-r--r-- | src/utils/abi_decoder.ts | 2 |
6 files changed, 3 insertions, 18 deletions
@@ -1,12 +1,8 @@ import * as _ from 'lodash'; import * as BigNumber from 'bignumber.js'; -import * as Web3 from 'web3'; -import * as abiDecoder from 'abi-decoder'; import {SchemaValidator, schemas} from '0x-json-schemas'; import {bigNumberConfigs} from './bignumber_config'; import * as ethUtil from 'ethereumjs-util'; -import findVersions = require('find-versions'); -import compareVersions = require('compare-versions'); import {Web3Wrapper} from './web3_wrapper'; import {constants} from './utils/constants'; import {utils} from './utils/utils'; @@ -27,12 +23,7 @@ import { SignedOrder, Web3Provider, ZeroExConfig, - TransactionReceipt, - DecodedLogArgs, TransactionReceiptWithDecodedLogs, - LogWithDecodedArgs, - FilterObject, - RawLog, } from './types'; import {zeroExConfigSchema} from './schemas/zero_ex_config_schema'; diff --git a/src/contract_wrappers/contract_wrapper.ts b/src/contract_wrappers/contract_wrapper.ts index ee989c700..4ae3d1449 100644 --- a/src/contract_wrappers/contract_wrapper.ts +++ b/src/contract_wrappers/contract_wrapper.ts @@ -14,7 +14,6 @@ import { IndexedFilterValues, EventCallback, } from '../types'; -import {utils} from '../utils/utils'; import {constants} from '../utils/constants'; import {intervalUtils} from '../utils/interval_utils'; import {filterUtils} from '../utils/filter_utils'; diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index b2e48b36e..5f02903ce 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 {SchemaValidator, schemas} from '0x-json-schemas'; -import promisify = require('es6-promisify'); +import {schemas} from '0x-json-schemas'; import {Web3Wrapper} from '../web3_wrapper'; import { ECSignature, @@ -34,7 +33,6 @@ import {assert} from '../utils/assert'; import {utils} from '../utils/utils'; import {OrderValidationUtils} from '../utils/order_validation_utils'; import {ContractWrapper} from './contract_wrapper'; -import {constants} from '../utils/constants'; import {TokenWrapper} from './token_wrapper'; import {decorators} from '../utils/decorators'; import {AbiDecoder} from '../utils/abi_decoder'; diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index ee49e8539..abd090f7e 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -1,9 +1,8 @@ import * as _ from 'lodash'; import * as BigNumber from 'bignumber.js'; -import {SchemaValidator, schemas} from '0x-json-schemas'; +import {schemas} from '0x-json-schemas'; import {Web3Wrapper} from '../web3_wrapper'; import {assert} from '../utils/assert'; -import {utils} from '../utils/utils'; import {constants} from '../utils/constants'; import {ContractWrapper} from './contract_wrapper'; import {AbiDecoder} from '../utils/abi_decoder'; @@ -16,7 +15,6 @@ import { SubscriptionOpts, MethodOpts, LogWithDecodedArgs, - RawLog, EventCallback, } from '../types'; diff --git a/src/subproviders/empty_wallet_subprovider.ts b/src/subproviders/empty_wallet_subprovider.ts index 0d037042d..2f260217c 100644 --- a/src/subproviders/empty_wallet_subprovider.ts +++ b/src/subproviders/empty_wallet_subprovider.ts @@ -1,4 +1,3 @@ -import * as Web3 from 'web3'; import {JSONRPCPayload} from '../types'; /* diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts index 542591251..52b114c12 100644 --- a/src/utils/abi_decoder.ts +++ b/src/utils/abi_decoder.ts @@ -1,7 +1,7 @@ import * as Web3 from 'web3'; import * as _ from 'lodash'; import * as BigNumber from 'bignumber.js'; -import {AbiType, DecodedLogArgs, DecodedArgs, LogWithDecodedArgs, RawLog, SolidityTypes} from '../types'; +import {AbiType, DecodedLogArgs, LogWithDecodedArgs, RawLog, SolidityTypes} from '../types'; import * as SolidityCoder from 'web3/lib/solidity/coder'; export class AbiDecoder { |