[][src]Trait pallet_commodities::nft::NFT

pub trait NFT {
    type Id;
    type Info;
}

A unique asset; assets with equivalent attributes (as defined by the Info type) must have an equal ID and assets with different IDs must not have equivalent attributes.

Associated Types

type Id

The type used to identify unique assets.

type Info

The attributes that distinguish unique assets.

Loading content...

Implementors

impl<AssetId, AssetInfo> NFT for IdentifiedAsset<AssetId, AssetInfo>[src]

type Id = AssetId

type Info = AssetInfo

Loading content...