Files
tycho-protocol-sdk/substreams/ethereum-balancer-v2
dianacarvalho1 22843cfd3b feat: Add encoding to test suite (#259)
* feat: Add encoding to test suite

Use execution from simulation
Add protocol_system to all test files and pass it to run tycho
Add encoding_utils.rs

#time 5h 0m

#time 1m

#time 7m

* refactor: Move encoding swap to its own method to simplify main code

Rename encoding_utils.rs to encoding.rs

#time 20m


#time 0m

#time 0m
2025-09-11 14:30:49 +01:00
..
2025-06-26 12:33:31 +02:00

Balancer Substream

Open tasks

Missing rate provider state

Any pool that does use rate providers, is currently not supported by tycho since we do not witness the contract creation of rate providers and thus can't provide the required contract state.

This is planned to be resolved with the dynamic contract indexing module.

Static Attributes

name type description
pool_type str A unique identifier per pool type. Set depending on the factory
normalized weights json The normalised weights of a weighted pool.
pool_id str A hex encoded balancer pool id.
rate_providers json A list of rate provider addresses.
bpt bytes The balancer lp token, set if the pool support entering and exiting lp postions via the swap interface.
main_token bytes The main token address for a linear pool
wrapped_token bytes The wrapped token address for a linear pool
fee int The fee charged by the pool set at deployment time
upper_target int The upper target for a linear pool