pub fn set_balance<T: Config>(
    who: <T::Lookup as StaticLookup>::Source,
    currency_id: T::CurrencyId,
    new_free: T::Balance,
    new_reserved: T::Balance
)
Expand description

Set the balances of a given account.

This will alter FreeBalance and ReservedBalance in storage. it will also decrease the total issuance of the system (TotalIssuance). If the new free or reserved balance is below the existential deposit, it will reap the AccountInfo.

The dispatch origin for this call is root.

Warning: Doc-Only

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