Skip to content

Generated schema for poolmanager/v1beta1/taker_fee_share.proto: 3 messages in the x/poolmanager module.

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

Messages

AlloyContractTakerFeeShareState

AlloyContractTakerFeeShareState contains the contract address of the alloyed

asset pool, along with the adjusted taker fee share agreements for any asset

within the alloyed asset pool that has a taker fee share agreement. If for

instance there are two denoms, and denomA makes up 50 percent and denomB

makes up 50 percent, and denom A has a taker fee share agreement with a skim

percent of 10%, then the adjusted taker fee share agreement for denomA will

be 5%.

Field#TypeRuleDescription
contract_address1stringsingularcontract_address is the address of the alloyed asset pool contract.
taker_fee_share_agreements2TakerFeeShareAgreementrepeatedtaker_fee_share_agreements is the adjusted taker fee share agreements for any asset within the alloyed asset pool that has a taker fee share agreement.

TakerFeeShareAgreement

TakerFeeShareAgreement represents the agreement between the Osmosis protocol

and a specific denom to share a certain percent of taker fees generated in

any route that contains said denom. For example, if the agreement specifies a

10% skim_percent, this means 10% of the taker fees generated in a swap route

containing the specified denom will be sent to the address specified

in the skim_address field at the end of each epoch. These skim_percents are

additive, so if three taker fee agreements have skim percents of 10%, 20%,

and 30%, the total skim percent for the route will be 60%.

Field#TypeRuleDescription
denom1stringsingulardenom is the denom that has the taker fee share agreement.
skim_percent2stringsingularskim_percent is the percentage of taker fees that will be skimmed for the denom, in the event that the denom is included in the swap route.
skim_address3stringsingularskim_address is the address belonging to the respective denom that the skimmed taker fees will be sent to at the end of each epoch.

TakerFeeSkimAccumulator

TakerFeeSkimAccumulator accumulates the total skimmed taker fees for each

denom that has a taker fee share agreement.

Field#TypeRuleDescription
denom1stringsingulardenom is the denom that has the taker fee share agreement.
skimmed_taker_fees2cosmos.base.v1beta1.Coinrepeatedskimmed_taker_fees is the total skimmed taker fees for the denom.

Edit this page on GitHub