Skip to content

raydium missing trades #8053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@
ON trs_1.tx_id = sp.call_tx_id
AND trs_1.block_time = sp.call_block_time
AND trs_1.outer_instruction_index = sp.call_outer_instruction_index
AND ((sp.call_is_inner = false AND (trs_1.inner_instruction_index = 1 OR trs_1.inner_instruction_index = 2))
OR (sp.call_is_inner = true AND (trs_1.inner_instruction_index = sp.call_inner_instruction_index + 1 OR trs_1.inner_instruction_index = sp.call_inner_instruction_index + 2))
)
AND trs_1.inner_instruction_index = 1
AND trs_1.token_version = 'spl_token'
{% if is_incremental() %}
AND {{incremental_predicate('trs_1.block_time')}}
Expand All @@ -62,9 +60,7 @@
ON trs_2.tx_id = sp.call_tx_id
AND trs_2.block_time = sp.call_block_time
AND trs_2.outer_instruction_index = sp.call_outer_instruction_index
AND ((sp.call_is_inner = false AND (trs_2.inner_instruction_index = 2 OR trs_2.inner_instruction_index = 3))
OR (sp.call_is_inner = true AND (trs_2.inner_instruction_index = sp.call_inner_instruction_index + 2 OR trs_2.inner_instruction_index = sp.call_inner_instruction_index + 3))
)
AND trs_2.inner_instruction_index = 2
AND trs_2.token_version = 'spl_token'
{% if is_incremental() %}
AND {{incremental_predicate('trs_2.block_time')}}
Expand Down