Documentation ¶
Index ¶
- func NewMsgServer(keeper Keeper) internft.MsgServer
- func NewQueryServer(keeper Keeper) internft.QueryServer
- type Keeper
- func (k Keeper) BurnNFT(ctx sdk.Context, owner sdk.AccAddress, nft internft.NFT) error
- func (k Keeper) ExportGenesis(ctx sdk.Context) *internft.GenesisState
- func (k Keeper) GetClass(ctx sdk.Context, classID string) (*internft.Class, error)
- func (k Keeper) GetNFT(ctx sdk.Context, nft internft.NFT) (*internft.NFT, error)
- func (k Keeper) GetOwner(ctx sdk.Context, nft internft.NFT) (*sdk.AccAddress, error)
- func (k Keeper) GetParams(ctx sdk.Context) internft.Params
- func (k Keeper) GetPreviousID(ctx sdk.Context, classID string) math.Uint
- func (k Keeper) GetProperty(ctx sdk.Context, nft internft.NFT, propertyID string) (*internft.Property, error)
- func (k Keeper) GetTrait(ctx sdk.Context, classID string, traitID string) (*internft.Trait, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, gs *internft.GenesisState) error
- func (k Keeper) MintNFT(ctx sdk.Context, owner sdk.AccAddress, classID string, ...) (*math.Uint, error)
- func (k Keeper) NewClass(ctx sdk.Context, class internft.Class, traits []internft.Trait) error
- func (k Keeper) Send(ctx sdk.Context, sender, recipient sdk.AccAddress, nft internft.NFT) error
- func (k Keeper) SetParams(ctx sdk.Context, params internft.Params)
- func (k Keeper) UpdateClass(ctx sdk.Context, class internft.Class) error
- func (k Keeper) UpdateNFT(ctx sdk.Context, nft internft.NFT, properties []internft.Property) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServer ¶
NewMsgServer returns an implementation of the MsgServer interface for the provided Keeper.
func NewQueryServer ¶
func NewQueryServer(keeper Keeper) internft.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( storeKey storetypes.StoreKey, cdc codec.BinaryCodec, authority string, ) Keeper
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *internft.GenesisState
func (Keeper) GetPreviousID ¶
func (Keeper) GetProperty ¶
func (Keeper) InitGenesis ¶
func (Keeper) UpdateClass ¶
Click to show internal directories.
Click to hide internal directories.