Events in Solidity support the indexed
keyword, which enables efficient filtering and querying by off-chain services (e.g., The Graph, Dune Analytics, custom indexers). Proper indexing is essential for building responsive, low-latency dApps.
Many events in this contract are missing indexed
parameters on fields that are routinely used for filtering: such as address newKing
, address winner
, or game identifiers like round
.
This omission doesn't affect contract execution but degrades the experience for off-chain applications. Querying for logs by address or round becomes more expensive and inefficient, especially as log history grows.
Likelihood:
This will affect every DApp or backend service that integrates with the contract via event logs.
Especially noticeable in production when data volume grows and querying specific player history or round outcomes becomes inefficient.
Impact:
Off-chain applications such as frontends, dashboards, and analytics tools will have to do full log scans to extract data by address or round.
This raises costs, causes delays, and can result in poor UX for end-users trying to fetch historical game data.
Enables efficient event querying using indexed filters.
Reduces load and gas cost for subgraphs and event listeners.
Improves DApp responsiveness and data accuracy.
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.