Documentation
¶
Index ¶
- Variables
- func KeyCollection(denomID string) []byte
- func KeyDenom(id string) []byte
- func KeyDenomName(name string) []byte
- func KeyNFT(denomID, tokenID string) []byte
- func KeyOwner(address sdk.AccAddress, denomID, tokenID string) []byte
- func Migrate(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.Codec, ...) error
- type NFTKeeper
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func KeyCollection ¶
KeyCollection gets the storeKey by the collection
func KeyDenomName ¶
KeyDenomName gets the storeKey by the denom name
Types ¶
type NFTKeeper ¶
type NFTKeeper interface { SaveDenom(ctx sdk.Context, id, name, schema, symbol string, creator sdk.AccAddress, mintRestricted, updateRestricted bool, description, uri, uriHash, data string, ) error SaveNFT(ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenUriHash, tokenData string, receiver sdk.AccAddress, ) error }
Click to show internal directories.
Click to hide internal directories.