feat(solana): add Jupiter v6 SwapsEvent aggregator swaps#9335
feat(solana): add Jupiter v6 SwapsEvent aggregator swaps#9335eekey-cloud wants to merge 4 commits intoduneanalytics:mainfrom
Conversation
PR SummaryMedium Risk Overview Introduces the incremental model Written by Cursor Bugbot for commit 2c92dcd. Configure here. |
Add new Jupiter v6 aggregator swaps model using SwapsEvent decoder: - Uses SwapEventV2 JSON parsing from jupiter_evt_swapsevent - Joins route calls with instruction_calls to identify AMMs - Extracts swap amounts using UNNEST on swap_events array Co-Authored-By: Claude Opus 4.5 <[email protected]>
Simplify model to output only swaps_with_amm result: - block_time, block_month, block_slot, tx_index, tx_id - amm, outer_instruction_index, inner_instruction_index - input_mint, input_amount, output_mint, output_amount Co-Authored-By: Claude Opus 4.5 <[email protected]>
2c92dcd to
79f0442
Compare
- Add jupiter_v6_solana source and decoded tables (jupiter_evt_swapsevent, route calls) - Add jupiter_v6_solana_swapsevent_aggregator_swaps model using SwapEventV2 decoder - Based on PR duneanalytics#9335 (eekey-cloud) Co-authored-by: Cursor <[email protected]>
Summary
Test plan