2024-05 Uniswap V2/V3 Events Migration
Key updates to the Uniswap V2 and V3 events table.
Key updates
chain.dex.uniswap_v3_events
chain.dex.uniswap_v3_events
This table will contain DEXs using Uniswap v3 DEXs, including Uniswap
Breaking changes
amount0/amount1
for burn and collect events will be a positive value, unlike the legacy tablesrename
to_address
->recipient_address
(note that thisto_address
is nottransaction_to_address
)remove
pool_name
field
Other improvements
Include
initialize
eventsFix amount precision for liquidity and token amounts
Assign
owner_address
,sender_address
andrecipient_address
the respective eventsAdd
fee_details
andtransaction_fees
to reduce joins
chain.dex.uniswap_v2_events
chain.dex.uniswap_v2_events
This table will contain DEX events emitted from Uniswap V2 DEXs, including Uniswap, Sushiswap, etc.
Breaking changes
rename
to_address
->recipient_address
(note that thisto_address
is nottransaction_to_address
)remove
pool_name
field
Other improvements
Fix amount precision for liquidity and token amounts
Assign
owner_address
,sender_address
andrecipient_address
the respective eventsAdd
fee_details
andtransaction_fees
to reduce joins
Last updated