pub fn close_token_account_check(
swap_configs: &Vec<SwapConfig>,
instructions: &mut Vec<Instruction>,
compute_unit_budget: &mut u32,
)Expand description
Add instructions to close token accounts after swaps if needed. Iterates through swap configs
and adds close-account instructions for any swaps where close_token_account is true. Updates
the compute unit budget accordingly.