pub fn cancel_approval<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    item: T::ItemId,
    maybe_check_delegate: Option<<<T as Config>::Lookup as StaticLookup>::Source>
)
Expand description

Cancel the prior approval for the transfer of an item by a delegate.

Origin must be either:

  • the Force origin;
  • Signed with the signer being the Admin of the collection;
  • Signed with the signer being the Owner of the item;

Arguments:

  • collection: The collection of the item of whose approval will be cancelled.
  • item: The item of the item of whose approval will be cancelled.
  • maybe_check_delegate: If Some will ensure that the given account is the one to which permission of transfer is delegated.

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.