Lender calls the startAuction()
, and no one buy loan in auction length. Lender tries to seize the loan. But a malicious borrower can call the refinance()
function with the same original offer and overwrite the defaulted state of loan. This means lender has to start an auction again. A persistent borrower can cause the assets to be locked forever in the contract without lender being able to get it.
If the Borrower doesn't return the loan token, the lender can call the startAuction()
function to start an auction to see if someone is interested in returning his loan. If no one is interested in it, after the auction period ends, the lender can seize the loan. But this can be interrupted by the borrower by calling the refinance()
function. He can pass the same original offer to which the loan is connected to, which will reset the loan by updating the loan information( loans[loanId].auctionStartTimestamp
).
Assets may be locked in the contract
Vscode
Disable the refinance function when the auction is undergoing.
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.