#decode
#token
Take a closer look at the if conditions.
From the function arguments we decode the decimals values and check them. If it is equal to 0, the number 18 is assigned. In the second case, the check was called on the wrong token, which could have further disrupted the calculations.
by RareSkills
by Jeiwan
by RareSkills
by RareSkills
by Andreas M. Antonopoulos, Gavin Wood
by Micah Dameron
Compare execution layer differences between chains
Dive deep into the storage of any contract