Trait hydradx_traits::nft::CreateTypedCollection
source · pub trait CreateTypedCollection<AccountId, CollectionId, CollectionType, Metadata> {
fn create_typed_collection(
owner: AccountId,
collection_id: CollectionId,
collection_type: CollectionType,
metadata: Option<Metadata>
) -> DispatchResult;
}
Required Methods§
sourcefn create_typed_collection(
owner: AccountId,
collection_id: CollectionId,
collection_type: CollectionType,
metadata: Option<Metadata>
) -> DispatchResult
fn create_typed_collection(
owner: AccountId,
collection_id: CollectionId,
collection_type: CollectionType,
metadata: Option<Metadata>
) -> DispatchResult
This function create an NFT collection of collection_type
type.