Function pallet_balances::pallet::dispatchables::force_set_balance
source · pub fn force_set_balance<T: Config<I>, I: 'static>(
who: <<T as Config>::Lookup as StaticLookup>::Source,
new_free: T::Balance
)
Expand description
Upgrade a specified account.
origin
: Must beSigned
.who
: The account to be upgraded.
This will waive the transaction fee if at least all but 10% of the accounts needed to be upgraded. (We let some not have to be upgraded just in order to allow for the possibililty of churn). Set the regular balance of a given account.
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::force_set_balance
.