internal

package
v0.0.0-...-027dd3d Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServer

func NewMsgServer(keeper Keeper) testv1alpha1.MsgServer

NewMsgServer returns an implementation of the MsgServer interface for the provided Keeper.

func NewQueryServer

func NewQueryServer(keeper Keeper) testv1alpha1.QueryServer

NewQueryServer returns an implementation of the QueryServer interface for the provided Keeper.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.Codec,
	storeService store.KVStoreService,
	prefix []byte,
) (*Keeper, error)

func (Keeper) Create

func (k Keeper) Create(ctx context.Context, creator sdk.AccAddress, asset string) error

func (Keeper) HasAsset

func (k Keeper) HasAsset(ctx context.Context, address sdk.AccAddress, asset string) error

func (Keeper) PopAsset

func (k Keeper) PopAsset(ctx context.Context, address sdk.AccAddress, asset string) error

func (Keeper) PushAsset

func (k Keeper) PushAsset(ctx context.Context, address sdk.AccAddress, asset string) error

func (Keeper) Send

func (k Keeper) Send(ctx context.Context, sender, recipient sdk.AccAddress, asset string) error

Jump to

Keyboard shortcuts

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