From the discord server, we see:
Q: so should we audit considering all ERC20?
A: Let's do any token that has a chainlink price feed.
But he protocol doesn't have support for fee on transfer type of ERC20 tokens
In the following places in DSCEngine.sol
we see this problem:
Some ERC20 token implementations have a fee that is charged on each token transfer. This means that the transferred amount isn't exactly what the receiver will get.
Visual Studio Code
Improve support for a fee on transfer type of ERC20. When pulling funds from the user using transferFrom()
and transfer()
the usual approach is to compare balances pre/post transfer.
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.