aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-11 21:39:15 +0800
committerFabio Berger <me@fabioberger.com>2018-05-11 21:39:15 +0800
commitef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489 (patch)
tree345a63349a88095cced296065e65f63095b75f84 /packages
parent63cd5a629615bd1f30a8cb0e57649efcaefcd940 (diff)
downloaddexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.tar
dexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.tar.gz
dexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.tar.bz2
dexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.tar.lz
dexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.tar.xz
dexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.tar.zst
dexon-sol-tools-ef1d484d9ea9670fd3bfba1c04c7a0b6c3a5e489.zip
Add comment to TransactionReceiptWithDecodedLogs explaining that it doesn't always return "decodedLogs"
Diffstat (limited to 'packages')
-rw-r--r--packages/types/src/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index a85d48cf7..f28c2f9a3 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -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>;
}