Function secret_toolkit_snip20::handle::send_msg_with_code_hash
source · [−]pub fn send_msg_with_code_hash(
recipient: HumanAddr,
recipient_code_hash: Option<String>,
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
Arguments
recipient
- the address tokens are to be sent torecipient_code_hash
- override therecipient_code_hash
registered with theRegisterReceiver
interfaceamount
- Uint128 amount of tokens to sendmsg
- Optional base64 encoded string to pass to the recipient contract’s Receive functionmemo
- 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