Trait abstract_std::adapter::BaseQueryMsgFns

source ·
pub trait BaseQueryMsgFns<Chain: QueryHandler + ChainState, ModuleMsg>: CwOrchQuery<Chain, QueryMsg = QueryMsg<ModuleMsg>> {
    // Provided methods
    fn base_config(&self) -> Result<AdapterConfigResponse, CwOrchError> { ... }
    fn authorized_addresses(
        &self,
        proxy_address: String
    ) -> Result<AuthorizedAddressesResponse, CwOrchError> { ... }
    fn module_data(&self) -> Result<ModuleDataResponse, CwOrchError> { ... }
}
Expand description

Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.

Provided Methods§

source

fn base_config(&self) -> Result<AdapterConfigResponse, CwOrchError>

Automatically generated wrapper around BaseQueryMsg::BaseConfig variant

source

fn authorized_addresses( &self, proxy_address: String ) -> Result<AuthorizedAddressesResponse, CwOrchError>

Automatically generated wrapper around BaseQueryMsg::AuthorizedAddresses variant

source

fn module_data(&self) -> Result<ModuleDataResponse, CwOrchError>

Automatically generated wrapper around BaseQueryMsg::ModuleData variant

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<SupportedContract, Chain: QueryHandler + ChainState, ModuleMsg> BaseQueryMsgFns<Chain, ModuleMsg> for SupportedContract
where SupportedContract: CwOrchQuery<Chain, QueryMsg = QueryMsg<ModuleMsg>>,