DeFiFoundry
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Unused Event: ClaimedAll

Summary

The FjordStaking contract defines an event named ClaimedAll, which is intended to be emitted when a user claims rewards from all epoch cycles. However, this event is not used anywhere in the contract, meaning that it is defined but never emitted. This can lead to confusion, increase the size of the contract unnecessarily, and result in a loss of gas efficiency.

Vulnerability Details

event ClaimedAll(address indexed user, uint256 totalRewardAmount, uint256 totalPenaltyAmount);

Impact

The issue does not directly affect the contract's functionality or security. It primarily affects code clarity and gas efficiency.

Tools Used

Manual

Recommendations

Remove redudant code

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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