0.7.50
This commit is contained in:
@@ -111,6 +111,9 @@ impl DexDetectService {
|
||||
crate::dex_detection_route::DexDetectionRoute::RaydiumClmmTrade => {
|
||||
self.detect_raydium_clmm_trade(&transaction, decoded_event).await
|
||||
},
|
||||
crate::dex_detection_route::DexDetectionRoute::RaydiumLaunchpadPool => {
|
||||
self.detect_raydium_launchpad_pool(&transaction, decoded_event).await
|
||||
},
|
||||
crate::dex_detection_route::DexDetectionRoute::PumpFunCreateV2Token => {
|
||||
self.detect_pump_fun_create_v2_token(&transaction, decoded_event).await
|
||||
},
|
||||
@@ -647,6 +650,24 @@ impl DexDetectService {
|
||||
return Ok(detection_result);
|
||||
}
|
||||
|
||||
|
||||
async fn detect_raydium_launchpad_pool(
|
||||
&self,
|
||||
transaction: &crate::ChainTransactionDto,
|
||||
decoded_event: &crate::DexDecodedEventDto,
|
||||
) -> Result<crate::DexPoolDetectionResult, crate::Error> {
|
||||
return self
|
||||
.detect_materialized_pool_from_decoded_event(
|
||||
transaction,
|
||||
decoded_event,
|
||||
"raydium_launchpad",
|
||||
crate::PoolKind::BondingCurve,
|
||||
crate::PoolStatus::Pending,
|
||||
"signal.dex.raydium_launchpad",
|
||||
)
|
||||
.await;
|
||||
}
|
||||
|
||||
async fn detect_raydium_cpmm_trade(
|
||||
&self,
|
||||
transaction: &crate::ChainTransactionDto,
|
||||
|
||||
Reference in New Issue
Block a user