20,000 USDC
View results
Submission Details
Severity: low
Valid

Add events for critical functions.

Summary

There are no events for critical functions.

Vulnerability Details

As the functions setLenderFee and setBorrowerFee change the fee charged by the protocol, it is recommended to add events for these critical actions.

Impact

Without events, it will be difficult to notify external users, such as a listening front-end website or client application, that something has happened on the blockchain and users won't be notified in time which creates lack of transparency and trust between users and the protocol as they will have to pay high protocol fee which they didn't account for.

Tools Used

Manual Analysis

Recommendations

Add events for setLenderFee and setBorrowerFee functions.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.