From 5d1efa3c1eb6f511b1fbcd7e58def08a0c0823f8 Mon Sep 17 00:00:00 2001 From: ysq Date: Tue, 12 Aug 2025 10:31:55 +0800 Subject: [PATCH] feat: upgrade to v0.2.3 --- Cargo.toml | 2 +- README.md | 4 ++-- README_CN.md | 4 ++-- src/streaming/event_parser/protocols/pumpfun/events.rs | 5 +++++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ee72672..9db2459 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "solana-streamer-sdk" -version = "0.2.2" +version = "0.2.3" edition = "2021" authors = ["William ", "sgxiang ", "wei <1415121722@qq.com>"] repository = "https://github.com/0xfnzero/solana-streamer" diff --git a/README.md b/README.md index f1217c7..ba55924 100755 --- a/README.md +++ b/README.md @@ -42,14 +42,14 @@ Add the dependency to your `Cargo.toml`: ```toml # Add to your Cargo.toml -solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.2" } +solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.3" } ``` ### Use crates.io ```toml # Add to your Cargo.toml -solana-streamer-sdk = "0.2.2" +solana-streamer-sdk = "0.2.3" ``` ## Usage Examples diff --git a/README_CN.md b/README_CN.md index ce607fd..c8c22d2 100644 --- a/README_CN.md +++ b/README_CN.md @@ -42,14 +42,14 @@ git clone https://github.com/0xfnzero/solana-streamer ```toml # 添加到您的 Cargo.toml -solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.2" } +solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.3" } ``` ### 使用 crates.io ```toml # 添加到您的 Cargo.toml -solana-streamer-sdk = "0.2.2" +solana-streamer-sdk = "0.2.3" ``` ## 使用示例 diff --git a/src/streaming/event_parser/protocols/pumpfun/events.rs b/src/streaming/event_parser/protocols/pumpfun/events.rs index f7f073e..7f3354f 100755 --- a/src/streaming/event_parser/protocols/pumpfun/events.rs +++ b/src/streaming/event_parser/protocols/pumpfun/events.rs @@ -60,6 +60,11 @@ pub struct PumpFunTradeEvent { pub creator: Pubkey, pub creator_fee_basis_points: u64, pub creator_fee: u64, + pub track_volume: bool, + pub total_unclaimed_tokens: u64, + pub total_claimed_tokens: u64, + pub current_sol_volume: u64, + pub last_update_timestamp: i64, #[borsh(skip)] pub bonding_curve: Pubkey, #[borsh(skip)]