keeper

package
v0.0.0-...-3aeaace Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 11 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.Codec, storeKey, memKey sdk.StoreKey) *Keeper

func (Keeper) GetAllMarketIdentificationCode

func (k Keeper) GetAllMarketIdentificationCode(ctx sdk.Context) (list []types.MarketIdentificationCode)

GetAllMarketIdentificationCode returns all marketIdentificationCode

func (Keeper) GetMarketIdentificationCode

func (k Keeper) GetMarketIdentificationCode(ctx sdk.Context, mic string) (val types.MarketIdentificationCode, found bool)

GetMarketIdentificationCode returns a marketIdentificationCode from its mic

func (Keeper) Logger

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

func (Keeper) RemoveMarketIdentificationCode

func (k Keeper) RemoveMarketIdentificationCode(ctx sdk.Context, mic string)

RemoveMarketIdentificationCode removes a marketIdentificationCode from the store

func (Keeper) SetMarketIdentificationCode

func (k Keeper) SetMarketIdentificationCode(ctx sdk.Context, marketIdentificationCode types.MarketIdentificationCode)

SetMarketIdentificationCode set a specific marketIdentificationCode in the store

Jump to

Keyboard shortcuts

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