Events should have proper indexing to enable efficient filtering and querying by dApps and indexing services.
Several events lack indexed parameters which reduces their usefulness for front-end applications and analytics tools.
Likelihood:
When dApps need to filter events by specific criteria
When building analytics dashboards or order tracking systems
When users need to query their order history efficiently
Impact:
Reduced performance for dApp event filtering and querying
Increased infrastructure costs for indexing services
Poor user experience in front-end applications
dApp Integration Challenge: This demonstrates how poor event indexing affects front-end applications.
Real-world impact on dApps:
Inefficient queries: Cannot filter events by price ranges or token amounts
Higher infrastructure costs: Must fetch all events and filter client-side
Slower user experience: Loading all events takes more time than filtered queries
Analytics limitations: Order book analytics and dashboards perform poorly
Mobile app issues: Limited bandwidth makes downloading all events impractical
Solution: Add proper indexing to enable efficient event filtering and querying.
Why this works:
Efficient filtering: dApps can filter by price ranges and token amounts
Better performance: Indexed parameters enable faster event queries
Lower costs: Reduces infrastructure costs for dApps and indexing services
Enhanced UX: Faster loading times improve user experience
Indexing best practices:
Limit to 3 indexed parameters per event (EVM limitation)
Index commonly filtered fields: orderId, amounts, prices, addresses
Don't index large data: Avoid indexing strings or large arrays
Consider query patterns: Index parameters that dApps will filter by most often
Events not properly indexed. Filtering and querying from analytic tools will be very in-efficient
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.