Pre-auditThree days of senior audit time for $1,500, credited in full toward your Zealynx audit.3 audit days, credited toward your auditSee how →
F-2024-0013·code-quality

Use external instead of public when not used internally

Acknowledgedindex-funddefirebalancing
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.

F-2024-0013