aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-08 18:02:37 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-08 18:02:37 +0800
commitaaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5 (patch)
tree9f441ffb922ccc48e81a6cc08c10d0f15864cc0b
parent6999e1597292415a246a4c4f45807bf0cf57e02b (diff)
downloaddexon-0x-contracts-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.gz
dexon-0x-contracts-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.zst
dexon-0x-contracts-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.zip
Define CallOpts type
-rw-r--r--src/contract_wrappers/token_wrapper.ts1
-rw-r--r--src/types.ts4
2 files changed, 5 insertions, 0 deletions
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;
+}