Add LogEntry type

This commit is contained in:
Leonid Logvinov
2017-07-26 14:59:17 +02:00
parent 0b6e246c04
commit 67722c0fb8

View File

@@ -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;