Function subtractBalance

  • Subtracts the balanceToRemove from the existing balances. Returns a new BalanceArray.

    Throws an error if the balances underflow.

    Type Parameters

    Parameters

    Returns BalanceArray<T>

    Can also be used via the corresponding method with same name on BalanceArray