feat: Refactor pump.fun buy transaction creation

Removes the `dev_buy_token` and `dev_sol_cost` parameters from the buy process to simplify the interface and reduce redundancy.
This commit is contained in:
ysq
2025-06-20 18:14:26 +08:00
parent 148cce8253
commit 7024e100b9
6 changed files with 7 additions and 60 deletions
-2
View File
@@ -74,8 +74,6 @@ pub struct SellWithTipParams {
/// PumpFun协议特定参数
#[derive(Clone)]
pub struct PumpFunParams {
pub dev_buy_token: u64,
pub dev_sol_cost: u64,
pub trade_type: String,
pub bonding_curve: Option<Arc<BondingCurveAccount>>,
}