Function pallet_nfts::pallet::dispatchables::approve_item_attributes
source · pub fn approve_item_attributes<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
delegate: <<T as SystemConfig>::Lookup as StaticLookup>::Source,
)
Expand description
Approve item’s attributes to be changed by a delegated third-party account.
Origin must be Signed and must be an owner of the item
.
collection
: A collection of the item.item
: The item that holds attributes.delegate
: The account to delegate permission to change attributes of the item.
Emits ItemAttributesApprovalAdded
on success.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::approve_item_attributes
.