pub fn send_from_msg(
    owner: HumanAddr,
    recipient: HumanAddr,
    amount: Uint128,
    msg: Option<Binary>,
    memo: Option<String>,
    padding: Option<String>,
    block_size: usize,
    callback_code_hash: String,
    contract_addr: HumanAddr
) -> StdResult<CosmosMsg>
Expand description

Returns a StdResult used to execute SendFrom

Arguments

  • owner - the address of the owner of the tokens to be sent
  • recipient - the address the tokens are to be sent to
  • amount - Uint128 amount of tokens to send
  • msg - Optional base64 encoded string to pass to the recipient contract’s Receive function
  • memo - A message to include in transaction
  • padding - Optional String used as padding if you don’t want to use block padding
  • block_size - pad the message to blocks of this size
  • callback_code_hash - String holding the code hash of the contract being called
  • contract_addr - address of the contract being called