If a function is marked public but is not used internally, consider marking it as externalto save gas
Likelihood: HIGH
Functions declared public and will always include unnecessary ABI generation.
Impact: LOW
This does not affect functionality or security, but it results in minor gas inefficiency and unnecessary bytecode size.
In Solidity, public functions generate both internal and external call mechanisms, while external functions only support external calls. If a function is never used internally, declaring it external reduces gas and bytecode size.
Change the visibility from public to external.
Gas optimizations are invalid according to the CodeHawks documentation.
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.