Several functions are declared as public when they should be external, leading to unnecessary gas costs.
The following functions are marked as public but are never called internally:
When a function is marked as public, Solidity copies array arguments to memory, even when called externally. For functions that are only called externally, this is unnecessary gas cost.
Increased gas costs for users
Inefficient memory usage
Unnecessary data copying
Change function visibility from public to external:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.