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

No events are emitted in Staking.sol

Summary

There are multiple functions that change the state that should be emitting events that in Staking.sol.

Vulnerability Details

withdraw()
deposit()
claim()

All these and potentially others depending on the devs decision should emit events.

Impact

The user experience is impacted by this as well as making it harder on the front end to display certain data when a function is successful.

Tools Used

Manual review.

Recommendations

Emit events when a state change happens.

Support

FAQs

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