keeper

package
v0.7.5-beta.8 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: GPL-3.0 Imports: 13 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,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,

) *Keeper

func (Keeper) GetAllUsernameRecords added in v0.7.1

func (k Keeper) GetAllUsernameRecords(ctx sdk.Context) (list []types.UsernameRecord)

GetAllUsernameRecords returns all UsernameRecord

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams get all parameters as types.Params

func (Keeper) GetUsernameRecords added in v0.7.1

func (k Keeper) GetUsernameRecords(
	ctx sdk.Context,
	index string,

) (val types.UsernameRecord, found bool)

GetUsernameRecords returns a UsernameRecord from its index

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveUsernameRecords added in v0.7.1

func (k Keeper) RemoveUsernameRecords(
	ctx sdk.Context,
	index string,

)

RemoveUsernameRecords removes a UsernameRecord from the store

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetUsernameRecords added in v0.7.1

func (k Keeper) SetUsernameRecords(ctx sdk.Context, UsernameRecord types.UsernameRecord)

SetUsernameRecords set a specific UsernameRecord in the store from its index

func (Keeper) UsernameRecord added in v0.7.1

func (Keeper) UsernameRecordAll added in v0.7.1

Jump to

Keyboard shortcuts

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