ERC777
will have hooks that execute before and after a transaction. This might cause some intended behavior to happen.
weird-erc20
- for eg., USDT
is weird during transfers, not providing a return value for transaction status.
USDC
is centralized and is a proxy contract, so there can be possibility of Circle
saying they charge a fee of x%
on transfers, which will break the protocol invariant.
breaks protocol invariant, hence protocol becomes unusable.
restricting weird erc20's thats potential risk to the protocol or only allow allowlisted erc20's to be traded.
Follow FREI-PI/CEI
design pattern to revert any transaction that is breaking the invariant to always maintain the property.
use at your own risk.
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.