Potential for precision loss in getCalculatedFee
We calculate the valueOfBorrowedToken and fee as shown in the code excerpt below.
We can see that, valueOfBorrowedToken is later on multiplied by s_flashLoanFee even though the value of valueOfBorrowedToken was derived by the division with s_feePrecision on the first line in the above excerpt. Therein lies the potential for some precision loss.
There's some precision loss during the determination of fee.
Manual review
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.