feat: support Pump.fun V2 (Mayhem Mode) and update protocol structures for Nov 11 breaking changes

This commit is contained in:
ysq
2025-11-09 23:30:48 +08:00
parent 3a9fed4a9c
commit 9e4f71dbb2
10 changed files with 154 additions and 16 deletions
@@ -69,6 +69,7 @@ pub enum EventType {
// PumpFun events
PumpFunCreateToken,
PumpFunCreateV2Token,
PumpFunBuy,
PumpFunSell,
PumpFunMigrate,
@@ -162,6 +163,7 @@ impl fmt::Display for EventType {
EventType::PumpSwapDeposit => write!(f, "PumpSwapDeposit"),
EventType::PumpSwapWithdraw => write!(f, "PumpSwapWithdraw"),
EventType::PumpFunCreateToken => write!(f, "PumpFunCreateToken"),
EventType::PumpFunCreateV2Token => write!(f, "PumpFunCreateV2Token"),
EventType::PumpFunBuy => write!(f, "PumpFunBuy"),
EventType::PumpFunSell => write!(f, "PumpFunSell"),
EventType::PumpFunMigrate => write!(f, "PumpFunMigrate"),