Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the community Msg service.
FundCommunityPool defines a method to allow an account to directly fund the community module account.
MsgFundCommunityPool allows an account to directly fund the community module account.
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
(message has no fields)
UpdateParams defines a method to allow an account to update the community module parameters.
MsgUpdateParams allows an account to update the community module parameters.
authority is the address that controls the module (defaults to x/gov unless overwritten).
params defines the x/community parameters to update.
MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
(message has no fields)
Query defines the gRPC querier service for x/community.
Params queires the module params.
QueryParams defines the request type for querying x/community params.
(message has no fields)
QueryParamsResponse defines the response type for querying x/community params.
params represents the community module parameters
Balance queries the balance of all coins of x/community module.
QueryBalanceRequest defines the request type for querying x/community balance.
(message has no fields)
QueryBalanceResponse defines the response type for querying x/community balance.
TotalBalance queries the balance of all coins, including x/distribution, x/community, and supplied balances.
QueryTotalBalanceRequest defines the request type for querying total community pool balance.
(message has no fields)
QueryTotalBalanceResponse defines the response type for querying total community pool balance. This matches the x/distribution CommunityPool query response.
pool defines community pool's coins.
AnnualizedRewards calculates and returns the current annualized reward percentages, like staking rewards, for the chain.
QueryAnnualizedRewardsRequest defines the request type for querying the annualized rewards.
(message has no fields)
QueryAnnualizedRewardsResponse defines the response type for querying the annualized rewards.
staking_rewards is the calculated annualized staking rewards percentage rate
CommunityCDPRepayDebtProposal repays a cdp debt position owned by the community module This proposal exists primarily to allow committees to repay community module cdp debts.
CommunityCDPWithdrawCollateralProposal withdraws cdp collateral owned by the community module This proposal exists primarily to allow committees to withdraw community module cdp collateral.
CommunityPoolLendDepositProposal deposits from the community pool into lend
CommunityPoolLendWithdrawProposal withdraws a lend position back to the community pool
GenesisState defines the community module's genesis state.
params defines all the parameters related to commmunity
StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks
Params defines the parameters of the community module.
Used in:
, ,upgrade_time_disable_inflation is the time at which to disable mint and kavadist module inflation. If set to 0, inflation will be disabled from block 1.
staking_rewards_per_second is the amount paid out to delegators each block from the community account
upgrade_time_set_staking_rewards_per_second is the initial staking_rewards_per_second to set and use when the disable inflation time is reached
StakingRewardsState represents the state of staking reward accumulation between blocks.
Used in:
last_accumulation_time represents the last block time which rewards where calculated and distributed. This may be zero to signal accumulation should start on the next interval.
accumulated_truncation_error represents the sum of previous errors due to truncation on payout This value will always be on the interval [0, 1).