refactor: migrate streaming functionality to separate SDK, bump to v0.2.2

This commit is contained in:
ysq
2025-07-20 00:56:11 +08:00
parent 7942bea571
commit c98d022ae8
39 changed files with 39 additions and 3946 deletions
+2 -1
View File
@@ -12,8 +12,9 @@ use crate::{
constants::{
self, pumpfun::global_constants::{CREATOR_FEE, FEE_BASIS_POINTS}, trade::trade::DEFAULT_SLIPPAGE
},
streaming::event_parser::protocols::pumpfun::PumpFunTradeEvent, trading::common::calculate_with_slippage_buy
trading::common::calculate_with_slippage_buy
};
use crate::solana_streamer_sdk::streaming::event_parser::protocols::pumpfun::PumpFunTradeEvent;
lazy_static::lazy_static! {
static ref ACCOUNT_CACHE: RwLock<HashMap<Pubkey, Arc<GlobalAccount>>> = RwLock::new(HashMap::new());