Skip to main content

Overview

The avalanche.dex.events table provides a clean, protocol-agnostic schema for DEX liquidity events on Avalanche. This unified approach allows you to analyze liquidity patterns across different DEX protocols using consistent semantics.
Purpose: One clean, protocol/chain agnostic schema for DEX liquidity events.Design:
  • Protocol-agnostic core
  • Event-agnostic semantics
  • Ownership is normalized through LP unit
  • Event-specific bits go in event_details (variant)
  • Liquidity specific details goes in liquidity_details (variant)
Event set (v1): initialize_pool | add_liquidity | remove_liquidity | swap_tokens
This table is in active development and currently available for Avalanche only.

Table Columns

Protocol Examples

Uniswap V2 Family

Protocols: Uniswap V2, Pangolin V2, Pharaoh, Blackhole

Uniswap V3 Family (CLMM)

Protocols: Uniswap V3, Pangolin V3

Trader Joe Liquidity Book (LB)

Protocols: Trader Joe LB v2/2.1/2.2

Notes

  • Protocol Coverage: Currently supports Uniswap V2/V3, Blackhole, Pangolin V2/V3, Pharaoh, Trader Joe LB, and other major Avalanche DEX protocols
  • USD Values: USD amounts are calculated using token prices at the time of the event
  • Event Scope: position for individual positions, pool for pool-wide events

Use Cases

  • Track liquidity provision and removal patterns across protocols
  • Monitor individual LP positions and their performance
  • Compare liquidity patterns between different DEX protocols
  • Analyze concentration and distribution of liquidity
  • Build comprehensive DEX analytics dashboards