Function polkadot_runtime_common::purchase::pallet::dispatchables::update_balance
source · pub fn update_balance<T: Config>(
who: T::AccountId,
free_balance: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
locked_balance: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
vat: Permill,
)
Expand description
Update the balance of a valid account.
We check that the account is valid for a balance transfer at this point.
Origin must match the ValidityOrigin
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_balance
.