Function pallet_uniques::source ·
pallet:: dispatchables:: approve_transfer
pub fn approve_transfer<T: Config<I>, I: 'static>( collection: T::CollectionId, item: T::ItemId, delegate: <<T as Config>::Lookup as StaticLookup>::Source )
Approve an item to be transferred by a delegated third-party account.
The origin must conform to
ForceOrigin or must be
Signed and the sender must be
either the owner of the
item or the admin of the collection.
collection: The collection of the item to be approved for delegated transfer.
item: The item of the item to be approved for delegated transfer.
delegate: The account to delegate permission to transfer the item.
Important NOTE: The
approved account gets reset after each transfer.
ApprovedTransfer on success.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in