Compared with deposit
and mintDsc
function, liquidate
needs to cycle statistics of all collateral prices of an account and calculate the liquidation threshold, which requires more gas consumption.
The 10% dust incentive is not enough to incentivize the liquidator to liquidate, so a further drop in the price of dust collateral below 100% would damage the protocol.
The code does not put a mint limit on the dust amount, the user may mint a small amount of DSC, the collateral price drops, no keeper is willing to liquidate, and the protocol may take a loss.
A large dust account could bring bad debts to the protocol
Manual review
Add a minimum mint limit
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.