From d3f602f063a270e2e7bb7412776334c862f532e6 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 3 Jul 2018 16:02:05 +0300 Subject: Add blockPollingInterval config to contractWrappers config type --- packages/contract-wrappers/src/types.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/contract-wrappers') 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; } /** -- cgit v1.2.3