pub fn set_account_balance<T>(account_id: T::AccountId, new_balance: T::Balance)where
    T: Environment<Balance = u128>,
Expand description

Sets the balance of the account to the given balance.


Note that account could refer to either a user account or a smart contract account.


  • If account does not exist.
  • If the underlying account type does not match.
  • If the underlying new_balance type does not match.