From aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 8 Sep 2017 12:02:37 +0200 Subject: Define CallOpts type --- src/contract_wrappers/token_wrapper.ts | 1 + src/types.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index f1f967286..6b2a824de 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -17,6 +17,7 @@ import { CreateContractEvent, ContractEventEmitter, ContractEventObj, + CallOpts, } from '../types'; const ALLOWANCE_TO_ZERO_GAS_AMOUNT = 47155; diff --git a/src/types.ts b/src/types.ts index c1ba0a5cc..a15b9f4e1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -419,3 +419,7 @@ export interface Artifact { address: string; }}; } + +export interface CallOpts { + defaultBlock?: Web3.BlockParam; +} -- cgit v1.2.3