keeper

package
v0.0.0-...-3315d20 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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.BinaryCodec,
	storeKey,
	memKey sdk.StoreKey,
	ps paramtypes.Subspace,
	sudoKeeper types.SudoKeeper,
	bankKeeper types.BankKeeper,
) *Keeper

func (Keeper) CheckAccAddress

func (k Keeper) CheckAccAddress(ctx sdk.Context, denom, address string) error

func (Keeper) CheckValAddress

func (k Keeper) CheckValAddress(ctx sdk.Context, denom, address string) error

func (Keeper) GetAccAddressPrefix

func (k Keeper) GetAccAddressPrefix(ctx sdk.Context, denom string) (val string, found bool)

func (Keeper) GetAddressPrefixList

func (k Keeper) GetAddressPrefixList(ctx sdk.Context) []*types.AddressPrefix

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetValAddressPrefix

func (k Keeper) GetValAddressPrefix(ctx sdk.Context, denom string) (val string, found bool)

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) SetAccAddressPrefix

func (k Keeper) SetAccAddressPrefix(ctx sdk.Context, denom, addrPrefix string)

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetValAddressPrefix

func (k Keeper) SetValAddressPrefix(ctx sdk.Context, denom, addrPrefix string)

Jump to

Keyboard shortcuts

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