keeper

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper paramskeeper.Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the bank MsgServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	paramskeeper.Keeper
}

Keeper define a slashing keeper

func NewKeeper

func NewKeeper(keeper paramskeeper.Keeper) Keeper

NewKeeper creates a slashing keeper

func (Keeper) UpdateParams

func (k Keeper) UpdateParams(ctx sdk.Context, params []types.ParamChange) ([]sdk.Attribute, error)

HandleValidatorSignature handles a validator signature, must be called once per validator per block. Block all subsequent logic if this validator has been removed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL