feat: bridge streamer to sol-parser-sdk

This commit is contained in:
0xfnzero
2026-05-15 05:09:29 +08:00
parent e29a2e4f5a
commit ab84249f4a
85 changed files with 6350 additions and 1362 deletions
+9 -1
View File
@@ -1,6 +1,14 @@
//! Solana DEX 交易解析:**对外类型** [`DexEvent`]、[`Protocol`]
//! **`common`**(元数据/过滤器)、**`core`**(调度、合并、gRPC 解析入口)、**`protocols`**(按协议的 parser/events)。
//!
//! 与 **sol-parser-sdk** 对照:`protocols/*/parser` ≈ sdk `instr/*``parser_sdk_bridge` ≈ sdk 事件枚举与各实现的胶水层。
//!
//! [`DexEvent`]: crate::streaming::event_parser::DexEvent
//! [`Protocol`]: crate::streaming::event_parser::Protocol
pub mod common;
pub mod core;
pub mod protocols;
pub use core::traits::DexEvent;
pub use protocols::types::Protocol;
pub use protocols::types::Protocol;