Function token_amounts_balanced

Source
pub fn token_amounts_balanced(app: &App, tx: &Transaction) -> bool
Expand description

Check if the provided app’s token amounts are balanced in the transaction. This means that the sum of the token amounts in the tx inputs is equal to the sum of the token amounts in the tx outputs.