Function safe_network::client::utils::test_utils::calculate_new_balance [−][src]
pub fn calculate_new_balance(
balance: Token,
transferred_coins: Token
) -> Result<Token>
Expand description
Helper function to calculate the total cost of expenditure by adding number of mutations and amount of transferred coins if any.