Under normal behavior, events should be emitted during critical state changes (e.g., reward distribution or fee collection) so that off-chain systems (indexers, frontends, analytics) can track protocol activity accurately.
In the current implementation, the SnowEarned and FeeCollected events are not emitted in their respective functions, despite state changes occurring. This leads to missing data for off-chain consumers that rely on events for accounting and tracking.
Likelihood:
Occurs on every execution of reward distribution or fee collection functions
Affects all off-chain systems relying on event logs (subgraphs, indexers, frontends)
Impact:
Off-chain accounting becomes incomplete or incorrect due to missing event data
Analytics, reward tracking, and user-facing dashboards fail to reflect actual protocol activityProof of Concept
Emit the respective events from the respective function calls for tokens earned and fees collected
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.