fn transfer_to_account(
        &mut self,
        target: AccountHash,
        amount: U512,
        id: Option<u64>,
    ) -> Result<TransferResult, Error> {
        let source = self.context.get_main_purse()?;
        self.transfer_from_purse_to_account(source, target, amount, id)
    }
/// Transfers `amount` of motes from default purse of the account to
/// `target` account. If that account does not exist, creates one.
Transfers `amount` of motes from default purse of the account to
`target` account. If that account does not exist, creates one.
Transfers ` amount ` of motes from default purse of the account to ` target ` account . If that account does not exist creates one .
fn transfer_to_account(
        &mut self,
        target: AccountHash,
        amount: U512,
        id: Option<u64>,
    ) -> Result<TransferResult, Error> {
        let source = self.context.get_main_purse()?;
        self.transfer_from_purse_to_account(source, target, amount, id)
    }
fn transfer_to_account ( & mut self , target : AccountHash , amount : U512 , id : Option < u64 > , ) -> Result < TransferResult , Error > { let source = self . context . get_main_purse ( ) ? ; self . transfer_from_purse_to_account ( source , target , amount , id ) }
Transfers `amount` of motes from default purse of the account to
`target` account.
Transfers ` amount ` of motes from default purse of the account to ` target ` account .
&mut self
target
AccountHash
amount
U512
id
Option<u64>
&mut self
target
AccountHash
amount
U512
id
Option<u64>