The contract uses unsafe ERC20 operations without using OpenZeppelin's SafeERC20 library. Some ERC20 tokens do not strictly follow the specification and may have unexpected behaviors.
The following ERC20 operations are used unsafely:
Some ERC20 tokens may:
Not return a boolean value for approve
/transfer
Return false
instead of revert
Revert on a null amount
Not have consistent decimals
Severity: Low
The impact is considered low because:
The tokens used (USDC, USDT) are well-known and tested
The functions are restricted to the owner
Silent failures are unlikely with these tokens
Aderyn Static Analysis
Manual code review
Use OpenZeppelin's SafeERC20 library:
Add return checks for all ERC20 operations
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.