aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-typescript-typings
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 /packages/web3-typescript-typings
parentc228eddc574b74ee6fef1dc00365c70ef009491c (diff)
downloaddexon-0x-contracts-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.gz
dexon-0x-contracts-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.zst
dexon-0x-contracts-005d8184aa5849dd52faf56372386cb66ef6f56e.zip
Add LogTopic type
Diffstat (limited to 'packages/web3-typescript-typings')
-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;