All packages
ethereum_balancer_v2

ethereum_balancer_v2

weizard
v0.3.2/29 downloads/Repository

Package ref

ethereum-balancer-v2@v0.3.2

Run package

Start block
12272146, the module's first block

This module reads a store, which starts empty at the module's first block: it runs from there, so its output is from then, not from the chain head. Any later block would first need the store rebuilt up to it.

README

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

nametypedescription
pool_typestrA unique identifier per pool type. Set depending on the factory
normalized weightsjsonThe normalised weights of a weighted pool.
pool_idstrA hex encoded balancer pool id.
rate_providersjsonA list of rate provider addresses.
bptbytesThe balancer lp token, set if the pool support entering and exiting lp postions via the swap interface.
main_tokenbytesThe main token address for a linear pool
wrapped_tokenbytesThe wrapped token address for a linear pool
feeintThe fee charged by the pool set at deployment time
upper_targetintThe upper target for a linear pool

Modules

Execution graph

5 modules
store

store_components

from #12272146

Store value

string

Update policy

set