diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-30 18:05:57 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-10-31 00:49:16 +0800 |
commit | 6ca6290f6a7f000dbabdbc0d32a6bbabfe277336 (patch) | |
tree | 653c16a9fcd74a51a3d94b361e480f06a53ac641 | |
parent | fd2c5d46ad7f052dfa6c04d14451f80e1efce943 (diff) | |
download | dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.tar dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.tar.gz dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.tar.bz2 dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.tar.lz dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.tar.xz dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.tar.zst dexon-sol-tools-6ca6290f6a7f000dbabdbc0d32a6bbabfe277336.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; } |