Several getter functions in the contract are declared as public
, but they are not used within the contract itself. Making them external
instead of public
can optimize gas costs and improve contract efficiency.
Gas Optimization: Using external
instead of public
reduces gas costs when calling the functions externally.
Reduced Contract Size: Eliminating unnecessary function selectors can result in a smaller contract size.
Improved Security: Reducing the contract's public interface helps prevent unintended internal calls.
Change the visibility of the following functions from public
to external
:
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.