The minBidAmount
does not consider the debt amount value.
While liquidating the NFT, the contract should consider the debt amount; otherwise, the NFT will be sold, but the debt will not be covered by the auction.
The auction is meant to recover the NFT's debt amount. If the debt amount is not considered, it will result in a loss for the contract.
If an NFT has a debt of 10,000 but the highest bid in the auction is only 8,000, the remaining 2,000 will be a loss for the contract.
Loss of funds occurs since the NFT can be sold below the debt amount without covering the debt.
Only end an auction if the winningBid
is equal to or greater than the debt amount.
Add the debt amount to minBidAmount
to ensure the NFT cannot be sold below the debt amount.
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.