keeper

package
v0.0.0-...-8edd000 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) auction.MsgServer

func NewQueryServerImpl

func NewQueryServerImpl(k Keeper) auction.QueryServer

NewQueryServerImpl returns an implementation of the module QueryServer.

Types

type Keeper

type Keeper struct {

	// state management
	Schema collections.Schema
	Names  collections.Map[string, auction.Name]
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, addressCodec address.Codec, storeService storetypes.KVStoreService, authority string, bk auction.BankKeeper, denom string) Keeper

func (*Keeper) ExportGenesis

func (k *Keeper) ExportGenesis(ctx context.Context) (*auction.GenesisState, error)

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

func (Keeper) GetNameRecord

func (k Keeper) GetNameRecord(ctx context.Context, name string) (auction.Name, error)

func (*Keeper) InitGenesis

func (k *Keeper) InitGenesis(ctx context.Context, data *auction.GenesisState) error

func (Keeper) Logger

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

Logger returns a module-specific logger.

type Migrator

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

func NewMigrator

func NewMigrator(k Keeper) Migrator

Jump to

Keyboard shortcuts

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