Description: The AMM doesn't emit events for critical operations like pool initialization, liquidity provision/removal, and swaps. The AMM doesn't emit events (using Anchor's emit! macro) for critical operations. Events are essential for off-chain monitoring, indexing, and user interfaces to track activities. Without events, it's difficult to track pool creation, liquidity changes, and swap activities.
Impact:
Difficulty in building user interfaces that need to track pool activities
Challenges in monitoring and auditing pool operations
Limited ability to index and analyze pool data off-chain
Proof of Concept: None of the critical functions emit events:
Recommended Mitigation: Implement events for all critical operations:
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.