pub trait IbcClientQueryFns<Chain>: CwOrchQuery<Chain, QueryMsg = QueryMsg>where
    Chain: CwEnv,{
    // Provided methods
    fn config(&self) -> Result<ConfigResponse, CwEnvError> { ... }
    fn list_accounts(&self) -> Result<ListAccountsResponse, CwEnvError> { ... }
    fn account(
        &self,
        account_id: AccountId,
        chain: String
    ) -> Result<AccountResponse, CwEnvError> { ... }
    fn latest_query_result(
        &self,
        account_id: AccountId,
        chain: String
    ) -> Result<LatestQueryResponse, CwEnvError> { ... }
    fn list_channels(&self) -> Result<ListChannelsResponse, 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 list_accounts(&self) -> Result<ListAccountsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ListAccounts variant

source

fn account( &self, account_id: AccountId, chain: String ) -> Result<AccountResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Account variant

source

fn latest_query_result( &self, account_id: AccountId, chain: String ) -> Result<LatestQueryResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::LatestQueryResult variant

source

fn list_channels(&self) -> Result<ListChannelsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ListChannels variant

Implementors§

source§

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