Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllNft(ctx sdk.Context) (list []types.Nft)
- func (k Keeper) GetNft(ctx sdk.Context, index string) (val types.Nft, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Nft(c context.Context, req *types.QueryGetNftRequest) (*types.QueryGetNftResponse, error)
- func (k Keeper) NftAll(c context.Context, req *types.QueryAllNftRequest) (*types.QueryAllNftResponse, error)
- func (k Keeper) RemoveNft(ctx sdk.Context, index string)
- func (k Keeper) SetNft(ctx sdk.Context, nft types.Nft)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, ) *Keeper
func (Keeper) Nft ¶
func (k Keeper) Nft(c context.Context, req *types.QueryGetNftRequest) (*types.QueryGetNftResponse, error)
func (Keeper) NftAll ¶
func (k Keeper) NftAll(c context.Context, req *types.QueryAllNftRequest) (*types.QueryAllNftResponse, error)
Click to show internal directories.
Click to hide internal directories.