Function pallet_uniques::pallet::dispatchables::transfer
source · pub fn transfer<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
dest: <<T as Config>::Lookup as StaticLookup>::Source
)Expand description
Move an item from the sender account to another.
This resets the approved account of the item.
Origin must be Signed and the signing account must be either:
- the Admin of the
collection; - the Owner of the
item; - the approved delegate for the
item(in this case, the approval is reset).
Arguments:
collection: The collection of the item to be transferred.item: The item of the item to be transferred.dest: The account to receive ownership of the item.
Emits Transferred.
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::transfer.