feat: add event processing time tracking (v0.1.6)

- Add processing duration monitoring
- Update all protocol parser interfaces
- Improve PumpFun dev address detection
- Bump version to 0.1.6
This commit is contained in:
ysq
2025-07-29 14:48:43 +08:00
parent 2e864dd14e
commit 0a4be48b99
13 changed files with 93 additions and 24 deletions
@@ -421,6 +421,7 @@ impl EventParser for BonkEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_inner_instruction(
@@ -428,6 +429,7 @@ impl EventParser for BonkEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -439,6 +441,7 @@ impl EventParser for BonkEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_instruction(
@@ -447,6 +450,7 @@ impl EventParser for BonkEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -226,6 +226,7 @@ impl EventParser for PumpFunEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_inner_instruction(
@@ -233,6 +234,7 @@ impl EventParser for PumpFunEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -244,6 +246,7 @@ impl EventParser for PumpFunEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_instruction(
@@ -252,6 +255,7 @@ impl EventParser for PumpFunEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -374,6 +374,7 @@ impl EventParser for PumpSwapEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_inner_instruction(
@@ -381,6 +382,7 @@ impl EventParser for PumpSwapEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -392,6 +394,7 @@ impl EventParser for PumpSwapEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_instruction(
@@ -400,6 +403,7 @@ impl EventParser for PumpSwapEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -146,6 +146,7 @@ impl EventParser for RaydiumClmmEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_inner_instruction(
@@ -153,6 +154,7 @@ impl EventParser for RaydiumClmmEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -164,6 +166,7 @@ impl EventParser for RaydiumClmmEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_instruction(
@@ -172,6 +175,7 @@ impl EventParser for RaydiumClmmEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -135,6 +135,7 @@ impl EventParser for RaydiumCpmmEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_inner_instruction(
@@ -142,6 +143,7 @@ impl EventParser for RaydiumCpmmEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}
@@ -153,6 +155,7 @@ impl EventParser for RaydiumCpmmEventParser {
signature: &str,
slot: u64,
block_time: Option<Timestamp>,
program_received_time_ms: i64,
index: String,
) -> Vec<Box<dyn UnifiedEvent>> {
self.inner.parse_events_from_instruction(
@@ -161,6 +164,7 @@ impl EventParser for RaydiumCpmmEventParser {
signature,
slot,
block_time,
program_received_time_ms,
index,
)
}