Trait pallet_nft::functions::CreateTypedCollection
source · pub trait CreateTypedCollection<AccountId, CollectionId>: Create<AccountId> {
fn create_typed_collection(
owner: AccountId,
collection_id: CollectionId
) -> DispatchResult;
}
Required Methods§
sourcefn create_typed_collection(
owner: AccountId,
collection_id: CollectionId
) -> DispatchResult
fn create_typed_collection(
owner: AccountId,
collection_id: CollectionId
) -> DispatchResult
This function create an NFT collection of created_by
type.