The collateral ratio of a loan getting bought by a pool doesn't get checked for compliance with the new pool, disabling refinance()
for the user and giveLoan()
for the lender.
The buyLoan()
function doesn't check whether the loan is compatible with the pool it is getting transferred into.
This will disable the user from calling refinance()
and the lender from calling giveLoan()
as both of these functions have a check for whether the token ratio is within the maxLoanRatio
's boundaries.
Manual Review
Consider checking whether the token ratio of the loan is compatible with the pool in buyLoan()
.
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.