Function orml_tokens::module::dispatchables::transfer_keep_alive

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

Same as the transfer call, but with a check that the transfer will not kill the origin account.

99% of the time you want transfer instead.

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_keep_alive.