Users can redeem their deposited tokens with an increased exchange rate. This means each time a flashloan
is taken exchangerate
will increase and users can receive more underlying tokens according to below line from the redeem()
function
The fee in the protocol is earned when a user takes a flashloan. The protocol does not earn an increased rate of fees in each flashloan, it's a fixed amount of 0.3%.
Below is the PoC to prove. The fee income from the flashloan activity will not be enough to afford increasing exchange rates
manual code review
foundry
Increasing exchange rate should not be used.
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.