pub trait MFactoryQueryFns<Chain>: CwOrchQuery<Chain, QueryMsg = QueryMsg>where
    Chain: CwEnv,{
    // Provided methods
    fn config(&self) -> Result<ConfigResponse, CwEnvError> { ... }
    fn context(&self) -> Result<ContextResponse, CwEnvError> { ... }
    fn simulate_install_modules(
        &self,
        modules: Vec<ModuleInfo, Global>
    ) -> Result<SimulateInstallModulesResponse, CwEnvError> { ... }
    fn ownership(&self) -> Result<Ownership<String>, CwEnvError> { ... }
}
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 config(&self) -> Result<ConfigResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Config variant

source

fn context(&self) -> Result<ContextResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Context variant

source

fn simulate_install_modules( &self, modules: Vec<ModuleInfo, Global> ) -> Result<SimulateInstallModulesResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::SimulateInstallModules variant

source

fn ownership(&self) -> Result<Ownership<String>, CwEnvError>

Automatically generated wrapper around QueryMsg::Ownership variant

Implementors§

source§

impl<SupportedContract, Chain> QueryMsgFns<Chain> for SupportedContractwhere Chain: CwEnv, SupportedContract: CwOrchQuery<Chain, QueryMsg = QueryMsg>,