Steadefi

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

Function ordering does not follow the Solidity style guide

Summary

According to the Solidity style guide, functions should be laid out in the following order :constructor(), receive(), fallback(), external, public, internal, private, but the cases below do not follow this pattern.

https://docs.soliditylang.org/en/v0.8.17/style-guide.html#order-of-functions

Tools Used

Manual Review

Recommendations

Follow the Solidity style guide.

Updates

Lead Judging Commences

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

INFO: Function ordering not in best practice

Support

FAQs

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