keeper

package
v3.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

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

Keeper of the denommetadata store

func NewKeeper

func NewKeeper(bankKeeper types.BankKeeper) *Keeper

NewKeeper returns a new instance of the denommetadata keeper

func (*Keeper) CreateDenomMetadata

func (k *Keeper) CreateDenomMetadata(ctx sdk.Context, metadata banktypes.Metadata) error

CreateDenomMetadata creates a new denommetadata

func (*Keeper) GetHooks

func (k *Keeper) GetHooks() types.MultiDenomMetadataHooks

GetHooks returns the hooks for the denommetadata keeper

func (Keeper) Logger

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

func (*Keeper) SetHooks

func (k *Keeper) SetHooks(sh types.MultiDenomMetadataHooks)

SetHooks sets the hooks for the denommetadata keeper

func (*Keeper) UpdateDenomMetadata

func (k *Keeper) UpdateDenomMetadata(ctx sdk.Context, metadata banktypes.Metadata) error

UpdateDenomMetadata returns the denommetadata of the specified denom

Jump to

Keyboard shortcuts

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