diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-09-06 21:26:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 21:26:29 +0800 |
commit | cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3 (patch) | |
tree | f7630683357f6a2273557d7027a1985f8a28f94b /src/types.ts | |
parent | 92eb68bf2c412d42322ab7f483af91666ccbdcb1 (diff) | |
parent | 1baf06531755597e37498005eb2c29aef5114fab (diff) | |
download | dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.gz dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.bz2 dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.lz dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.xz dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.zst dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.zip |
Merge pull request #156 from 0xProject/feature/custom-abi-decoder
Custom abi decoder
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/types.ts b/src/types.ts index 9d3f77127..7e370e3f1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -402,11 +402,13 @@ export interface DecodedLogArgs { [argName: string]: ContractEventArg; } -export interface LogWithDecodedArgs extends Web3.LogEntry { +export interface DecodedArgs { args: DecodedLogArgs; event: string; } +export interface LogWithDecodedArgs extends Web3.LogEntry, DecodedArgs {} + export interface TransactionReceiptWithDecodedLogs extends Web3.TransactionReceipt { - logs: LogWithDecodedArgs[]; + logs: Array<LogWithDecodedArgs|Web3.LogEntry>; } |