Function pallet_uniques::source ·
pallet:: dispatchables:: cancel_approval
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> )
Cancel the prior approval for the transfer of an item by a delegate.
Origin must be either:
Signedwith the signer being the Admin of the
Signedwith the signer being the Owner of the
collection: The collection of the item of whose approval will be cancelled.
item: The item of the item of whose approval will be cancelled.
Somewill ensure that the given account is the one to which permission of transfer is delegated.
ApprovalCancelled on success.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in