Skip to content

Commit 4c9540e

Browse files
produce_actions(): add turn_grouped_by_txhash_events_into_list_and_ungroup_1inch_aggregated_swaps()
Current situation: turn_events_into_actions() detects 1inch aggregate swaps and makes them into separate Action objects. However, these separate Action objects are still grouped together later in produce_actions() by txhash. This messes up classify_actions(). So the function that turned the dict (that classified Action groups by txhash) needs to be made more complex. As new Defi startups figure out more ways to make trickier transactions, we might need to abandon the assumption of grouping by txhash.
1 parent 1a6f71d commit 4c9540e

File tree

2 files changed

+894
-452
lines changed

2 files changed

+894
-452
lines changed

0 commit comments

Comments
 (0)