aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;