Function orml_tokens::module::dispatchables::transfer

source ·
pub fn transfer<T: Config>(
    dest: <T::Lookup as StaticLookup>::Source,
    currency_id: T::CurrencyId,
    amount: T::Balance
)
Expand description

Transfer some liquid free balance to another account.

transfer will set the FreeBalance of the sender and receiver. It will decrease the total issuance of the system by the TransferFee. If the sender’s account is below the existential deposit as a result of the transfer, the account will be reaped.

The dispatch origin for this call must be Signed by the transactor.

  • dest: The recipient of the transfer.
  • currency_id: currency type.
  • amount: free balance amount to tranfer.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::transfer.