Module frame_support::traits::tokens::nonfungible[][src]

Expand description

Traits for dealing with a single non-fungible asset class.

This assumes a single level namespace identified by Inspect::InstanceId, 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.


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


Trait for providing an interface to a read-only NFT-like set of asset instances.

Interface for enumerating assets in existence or owned by a given account over a collection of NFTs.

Trait for providing an interface for NFT-like assets which may be minted, burned and/or have attributes set on them.

Trait for providing a non-fungible set of assets which can only be transferred.