The deposit function uses IERC20.transferFrom
which may fail on non-standard ERC20 tokens (e.g. tokens with no return value).
Deposits for certain tokens (e.g. USDT on Ethereum mainnet) will fail, reducing protocol compatibility.
Potential loss of funds if a revert is not handled.
Use OpenZeppelin's SafeERC20.safeTransferFrom
to handle all types of ERC20 tokens.
LightChaser Low-60
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.