The lender can frontrun a borrow transaction to charge a higher interest than the borrower expected.
The borrower will have to go through a high interest rate even though they saw a lower interest rate at the time of signing the transaction. The loan parameters are created as:
Here, the loan’s interest rate is coming from pool.interestRate
which the lender can increase by calling setPool
or updateInterestRate
through frontrunning.
Borrowers will pay the interest rate higher than expected for their loans.
Manual review.
Update Borrow
struct to include maxInterestRate
field. This denotes the maximum interest rate the borrower is willing to pay. Now revert in borrow
function if borrows[I].maxInterestRate < pool.interestRate
.
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.