The contract assumes the ERC20 token follows standard behavior, but if the token has vulnerabilities or doesn't conform fully, it could lead to issues.
If the ERC20 token contract has non-standard behavior (e.g., fees on transfer, re-entrancy issues), it can compromise the security of the entire contest protocol.
This could result in unexpected behavior, failed transfers, or even lost funds.
Manual review
A misbehaving ERC20 contract might refuse transfers:
Ensure compatibility with standard ERC20 tokens or implement safe wrappers like OpenZeppelin's SafeERC20
to handle non-standard tokens.
correct code:
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.