The TwentyOne contract lacks critical events for tracking game progression and state changes. While it emits events for game end states, it fails to emit events for several key actions.
Currently only emits:
Missing events for:
Game start with initial cards and bet amount
Player hitting (drawing new cards)
Dealer actions (card draws and threshold)
Bet placements
Limited ability to track game progression
Difficult to audit gameplay and diagnose issues
Reduced transparency for players and monitoring systems
Challenges in frontend integration and state syncing
Manual Code Review
Add events for all key state changes and actions, particularly around:
Game initialization
Card draws (both player and dealer)
Bet placement
Dealer decision points
While not a security risk, proper event emission would significantly improve monitoring and user experience.
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.