Versions in this module Expand all Collapse all v0 v0.1.17 Jun 13, 2023 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) error + func (h Hooks) AfterValidatorBeginUnbonding(_ sdk.Context, _ sdk.ConsAddress, _ sdk.ValAddress) error + func (h Hooks) AfterValidatorBonded(ctx sdk.Context, consAddr sdk.ConsAddress, valAddr sdk.ValAddress) error + func (h Hooks) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) error + func (h Hooks) AfterValidatorRemoved(ctx sdk.Context, consAddr sdk.ConsAddress, _ sdk.ValAddress) error + func (h Hooks) BeforeDelegationCreated(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) error + func (h Hooks) BeforeDelegationRemoved(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) error + func (h Hooks) BeforeDelegationSharesModified(_ sdk.Context, _ sdk.AccAddress, _ sdk.ValAddress) error + func (h Hooks) BeforeTokenizeShareRecordRemoved(ctx sdk.Context, recordId uint64) error + func (h Hooks) BeforeValidatorModified(_ sdk.Context, _ sdk.ValAddress) error + func (h Hooks) BeforeValidatorSlashed(_ sdk.Context, _ sdk.ValAddress, _ sdk.Dec) error + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, key storetypes.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) error + func (k Keeper) AfterValidatorCreated(ctx sdk.Context, valAddr sdk.ValAddress) error + func (k Keeper) AfterValidatorRemoved(ctx sdk.Context, address sdk.ConsAddress) error + 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 + func (keeper Keeper) ExportGenesis(ctx sdk.Context) (data *types.GenesisState) + func (keeper Keeper) InitGenesis(ctx sdk.Context, stakingKeeper types.StakingKeeper, data *types.GenesisState) + type Migrator struct + func NewMigrator(keeper Keeper) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error + type SdkMsgHandler interface + func NewSdkMsgHandlerWrapper(handler types.MsgServer) SdkMsgHandler