From 67722c0fb8b9509ed44c2b69bdefcfc5081df20a Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 26 Jul 2017 14:59:17 +0200 Subject: Add LogEntry type --- packages/web3-typescript-typings/index.d.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'packages') 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; + logs: Array; } - 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; -- cgit v1.2.3