mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-17 19:08:05 +00:00
Release solana-streamer-sdk v1.4.3
Route gRPC, ShredStream, and account parsing through sol-parser-sdk. Remove local protocol parsing implementations. Depend on sol-parser-sdk v0.4.8 from crates.io.
This commit is contained in:
@@ -1,41 +1,40 @@
|
||||
//! Protocol program ids used by bridged events.
|
||||
use crate::streaming::event_parser::protocols::sol_parser_forward;
|
||||
|
||||
use sol_parser_sdk::instr::program_ids;
|
||||
use solana_sdk::pubkey::Pubkey;
|
||||
|
||||
pub(crate) fn pumpswap_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::pumpswap::parser::PUMPSWAP_PROGRAM_ID
|
||||
program_ids::PUMPSWAP_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn pump_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::pumpfun::parser::PUMPFUN_PROGRAM_ID
|
||||
program_ids::PUMPFUN_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn pump_fees_program() -> Pubkey {
|
||||
sol_parser_sdk::instr::program_ids::PUMP_FEES_PROGRAM_ID
|
||||
program_ids::PUMP_FEES_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn bonk_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::bonk::parser::BONK_PROGRAM_ID
|
||||
program_ids::BONK_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn raydium_cpmm_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::raydium_cpmm::parser::RAYDIUM_CPMM_PROGRAM_ID
|
||||
program_ids::RAYDIUM_CPMM_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn raydium_clmm_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::raydium_clmm::parser::RAYDIUM_CLMM_PROGRAM_ID
|
||||
program_ids::RAYDIUM_CLMM_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn raydium_amm_v4_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::raydium_amm_v4::parser::RAYDIUM_AMM_V4_PROGRAM_ID
|
||||
program_ids::RAYDIUM_AMM_V4_PROGRAM_ID
|
||||
}
|
||||
pub(crate) fn meteora_damm_program() -> Pubkey {
|
||||
crate::streaming::event_parser::protocols::meteora_damm_v2::parser::METEORA_DAMM_V2_PROGRAM_ID
|
||||
program_ids::METEORA_DAMM_V2_PROGRAM_ID
|
||||
}
|
||||
|
||||
pub(crate) fn orca_whirlpool_program() -> Pubkey {
|
||||
sol_parser_forward::ORCA_WHIRLPOOL_PROGRAM_ID
|
||||
program_ids::ORCA_WHIRLPOOL_PROGRAM_ID
|
||||
}
|
||||
|
||||
pub(crate) fn meteora_pools_program() -> Pubkey {
|
||||
sol_parser_forward::METEORA_POOLS_PROGRAM_ID
|
||||
program_ids::METEORA_POOLS_PROGRAM_ID
|
||||
}
|
||||
|
||||
pub(crate) fn meteora_dlmm_program() -> Pubkey {
|
||||
sol_parser_forward::METEORA_DLMM_PROGRAM_ID
|
||||
program_ids::METEORA_DLMM_PROGRAM_ID
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user