pub fn register_receive_nft_msg(
    your_contracts_code_hash: String,
    also_implements_batch_receive_nft: Option<bool>,
    padding: Option<String>,
    block_size: usize,
    callback_code_hash: String,
    contract_addr: HumanAddr
) -> StdResult<CosmosMsg>
Expand description

Returns a StdResult used to execute RegisterReceiveNft

Arguments

  • your_contracts_code_hash - String holding the code hash of your contract
  • also_implements_batch_receive_nft - Optional bool that is true if your contract also implements BatchReceiveNft. Defaults to false if omitted
  • 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