The repay() function is responsible for handling repayment of flashloans by transferring tokens back to the protocol.
However, the function does not emit any event upon successful repayment, reducing on-chain transparency and making it harder to track repayments.
Likelihood:
Function is called on every flashloan repayment
No logging mechanism exists for these interactions
Impact:
Off-chain services cannot easily track repayments
Reduced transparency for users and auditors
Makes debugging and monitoring more difficult
Execute a flashloan and repay:
Observe:
Tokens are transferred successfully
❌ No event is emitted
Emit an event when a repayment occurs
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.