Loan buyer can buy a loan for free.
Loan buyer buys a loan in a refinance auction by calling buyLoan method.
loanId and poolId are passed to buyLoan method, and this method does some validations against the pool:
After validation pool balance will be updated:
And loan will be owned by the buyer:
It is worth noting that there is no check on if buyer is the pool lender, so buyer can buy the loan by using other lender's pool, results in buyer gets the loan for free and pool lender loses balance.
Buyer gets the loan for free and pool lender loses balance.
Manual Review
When buyer buys a loan, should check if the buyer is pool lender.
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.