The contract exhibits a medium-severity vulnerability as it fails to support tokens with decimals greater than 18. This limitation could impact the functionality of the contract, especially when dealing with tokens that do not adhere to the standard ERC-20 specifications.
The root cause of the vulnerability is the contract's inability to handle tokens with decimals exceeding 18. This oversight may result in unexpected behavior or errors when interacting with such tokens, as they are becoming increasingly common in the ecosystem.
The impact of this vulnerability is notable, particularly in scenarios involving tokens with more than 18 decimals. The contract may not function as intended, leading to potential errors or disruptions in token interactions.
Manual Review
To address this vulnerability, it is recommended to enhance the contract's compatibility by supporting tokens with decimals greater than 18. This involves adapting the contract's logic to accommodate the broader range of decimal values encountered in various ERC-20 tokens.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.