feat: add common account event parser with SPL token support

This commit is contained in:
ysq
2025-09-03 17:19:35 +08:00
parent 1060b04b12
commit 4902c34bfa
4 changed files with 83 additions and 17 deletions
@@ -141,6 +141,8 @@ pub enum EventType {
AccountRaydiumCpmmAmmConfig,
AccountRaydiumCpmmPoolState,
AccountCommon,
// Common events
BlockMeta,
Unknown,
@@ -225,6 +227,7 @@ impl fmt::Display for EventType {
}
EventType::AccountRaydiumCpmmAmmConfig => write!(f, "AccountRaydiumCpmmAmmConfig"),
EventType::AccountRaydiumCpmmPoolState => write!(f, "AccountRaydiumCpmmPoolState"),
EventType::AccountCommon => write!(f, "AccountCommon"),
EventType::BlockMeta => write!(f, "BlockMeta"),
EventType::Unknown => write!(f, "Unknown"),
}