Events are defined without indexed parameters, which are crucial for efficient event filtering and querying off-chain.
TreatAdded
Event (Line 25):
Swapped
Event (Line 26):
FeeWithdrawn
Event (Line 27):
Inefficient Event Filtering:
Without indexed parameters, it's more challenging to search and filter events based on specific criteria, which can hinder data retrieval and analysis.
Developer and User Inconvenience:
Off-chain applications and users may find it difficult to track events related to specific treats, token IDs, or owners.
Add Indexed Parameters to Events:
Modify events to include indexed
keywords for relevant fields.
Updated TreatAdded
Event:
Updated Swapped
Event:
Updated FeeWithdrawn
Event:
Limit Indexing to Essential Fields:
Remember that a maximum of three parameters can be indexed per event. Choose the most critical fields for indexing.
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.