As is easy to spot in the code, we were sending whole tokens as an argument, instead of the smallest values.
... We really should have had different types for different balances (one for humanized, one for integral). And made that type dependent on the token type.
As is easy to spot in the code, we were sending whole tokens as an argument, instead of the smallest values.
... We really should have had different types for different balances (one for humanized, one for integral). And made that type dependent on the token type.