aboutsummaryrefslogtreecommitdiffstats
path: root/src/order_watcher
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 09:02:54 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-13 09:06:14 +0800
commit7ea0b138bc7a61037636eb5b4d2ad9b995a27f79 (patch)
tree9504c885a07c1786d746819971c6ad2bb1967d83 /src/order_watcher
parentd73fb5a23c0e23eaec90aee0b563c06fa8f380d6 (diff)
downloaddexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.gz
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.bz2
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.lz
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.xz
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.tar.zst
dexon-sol-tools-7ea0b138bc7a61037636eb5b4d2ad9b995a27f79.zip
Remove unused code
Diffstat (limited to 'src/order_watcher')
-rw-r--r--src/order_watcher/order_state_watcher.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/order_watcher/order_state_watcher.ts b/src/order_watcher/order_state_watcher.ts
index b69540716..139f13fdf 100644
--- a/src/order_watcher/order_state_watcher.ts
+++ b/src/order_watcher/order_state_watcher.ts
@@ -63,12 +63,9 @@ export class OrderStateWatcher {
web3Wrapper: Web3Wrapper, abiDecoder: AbiDecoder, token: TokenWrapper, exchange: ExchangeWrapper,
config?: OrderStateWatcherConfig,
) {
- this._orderByOrderHash = {};
this._abiDecoder = abiDecoder;
this._web3Wrapper = web3Wrapper;
- this._dependentOrderHashes = {};
const eventPollingIntervalMs = _.isUndefined(config) ? undefined : config.eventPollingIntervalMs;
- const blockPollingIntervalMs = _.isUndefined(config) ? undefined : config.blockPollingIntervalMs;
this._eventWatcher = new EventWatcher(web3Wrapper, eventPollingIntervalMs);
this._balanceAndProxyAllowanceLazyStore = new BalanceAndProxyAllowanceLazyStore(token);
this._orderFilledCancelledLazyStore = new OrderFilledCancelledLazyStore(exchange);