Trait frame_support::traits::tokens::nonfungibles::Create [−][src]
pub trait Create<AccountId>: Inspect<AccountId> { fn create_class(
class: &Self::ClassId,
who: &AccountId,
admin: &AccountId
) -> DispatchResult; }
Expand description
Trait for providing the ability to create classes of nonfungible assets.
Required methods
fn create_class(
class: &Self::ClassId,
who: &AccountId,
admin: &AccountId
) -> DispatchResult
fn create_class(
class: &Self::ClassId,
who: &AccountId,
admin: &AccountId
) -> DispatchResult
Create a class
of nonfungible assets to be owned by who
and managed by admin
.