aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-26 20:59:17 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:34 +0800
commit67722c0fb8b9509ed44c2b69bdefcfc5081df20a (patch)
treed987356f94c166cfc2f08e13108bc2447e33458c
parent0b6e246c04e0aae317a8db16b9333c07173758be (diff)
downloaddexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar
dexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.gz
dexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.bz2
dexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.lz
dexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.xz
dexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.zst
dexon-sol-tools-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.zip
Add LogEntry type
-rw-r--r--packages/web3-typescript-typings/index.d.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index e57ec596d..c2d239e75 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -296,10 +296,19 @@ declare module 'web3' {
cumulativeGasUsed: number;
gasUsed: number;
contractAddress: string|null;
- logs: Array<Log>;
+ logs: Array<LogEntry>;
}
- interface Log {}
+ interface LogEntry {
+ logIndex: number|null;
+ transactionIndex: number;
+ transactionHash: string;
+ blockHash: string|null;
+ blockNumber: number|null;
+ address: string;
+ data: string;
+ topics: string[];
+ }
}
/* tslint:disable */
export = Web3;