pub fn transfer_approved<T: Config<I>, I: 'static>(
id: T::AssetIdParameter,
owner: <<T as Config>::Lookup as StaticLookup>::Source,
destination: <<T as Config>::Lookup as StaticLookup>::Source,
amount: T::Balance,
)Expand description
Transfer some asset balance from a previously delegated account to some third-party account.
Origin must be Signed and there must be an approval in place by the owner to the
signer.
If the debit spends the approval in full, then any deposit previously reserved by
approve_transfer is unreserved. The debit exceeds amount where transferring
amount would leave owner holding a non-zero remainder below the asset’s minimum
balance, so a request smaller than the approval can still spend it in full.
id: The identifier of the asset.owner: The account which previously approved for a transfer of at least the debit and from which the asset balance will be withdrawn.destination: The account to which the debited balance will be transferred.amount: The amount of assets to transfer.
Emits Transferred 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::transfer_approved.