diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:14:57 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:30:19 +0800 |
commit | 274aa50d740e4f3af9e3d50468843ed19b555aa3 (patch) | |
tree | 1f2f8253615ef885283e8cf20f04ee5e0ece56c6 /packages/0x.js/src/order_watcher | |
parent | c36d85a46c946b5d52164642336f39c90b732376 (diff) | |
download | dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.gz dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.bz2 dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.lz dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.xz dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.zst dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.zip |
Fix 0x.js unused vars
Diffstat (limited to 'packages/0x.js/src/order_watcher')
-rw-r--r-- | packages/0x.js/src/order_watcher/event_watcher.ts | 3 | ||||
-rw-r--r-- | packages/0x.js/src/order_watcher/expiration_watcher.ts | 3 | ||||
-rw-r--r-- | packages/0x.js/src/order_watcher/order_state_watcher.ts | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/packages/0x.js/src/order_watcher/event_watcher.ts b/packages/0x.js/src/order_watcher/event_watcher.ts index c11079208..197dfae65 100644 --- a/packages/0x.js/src/order_watcher/event_watcher.ts +++ b/packages/0x.js/src/order_watcher/event_watcher.ts @@ -5,13 +5,10 @@ import * as Web3 from 'web3'; import { BlockParamLiteral, - EventCallback, EventWatcherCallback, ZeroExError, } from '../types'; -import {AbiDecoder} from '../utils/abi_decoder'; import {assert} from '../utils/assert'; -import {utils} from '../utils/utils'; const DEFAULT_EVENT_POLLING_INTERVAL_MS = 200; diff --git a/packages/0x.js/src/order_watcher/expiration_watcher.ts b/packages/0x.js/src/order_watcher/expiration_watcher.ts index 5faac43cf..91e8151fd 100644 --- a/packages/0x.js/src/order_watcher/expiration_watcher.ts +++ b/packages/0x.js/src/order_watcher/expiration_watcher.ts @@ -3,8 +3,7 @@ import {BigNumber} from 'bignumber.js'; import {RBTree} from 'bintrees'; import * as _ from 'lodash'; -import {ZeroEx} from '../0x'; -import {SignedOrder, ZeroExError} from '../types'; +import {ZeroExError} from '../types'; import {utils} from '../utils/utils'; const DEFAULT_EXPIRATION_MARGIN_MS = 0; diff --git a/packages/0x.js/src/order_watcher/order_state_watcher.ts b/packages/0x.js/src/order_watcher/order_state_watcher.ts index 9ae1579c6..c4a9eb1ad 100644 --- a/packages/0x.js/src/order_watcher/order_state_watcher.ts +++ b/packages/0x.js/src/order_watcher/order_state_watcher.ts @@ -4,7 +4,6 @@ import {Web3Wrapper} from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; import {ZeroEx} from '../0x'; -import {artifacts} from '../artifacts'; import {ExchangeWrapper} from '../contract_wrappers/exchange_wrapper'; import {TokenWrapper} from '../contract_wrappers/token_wrapper'; import {BalanceAndProxyAllowanceLazyStore} from '../stores/balance_proxy_allowance_lazy_store'; @@ -25,7 +24,6 @@ import { SignedOrder, TokenEvents, TransferContractEventArgs, - Web3Provider, ZeroExError, } from '../types'; import {AbiDecoder} from '../utils/abi_decoder'; |