keeper

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: GPL-3.0 Imports: 12 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 sdk.StoreKey,
	ps paramtypes.Subspace,

	accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, capabilityKeeper types.CapabilityKeeper, mintKeeper types.MintKeeper,
) *Keeper

func (Keeper) GetAllHowIs

func (k Keeper) GetAllHowIs(ctx sdk.Context) (list []types.HowIs)

GetAllHowIs returns all howIs

func (Keeper) GetHowIs

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

) (val types.HowIs, found bool)

GetHowIs returns a howIs from its index

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveHowIs

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

)

RemoveHowIs removes a howIs from the store

func (Keeper) SetHowIs

func (k Keeper) SetHowIs(ctx sdk.Context, howIs types.HowIs)

SetHowIs set a specific howIs in the store from its index

func (Keeper) SetParams

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

SetParams set the params

Jump to

Keyboard shortcuts

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