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

Events not emitted for important state changes.

Summary

When changing state variables events are not emitted. Emitting events allows monitoring activities with off-chain monitoring tools.

Vulnerability Details

There are 3 instances of this issue:

File: 2023-07-beedle/src/Lender.sol

84: function setLenderFee(uint256 _fee) external onlyOwner {
92: function setBorrowerFee(uint256 _fee) external onlyOwner {
100: function setFeeReceiver(address _feeReceiver) external onlyOwner {

Impact

Event is not emitted when a state change occurs.

Tools Used

Manual code review.

Recommendations

Emit event when an important state change occurs.

Support

FAQs

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