diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-03 15:59:31 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:36 +0800 |
commit | 005d8184aa5849dd52faf56372386cb66ef6f56e (patch) | |
tree | ecd3a476a63b1b9160deefbe867f59a0592bf1fc /packages/web3-typescript-typings | |
parent | c228eddc574b74ee6fef1dc00365c70ef009491c (diff) | |
download | dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.gz dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.tar.zst dexon-sol-tools-005d8184aa5849dd52faf56372386cb66ef6f56e.zip |
Add LogTopic type
Diffstat (limited to 'packages/web3-typescript-typings')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 4 |
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; |