Versions in this module Expand all Collapse all v0 v0.50.9 Jul 10, 2024 Changes in this version + const AttributeKeyAddress + const AttributeKeyBurnedCoins + const AttributeKeyHeight + const AttributeKeyJailed + const AttributeKeyMissedBlocks + const AttributeKeyPower + const AttributeKeyReason + const AttributeValueDoubleSign + const AttributeValueMissingSignature + const AttributeValueUnspecified + const DefaultDowntimeJailDuration + const DefaultSignedBlocksWindow + const EventTypeLiveness + const EventTypeSlash + const MissedBlockBitmapChunkSize + const ModuleName + const QueryParameters + const QuerySigningInfo + const QuerySigningInfos + const RouterKey + const StoreKey + var AddrPubkeyRelationKeyPrefix = []byte + var DefaultMinSignedPerWindow = math.LegacyNewDecWithPrec(5, 1) + var DefaultSlashFractionDoubleSign = math.LegacyNewDec(1).Quo(math.LegacyNewDec(20)) + var DefaultSlashFractionDowntime = math.LegacyNewDec(1).Quo(math.LegacyNewDec(100)) + var ErrBadValidatorAddr = errors.Register(ModuleName, 3, "validator does not exist for that address") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowSlashing = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthSlashing = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrMissingSelfDelegation = errors.Register(ModuleName, 6, "validator has no self-delegation; cannot be unjailed") + var ErrNoSigningInfoFound = errors.Register(ModuleName, 8, "no validator signing info found") + var ErrNoValidatorForAddress = errors.Register(ModuleName, 2, "address is not associated with any known validator") + var ErrSelfDelegationTooLowToUnjail = errors.Register(ModuleName, 7, ...) + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupSlashing = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrValidatorJailed = errors.Register(ModuleName, 4, "validator still jailed; cannot be unjailed") + var ErrValidatorNotJailed = errors.Register(ModuleName, 5, "validator not jailed; cannot be unjailed") + var ErrValidatorTombstoned = errors.Register(ModuleName, 9, "validator already tombstoned") + var KeyDowntimeJailDuration = []byte("DowntimeJailDuration") + var KeyMinSignedPerWindow = []byte("MinSignedPerWindow") + var KeySignedBlocksWindow = []byte("SignedBlocksWindow") + var KeySlashFractionDoubleSign = []byte("SlashFractionDoubleSign") + var KeySlashFractionDowntime = []byte("SlashFractionDowntime") + var ParamsKey = []byte + var ValidatorMissedBlockBitmapKeyPrefix = []byte + var ValidatorSigningInfoKeyPrefix = []byte + func AddrPubkeyRelationKey(addr []byte) []byte + func ParamKeyTable() paramtypes.KeyTable + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func ValidateGenesis(data GenesisState) error + func ValidatorMissedBlockBitmapKey(v sdk.ConsAddress, chunkIndex int64) []byte + func ValidatorMissedBlockBitmapPrefixKey(v sdk.ConsAddress) []byte + func ValidatorSigningInfoAddress(key []byte) (v sdk.ConsAddress) + func ValidatorSigningInfoKey(v sdk.ConsAddress) []byte + type AccountKeeper interface + GetAccount func(ctx context.Context, addr sdk.AccAddress) sdk.AccountI + IterateAccounts func(ctx context.Context, process func(sdk.AccountI) (stop bool)) + type BankKeeper interface + GetAllBalances func(ctx context.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin + LockedCoins func(ctx context.Context, addr sdk.AccAddress) sdk.Coins + SpendableCoins func(ctx context.Context, addr sdk.AccAddress) sdk.Coins + type GenesisState struct + MissedBlocks []ValidatorMissedBlocks + Params Params + SigningInfos []SigningInfo + func DefaultGenesisState() *GenesisState + func NewGenesisState(params Params, signingInfos []SigningInfo, ...) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetMissedBlocks() []ValidatorMissedBlocks + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetSigningInfos() []SigningInfo + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type MissedBlock struct + Index int64 + Missed bool + func NewMissedBlock(index int64, missed bool) MissedBlock + func (*MissedBlock) Descriptor() ([]byte, []int) + func (*MissedBlock) ProtoMessage() + func (m *MissedBlock) GetIndex() int64 + func (m *MissedBlock) GetMissed() bool + func (m *MissedBlock) Marshal() (dAtA []byte, err error) + func (m *MissedBlock) MarshalTo(dAtA []byte) (int, error) + func (m *MissedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MissedBlock) Reset() + func (m *MissedBlock) Size() (n int) + func (m *MissedBlock) String() string + func (m *MissedBlock) Unmarshal(dAtA []byte) error + func (m *MissedBlock) XXX_DiscardUnknown() + func (m *MissedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MissedBlock) XXX_Merge(src proto.Message) + func (m *MissedBlock) XXX_Size() int + func (m *MissedBlock) XXX_Unmarshal(b []byte) error + type MsgClient interface + Unjail func(ctx context.Context, in *MsgUnjail, opts ...grpc.CallOption) (*MsgUnjailResponse, error) + UpdateParams func(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgServer interface + Unjail func(context.Context, *MsgUnjail) (*MsgUnjailResponse, error) + UpdateParams func(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + type MsgUnjail struct + ValidatorAddr string + func NewMsgUnjail(validatorAddr string) *MsgUnjail + func (*MsgUnjail) Descriptor() ([]byte, []int) + func (*MsgUnjail) ProtoMessage() + func (m *MsgUnjail) Marshal() (dAtA []byte, err error) + func (m *MsgUnjail) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUnjail) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUnjail) Reset() + func (m *MsgUnjail) Size() (n int) + func (m *MsgUnjail) String() string + func (m *MsgUnjail) Unmarshal(dAtA []byte) error + func (m *MsgUnjail) XXX_DiscardUnknown() + func (m *MsgUnjail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUnjail) XXX_Merge(src proto.Message) + func (m *MsgUnjail) XXX_Size() int + func (m *MsgUnjail) XXX_Unmarshal(b []byte) error + func (this *MsgUnjail) Equal(that interface{}) bool + type MsgUnjailResponse struct + func (*MsgUnjailResponse) Descriptor() ([]byte, []int) + func (*MsgUnjailResponse) ProtoMessage() + func (m *MsgUnjailResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUnjailResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUnjailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUnjailResponse) Reset() + func (m *MsgUnjailResponse) Size() (n int) + func (m *MsgUnjailResponse) String() string + func (m *MsgUnjailResponse) Unmarshal(dAtA []byte) error + func (m *MsgUnjailResponse) XXX_DiscardUnknown() + func (m *MsgUnjailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUnjailResponse) XXX_Merge(src proto.Message) + func (m *MsgUnjailResponse) XXX_Size() int + func (m *MsgUnjailResponse) XXX_Unmarshal(b []byte) error + func (this *MsgUnjailResponse) Equal(that interface{}) bool + type MsgUpdateParams struct + Authority string + Params Params + func (*MsgUpdateParams) Descriptor() ([]byte, []int) + func (*MsgUpdateParams) ProtoMessage() + func (m *MsgUpdateParams) GetAuthority() string + func (m *MsgUpdateParams) GetParams() Params + func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParams) Reset() + func (m *MsgUpdateParams) Size() (n int) + func (m *MsgUpdateParams) String() string + func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParams) XXX_DiscardUnknown() + func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParams) XXX_Merge(src proto.Message) + func (m *MsgUpdateParams) XXX_Size() int + func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error + func (this *MsgUpdateParams) Equal(that interface{}) bool + type MsgUpdateParamsResponse struct + func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateParamsResponse) ProtoMessage() + func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) Reset() + func (m *MsgUpdateParamsResponse) Size() (n int) + func (m *MsgUpdateParamsResponse) String() string + func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() + func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateParamsResponse) XXX_Size() int + func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error + func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool + type ParamSubspace interface + Get func(ctx sdk.Context, key []byte, ptr interface{}) + GetParamSet func(ctx sdk.Context, ps paramtypes.ParamSet) + HasKeyTable func() bool + SetParamSet func(ctx sdk.Context, ps paramtypes.ParamSet) + WithKeyTable func(table paramtypes.KeyTable) paramtypes.Subspace + type Params struct + DowntimeJailDuration time.Duration + MinSignedPerWindow cosmossdk_io_math.LegacyDec + SignedBlocksWindow int64 + SlashFractionDoubleSign cosmossdk_io_math.LegacyDec + SlashFractionDowntime cosmossdk_io_math.LegacyDec + func DefaultParams() Params + func NewParams(signedBlocksWindow int64, minSignedPerWindow math.LegacyDec, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetDowntimeJailDuration() time.Duration + func (m *Params) GetSignedBlocksWindow() int64 + 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) String() string + 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) Validate() error + func (this *Params) Equal(that interface{}) bool + type QueryClient interface + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + SigningInfo func(ctx context.Context, in *QuerySigningInfoRequest, opts ...grpc.CallOption) (*QuerySigningInfoResponse, error) + SigningInfos func(ctx context.Context, in *QuerySigningInfosRequest, opts ...grpc.CallOption) (*QuerySigningInfosResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsRequest) Reset() + func (m *QueryParamsRequest) Size() (n int) + func (m *QueryParamsRequest) String() string + func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryParamsRequest) XXX_DiscardUnknown() + func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryParamsRequest) XXX_Size() int + func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error + type QueryParamsResponse struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (m *QueryParamsResponse) GetParams() Params + func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + SigningInfo func(context.Context, *QuerySigningInfoRequest) (*QuerySigningInfoResponse, error) + SigningInfos func(context.Context, *QuerySigningInfosRequest) (*QuerySigningInfosResponse, error) + type QuerySigningInfoRequest struct + ConsAddress string + func (*QuerySigningInfoRequest) Descriptor() ([]byte, []int) + func (*QuerySigningInfoRequest) ProtoMessage() + func (m *QuerySigningInfoRequest) GetConsAddress() string + func (m *QuerySigningInfoRequest) Marshal() (dAtA []byte, err error) + func (m *QuerySigningInfoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QuerySigningInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QuerySigningInfoRequest) Reset() + func (m *QuerySigningInfoRequest) Size() (n int) + func (m *QuerySigningInfoRequest) String() string + func (m *QuerySigningInfoRequest) Unmarshal(dAtA []byte) error + func (m *QuerySigningInfoRequest) XXX_DiscardUnknown() + func (m *QuerySigningInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QuerySigningInfoRequest) XXX_Merge(src proto.Message) + func (m *QuerySigningInfoRequest) XXX_Size() int + func (m *QuerySigningInfoRequest) XXX_Unmarshal(b []byte) error + type QuerySigningInfoResponse struct + ValSigningInfo ValidatorSigningInfo + func (*QuerySigningInfoResponse) Descriptor() ([]byte, []int) + func (*QuerySigningInfoResponse) ProtoMessage() + func (m *QuerySigningInfoResponse) GetValSigningInfo() ValidatorSigningInfo + func (m *QuerySigningInfoResponse) Marshal() (dAtA []byte, err error) + func (m *QuerySigningInfoResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QuerySigningInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QuerySigningInfoResponse) Reset() + func (m *QuerySigningInfoResponse) Size() (n int) + func (m *QuerySigningInfoResponse) String() string + func (m *QuerySigningInfoResponse) Unmarshal(dAtA []byte) error + func (m *QuerySigningInfoResponse) XXX_DiscardUnknown() + func (m *QuerySigningInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QuerySigningInfoResponse) XXX_Merge(src proto.Message) + func (m *QuerySigningInfoResponse) XXX_Size() int + func (m *QuerySigningInfoResponse) XXX_Unmarshal(b []byte) error + type QuerySigningInfosParams struct + Limit int + Page int + func NewQuerySigningInfosParams(page, limit int) QuerySigningInfosParams + type QuerySigningInfosRequest struct + Pagination *query.PageRequest + func (*QuerySigningInfosRequest) Descriptor() ([]byte, []int) + func (*QuerySigningInfosRequest) ProtoMessage() + func (m *QuerySigningInfosRequest) GetPagination() *query.PageRequest + func (m *QuerySigningInfosRequest) Marshal() (dAtA []byte, err error) + func (m *QuerySigningInfosRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QuerySigningInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QuerySigningInfosRequest) Reset() + func (m *QuerySigningInfosRequest) Size() (n int) + func (m *QuerySigningInfosRequest) String() string + func (m *QuerySigningInfosRequest) Unmarshal(dAtA []byte) error + func (m *QuerySigningInfosRequest) XXX_DiscardUnknown() + func (m *QuerySigningInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QuerySigningInfosRequest) XXX_Merge(src proto.Message) + func (m *QuerySigningInfosRequest) XXX_Size() int + func (m *QuerySigningInfosRequest) XXX_Unmarshal(b []byte) error + type QuerySigningInfosResponse struct + Info []ValidatorSigningInfo + Pagination *query.PageResponse + func (*QuerySigningInfosResponse) Descriptor() ([]byte, []int) + func (*QuerySigningInfosResponse) ProtoMessage() + func (m *QuerySigningInfosResponse) GetInfo() []ValidatorSigningInfo + func (m *QuerySigningInfosResponse) GetPagination() *query.PageResponse + func (m *QuerySigningInfosResponse) Marshal() (dAtA []byte, err error) + func (m *QuerySigningInfosResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QuerySigningInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QuerySigningInfosResponse) Reset() + func (m *QuerySigningInfosResponse) Size() (n int) + func (m *QuerySigningInfosResponse) String() string + func (m *QuerySigningInfosResponse) Unmarshal(dAtA []byte) error + func (m *QuerySigningInfosResponse) XXX_DiscardUnknown() + func (m *QuerySigningInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QuerySigningInfosResponse) XXX_Merge(src proto.Message) + func (m *QuerySigningInfosResponse) XXX_Size() int + func (m *QuerySigningInfosResponse) XXX_Unmarshal(b []byte) error + type SigningInfo struct + Address string + ValidatorSigningInfo ValidatorSigningInfo + func (*SigningInfo) Descriptor() ([]byte, []int) + func (*SigningInfo) ProtoMessage() + func (m *SigningInfo) GetAddress() string + func (m *SigningInfo) GetValidatorSigningInfo() ValidatorSigningInfo + func (m *SigningInfo) Marshal() (dAtA []byte, err error) + func (m *SigningInfo) MarshalTo(dAtA []byte) (int, error) + func (m *SigningInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SigningInfo) Reset() + func (m *SigningInfo) Size() (n int) + func (m *SigningInfo) String() string + func (m *SigningInfo) Unmarshal(dAtA []byte) error + func (m *SigningInfo) XXX_DiscardUnknown() + func (m *SigningInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SigningInfo) XXX_Merge(src proto.Message) + func (m *SigningInfo) XXX_Size() int + func (m *SigningInfo) XXX_Unmarshal(b []byte) error + type StakingHooks interface + AfterDelegationModified func(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + AfterValidatorBeginUnbonding func(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error + AfterValidatorBonded func(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error + AfterValidatorCreated func(ctx context.Context, valAddr sdk.ValAddress) error + AfterValidatorRemoved func(ctx context.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error + BeforeDelegationCreated func(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + BeforeDelegationRemoved func(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + BeforeDelegationSharesModified func(ctx context.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) error + BeforeValidatorModified func(ctx context.Context, valAddr sdk.ValAddress) error + BeforeValidatorSlashed func(ctx context.Context, valAddr sdk.ValAddress, fraction math.LegacyDec) error + type StakingKeeper interface + ConsensusAddressCodec func() address.Codec + Delegation func(context.Context, sdk.AccAddress, sdk.ValAddress) (stakingtypes.DelegationI, error) + GetAllValidators func(ctx context.Context) ([]stakingtypes.Validator, error) + IsValidatorJailed func(ctx context.Context, addr sdk.ConsAddress) (bool, error) + IterateValidators func(context.Context, ...) error + Jail func(context.Context, sdk.ConsAddress) error + MaxValidators func(context.Context) (uint32, error) + Slash func(context.Context, sdk.ConsAddress, int64, int64, math.LegacyDec) (math.Int, error) + SlashWithInfractionReason func(context.Context, sdk.ConsAddress, int64, int64, math.LegacyDec, ...) (math.Int, error) + Unjail func(context.Context, sdk.ConsAddress) error + Validator func(context.Context, sdk.ValAddress) (stakingtypes.ValidatorI, error) + ValidatorAddressCodec func() address.Codec + ValidatorByConsAddr func(context.Context, sdk.ConsAddress) (stakingtypes.ValidatorI, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) Unjail(ctx context.Context, req *MsgUnjail) (*MsgUnjailResponse, error) + func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) + func (*UnimplementedQueryServer) SigningInfo(ctx context.Context, req *QuerySigningInfoRequest) (*QuerySigningInfoResponse, error) + func (*UnimplementedQueryServer) SigningInfos(ctx context.Context, req *QuerySigningInfosRequest) (*QuerySigningInfosResponse, error) + type ValidatorMissedBlocks struct + Address string + MissedBlocks []MissedBlock + func (*ValidatorMissedBlocks) Descriptor() ([]byte, []int) + func (*ValidatorMissedBlocks) ProtoMessage() + func (m *ValidatorMissedBlocks) GetAddress() string + func (m *ValidatorMissedBlocks) GetMissedBlocks() []MissedBlock + func (m *ValidatorMissedBlocks) Marshal() (dAtA []byte, err error) + func (m *ValidatorMissedBlocks) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorMissedBlocks) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorMissedBlocks) Reset() + func (m *ValidatorMissedBlocks) Size() (n int) + func (m *ValidatorMissedBlocks) String() string + func (m *ValidatorMissedBlocks) Unmarshal(dAtA []byte) error + func (m *ValidatorMissedBlocks) XXX_DiscardUnknown() + func (m *ValidatorMissedBlocks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorMissedBlocks) XXX_Merge(src proto.Message) + func (m *ValidatorMissedBlocks) XXX_Size() int + func (m *ValidatorMissedBlocks) XXX_Unmarshal(b []byte) error + type ValidatorSigningInfo struct + Address string + IndexOffset int64 + JailedUntil time.Time + MissedBlocksCounter int64 + StartHeight int64 + Tombstoned bool + func NewValidatorSigningInfo(consAddr sdk.ConsAddress, startHeight, indexOffset int64, ...) ValidatorSigningInfo + func UnmarshalValSigningInfo(cdc codec.Codec, value []byte) (signingInfo ValidatorSigningInfo, err error) + func (*ValidatorSigningInfo) Descriptor() ([]byte, []int) + func (*ValidatorSigningInfo) ProtoMessage() + func (m *ValidatorSigningInfo) GetAddress() string + func (m *ValidatorSigningInfo) GetIndexOffset() int64 + func (m *ValidatorSigningInfo) GetJailedUntil() time.Time + func (m *ValidatorSigningInfo) GetMissedBlocksCounter() int64 + func (m *ValidatorSigningInfo) GetStartHeight() int64 + func (m *ValidatorSigningInfo) GetTombstoned() bool + func (m *ValidatorSigningInfo) Marshal() (dAtA []byte, err error) + func (m *ValidatorSigningInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorSigningInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorSigningInfo) Reset() + func (m *ValidatorSigningInfo) Size() (n int) + func (m *ValidatorSigningInfo) String() string + func (m *ValidatorSigningInfo) Unmarshal(dAtA []byte) error + func (m *ValidatorSigningInfo) XXX_DiscardUnknown() + func (m *ValidatorSigningInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorSigningInfo) XXX_Merge(src proto.Message) + func (m *ValidatorSigningInfo) XXX_Size() int + func (m *ValidatorSigningInfo) XXX_Unmarshal(b []byte) error + func (this *ValidatorSigningInfo) Equal(that interface{}) bool