hpl_toolkit::utils

Function transfer

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