Skip to content

Generated schema for poolmanager/v1beta1/genesis.proto: 6 messages in the x/poolmanager module.

Proto package poolmanager.v1beta1, part of the x/poolmanager module. It declares 6 messages. Read the raw source.

Messages

GenesisState

GenesisState defines the poolmanager module's genesis state.

Field#TypeRuleDescription
next_pool_id1uint64singularthe next_pool_id
params2Paramssingularparams is the container of poolmanager parameters.
pool_routes3ModuleRouterepeatedpool_routes is the container of the mappings from pool id to pool type.
taker_fees_tracker4TakerFeesTrackersingularKVStore state
pool_volumes5PoolVolumerepeated
denom_pair_taker_fee_store6DenomPairTakerFeerepeated

Params

Params holds parameters for the poolmanager module

Field#TypeRuleDescription
taker_fee_params1TakerFeeParamssingulartaker_fee_params is the container of taker fee parameters.

PoolVolume

PoolVolume stores the KVStore entries for each pool's volume, which

is used in export/import genesis.

Field#TypeRuleDescription
pool_id1uint64singularpool_id is the id of the pool.
pool_volume2cosmos.base.v1beta1.Coinrepeatedpool_volume is the cumulative volume of the pool.

TakerFeeDistributionPercentage

TakerFeeDistributionPercentage defines what percent of the taker fee category

gets distributed to the available categories.

Field#TypeRuleDescription
staking_rewards1stringsingular
community_pool2stringsingular

TakerFeeParams

TakerFeeParams consolidates the taker fee parameters for the poolmanager.

Field#TypeRuleDescription
default_taker_fee1stringsingulardefault_taker_fee is the fee used when creating a new pool that doesn't fall under a custom pool taker fee or stableswap taker fee category.
osmo_taker_fee_distribution2TakerFeeDistributionPercentagesingularosmo_taker_fee_distribution defines the distribution of taker fees generated in OSMO. As of this writing, it has two categories: - staking_rewards: the percent of the taker fee that gets distributed to stakers. - community_pool: the percent of the taker fee that gets sent to the community pool.
non_osmo_taker_fee_distribution3TakerFeeDistributionPercentagesingularnon_osmo_taker_fee_distribution defines the distribution of taker fees generated in non-OSMO. As of this writing, it has two categories: - staking_rewards: the percent of the taker fee that gets swapped to OSMO and then distributed to stakers. - community_pool: the percent of the taker fee that gets sent to the community pool. Note: If the non-OSMO asset is an authorized_quote_denom, that denom is sent directly to the community pool. Otherwise, it is swapped to the community_pool_denom_to_swap_non_whitelisted_assets_to and then sent to the community pool as that denom.
admin_addresses4stringrepeatedadmin_addresses is a list of addresses that are allowed to set and remove custom taker fees for denom pairs. Governance also has the ability to set and remove custom taker fees for denom pairs, but with the normal governance delay.
community_pool_denom_to_swap_non_whitelisted_assets_to5stringsingularcommunity_pool_denom_to_swap_non_whitelisted_assets_to is the denom that non-whitelisted taker fees will be swapped to before being sent to the community pool.
reduced_fee_whitelist6stringrepeatedreduced_fee_whitelist is a list of addresses that are allowed to pay a reduce taker fee when performing a swap (i.e. swap without paying the taker fee). It is intended to be used for integrators who meet qualifying factors that are approved by governance. Initially, the taker fee is allowed to be bypassed completely. However In the future, we will charge a reduced taker fee instead of no fee at all.
community_pool_denom_whitelist7stringrepeatedcommunity_pool_denom_whitelist is a list of denoms that should be sent directly to the community pool instead of being swapped to the community_pool_denom_to_swap_non_whitelisted_assets_to.

TakerFeesTracker

Field#TypeRuleDescription
taker_fees_to_stakers1cosmos.base.v1beta1.Coinrepeated
taker_fees_to_community_pool2cosmos.base.v1beta1.Coinrepeated
height_accounting_starts_from3int64singular

Edit this page on GitHub