keeper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeService store.KVStoreService,
	logger log.Logger,
	authority string,
) Keeper

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis(ctx context.Context) *types.GenesisState

ExportGenesis returns the module's exported genesis state

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

func (Keeper) GetParams

func (k Keeper) GetParams(ctx context.Context) *types.Params

GetParams returns the module's parameters

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, gs *types.GenesisState)

InitGenesis initializes the module's genesis state

func (Keeper) Logger

func (k Keeper) Logger() log.Logger

func (Keeper) Params

Params implements the QueryServer interface

func (Keeper) SetParams

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

SetParams sets the module's parameters

Jump to

Keyboard shortcuts

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