This commit is contained in:
William
2025-05-13 07:08:01 +08:00
parent 3a60969b22
commit 07651638b9
5 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ pub async fn get_bonding_curve_account(
#[inline]
pub fn get_buy_token_amount(
bonding_curve_account: &BondingCurveAccount,
bonding_curve_account: &Arc<accounts::BondingCurveAccount>,
buy_sol_cost: u64,
slippage_basis_points: Option<u64>,
) -> anyhow::Result<(u64, u64)> {