pub fn push_pumpfun_swap_instruction(
swap_config: &SwapConfig,
central_context: &Arc<CentralContext>,
instructions: &mut Vec<Instruction>,
compute_unit_budget: &mut u32,
pool: &PfBondingCurve,
)Expand description
Create and add a Pumpfun bonding curve swap instruction. For Pumpfun, token A is the bonding curve token and token B is SOL. BtoA is a buy, AtoB is a sell (consistent with Pumpswap protocol when tokens migrate).