liquidateNFT()
can only be called by the StabilityPool
to transfer an NFT from the StabilityPool
to NFTLiquidator
where it will be listed for sale.
However, there is no invocation of the liquidateNFT()
function making all NFTs send to StabilityPool
stuck in it.
Flow of a Liquidation
User is marked for liquidation
StabilityPool
calls finalizeLiquidation()
in LendingPool
and gets all of the user's NFTs
StabilityPool
calls liquidateNFT()
in NFTLiquidator.sol
and transfers the NFTs - this part does not happen
Liquidity Lockup: The protocol cannot liquidate NFTs, leading to bad debt accumulation.
manual review
Implement the logic for invoking liquidateNFT()
in StabilityPool.sol
.
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.