Module nonfungibles_v2
Expand description
Traits for dealing with multiple collections of non-fungible items.
This assumes a dual-level namespace identified by Inspect::ItemId, and could
reasonably be implemented by pallets which want to expose multiple independent collections of
NFT-like objects.
For an NFT API which has single-level namespacing, the traits in nonfungible are better to
use.
Implementations of these traits may be converted to implementations of corresponding
nonfungible traits by using the nonfungible::ItemOf type adapter.
Traits§
- Create
 - Trait for providing the ability to create collections of nonfungible items.
 - Destroy
 - Trait for providing the ability to destroy collections of nonfungible items.
 - Inspect
 - Trait for providing an interface to many read-only NFT-like sets of items.
 - Inspect
Enumerable  - Interface for enumerating items in existence or owned by a given account over many collections of NFTs.
 - Inspect
Role  - Trait for providing an interface to check the account’s role within the collection.
 - Mutate
 - Trait for providing an interface for multiple collections of NFT-like items which may be minted, burned and/or have attributes and metadata set on them.
 - Trading
 - Trait for trading non-fungible items.
 - Transfer
 - Trait for transferring non-fungible sets of items.