Libraries
UniswapEvents.sol
UniswapEvents declares and emits protocol-facing pool events. The review identifies unused event code, inaccurate event guarantees and gaps in the logs needed by indexers.
Reviewed source: src/libraries/UniswapEvents.sol at commit bcd45b2.
No separate finding is counted on this page. The affected paths link to their complete write-ups below.
Shared findings
- DICES-16 · Informational: Code that cannot run or has no effect — PoolSwap, PoolLiquidityDelta, PoolDonation and their unused emit helpers have no live call path.
- DICES-17 · Informational: Documentation and comments promise things the code does not do — Documentation promises PoolSwap after every swap, but the hook emits HookSwap and HookFee instead.
- DICES-18 · Informational: Events leave gaps for indexers and monitoring — Unused events and overlapping fee events complicate indexing and monitoring.