hpl_toolkit::utils

Function transfer

Source
pub fn transfer<'info>(
    lamports: u64,
    from: &AccountInfo<'info>,
    to: &AccountInfo<'info>,
    system_program: &AccountInfo<'info>,
) -> Result<()>