Modules

Generated client implementations.
Generated server implementations.
Generated client implementations.
Generated server implementations.

Structs

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.
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 used for import / export via genesis json.
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 is the global fee pool for distribution.
GenesisState defines the distribution module’s genesis state.
MsgFundCommunityPool allows an account to directly fund the community pool.
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
MsgSetWithdrawAddress sets the withdraw address for a delegator (or validator self-delegation).
MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.
MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.
MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.
MsgWithdrawValidatorCommission withdraws the full commission to the validator address.
MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.
Params defines the set of params for the distribution module.
QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.
QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.
QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.
QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.
QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.
QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.
QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.
QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.
QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.
QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method
QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method
QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.
QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.
QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method
QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.
ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.
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 is used for import / export via genesis json.
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 is used for import / export via genesis json.
ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.
ValidatorOutstandingRewardsRecord is used for import/export via genesis json.
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 is used for import / export via genesis json.
ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.