0.7.41
This commit is contained in:
@@ -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;
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user