Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 Changes in this version + type SupplyKeeper interface + GetModuleAccount func(ctx sdk.Context, name string) supplyexported.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error + SetModuleAccount func(sdk.Context, supplyexported.ModuleAccountI) v0.1.1 Nov 25, 2021 Changes in this version + const AttributeKeyValidator + const AttributeKeyWithdrawAddress + const AttributeValueCategory + const DefaultParamspace + const EventTypeCommission + const EventTypeProposerReward + const EventTypeRewards + const EventTypeSetWithdrawAddress + const EventTypeWithdrawCommission + const EventTypeWithdrawRewards + const ModuleName + const ProposalTypeCommunityPoolSpend + const QuerierRoute + const QueryCommunityPool + const QueryDelegationRewards + const QueryDelegatorTotalRewards + const QueryDelegatorValidators + const QueryParams + const QueryValidatorCommission + const QueryValidatorOutstandingRewards + const QueryValidatorSlashes + const QueryWithdrawAddr + const RouterKey + const StoreKey + const TypeMsgFundCommunityPool + const TypeMsgSetWithdrawAddress + const TypeMsgWithdrawDelegatorReward + const TypeMsgWithdrawValidatorCommission + var DelegatorStartingInfoPrefix = []byte + var DelegatorWithdrawAddrPrefix = []byte + var ErrBadDistribution = sdkerrors.Register(ModuleName, 9, "community pool does not have sufficient coins to distribute") + var ErrEmptyDelegationDistInfo = sdkerrors.Register(ModuleName, 5, "no delegation distribution info") + var ErrEmptyDelegatorAddr = sdkerrors.Register(ModuleName, 2, "delegator address is empty") + var ErrEmptyProposalRecipient = sdkerrors.Register(ModuleName, 11, "invalid community pool spend proposal recipient") + var ErrEmptyValidatorAddr = sdkerrors.Register(ModuleName, 4, "validator address is empty") + var ErrEmptyWithdrawAddr = sdkerrors.Register(ModuleName, 3, "withdraw address is empty") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidProposalAmount = sdkerrors.Register(ModuleName, 10, "invalid community pool spend proposal amount") + var ErrNoDelegationExists = sdkerrors.Register(ModuleName, 13, "delegation does not exist") + var ErrNoValidatorCommission = sdkerrors.Register(ModuleName, 7, "no validator commission to withdraw") + var ErrNoValidatorDistInfo = sdkerrors.Register(ModuleName, 6, "no validator distribution info") + var ErrNoValidatorExists = sdkerrors.Register(ModuleName, 12, "validator does not exist") + var ErrSetWithdrawAddrDisabled = sdkerrors.Register(ModuleName, 8, "set withdraw address disabled") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var FeePoolKey = []byte + var ModuleCdc = codec.NewHybridCodec(amino, types.NewInterfaceRegistry()) + var ParamStoreKeyBaseProposerReward = []byte("baseproposerreward") + var ParamStoreKeyBonusProposerReward = []byte("bonusproposerreward") + var ParamStoreKeyCommunityTax = []byte("communitytax") + var ParamStoreKeyWithdrawAddrEnabled = []byte("withdrawaddrenabled") + var ProposerKey = []byte + var ValidatorAccumulatedCommissionPrefix = []byte + var ValidatorCurrentRewardsPrefix = []byte + var ValidatorHistoricalRewardsPrefix = []byte + var ValidatorOutstandingRewardsPrefix = []byte + var ValidatorSlashEventPrefix = []byte + func GetDelegatorStartingInfoAddresses(key []byte) (valAddr sdk.ValAddress, delAddr sdk.AccAddress) + func GetDelegatorStartingInfoKey(v sdk.ValAddress, d sdk.AccAddress) []byte + func GetDelegatorWithdrawAddrKey(delAddr sdk.AccAddress) []byte + func GetDelegatorWithdrawInfoAddress(key []byte) (delAddr sdk.AccAddress) + func GetValidatorAccumulatedCommissionAddress(key []byte) (valAddr sdk.ValAddress) + func GetValidatorAccumulatedCommissionKey(v sdk.ValAddress) []byte + func GetValidatorCurrentRewardsAddress(key []byte) (valAddr sdk.ValAddress) + func GetValidatorCurrentRewardsKey(v sdk.ValAddress) []byte + func GetValidatorHistoricalRewardsAddressPeriod(key []byte) (valAddr sdk.ValAddress, period uint64) + func GetValidatorHistoricalRewardsKey(v sdk.ValAddress, k uint64) []byte + func GetValidatorHistoricalRewardsPrefix(v sdk.ValAddress) []byte + func GetValidatorOutstandingRewardsAddress(key []byte) (valAddr sdk.ValAddress) + func GetValidatorOutstandingRewardsKey(valAddr sdk.ValAddress) []byte + func GetValidatorSlashEventAddressHeight(key []byte) (valAddr sdk.ValAddress, height uint64) + func GetValidatorSlashEventKey(v sdk.ValAddress, height, period uint64) []byte + func GetValidatorSlashEventKeyPrefix(v sdk.ValAddress, height uint64) []byte + func GetValidatorSlashEventPrefix(v sdk.ValAddress) []byte + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry types.InterfaceRegistry) + func ValidateGenesis(gs GenesisState) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) types.AccountI + GetModuleAccount func(ctx sdk.Context, name string) types.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + SetModuleAccount func(sdk.Context, types.ModuleAccountI) + type BankKeeper interface + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + LockedCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error + SetBalances func(ctx sdk.Context, addr sdk.AccAddress, balances sdk.Coins) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type CommunityPoolSpendProposal struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Description string + Recipient github_com_cosmos_cosmos_sdk_types.AccAddress + Title string + func NewCommunityPoolSpendProposal(title, description string, recipient sdk.AccAddress, amount sdk.Coins) *CommunityPoolSpendProposal + func (*CommunityPoolSpendProposal) Descriptor() ([]byte, []int) + func (*CommunityPoolSpendProposal) ProtoMessage() + func (csp *CommunityPoolSpendProposal) GetDescription() string + func (csp *CommunityPoolSpendProposal) GetTitle() string + func (csp *CommunityPoolSpendProposal) ProposalRoute() string + func (csp *CommunityPoolSpendProposal) ProposalType() string + func (csp *CommunityPoolSpendProposal) ValidateBasic() error + func (csp CommunityPoolSpendProposal) String() string + func (m *CommunityPoolSpendProposal) Marshal() (dAtA []byte, err error) + func (m *CommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommunityPoolSpendProposal) Reset() + func (m *CommunityPoolSpendProposal) Size() (n int) + func (m *CommunityPoolSpendProposal) Unmarshal(dAtA []byte) error + func (m *CommunityPoolSpendProposal) XXX_DiscardUnknown() + func (m *CommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommunityPoolSpendProposal) XXX_Merge(src proto.Message) + func (m *CommunityPoolSpendProposal) XXX_Size() int + func (m *CommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error + func (this *CommunityPoolSpendProposal) Equal(that interface{}) bool + type DelegationDelegatorReward struct + Reward sdk.DecCoins + ValidatorAddress sdk.ValAddress + func NewDelegationDelegatorReward(valAddr sdk.ValAddress, reward sdk.DecCoins) DelegationDelegatorReward + type DelegatorStartingInfo struct + Height uint64 + PreviousPeriod uint64 + Stake github_com_cosmos_cosmos_sdk_types.Dec + func NewDelegatorStartingInfo(previousPeriod uint64, stake sdk.Dec, height uint64) DelegatorStartingInfo + func (*DelegatorStartingInfo) Descriptor() ([]byte, []int) + func (*DelegatorStartingInfo) ProtoMessage() + func (m *DelegatorStartingInfo) GetHeight() uint64 + func (m *DelegatorStartingInfo) GetPreviousPeriod() uint64 + func (m *DelegatorStartingInfo) Marshal() (dAtA []byte, err error) + func (m *DelegatorStartingInfo) MarshalTo(dAtA []byte) (int, error) + func (m *DelegatorStartingInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DelegatorStartingInfo) Reset() + func (m *DelegatorStartingInfo) Size() (n int) + func (m *DelegatorStartingInfo) String() string + func (m *DelegatorStartingInfo) Unmarshal(dAtA []byte) error + func (m *DelegatorStartingInfo) XXX_DiscardUnknown() + func (m *DelegatorStartingInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelegatorStartingInfo) XXX_Merge(src proto.Message) + func (m *DelegatorStartingInfo) XXX_Size() int + func (m *DelegatorStartingInfo) XXX_Unmarshal(b []byte) error + func (this *DelegatorStartingInfo) Equal(that interface{}) bool + type DelegatorStartingInfoRecord struct + DelegatorAddress sdk.AccAddress + StartingInfo DelegatorStartingInfo + ValidatorAddress sdk.ValAddress + type DelegatorWithdrawInfo struct + DelegatorAddress sdk.AccAddress + WithdrawAddress sdk.AccAddress + type FeePool struct + CommunityPool github_com_cosmos_cosmos_sdk_types.DecCoins + func InitialFeePool() FeePool + func (*FeePool) Descriptor() ([]byte, []int) + func (*FeePool) ProtoMessage() + func (f FeePool) ValidateGenesis() error + func (m *FeePool) GetCommunityPool() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *FeePool) Marshal() (dAtA []byte, err error) + func (m *FeePool) MarshalTo(dAtA []byte) (int, error) + func (m *FeePool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FeePool) Reset() + func (m *FeePool) Size() (n int) + func (m *FeePool) String() string + func (m *FeePool) Unmarshal(dAtA []byte) error + func (m *FeePool) XXX_DiscardUnknown() + func (m *FeePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FeePool) XXX_Merge(src proto.Message) + func (m *FeePool) XXX_Size() int + func (m *FeePool) XXX_Unmarshal(b []byte) error + func (this *FeePool) Equal(that interface{}) bool + type GenesisState struct + DelegatorStartingInfos []DelegatorStartingInfoRecord + DelegatorWithdrawInfos []DelegatorWithdrawInfo + FeePool FeePool + OutstandingRewards []ValidatorOutstandingRewardsRecord + Params Params + PreviousProposer sdk.ConsAddress + ValidatorAccumulatedCommissions []ValidatorAccumulatedCommissionRecord + ValidatorCurrentRewards []ValidatorCurrentRewardsRecord + ValidatorHistoricalRewards []ValidatorHistoricalRewardsRecord + ValidatorSlashEvents []ValidatorSlashEventRecord + func DefaultGenesisState() GenesisState + func NewGenesisState(params Params, fp FeePool, dwis []DelegatorWithdrawInfo, pp sdk.ConsAddress, ...) GenesisState + type MsgFundCommunityPool struct + Amount github_com_cosmos_cosmos_sdk_types.Coins + Depositor github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgFundCommunityPool(amount sdk.Coins, depositor sdk.AccAddress) MsgFundCommunityPool + func (*MsgFundCommunityPool) Descriptor() ([]byte, []int) + func (*MsgFundCommunityPool) ProtoMessage() + func (m *MsgFundCommunityPool) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins + func (m *MsgFundCommunityPool) GetDepositor() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgFundCommunityPool) Marshal() (dAtA []byte, err error) + func (m *MsgFundCommunityPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgFundCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgFundCommunityPool) Reset() + func (m *MsgFundCommunityPool) Size() (n int) + func (m *MsgFundCommunityPool) String() string + func (m *MsgFundCommunityPool) Unmarshal(dAtA []byte) error + func (m *MsgFundCommunityPool) XXX_DiscardUnknown() + func (m *MsgFundCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgFundCommunityPool) XXX_Merge(src proto.Message) + func (m *MsgFundCommunityPool) XXX_Size() int + func (m *MsgFundCommunityPool) XXX_Unmarshal(b []byte) error + func (msg MsgFundCommunityPool) GetSignBytes() []byte + func (msg MsgFundCommunityPool) GetSigners() []sdk.AccAddress + func (msg MsgFundCommunityPool) Route() string + func (msg MsgFundCommunityPool) Type() string + func (msg MsgFundCommunityPool) ValidateBasic() error + func (this *MsgFundCommunityPool) Equal(that interface{}) bool + type MsgSetWithdrawAddress struct + DelegatorAddress github_com_cosmos_cosmos_sdk_types.AccAddress + WithdrawAddress github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgSetWithdrawAddress(delAddr, withdrawAddr sdk.AccAddress) MsgSetWithdrawAddress + func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int) + func (*MsgSetWithdrawAddress) ProtoMessage() + func (m *MsgSetWithdrawAddress) GetDelegatorAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgSetWithdrawAddress) GetWithdrawAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgSetWithdrawAddress) Marshal() (dAtA []byte, err error) + func (m *MsgSetWithdrawAddress) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetWithdrawAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetWithdrawAddress) Reset() + func (m *MsgSetWithdrawAddress) Size() (n int) + func (m *MsgSetWithdrawAddress) String() string + func (m *MsgSetWithdrawAddress) Unmarshal(dAtA []byte) error + func (m *MsgSetWithdrawAddress) XXX_DiscardUnknown() + func (m *MsgSetWithdrawAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetWithdrawAddress) XXX_Merge(src proto.Message) + func (m *MsgSetWithdrawAddress) XXX_Size() int + func (m *MsgSetWithdrawAddress) XXX_Unmarshal(b []byte) error + func (msg MsgSetWithdrawAddress) GetSignBytes() []byte + func (msg MsgSetWithdrawAddress) GetSigners() []sdk.AccAddress + func (msg MsgSetWithdrawAddress) Route() string + func (msg MsgSetWithdrawAddress) Type() string + func (msg MsgSetWithdrawAddress) ValidateBasic() error + func (this *MsgSetWithdrawAddress) Equal(that interface{}) bool + type MsgWithdrawDelegatorReward struct + DelegatorAddress github_com_cosmos_cosmos_sdk_types.AccAddress + ValidatorAddress github_com_cosmos_cosmos_sdk_types.ValAddress + func NewMsgWithdrawDelegatorReward(delAddr sdk.AccAddress, valAddr sdk.ValAddress) MsgWithdrawDelegatorReward + func (*MsgWithdrawDelegatorReward) Descriptor() ([]byte, []int) + func (*MsgWithdrawDelegatorReward) ProtoMessage() + func (m *MsgWithdrawDelegatorReward) GetDelegatorAddress() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgWithdrawDelegatorReward) GetValidatorAddress() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *MsgWithdrawDelegatorReward) Marshal() (dAtA []byte, err error) + func (m *MsgWithdrawDelegatorReward) MarshalTo(dAtA []byte) (int, error) + func (m *MsgWithdrawDelegatorReward) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgWithdrawDelegatorReward) Reset() + func (m *MsgWithdrawDelegatorReward) Size() (n int) + func (m *MsgWithdrawDelegatorReward) String() string + func (m *MsgWithdrawDelegatorReward) Unmarshal(dAtA []byte) error + func (m *MsgWithdrawDelegatorReward) XXX_DiscardUnknown() + func (m *MsgWithdrawDelegatorReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgWithdrawDelegatorReward) XXX_Merge(src proto.Message) + func (m *MsgWithdrawDelegatorReward) XXX_Size() int + func (m *MsgWithdrawDelegatorReward) XXX_Unmarshal(b []byte) error + func (msg MsgWithdrawDelegatorReward) GetSignBytes() []byte + func (msg MsgWithdrawDelegatorReward) GetSigners() []sdk.AccAddress + func (msg MsgWithdrawDelegatorReward) Route() string + func (msg MsgWithdrawDelegatorReward) Type() string + func (msg MsgWithdrawDelegatorReward) ValidateBasic() error + func (this *MsgWithdrawDelegatorReward) Equal(that interface{}) bool + type MsgWithdrawValidatorCommission struct + ValidatorAddress github_com_cosmos_cosmos_sdk_types.ValAddress + func NewMsgWithdrawValidatorCommission(valAddr sdk.ValAddress) MsgWithdrawValidatorCommission + func (*MsgWithdrawValidatorCommission) Descriptor() ([]byte, []int) + func (*MsgWithdrawValidatorCommission) ProtoMessage() + func (m *MsgWithdrawValidatorCommission) GetValidatorAddress() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *MsgWithdrawValidatorCommission) Marshal() (dAtA []byte, err error) + func (m *MsgWithdrawValidatorCommission) MarshalTo(dAtA []byte) (int, error) + func (m *MsgWithdrawValidatorCommission) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgWithdrawValidatorCommission) Reset() + func (m *MsgWithdrawValidatorCommission) Size() (n int) + func (m *MsgWithdrawValidatorCommission) String() string + func (m *MsgWithdrawValidatorCommission) Unmarshal(dAtA []byte) error + func (m *MsgWithdrawValidatorCommission) XXX_DiscardUnknown() + func (m *MsgWithdrawValidatorCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgWithdrawValidatorCommission) XXX_Merge(src proto.Message) + func (m *MsgWithdrawValidatorCommission) XXX_Size() int + func (m *MsgWithdrawValidatorCommission) XXX_Unmarshal(b []byte) error + func (msg MsgWithdrawValidatorCommission) GetSignBytes() []byte + func (msg MsgWithdrawValidatorCommission) GetSigners() []sdk.AccAddress + func (msg MsgWithdrawValidatorCommission) Route() string + func (msg MsgWithdrawValidatorCommission) Type() string + func (msg MsgWithdrawValidatorCommission) ValidateBasic() error + func (this *MsgWithdrawValidatorCommission) Equal(that interface{}) bool + type Params struct + BaseProposerReward github_com_cosmos_cosmos_sdk_types.Dec + BonusProposerReward github_com_cosmos_cosmos_sdk_types.Dec + CommunityTax github_com_cosmos_cosmos_sdk_types.Dec + WithdrawAddrEnabled bool + func DefaultParams() Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetWithdrawAddrEnabled() bool + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) String() string + func (p Params) ValidateBasic() error + func (this *Params) Equal(that interface{}) bool + type QueryDelegationRewardsParams struct + DelegatorAddress sdk.AccAddress + ValidatorAddress sdk.ValAddress + func NewQueryDelegationRewardsParams(delegatorAddr sdk.AccAddress, validatorAddr sdk.ValAddress) QueryDelegationRewardsParams + type QueryDelegatorParams struct + DelegatorAddress sdk.AccAddress + func NewQueryDelegatorParams(delegatorAddr sdk.AccAddress) QueryDelegatorParams + type QueryDelegatorTotalRewardsResponse struct + Rewards []DelegationDelegatorReward + Total sdk.DecCoins + func NewQueryDelegatorTotalRewardsResponse(rewards []DelegationDelegatorReward, total sdk.DecCoins) QueryDelegatorTotalRewardsResponse + func (res QueryDelegatorTotalRewardsResponse) String() string + type QueryDelegatorWithdrawAddrParams struct + DelegatorAddress sdk.AccAddress + func NewQueryDelegatorWithdrawAddrParams(delegatorAddr sdk.AccAddress) QueryDelegatorWithdrawAddrParams + type QueryValidatorCommissionParams struct + ValidatorAddress sdk.ValAddress + func NewQueryValidatorCommissionParams(validatorAddr sdk.ValAddress) QueryValidatorCommissionParams + type QueryValidatorOutstandingRewardsParams struct + ValidatorAddress sdk.ValAddress + func NewQueryValidatorOutstandingRewardsParams(validatorAddr sdk.ValAddress) QueryValidatorOutstandingRewardsParams + type QueryValidatorSlashesParams struct + EndingHeight uint64 + StartingHeight uint64 + ValidatorAddress sdk.ValAddress + func NewQueryValidatorSlashesParams(validatorAddr sdk.ValAddress, startingHeight uint64, endingHeight uint64) QueryValidatorSlashesParams + type StakingHooks interface + AfterDelegationModified func(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) + AfterValidatorCreated func(ctx sdk.Context, valAddr sdk.ValAddress) + AfterValidatorRemoved func(ctx sdk.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) + BeforeDelegationCreated func(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) + BeforeDelegationSharesModified func(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) + BeforeValidatorSlashed func(ctx sdk.Context, valAddr sdk.ValAddress, fraction sdk.Dec) + type StakingKeeper interface + Delegation func(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingexported.DelegationI + GetAllSDKDelegations func(ctx sdk.Context) []staking.Delegation + GetLastTotalPower func(ctx sdk.Context) sdk.Int + GetLastValidatorPower func(ctx sdk.Context, valAddr sdk.ValAddress) int64 + IterateBondedValidatorsByPower func(sdk.Context, ...) + IterateDelegations func(ctx sdk.Context, delegator sdk.AccAddress, ...) + IterateLastValidators func(sdk.Context, ...) + IterateValidators func(sdk.Context, ...) + Jail func(sdk.Context, sdk.ConsAddress) + MaxValidators func(sdk.Context) uint32 + Slash func(sdk.Context, sdk.ConsAddress, int64, int64, sdk.Dec) + Unjail func(sdk.Context, sdk.ConsAddress) + Validator func(sdk.Context, sdk.ValAddress) stakingexported.ValidatorI + ValidatorByConsAddr func(sdk.Context, sdk.ConsAddress) stakingexported.ValidatorI + type ValidatorAccumulatedCommission struct + Commission github_com_cosmos_cosmos_sdk_types.DecCoins + func InitialValidatorAccumulatedCommission() ValidatorAccumulatedCommission + func (*ValidatorAccumulatedCommission) Descriptor() ([]byte, []int) + func (*ValidatorAccumulatedCommission) ProtoMessage() + func (m *ValidatorAccumulatedCommission) GetCommission() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *ValidatorAccumulatedCommission) Marshal() (dAtA []byte, err error) + func (m *ValidatorAccumulatedCommission) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorAccumulatedCommission) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorAccumulatedCommission) Reset() + func (m *ValidatorAccumulatedCommission) Size() (n int) + func (m *ValidatorAccumulatedCommission) String() string + func (m *ValidatorAccumulatedCommission) Unmarshal(dAtA []byte) error + func (m *ValidatorAccumulatedCommission) XXX_DiscardUnknown() + func (m *ValidatorAccumulatedCommission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorAccumulatedCommission) XXX_Merge(src proto.Message) + func (m *ValidatorAccumulatedCommission) XXX_Size() int + func (m *ValidatorAccumulatedCommission) XXX_Unmarshal(b []byte) error + func (this *ValidatorAccumulatedCommission) Equal(that interface{}) bool + type ValidatorAccumulatedCommissionRecord struct + Accumulated ValidatorAccumulatedCommission + ValidatorAddress sdk.ValAddress + type ValidatorCurrentRewards struct + Period uint64 + Rewards github_com_cosmos_cosmos_sdk_types.DecCoins + func NewValidatorCurrentRewards(rewards sdk.DecCoins, period uint64) ValidatorCurrentRewards + func (*ValidatorCurrentRewards) Descriptor() ([]byte, []int) + func (*ValidatorCurrentRewards) ProtoMessage() + func (m *ValidatorCurrentRewards) GetPeriod() uint64 + func (m *ValidatorCurrentRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *ValidatorCurrentRewards) Marshal() (dAtA []byte, err error) + func (m *ValidatorCurrentRewards) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorCurrentRewards) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorCurrentRewards) Reset() + func (m *ValidatorCurrentRewards) Size() (n int) + func (m *ValidatorCurrentRewards) String() string + func (m *ValidatorCurrentRewards) Unmarshal(dAtA []byte) error + func (m *ValidatorCurrentRewards) XXX_DiscardUnknown() + func (m *ValidatorCurrentRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorCurrentRewards) XXX_Merge(src proto.Message) + func (m *ValidatorCurrentRewards) XXX_Size() int + func (m *ValidatorCurrentRewards) XXX_Unmarshal(b []byte) error + func (this *ValidatorCurrentRewards) Equal(that interface{}) bool + type ValidatorCurrentRewardsRecord struct + Rewards ValidatorCurrentRewards + ValidatorAddress sdk.ValAddress + type ValidatorHistoricalRewards struct + CumulativeRewardRatio github_com_cosmos_cosmos_sdk_types.DecCoins + ReferenceCount uint32 + func NewValidatorHistoricalRewards(cumulativeRewardRatio sdk.DecCoins, referenceCount uint32) ValidatorHistoricalRewards + func (*ValidatorHistoricalRewards) Descriptor() ([]byte, []int) + func (*ValidatorHistoricalRewards) ProtoMessage() + func (m *ValidatorHistoricalRewards) GetCumulativeRewardRatio() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *ValidatorHistoricalRewards) GetReferenceCount() uint32 + func (m *ValidatorHistoricalRewards) Marshal() (dAtA []byte, err error) + func (m *ValidatorHistoricalRewards) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorHistoricalRewards) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorHistoricalRewards) Reset() + func (m *ValidatorHistoricalRewards) Size() (n int) + func (m *ValidatorHistoricalRewards) String() string + func (m *ValidatorHistoricalRewards) Unmarshal(dAtA []byte) error + func (m *ValidatorHistoricalRewards) XXX_DiscardUnknown() + func (m *ValidatorHistoricalRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorHistoricalRewards) XXX_Merge(src proto.Message) + func (m *ValidatorHistoricalRewards) XXX_Size() int + func (m *ValidatorHistoricalRewards) XXX_Unmarshal(b []byte) error + func (this *ValidatorHistoricalRewards) Equal(that interface{}) bool + type ValidatorHistoricalRewardsRecord struct + Period uint64 + Rewards ValidatorHistoricalRewards + ValidatorAddress sdk.ValAddress + type ValidatorOutstandingRewards struct + Rewards github_com_cosmos_cosmos_sdk_types.DecCoins + func (*ValidatorOutstandingRewards) Descriptor() ([]byte, []int) + func (*ValidatorOutstandingRewards) ProtoMessage() + func (m *ValidatorOutstandingRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.DecCoins + func (m *ValidatorOutstandingRewards) Marshal() (dAtA []byte, err error) + func (m *ValidatorOutstandingRewards) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorOutstandingRewards) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorOutstandingRewards) Reset() + func (m *ValidatorOutstandingRewards) Size() (n int) + func (m *ValidatorOutstandingRewards) String() string + func (m *ValidatorOutstandingRewards) Unmarshal(dAtA []byte) error + func (m *ValidatorOutstandingRewards) XXX_DiscardUnknown() + func (m *ValidatorOutstandingRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorOutstandingRewards) XXX_Merge(src proto.Message) + func (m *ValidatorOutstandingRewards) XXX_Size() int + func (m *ValidatorOutstandingRewards) XXX_Unmarshal(b []byte) error + func (this *ValidatorOutstandingRewards) Equal(that interface{}) bool + type ValidatorOutstandingRewardsRecord struct + OutstandingRewards sdk.DecCoins + ValidatorAddress sdk.ValAddress + type ValidatorSlashEvent struct + Fraction github_com_cosmos_cosmos_sdk_types.Dec + ValidatorPeriod uint64 + func NewValidatorSlashEvent(validatorPeriod uint64, fraction sdk.Dec) ValidatorSlashEvent + func (*ValidatorSlashEvent) Descriptor() ([]byte, []int) + func (*ValidatorSlashEvent) ProtoMessage() + func (m *ValidatorSlashEvent) GetValidatorPeriod() uint64 + func (m *ValidatorSlashEvent) Marshal() (dAtA []byte, err error) + func (m *ValidatorSlashEvent) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorSlashEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorSlashEvent) Reset() + func (m *ValidatorSlashEvent) Size() (n int) + func (m *ValidatorSlashEvent) String() string + func (m *ValidatorSlashEvent) Unmarshal(dAtA []byte) error + func (m *ValidatorSlashEvent) XXX_DiscardUnknown() + func (m *ValidatorSlashEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorSlashEvent) XXX_Merge(src proto.Message) + func (m *ValidatorSlashEvent) XXX_Size() int + func (m *ValidatorSlashEvent) XXX_Unmarshal(b []byte) error + func (this *ValidatorSlashEvent) Equal(that interface{}) bool + type ValidatorSlashEventRecord struct + Event ValidatorSlashEvent + Height uint64 + Period uint64 + ValidatorAddress sdk.ValAddress + type ValidatorSlashEvents struct + ValidatorSlashEvents []ValidatorSlashEvent + func (*ValidatorSlashEvents) Descriptor() ([]byte, []int) + func (*ValidatorSlashEvents) ProtoMessage() + func (m *ValidatorSlashEvents) GetValidatorSlashEvents() []ValidatorSlashEvent + func (m *ValidatorSlashEvents) Marshal() (dAtA []byte, err error) + func (m *ValidatorSlashEvents) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorSlashEvents) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorSlashEvents) Reset() + func (m *ValidatorSlashEvents) Size() (n int) + func (m *ValidatorSlashEvents) Unmarshal(dAtA []byte) error + func (m *ValidatorSlashEvents) XXX_DiscardUnknown() + func (m *ValidatorSlashEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorSlashEvents) XXX_Merge(src proto.Message) + func (m *ValidatorSlashEvents) XXX_Size() int + func (m *ValidatorSlashEvents) XXX_Unmarshal(b []byte) error + func (this *ValidatorSlashEvents) Equal(that interface{}) bool + func (vs ValidatorSlashEvents) String() string