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 the item;

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.