keeper

package
v0.0.0-...-daabc20 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper) sdk.Querier

Types

type Keeper

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

func NewKeeper

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

func (Keeper) GetAllTweetNFTs

func (keeper Keeper) GetAllTweetNFTs(ctx sdk.Context) []types.BaseTweetNFT

func (Keeper) GetGlobalTweetCount

func (keeper Keeper) GetGlobalTweetCount(ctx sdk.Context) uint64

func (Keeper) GetTweetIDsOfAccount

func (keeper Keeper) GetTweetIDsOfAccount(ctx sdk.Context, addr sdk.AccAddress) []string

func (Keeper) GetTweetNFTByID

func (keeper Keeper) GetTweetNFTByID(ctx sdk.Context, id string) (types.BaseTweetNFT, bool)

func (Keeper) GetTweetsOfAccount

func (keeper Keeper) GetTweetsOfAccount(ctx sdk.Context, address sdk.AccAddress) []types.BaseTweetNFT

func (Keeper) Logger

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

func (Keeper) MintTweetNFT

func (keeper Keeper) MintTweetNFT(ctx sdk.Context, nft types.BaseTweetNFT)

func (Keeper) SetGlobalTweetCount

func (keeper Keeper) SetGlobalTweetCount(ctx sdk.Context, count uint64)

func (Keeper) SetTweetIDToAccount

func (keeper Keeper) SetTweetIDToAccount(ctx sdk.Context, addr sdk.AccAddress, id string)

Jump to

Keyboard shortcuts

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