sniper_buy_with_tip add bonding_curve

This commit is contained in:
wei
2025-06-22 22:50:05 +08:00
parent 41b0e8cbb5
commit d8643c8421
+2 -1
View File
@@ -274,6 +274,7 @@ impl PumpFun {
buy_sol_cost: u64,
slippage_basis_points: Option<u64>,
recent_blockhash: Hash,
bonding_curve: Option<Arc<BondingCurveAccount>>,
) -> Result<(), anyhow::Error> {
pumpfun::buy::buy_with_tip(
self.fee_clients.clone(),
@@ -285,7 +286,7 @@ impl PumpFun {
self.priority_fee.clone(),
self.cluster.clone().lookup_table_key,
recent_blockhash,
None,
bonding_curve,
SNIPER_BUY.to_string(),
).await
}