[−][src]Crate orml_nft
Non Fungible Token
The module provides implementations for non-fungible-token.
Overview
This module provides basic functions to create and manager
NFT(non fungible token) such as create_class
, transfer
, mint
, burn
.
Module Functions
create_class
- Create NFT(non fungible token) classtransfer
- Transfer NFT(non fungible token) to another account.mint
- Mint NFT(non fungible token)burn
- Burn NFT(non fungible token)destroy_class
- Destroy NFT(non fungible token) class
Structs
ClassInfo | Class info |
Classes | Store class info. |
Module | |
NextClassId | Next available class ID. |
NextTokenId | Next available token ID. |
TokenInfo | Token info |
Tokens | Store token info. |
TokensByOwner | Token existence check by owner and class ID. |
Enums
Call | Dispatchable calls. |
Error | Error for non-fungible-token module. |
Traits
Trait |
Type Definitions
CID | |
ClassInfoOf | |
TokenInfoOf |