pub fn force_cancel_approval<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    owner: <<T as Config>::Lookup as StaticLookup>::Source,
    delegate: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description

Cancel all of some asset approved for delegated transfer by a third-party account.

Origin must be either ForceOrigin or Signed origin with the signer being the Admin account of the asset id.

Unreserves any deposit previously reserved by approve_transfer for the approval.

  • id: The identifier of the asset.
  • delegate: The account delegated permission to transfer asset.

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::force_cancel_approval.