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

Unused Errors and Events

Vulnerability Details

https://github.com/Cyfrin/2024-08-fjord/blob/0312fa9dca29fa7ed9fc432fdcd05545b736575d/src/FjordPoints.sol#L25C5-L25C39

https://github.com/Cyfrin/2024-08-fjord/blob/0312fa9dca29fa7ed9fc432fdcd05545b736575d/src/FjordPoints.sol#L40

https://github.com/Cyfrin/2024-08-fjord/blob/0312fa9dca29fa7ed9fc432fdcd05545b736575d/src/FjordStaking.sol#L82C11-L82C21

https://github.com/Cyfrin/2024-08-fjord/blob/0312fa9dca29fa7ed9fc432fdcd05545b736575d/src/FjordStaking.sol#L126

Impact

FjordPoints.sol and FjordStaking.sol has errors and events that are defined but are not used:

error DistributionNotAllowedYet()
error TotalStakedAmountZero()
events ClaimedAll
events SablierWithdrawn

Tools Used

Manual Review

Recommendations

Consider revisiting these errors and events. Identify whether they need to remain or can be removed.

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.