keeper

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 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

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	storeKey storetypes.StoreKey,
	paramSpace paramtypes.Subspace,
	accountKeeper types.AccountKeeper,
	bankKeeper types.BankKeeper,
	communityPoolKeeper types.CommunityPoolKeeper,
	authority string,
) Keeper

func (Keeper) CreateDenom

func (k Keeper) CreateDenom(ctx context.Context, creatorAddr string, subdenom string) (newTokenDenom string, err error)

func (Keeper) ExportGenesis

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

func (Keeper) GetAllDenomsIterator

func (k Keeper) GetAllDenomsIterator(ctx context.Context) storetypes.Iterator

func (Keeper) GetAuthorityMetadata

func (k Keeper) GetAuthorityMetadata(ctx context.Context, denom string) (types.DenomAuthorityMetadata, error)

func (Keeper) GetCreatorPrefixStore

func (k Keeper) GetCreatorPrefixStore(ctx context.Context, creator string) storetypes.KVStore

func (Keeper) GetCreatorsPrefixStore

func (k Keeper) GetCreatorsPrefixStore(ctx context.Context) storetypes.KVStore

func (Keeper) GetDenomPrefixStore

func (k Keeper) GetDenomPrefixStore(ctx context.Context, denom string) storetypes.KVStore

func (Keeper) GetDenomsFromCreator

func (k Keeper) GetDenomsFromCreator(ctx context.Context, creator string) []string

func (Keeper) GetParams

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

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx context.Context, genState types.GenesisState)

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) SetParams

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

Jump to

Keyboard shortcuts

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