Module distribution

Source

Modules§

msg_client
Generated client implementations.
query_client
Generated client implementations.

Structs§

CommunityPoolSpendProposal
CommunityPoolSpendProposal details a proposal for use of community funds, together with how many coins are proposed to be spent, and to which recipient account.
CommunityPoolSpendProposalWithDeposit
CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal with a deposit
DelegationDelegatorReward
DelegationDelegatorReward represents the properties of a delegator’s delegation reward.
DelegatorStartingInfo
DelegatorStartingInfo represents the starting info for a delegator reward period. It tracks the previous validator period, the delegation’s amount of staking token, and the creation height (to check later on if any slashes have occurred). NOTE: Even though validators are slashed to whole staking tokens, the delegators within the validator may be left with less than a full token, thus sdk.Dec is used.
DelegatorStartingInfoRecord
DelegatorStartingInfoRecord used for import / export via genesis json.
DelegatorWithdrawInfo
DelegatorWithdrawInfo is the address for where distributions rewards are withdrawn to by default this struct is only used at genesis to feed in default withdraw addresses.
FeePool
FeePool is the global fee pool for distribution.
GenesisState
GenesisState defines the distribution module’s genesis state.
MsgFundCommunityPool
MsgFundCommunityPool allows an account to directly fund the community pool.
MsgFundCommunityPoolResponse
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
MsgSetWithdrawAddress
MsgSetWithdrawAddress sets the withdraw address for a delegator (or validator self-delegation).
MsgSetWithdrawAddressResponse
MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
MsgWithdrawDelegatorReward
MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.
MsgWithdrawDelegatorRewardResponse
MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.
MsgWithdrawValidatorCommission
MsgWithdrawValidatorCommission withdraws the full commission to the validator address.
MsgWithdrawValidatorCommissionResponse
MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.
Params
Params defines the set of params for the distribution module.
QueryCommunityPoolRequest
QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.
QueryCommunityPoolResponse
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
QueryDelegationRewardsRequest
QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.
QueryDelegationRewardsResponse
QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
QueryDelegationTotalRewardsRequest
QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.
QueryDelegationTotalRewardsResponse
QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.
QueryDelegatorValidatorsRequest
QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.
QueryDelegatorValidatorsResponse
QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.
QueryDelegatorWithdrawAddressRequest
QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.
QueryDelegatorWithdrawAddressResponse
QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.
QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
QueryValidatorCommissionRequest
QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method
QueryValidatorCommissionResponse
QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method
QueryValidatorOutstandingRewardsRequest
QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.
QueryValidatorOutstandingRewardsResponse
QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.
QueryValidatorSlashesRequest
QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method
QueryValidatorSlashesResponse
QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
ValidatorAccumulatedCommission
ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.
ValidatorAccumulatedCommissionRecord
ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.
ValidatorCurrentRewards
ValidatorCurrentRewards represents current rewards and current period for a validator kept as a running counter and incremented each block as long as the validator’s tokens remain constant.
ValidatorCurrentRewardsRecord
ValidatorCurrentRewardsRecord is used for import / export via genesis json.
ValidatorHistoricalRewards
ValidatorHistoricalRewards represents historical rewards for a validator. Height is implicit within the store key. Cumulative reward ratio is the sum from the zeroeth period until this period of rewards / tokens, per the spec. The reference count indicates the number of objects which might need to reference this historical entry at any point. ReferenceCount = number of outstanding delegations which ended the associated period (and might need to read that record)
ValidatorHistoricalRewardsRecord
ValidatorHistoricalRewardsRecord is used for import / export via genesis json.
ValidatorOutstandingRewards
ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.
ValidatorOutstandingRewardsRecord
ValidatorOutstandingRewardsRecord is used for import/export via genesis json.
ValidatorSlashEvent
ValidatorSlashEvent represents a validator slash event. Height is implicit within the store key. This is needed to calculate appropriate amount of staking tokens for delegations which are withdrawn after a slash has occurred.
ValidatorSlashEventRecord
ValidatorSlashEventRecord is used for import / export via genesis json.
ValidatorSlashEvents
ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.