Expand description
Solana DEX 事件解析器核心模块
提供纯函数式的 DEX 事件解析能力,支持:
- PumpFun、Bonk、PumpSwap、Raydium CLMM/CPMM
- 指令+日志数据的智能合并
- 零拷贝、高性能解析
- 统一的事件格式
Re-exports§
pub use unified_parser::parse_transaction_events;pub use unified_parser::parse_logs_only;pub use unified_parser::parse_transaction_with_listener;pub use unified_parser::EventListener;pub use unified_parser::parse_transaction_events_streaming;pub use unified_parser::parse_logs_streaming;pub use unified_parser::parse_transaction_with_streaming_listener;pub use unified_parser::StreamingEventListener;pub use clock::now_micros;pub use clock::elapsed_micros_since;pub use clock::now_nanos;pub use cache::build_account_pubkeys_with_cache;pub use cache::AccountPubkeyCache;pub use crate::accounts::parse_token_account;pub use crate::accounts::parse_nonce_account;pub use crate::accounts::AccountData;pub use crate::accounts::is_nonce_account;pub use crate::accounts::parse_account_unified;pub use events::*;
Modules§
- account_
dispatcher - 账户填充调度器
- account_
fillers - 账户填充模块 - 按协议拆分
- cache
- 解析器缓存模块
- clock
- 高性能时钟模块
- common_
filler - events
- 所有具体的事件类型定义
- merger
- 轻量级事件合并机制 - 零拷贝高性能实现
- unified_
parser - 统一解析器 - 简化的单一入口解析器