Function pallet_nfts::pallet::dispatchables::clear_all_transfer_approvals
source · pub fn clear_all_transfer_approvals<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId
)
Expand description
Cancel all the approvals of a specific item.
Origin must be either:
- the
Force
origin; Signed
with the signer being the Owner of theitem
;
Arguments:
collection
: The collection of the item of whose approvals will be cleared.item
: The item of the collection of whose approvals will be cleared.
Emits AllApprovalsCancelled
on success.
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::clear_all_transfer_approvals
.