In Solidity, functions marked as public can be called both internally and externally. However, if a function is never called internally, marking it as external can slightly reduce gas usage and improve semantic clarity.
Affected Functions
The following functions are only meant to be called externally and should be marked external instead of public:
Recommendation
Change function visibility from public to external for the listed functions:
This small change improves gas efficiency during contract interactions and clarifies that these functions are not intended for internal calls.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.