pub fn process_raydium_launchpad_swap_instruction(
instruction: &Instruction<'_>,
event: &Instruction<'_>,
direction: SwapDirection,
block_time: u64,
slot: u64,
index: u64,
atomic_instruction_index: u8,
signers: &HashSet<Pubkey>,
signature: &Signature,
) -> SwapTxExpand description
Process a Raydium launchpad swap instruction and create a SwapTx. Assumes the instruction has been validated as a valid Raydium launchpad swap. Requires both the swap instruction and its corresponding event instruction because the platform config cannot be derived from the event data alone.