Trait orml_traits::nft::InspectExtended
source · pub trait InspectExtended<AccountId>: Inspect<AccountId> {
type Balance: AtLeast32BitUnsigned + FullCodec + Copy + MaybeSerializeDeserialize + Debug + Default;
fn balance(who: &AccountId) -> Self::Balance;
fn next_token_id(class: Self::CollectionId) -> Self::ItemId;
}
Expand description
Trait to complement the Inspect trait
Required Associated Types§
sourcetype Balance: AtLeast32BitUnsigned + FullCodec + Copy + MaybeSerializeDeserialize + Debug + Default
type Balance: AtLeast32BitUnsigned + FullCodec + Copy + MaybeSerializeDeserialize + Debug + Default
The balance of account.
Required Methods§
sourcefn next_token_id(class: Self::CollectionId) -> Self::ItemId
fn next_token_id(class: Self::CollectionId) -> Self::ItemId
Get the next token ID to be minted for a Class