Root Cause:
Functions that are not called internally within the contract are marked as public instead of external. The public visibility allows both external and internal calls, whereas external is intended for functions that are only called from outside the contract. Using external can be more gas-efficient.
Impact:
Gas Inefficiency: public functions copy arguments from calldata to memory, which consumes more gas. external functions read directly from calldata.
Unoptimized Contracts: Failing to use the most appropriate visibility specifier can lead to slightly higher transaction costs for users interacting with the contract.
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.