Skip to content

Generated schema for gamm/poolmodels/balancer/balancerPool.proto: 3 messages in the x/gamm module.

Proto package gamm.poolmodels.balancer, part of the x/gamm module. It declares 3 messages. Read the raw source.

Messages

Pool

Field#TypeRuleDescription
address1stringsingular
id2uint64singular
pool_params3PoolParamssingular
total_shares4cosmos.base.v1beta1.Coinsingularsum of all LP tokens sent out
pool_assets5gamm.poolmodels.balancer.PoolAssetrepeatedThese are assumed to be sorted by denomiation. They contain the pool asset and the information about the weight
total_weight6stringsingularsum of all non-normalized pool weights

PoolAsset

Pool asset is an internal struct that combines the amount of the

token in the pool, and its balancer weight.

This is an awkward packaging of data,

and should be revisited in a future state migration.

Field#TypeRuleDescription
token1cosmos.base.v1beta1.CoinsingularCoins we are talking about, the denomination must be unique amongst all PoolAssets for this pool.
weight2stringsingularWeight that is not normalized. This weight must be less than 2^50

PoolParams

PoolParams defined the parameters that will be managed by the pool

governance in the future. This params are not managed by the chain

governance. Instead they will be managed by the token holders of the pool.

Field#TypeRuleDescription
swap_fee1stringsingular
exit_fee2stringsingularN.B.: exit fee is disabled during pool creation in x/poolmanager. While old pools can maintain a non-zero fee. No new pool can be created with non-zero fee anymore

Edit this page on GitHub