This commit is contained in:
2026-05-21 09:46:54 +02:00
parent 62831a0abe
commit 6176c5d4cd
17 changed files with 1272 additions and 116 deletions

View File

@@ -562,6 +562,24 @@ impl DexDecodeService {
)
.await;
},
crate::RaydiumAmmV4DecodedEvent::Swap(event) => {
return self
.materialize_named_dex_event(
transaction,
event.transaction_id,
event.instruction_id,
"raydium_amm_v4",
event.program_id.clone(),
"raydium_amm_v4.swap",
Some(event.pool_account.clone()),
None,
Some(event.token_a_mint.clone()),
Some(event.token_b_mint.clone()),
None,
event.payload_json.clone(),
)
.await;
},
}
}