@@ -124,7 +124,7 @@ impl<AccountId, DepositBalance> CollectionDetails<AccountId, DepositBalance> {
124124#[ derive( Clone , Encode , Decode , Eq , PartialEq , RuntimeDebug , TypeInfo ) ]
125125pub struct MintWitness < ItemId > {
126126 /// Provide the id of the item in a required collection.
127- pub owner_of_item : ItemId ,
127+ pub owned_item : ItemId ,
128128}
129129
130130/// Information concerning the ownership of a single unique item.
@@ -317,6 +317,21 @@ impl<Price, BlockNumber, CollectionId> Default for MintSettings<Price, BlockNumb
317317 }
318318}
319319
320+ /// Attribute namespaces for non-fungible tokens.
321+ #[ derive(
322+ Clone , Encode , Decode , Eq , PartialEq , RuntimeDebug , scale_info:: TypeInfo , MaxEncodedLen ,
323+ ) ]
324+ pub enum AttributeNamespace < AccountId > {
325+ /// An attribute was set by the pallet.
326+ Pallet ,
327+ /// An attribute was set by collection's owner.
328+ CollectionOwner ,
329+ /// An attribute was set by item's owner.
330+ ItemOwner ,
331+ /// An attribute was set by pre-approved account.
332+ Account ( AccountId ) ,
333+ }
334+
320335/// A witness data to cancel attributes approval operation.
321336#[ derive( Clone , Encode , Decode , Eq , PartialEq , RuntimeDebug , TypeInfo ) ]
322337pub struct CancelAttributesApprovalWitness {
0 commit comments