pub trait IndexResponse {
    // Required methods
    fn events(&self) -> Vec<Event>;
    fn event_attr_value(
        &self,
        event_type: &str,
        attr_key: &str
    ) -> StdResult<String>;
    fn data(&self) -> Option<Binary>;

    // Provided methods
    fn instantiated_contract_address(&self) -> StdResult<Addr> { ... }
    fn uploaded_code_id(&self) -> StdResult<u64> { ... }
}
Expand description

Index data returned by transactions which are applicable to both AppResponse (mock env) and TxResponse (live env)

Required Methods§

source

fn events(&self) -> Vec<Event>

source

fn event_attr_value( &self, event_type: &str, attr_key: &str ) -> StdResult<String>

source

fn data(&self) -> Option<Binary>

Provided Methods§

Implementations on Foreign Types§

source§

impl IndexResponse for AppResponse

source§

fn events(&self) -> Vec<Event>

source§

fn data(&self) -> Option<Binary>

source§

fn event_attr_value( &self, event_type: &str, attr_key: &str ) -> StdResult<String>

Implementors§