Contract doesn't support rebasing tokens
DSCEngine
is going to support any erc20 token, however it's not like that. In case if rebasing token will be used, then accounting in the contract will be broken.
Rebasing tokens change balance of user periodically, so in case if user provided 1000 rebasing tokens at timestamp 0 to the DSCEngine
, then at timestamp 10 it can be 1001 token already. But DSCEngine
can't track this and as result these additional accumulated tokens will not be accounted in the health factor calculation and they will not be returned, when user removes collateral.
Contract can't handle such tokens
VsCode
Some tokens should be blacklisted.
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.