pub fn create_oneshot_account<T: Config>(
dest: <T::Lookup as StaticLookup>::Source,
value: <<T as Config>::Currency as Inspect<<T as Config>::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
.