keeper

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryAsset = "asset"
)

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(keeper Keeper) sdk.Querier

Types

type Keeper

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

func NewKeeper

func NewKeeper(cdc *codec.Codec, storeKey sdk.StoreKey) Keeper

func (Keeper) DeleteAsset

func (k Keeper) DeleteAsset(ctx sdk.Context, uuid string)

func (Keeper) GetAsset

func (k Keeper) GetAsset(ctx sdk.Context, uuid string) types.Asset

Gets the entire Whois metadata struct for a name

func (Keeper) GetAssetsIterator

func (k Keeper) GetAssetsIterator(ctx sdk.Context) sdk.Iterator

func (Keeper) IsAssetPresent

func (k Keeper) IsAssetPresent(ctx sdk.Context, uuid string) bool

func (Keeper) IterateAssets

func (k Keeper) IterateAssets(ctx sdk.Context, cb func(a types.Asset) bool)

func (Keeper) SetAsset

func (k Keeper) SetAsset(ctx sdk.Context, uuid string, asset types.Asset)

func (Keeper) SetAssetStatus

func (k Keeper) SetAssetStatus(ctx sdk.Context, uuid string, status bool)

Jump to

Keyboard shortcuts

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