From f601a5d35620002db19a7a28b28b8d46a4613cc6 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 30 Oct 2017 12:05:57 +0200 Subject: Move mempoolPollingIntervalMs to OrderWatcherConfig --- src/types.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index ea83c6885..766bf01b3 100644 --- a/src/types.ts +++ b/src/types.ts @@ -399,13 +399,18 @@ export interface JSONRPCPayload { * exchangeContractAddress: The address of an exchange contract to use * tokenRegistryContractAddress: The address of a token registry contract to use * etherTokenContractAddress: The address of an ether token contract to use - * mempoolPollingIntervalMs: How often to check for new mempool events */ export interface ZeroExConfig { gasPrice?: BigNumber; // Gas price to use with every transaction exchangeContractAddress?: string; tokenRegistryContractAddress?: string; etherTokenContractAddress?: string; +} + +/* + * mempoolPollingIntervalMs: How often to check for new mempool events + */ +export interface OrderWatcherConfig { mempoolPollingIntervalMs?: number; } -- cgit v1.2.3