The `aggregate_balances_changes` was keeping a map of token -> balance_change per transaction. Therefore, if a transaction was causing a balance change for the same token but on differents components we would only keep the update for the last component updated and drop the others.
Tycho Substreams SDK
Some shared functionality that is used to create tycho substream packages.
Protobuf Models
Protobuf models are manually synced from the tycho-indexer repository whenever they
changed.
To generate the rust structs run the following command from within the root directory:
buf generate --template substreams/crates/tycho-substreams/buf.gen.yaml --output substreams/crates/tycho-substreams/