aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent6999e1597292415a246a4c4f45807bf0cf57e02b (diff)
downloaddexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar
dexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.gz
dexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.bz2
dexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.lz
dexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.xz
dexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.tar.zst
dexon-sol-tools-aaae22642eb280e1fbbc9d90dc13ae3fb82b9fd5.zip
Define CallOpts type
Diffstat (limited to 'src')
-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;
+}