Describe the normal behavior in one or more sentences
The contract defines several events intended to signal important state changes:
However, the corresponding state-changing functions do not emit these events when the associated actions occur
Especifically earnSnow() does not emit SnowEarned after minting tokens to the caller.
collectFee() does not emit FeeCollected after transferring collected fees to the designated collector.
Likelihood:
Reason 1 // Describe WHEN this will occur (avoid using "if" statements)
Reason 2
Impact:
The absence of event emissions does not affect on-chain execution or protocol security. However, it reduces off-chain observability and may negatively impact:
Frontend applications that rely on events to update UI state
Indexing services and analytics platforms
Monitoring and accounting systems that track protocol activity
Without emitting the declared events, off-chain consumers cannot reliably detect when rewards are earned or when fees are collected.
Emit the appropriate events at the end of each state-changing function. For example:
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.