Files
solana-streamer/src/streaming/event_parser/mod.rs
T

16 lines
666 B
Rust
Raw Normal View History

2026-05-15 05:09:29 +08:00
//! Solana DEX 交易解析:**对外类型** [`DexEvent`]、[`Protocol`]
2026-05-16 06:45:35 +08:00
//! **`common`**(元数据/过滤器)、**`core`**SDK 调度与入口)、**`protocols`**(按协议的事件类型与兼容 facade)。
2026-05-15 05:09:29 +08:00
//!
2026-05-16 06:45:35 +08:00
//! gRPC/ShredStream 解析统一委托给 **sol-parser-sdk**,本 crate 只做订阅、过滤映射、
//! SDK 事件到 streamer 事件的适配,以及兼容旧公开路径的轻量转发。
2026-05-15 05:09:29 +08:00
//!
//! [`DexEvent`]: crate::streaming::event_parser::DexEvent
//! [`Protocol`]: crate::streaming::event_parser::Protocol
pub mod common;
pub mod core;
pub mod protocols;
2025-10-12 22:00:15 +08:00
pub use core::traits::DexEvent;
2026-05-15 05:09:29 +08:00
pub use protocols::types::Protocol;