referrerpolicy=no-referrer-when-downgrade

Module nonfungible

Expand description

Traits for dealing with a single non-fungible collection of items.

This assumes a single level namespace identified by Inspect::ItemId, and could reasonably be implemented by pallets which wants to expose a single collection of NFT-like objects.

For an NFT API which has dual-level namespacing, the traits in nonfungibles are better to use.

Structs§

ItemOf
Convert a fungibles trait implementation into a fungible trait implementation by identifying a single item.

Traits§

Inspect
Trait for providing an interface to a read-only NFT-like set of items.
InspectEnumerable
Interface for enumerating items in existence or owned by a given account over a collection of NFTs.
Mutate
Trait for providing an interface for NFT-like items which may be minted, burned and/or have attributes set on them.
Transfer
Trait for providing a non-fungible set of items which can only be transferred.