Trait frame_support::traits::tokens::nonfungibles::Create
source · pub trait Create<AccountId>: Inspect<AccountId> {
fn create_collection(
collection: &Self::CollectionId,
who: &AccountId,
admin: &AccountId
) -> DispatchResult;
}
Expand description
Trait for providing the ability to create collections of nonfungible items.
Required Methods§
sourcefn create_collection(
collection: &Self::CollectionId,
who: &AccountId,
admin: &AccountId
) -> DispatchResult
fn create_collection(
collection: &Self::CollectionId,
who: &AccountId,
admin: &AccountId
) -> DispatchResult
Create a collection
of nonfungible items to be owned by who
and managed by admin
.