[][src]Function solana_libra_vm_genesis::encode_transfer_program

pub fn encode_transfer_program(
    recipient: &AccountAddress,
    amount: u64
) -> Program

Encode a program transferring amount coins from sender to recipient. Fails if there is no account at the recipient address or if the sender's balance is lower than amount.