Several functions in the ThePredicter contract are marked as public but could be external for gas optimization.
The following functions in ThePredicter.sol are marked as public but are not called internally:
register()
cancelRegistration()
approvePlayer(address)
makePrediction(uint256, ScoreBoard.Result)
withdrawPredictionFees()
withdraw()
Using public instead of external for functions that are only called externally results higher gas costs for users interacting with the contract.
Manual code review
Change the visibility of these 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.