proto/cosmos/distribution/v1beta1/distribution.pb
library
Classes
-
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
-
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.
-
FeePool
-
FeePool is the global fee pool for distribution.
-
Params
-
Params defines the set of params for the distribution module.
-
ValidatorAccumulatedCommission
-
ValidatorAccumulatedCommission represents accumulated commission
for a validator kept as a running counter, can be withdrawn at any time.
-
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.
-
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)
-
ValidatorOutstandingRewards
-
ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
for a validator inexpensive to track, allows simple sanity checks.
-
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.
-
ValidatorSlashEvents
-
ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.