F-2024-0013·code-quality
Use external instead of public when not used internally
TL;DR
Functions that are not called from inside the contract should be marked external instead of public for clearer intent and lower gas usage.
Severity
INFO
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description
Description
Functions that are not used internally should be marked as external instead of public.
03Section · Recommendation
Recommendation
Change the visibility of these functions from public to external to optimize gas usage and improve contract efficiency.

