I found that the function tokenOwner()
at RockPaperScissors.sol
was set to public
and it is not used inside the contract
The function was not called inside the contract, but was set to public
at https://github.com/CodeHawks-Contests/2025-04-rock-paper-scissors/blob/25cf9f29c3accd96a532e416eee6198808ba5271/src/RockPaperScissors.sol#L378
external
functions are slightly cheaper in gas than public
aderyn
-Manual review
Consider replacing the following code
Code suggestions or observations that do not pose a direct security risk.
Code suggestions or observations that do not pose a direct security risk.
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.