DEX Pool Events
The chain DEX schema tables contain key events emitted by a protocol’s liquidity pool.
The events table are hydrated with token decimals, prices and transaction-level details for ease of analysis.
Currently we support the following protocols and events.
Protocol Coverage
Protocol | Table | Events | Projects |
---|---|---|---|
uniswap_v2 | dex.uniswap_v2_events | mint, swap, burn, sync | uniswap & uniswap forks (e.g. sushiswap) |
uniswap_v3 | dex.uniswap_v3_events | flash_paid, swap, flash, burn, mint, initialize, collect | uniswap & uniswap forks |
uniswap_v4 | dex.uniswap_v4_events | Swap, Initialize, OwnershipTransferred, Transfer, ModifyLiquidity, OperatorSet | uniswap & uniswap forks |
Coming Soon
We’re actively working on expanding our DEX pool event coverage to include other major protocols such as:
-
Curve Finance
-
Algebra
-
PancakeSwap
-
And more!
If you’d like to request support for a specific DEX protocol, please reach out to our team.
Query Example
How to calculate quarterly liquidity pool deltas in USD for all uniswap v2 pools?
Steps:
-
calculate the liquidity changes in token amounts first
-
convert token amount to USD amount based on the end of quarter usd exchange rate
-
filter out noisy data (set limit of 5 billion for token liquidity change in a quarter)
see public query here for table, graph and sql query.