aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-03 15:59:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:36 +0800
commit005d8184aa5849dd52faf56372386cb66ef6f56e (patch)
treeecd3a476a63b1b9160deefbe867f59a0592bf1fc
parentc228eddc574b74ee6fef1dc00365c70ef009491c (diff)
downloaddexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar
dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.gz
dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.bz2
dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.lz
dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.xz
dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.zst
dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.zip
Add LogTopic type
-rw-r--r--packages/web3-typescript-typings/index.d.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 2fc6f277c..6de1d3f8c 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -109,9 +109,11 @@ declare module 'web3' {
fromBlock: number|string;
toBlock: number|string;
address: string;
- topics: string[];
+ topics: LogTopic[];
}
+ type LogTopic = null|string|string[];
+
interface SolidityEvent<A> {
event: string;
address: string;