Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the distribution Msg service.
SetWithdrawAddress defines a method to change the withdraw address for a delegator (or validator self-delegation).
MsgSetWithdrawAddress sets the withdraw address for a delegator (or validator self-delegation).
MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
(message has no fields)
WithdrawDelegatorReward defines a method to withdraw rewards of delegator from a single validator.
MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.
MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.
(message has no fields)
WithdrawValidatorCommission defines a method to withdraw the full commission to the validator address.
MsgWithdrawValidatorCommission withdraws the full commission to the validator address.
MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.
(message has no fields)
FundCommunityPool defines a method to allow an account to directly fund the community pool.
MsgFundCommunityPool allows an account to directly fund the community pool.
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
(message has no fields)
Query defines the gRPC querier service for distribution module.
Params queries params of the distribution module.
QueryParamsRequest is the request type for the Query/Params RPC method.
(message has no fields)
QueryParamsResponse is the response type for the Query/Params RPC method.
params defines the parameters of the module.
ValidatorOutstandingRewards queries rewards of a validator address.
QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.
validator_address defines the validator address to query for.
QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.
ValidatorCommission queries accumulated commission for a validator.
QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method
validator_address defines the validator address to query for.
QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method
commission defines the commision the validator received.
ValidatorSlashes queries slash events of a validator.
QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method
validator_address defines the validator address to query for.
starting_height defines the optional starting height to query the slashes.
starting_height defines the optional ending height to query the slashes.
pagination defines an optional pagination for the request.
QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
slashes defines the slashes the validator received.
pagination defines the pagination in the response.
DelegationRewards queries the total rewards accrued by a delegation.
QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.
delegator_address defines the delegator address to query for.
validator_address defines the validator address to query for.
QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
rewards defines the rewards accrued by a delegation.
DelegationTotalRewards queries the total rewards accrued by a each validator.
QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.
delegator_address defines the delegator address to query for.
QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.
rewards defines all the rewards accrued by a delegator.
total defines the sum of all the rewards.
DelegatorValidators queries the validators of a delegator.
QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.
delegator_address defines the delegator address to query for.
QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.
validators defines the validators a delegator is delegating for.
DelegatorWithdrawAddress queries withdraw address of a delegator.
QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.
delegator_address defines the delegator address to query for.
QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.
withdraw_address defines the delegator address to query for.
CommunityPool queries the community pool coins.
QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.
(message has no fields)
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
pool defines community pool's coins.
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 defines a CommunityPoolSpendProposal with a deposit
DelegationDelegatorReward represents the properties of a delegator's delegation reward.
Used in:
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.
Used in:
DelegatorStartingInfoRecord used for import / export via genesis json.
Used in:
delegator_address is the address of the delegator.
validator_address is the address of the validator.
starting_info defines the starting info of a delegator.
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.
Used in:
delegator_address is the address of the delegator.
withdraw_address is the address to withdraw the delegation rewards to.
FeePool is the global fee pool for distribution.
Used in:
GenesisState defines the distribution module's genesis state.
params defines all the paramaters of the module.
fee_pool defines the fee pool at genesis.
fee_pool defines the delegator withdraw infos at genesis.
fee_pool defines the previous proposer at genesis.
fee_pool defines the outstanding rewards of all validators at genesis.
fee_pool defines the accumulated commisions of all validators at genesis.
fee_pool defines the historical rewards of all validators at genesis.
fee_pool defines the current rewards of all validators at genesis.
fee_pool defines the delegator starting infos at genesis.
fee_pool defines the validator slash events at genesis.
Params defines the set of params for the distribution module.
Used in:
,ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.
Used in:
,ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.
Used in:
validator_address is the address of the validator.
accumulated is the accumulated commission of a validator.
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.
Used in:
ValidatorCurrentRewardsRecord is used for import / export via genesis json.
Used in:
validator_address is the address of the validator.
rewards defines the current rewards of a validator.
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) + number of slashes which ended the associated period (and might need to read that record) + one per validator for the zeroeth period, set on initialization
Used in:
ValidatorHistoricalRewardsRecord is used for import / export via genesis json.
Used in:
validator_address is the address of the validator.
period defines the period the historical rewards apply to.
rewards defines the historical rewards of a validator.
ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.
Used in:
ValidatorOutstandingRewardsRecord is used for import/export via genesis json.
Used in:
validator_address is the address of the validator.
outstanding_rewards represents the oustanding rewards of a validator.
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.
Used in:
, ,ValidatorSlashEventRecord is used for import / export via genesis json.
Used in:
validator_address is the address of the validator.
height defines the block height at which the slash event occured.
period is the period of the slash event.
validator_slash_event describes the slash event.
ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.