Function secret_toolkit_snip20::handle::transfer_from_msg
source · [−]pub fn transfer_from_msg(
owner: HumanAddr,
recipient: HumanAddr,
amount: Uint128,
memo: Option<String>,
padding: Option<String>,
block_size: usize,
callback_code_hash: String,
contract_addr: HumanAddr
) -> StdResult<CosmosMsg>
Expand description
Returns a StdResult
Arguments
owner
- the address of the owner of the tokens to be sentrecipient
- the address the tokens are to be sent toamount
- Uint128 amount of tokens to sendmemo
- A message to include in transactionpadding
- Optional String used as padding if you don’t want to use block paddingblock_size
- pad the message to blocks of this sizecallback_code_hash
- String holding the code hash of the contract being calledcontract_addr
- address of the contract being called