pub fn inventory_approvals_query<Q: Querier>(
    querier: &Q,
    address: HumanAddr,
    viewing_key: String,
    include_expired: Option<bool>,
    block_size: usize,
    callback_code_hash: String,
    contract_addr: HumanAddr
) -> StdResult<InventoryApprovals>
Expand description

Returns a StdResult<InventoryApprovals> from performing InventoryApprovals query

Arguments

  • querier - a reference to the Querier dependency of the querying contract
  • address - the address whose approvals are being requested
  • viewing_key - String holding the viewing key of the specified address
  • include_expired - Optionally include expired Approvals in the response list. If ommitted or false, expired Approvals will be filtered out of the response
  • block_size - pad the message to blocks of this size
  • callback_code_hash - String holding the code hash of the contract being queried
  • contract_addr - address of the contract being queried