diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-26 20:59:17 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:34 +0800 |
commit | 67722c0fb8b9509ed44c2b69bdefcfc5081df20a (patch) | |
tree | d987356f94c166cfc2f08e13108bc2447e33458c | |
parent | 0b6e246c04e0aae317a8db16b9333c07173758be (diff) | |
download | dexon-0x-contracts-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.gz dexon-0x-contracts-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.tar.zst dexon-0x-contracts-67722c0fb8b9509ed44c2b69bdefcfc5081df20a.zip |
Add LogEntry type
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 13 |
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; |