aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-30 18:05:57 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-10 03:11:45 +0800
commitf601a5d35620002db19a7a28b28b8d46a4613cc6 (patch)
treeb1a645b395240e81f267eebe5fb0a528fa3de891 /src
parente7f60032bc391cf8a3802a6d2141a61aa5204589 (diff)
downloaddexon-0x-contracts-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.gz
dexon-0x-contracts-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.zst
dexon-0x-contracts-f601a5d35620002db19a7a28b28b8d46a4613cc6.zip
Move mempoolPollingIntervalMs to OrderWatcherConfig
Diffstat (limited to 'src')
-rw-r--r--src/types.ts7
1 files changed, 6 insertions, 1 deletions
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;
}