Add comment to TransactionReceiptWithDecodedLogs explaining that it doesn't always return "decodedLogs"

This commit is contained in:
Fabio Berger
2018-05-11 15:39:15 +02:00
parent 63cd5a6296
commit ef1d484d9e

View File

@@ -240,6 +240,11 @@ export enum SolidityTypes {
Uint = 'uint',
}
/**
* Contains the logs returned by a TransactionReceipt. We attempt to decode the
* logs using AbiDecoder. If we have the logs corresponding ABI, we decode it,
* otherwise we don't.
*/
export interface TransactionReceiptWithDecodedLogs extends TransactionReceipt {
logs: Array<LogWithDecodedArgs<DecodedLogArgs> | LogEntry>;
}