Skip to content

gamm/poolmodels/stableswap/v1beta1/stableswap_pool.proto

Generated schema for gamm/poolmodels/stableswap/v1beta1/stableswap_pool.proto: 2 messages in the x/gamm module.

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

Messages

Pool

Pool is the stableswap Pool struct

Field#TypeRuleDescription
address1stringsingular
id2uint64singular
pool_params3PoolParamssingular
future_pool_governor4stringsingularThis string specifies who will govern the pool in the future. Valid forms of this are: {token name},{duration} {duration} where {token name} if specified is the token which determines the governor, and if not specified is the LP token for this pool.duration is a time specified as 0w,1w,2w, etc. which specifies how long the token would need to be locked up to count in governance. 0w means no lockup.
total_shares5cosmos.base.v1beta1.Coinsingularsum of all LP shares
pool_liquidity6cosmos.base.v1beta1.Coinrepeatedassets in the pool
scaling_factors7uint64repeatedfor calculation amongst assets with different precisions
scaling_factor_controller8stringsingularscaling_factor_controller is the address can adjust pool scaling factors

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.

The pool's token holders are specified in future_pool_governor.

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