Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CheckChainVersion(ctx sdk.Context)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) JailValidatorsWithMissingExternalChainInfos(ctx sdk.Context) error
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct { Valset types.ValsetKeeper Upgrade types.UpgradeKeeper AppVersion string ExternalChains []types.ExternalChainSupporterKeeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, appVersion string, valset types.ValsetKeeper, upgrade types.UpgradeKeeper, ) *Keeper
func (Keeper) CheckChainVersion ¶ added in v0.10.2
CheckChainVersion will exit if the app version and the government proposed versions do not match.
func (Keeper) JailValidatorsWithMissingExternalChainInfos ¶
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Click to show internal directories.
Click to hide internal directories.