Versions in this module Expand all Collapse all v1 v1.0.0 Nov 17, 2022 Changes in this version + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + type Hooks struct + func (h Hooks) AfterDelegationModified(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) + func (h Hooks) AfterValidatorBeginUnbonding(_ sdk.Context, _ sdk.ConsAddress, _ sdk.ValAddress) + func (h Hooks) AfterValidatorBonded(ctx sdk.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) + func (h Hooks) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) + func (h Hooks) AfterValidatorRemoved(ctx sdk.Context, consAddr sdk.ConsAddress, _ sdk.ValAddress) + func (h Hooks) BeforeDelegationCreated(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) + func (h Hooks) BeforeDelegationRemoved(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) + func (h Hooks) BeforeDelegationSharesModified(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) + func (h Hooks) BeforeValidatorModified(_ sdk.Context, _ sdk.ValAddress) + func (h Hooks) BeforeValidatorSlashed(_ sdk.Context, _ sdk.ValAddress, _ sdk.Dec) + type Keeper struct + func NewKeeper(cdc codec.BinaryMarshaler, key sdk.StoreKey, sk types.StakingKeeper, ...) Keeper + func (k Keeper) AddPubkey(ctx sdk.Context, pubkey cryptotypes.PubKey) error + func (k Keeper) AfterValidatorBonded(ctx sdk.Context, address sdk.ConsAddress, _ sdk.ValAddress) + func (k Keeper) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) error + func (k Keeper) AfterValidatorRemoved(ctx sdk.Context, address sdk.ConsAddress) + func (k Keeper) DowntimeJailDuration(ctx sdk.Context) (res time.Duration) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetPubkey(ctx sdk.Context, a cryptotypes.Address) (cryptotypes.PubKey, error) + func (k Keeper) GetValidatorMissedBlockBitArray(ctx sdk.Context, address sdk.ConsAddress, index int64) bool + func (k Keeper) GetValidatorMissedBlocks(ctx sdk.Context, address sdk.ConsAddress) []types.MissedBlock + func (k Keeper) GetValidatorSigningInfo(ctx sdk.Context, address sdk.ConsAddress) (info types.ValidatorSigningInfo, found bool) + func (k Keeper) HandleValidatorSignature(ctx sdk.Context, addr cryptotypes.Address, power int64, signed bool) + func (k Keeper) HasValidatorSigningInfo(ctx sdk.Context, consAddr sdk.ConsAddress) bool + func (k Keeper) Hooks() Hooks + func (k Keeper) IsTombstoned(ctx sdk.Context, consAddr sdk.ConsAddress) bool + func (k Keeper) IterateValidatorMissedBlockBitArray(ctx sdk.Context, address sdk.ConsAddress, ...) + func (k Keeper) IterateValidatorSigningInfos(ctx sdk.Context, ...) + func (k Keeper) Jail(ctx sdk.Context, consAddr sdk.ConsAddress) + func (k Keeper) JailUntil(ctx sdk.Context, consAddr sdk.ConsAddress, jailTime time.Time) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MinSignedPerWindow(ctx sdk.Context) int64 + func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetValidatorMissedBlockBitArray(ctx sdk.Context, address sdk.ConsAddress, index int64, missed bool) + func (k Keeper) SetValidatorSigningInfo(ctx sdk.Context, address sdk.ConsAddress, info types.ValidatorSigningInfo) + func (k Keeper) SignedBlocksWindow(ctx sdk.Context) (res int64) + func (k Keeper) SigningInfo(c context.Context, req *types.QuerySigningInfoRequest) (*types.QuerySigningInfoResponse, error) + func (k Keeper) SigningInfos(c context.Context, req *types.QuerySigningInfosRequest) (*types.QuerySigningInfosResponse, error) + func (k Keeper) Slash(ctx sdk.Context, consAddr sdk.ConsAddress, fraction sdk.Dec, ...) + func (k Keeper) SlashFractionDoubleSign(ctx sdk.Context) (res sdk.Dec) + func (k Keeper) SlashFractionDowntime(ctx sdk.Context) (res sdk.Dec) + func (k Keeper) Tombstone(ctx sdk.Context, consAddr sdk.ConsAddress) + func (k Keeper) Unjail(ctx sdk.Context, validatorAddr sdk.ValAddress) error