diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-30 16:53:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-10 03:11:45 +0800 |
commit | fd54a6a3ad91a6aaff0e2a81f4fd9856b02ff320 (patch) | |
tree | 1b702de7d4efa36e543aa032090688ebd4d6c9bb /src/0x.ts | |
parent | a2ffd7de2ec718b87dcaee950160f000d9e3d28f (diff) | |
download | dexon-0x-contracts-fd54a6a3ad91a6aaff0e2a81f4fd9856b02ff320.tar.gz dexon-0x-contracts-fd54a6a3ad91a6aaff0e2a81f4fd9856b02ff320.tar.zst dexon-0x-contracts-fd54a6a3ad91a6aaff0e2a81f4fd9856b02ff320.zip |
Rename MempoolWatcher to EventWatcher and remove from public interface
Diffstat (limited to 'src/0x.ts')
-rw-r--r-- | src/0x.ts | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -11,7 +11,6 @@ import {assert} from './utils/assert'; import {AbiDecoder} from './utils/abi_decoder'; import {intervalUtils} from './utils/interval_utils'; import {artifacts} from './artifacts'; -import {MempoolWatcher} from './mempool/mempool_watcher'; import {ExchangeWrapper} from './contract_wrappers/exchange_wrapper'; import {TokenRegistryWrapper} from './contract_wrappers/token_registry_wrapper'; import {EtherTokenWrapper} from './contract_wrappers/ether_token_wrapper'; @@ -66,10 +65,6 @@ export class ZeroEx { * tokenTransferProxy smart contract. */ public proxy: TokenTransferProxyWrapper; - /** - * An instance of the MempoolWatcher class containing methods for watching pending events. - */ - public mempool: MempoolWatcher; private _web3Wrapper: Web3Wrapper; private _abiDecoder: AbiDecoder; /** @@ -197,10 +192,6 @@ export class ZeroEx { }; this._web3Wrapper = new Web3Wrapper(provider, defaults); const mempoolPollingIntervalMs = _.isUndefined(config) ? undefined : config.mempoolPollingIntervalMs; - this.mempool = new MempoolWatcher( - this._web3Wrapper, - mempoolPollingIntervalMs, - ); this.token = new TokenWrapper( this._web3Wrapper, this._abiDecoder, |