Function pallet_nfts::pallet::dispatchables::cancel_approval
source · pub fn cancel_approval<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
delegate: <<T as SystemConfig>::Lookup as StaticLookup>::Source
)
Expand description
Cancel one of the transfer approvals for 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 approval will be cancelled.item
: The item of the collection of whose approval will be cancelled.delegate
: The account that is going to loose their approval.
Emits ApprovalCancelled
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::cancel_approval
.