[][src]Function solana_libra_vm_genesis::encode_create_account_program

pub fn encode_create_account_program(
    account_address: &AccountAddress,
    initial_balance: u64
) -> Program

Encode a program creating a fresh account at account_address with initial_balance coins transferred from the sender's account balance. Fails if there is already an account at account_address or if the sender's balance is lower than initial_balance.