aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-03 21:02:05 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:56:31 +0800
commitd3f602f063a270e2e7bb7412776334c862f532e6 (patch)
tree428fa400f9093d22b2083e8b259479bb9bad2d5e /packages/contract-wrappers
parent6b379a8a0fe0895a5352f79d8d57a88b9ee5bc4a (diff)
downloaddexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.tar
dexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.tar.gz
dexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.tar.bz2
dexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.tar.lz
dexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.tar.xz
dexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.tar.zst
dexon-0x-contracts-d3f602f063a270e2e7bb7412776334c862f532e6.zip
Add blockPollingInterval config to contractWrappers config type
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r--packages/contract-wrappers/src/types.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/types.ts b/packages/contract-wrappers/src/types.ts
index a0bae6625..8d19d085f 100644
--- a/packages/contract-wrappers/src/types.ts
+++ b/packages/contract-wrappers/src/types.ts
@@ -108,6 +108,7 @@ export type SyncMethod = (...args: any[]) => any;
* erc20ProxyContractAddress: The address of the erc20 token transfer proxy contract to use
* erc721ProxyContractAddress: The address of the erc721 token transfer proxy contract to use
* orderWatcherConfig: All the configs related to the orderWatcher
+ * blockPollingIntervalMs: The interval to use for block polling in event watching methods (defaults to 1000)
*/
export interface ContractWrappersConfig {
networkId: number;
@@ -116,6 +117,7 @@ export interface ContractWrappersConfig {
zrxContractAddress?: string;
erc20ProxyContractAddress?: string;
erc721ProxyContractAddress?: string;
+ blockPollingIntervalMs?: number;
}
/**