Steadefi

Steadefi
DeFiHardhatFoundryOracle
35,000 USDC
View results
Submission Details
Severity: low
Invalid

Unnecessary internal functions

Summary

Unnecessary internal functions used for reverting in modifiers. The internal functions _onlyVault and _onlyKeeper are only used in the modifiers onlyVault and onlyKeeper. These functions only consist of is statement and revert. This logic can be in the modifiers without the internal functions.

Tools Used

Manual Review

Recommendations

Consider removing the internal functions and moving the logic to the modifiers.

Updates

Lead Judging Commences

hans Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

INFO: Unnecessary internal functions

Support

FAQs

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