Submitted by Timenov, 0xMilenov, SAQ. Selected submission by: Timenov.

Relevant GitHub Links

Summary

The decimals function is optional in the initial ERC20 and might fail for old tokens that do not implement it.

Tools Used

Manual Review

Recommendations

Here is an example of how to fix the issue: