diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-30 18:05:57 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-10 03:11:45 +0800 |
commit | f601a5d35620002db19a7a28b28b8d46a4613cc6 (patch) | |
tree | b1a645b395240e81f267eebe5fb0a528fa3de891 | |
parent | e7f60032bc391cf8a3802a6d2141a61aa5204589 (diff) | |
download | dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.gz dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.bz2 dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.lz dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.xz dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.tar.zst dexon-sol-tools-f601a5d35620002db19a7a28b28b8d46a4613cc6.zip |
Move mempoolPollingIntervalMs to OrderWatcherConfig
-rw-r--r-- | src/types.ts | 7 |
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; } |