Using tokens that do not conform to standard ERC20 behavior, such as missing return values or non-reverting transfers, may lead to unexpected failures and security risks.
The project’s accounting system currently supports only WBTC, USDC, and WETH. However, if tokens outside this set were introduced, compatibility issues could arise.
Some tokens do not revert on failure or may lack return values for certain functions, such as transferFrom, which can cause problems.
Example:
If a token does not revert on failure or lacks a return value, this could lead to loss of funds for the DAO or unexpected DoS.
Allowing unsupported tokens could lead to vulnerabilities, unexpected failures, or DoS, compromising the contract’s reliability.
Manual
Use safeTransferLib to ensure secure and compatible token transfers, avoiding issues with non-standard ERC20 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.