Files
tycho-protocol-sdk/substreams/ethereum-balancer-v2
Zizou b1e7ba9e2f refactor(substreams): add rust-toolchain to the templates and modules. (#155)
* refactor(substreams): add `rust-toolchain` to the templates and modules.

This freezes the wasm output for each module, allowing us to have full control over each packages and when we break the modules hashes.

* fix(testing): allow no `initialized_accounts` in tests

---------

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
2025-02-17 08:29:07 +00:00
..
2025-02-06 11:04:39 -06: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