Function pallet_balances::pallet::dispatchables::set_balance_deprecated
source · pub fn set_balance_deprecated<T: Config<I>, I: 'static>(
who: <<T as Config>::Lookup as StaticLookup>::Source,
new_free: T::Balance,
old_reserved: T::Balance
)
Expand description
Set the regular balance of a given account; it also takes a reserved balance but this must be the same as the account’s current reserved balance.
The dispatch origin for this call is root
.
WARNING: This call is DEPRECATED! Use force_set_balance
instead.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_balance_deprecated
.