User deposit RToken to stability pool to facilitate liquidation and receive reward for doing it. But because liquidated RAACNft is never sold, the user will lose their deposit.
when the stability pool calls liquidateBorrower some RToken from user deposits is used to repay the loan in exchange for RAACNft. This NFT is stuck in the stability pool, because of this the user’s deposit is permanently lost.
Ideally, the contract should sell this NFT for RToken and deposit it back to the stability pool for user to withdraw but that is not happening leading to the high severity bug.
RAACNft is locked in stability pool and user cannot withdraw their deposited RToken if it got used for liquidation.
Implement a way to sell this RAACNFT for RToken and make sure that contract have enough RToken to cover for user’s withdraw.
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.