pub fn wrap_sol_instructions(user: &Pubkey, lamports: u64) -> [Instruction; 2]Expand description
system_transfer(user → user_wsol_ata, lamports) followed by
sync_native(user_wsol_ata). Used before any wSOL-quoted buy.
pub fn wrap_sol_instructions(user: &Pubkey, lamports: u64) -> [Instruction; 2]system_transfer(user → user_wsol_ata, lamports) followed by
sync_native(user_wsol_ata). Used before any wSOL-quoted buy.