fn gen_transfer_txn_request(
    sender: &mut AccountData,
    receiver: &AccountAddress,
    wallet: &WalletLibrary,
    num_coins: u64,
) -> Result<LoadRequest> {
    let program = vm_genesis::encode_transfer_program(&receiver, num_coins);
    gen_submit_transaction_request(program, sender, wallet)
}
/// Craft TXN request to transfer coins from sender to receiver.
Craft TXN request to transfer coins from sender to receiver.
Craft TXN request to transfer coins from sender to receiver .
fn gen_transfer_txn_request(
    sender: &mut AccountData,
    receiver: &AccountAddress,
    wallet: &WalletLibrary,
    num_coins: u64,
) -> Result<LoadRequest> {
    let program = vm_genesis::encode_transfer_program(&receiver, num_coins);
    gen_submit_transaction_request(program, sender, wallet)
}
fn gen_transfer_txn_request ( sender : & mut AccountData , receiver : & AccountAddress , wallet : & WalletLibrary , num_coins : u64 , ) -> Result < LoadRequest > { let program = vm_genesis :: encode_transfer_program ( & receiver , num_coins ) ; gen_submit_transaction_request ( program , sender , wallet ) }
Craft TXN request to transfer coins from sender to receiver.
Craft TXN request to transfer coins from sender to receiver .
sender
&mut AccountData
receiver
&AccountAddress
wallet
&WalletLibrary
num_coins
u64
sender
&mut AccountData
receiver
&AccountAddress
wallet
&WalletLibrary
num_coins
u64