pub fn create_oneshot_account<T: Config>(
    dest: <T::Lookup as StaticLookup>::Source,
    value: <T::Currency as Currency<T::AccountId>>::Balance
)
Expand description

Create an account that can only be consumed once

  • dest: The oneshot account to be created.
  • balance: The balance to be transfered to this oneshot account.

Origin account is kept alive.

§Warning: Doc-Only

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