vent emission in smart contracts is crucial for tracking state changes and providing transparency. Events allow for easier debugging, monitoring, and verification of contract activities by off-chain applications. The contracts ThePredicter.sol
and ScoreBoard.sol
lack event emissions for critical state-changing functions, which undermines the ability to audit and track the system's behavior accurately.
Affected Functions
ThePredicter.sol
register()
cancelRegistration()
approvePlayer()
makePrediction()
withdrawPredictionFees()
withdraw()
ScoreBoard.sol
setResult()
confirmPredictionPayment()
setPrediction()
clearPredictionsCount()
The lack of event emission in key functions of ThePredicter.sol
and ScoreBoard.sol
contracts significantly impacts the ability to track and audit the contract's operations. By incorporating appropriate events, transparency and accountability can be greatly improved, ensuring all actions within the contracts are visible and verifiable.
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.