We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e8367e commit 2299c92Copy full SHA for 2299c92
2 files changed
.changeset/sour-cougars-walk.md
@@ -0,0 +1,5 @@
1
+---
2
+'@3loop/transaction-interpreter': patch
3
4
+
5
+Fix small issue in 0x interpreter
packages/transaction-interpreter/interpreters/zeroEx.ts
@@ -37,7 +37,7 @@ export function transformEvent(event: DecodedTransaction): InterpretedTransactio
37
} else {
38
netReceived = getNetTransfers({
39
transfers: filteredTransfers,
40
- toAddresses: [event.toAddress],
+ toAddresses: [event.fromAddress],
41
type: ['ERC20', 'native'],
42
}).filter((t) => !sentTokens.includes(t.asset.address))
43
}
@@ -68,4 +68,5 @@ export const contracts = [
68
69
//Settlers
70
'8453:0xbc3c5ca50b6a215edf00815965485527f26f5da8',
71
+ '8453:0x5c9bdc801a600c006c388fc032dcb27355154cc9',
72
]
0 commit comments