keeper

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(k Keeper) types.MsgServer

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

Types

type Keeper

type Keeper struct {
	keeper.Keeper
	// contains filtered or unexported fields
}

Keeper of the global paramstore

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) Keeper

NewKeeper constructs a params keeper

func (Keeper) GetAuthority

func (k Keeper) GetAuthority(
	ctx sdk.Context,
) (authority string)

GetAuthority returns the module authority

func (Keeper) GetSubspace

func (k Keeper) GetSubspace(s string) (types.Subspace, bool)

Get existing substore from keeper

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

Logger returns a module-specific logger.

func (Keeper) Params

Params returns subspace params

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params proposal.Params)

SetParams sets the total set of params parameters.

func (Keeper) Subspace

func (k Keeper) Subspace(s string) types.Subspace

Allocate subspace used for keepers

Jump to

Keyboard shortcuts

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