Trait abstract_std::ibc_client::QueryMsgFns

source ·
pub trait QueryMsgFns<Chain: QueryHandler + ChainState>: CwOrchQuery<Chain, QueryMsg = QueryMsg> {
    // Provided methods
    fn ownership(&self) -> Result<Ownership<Addr>, CwOrchError> { ... }
    fn config(&self) -> Result<ConfigResponse, CwOrchError> { ... }
    fn host(&self, chain_name: String) -> Result<HostResponse, CwOrchError> { ... }
    fn list_accounts(
        &self,
        limit: Option<u32>,
        start: Option<(AccountId, String)>
    ) -> Result<ListAccountsResponse, CwOrchError> { ... }
    fn account(
        &self,
        account_id: AccountId,
        chain: String
    ) -> Result<AccountResponse, CwOrchError> { ... }
    fn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwOrchError> { ... }
    fn list_remote_proxies(
        &self
    ) -> Result<ListRemoteProxiesResponse, CwOrchError> { ... }
    fn list_remote_proxies_by_account_id(
        &self,
        account_id: AccountId
    ) -> Result<ListRemoteProxiesResponse, CwOrchError> { ... }
    fn list_ibc_infrastructures(
        &self
    ) -> Result<ListIbcInfrastructureResponse, 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 ownership(&self) -> Result<Ownership<Addr>, CwOrchError>

Automatically generated wrapper around QueryMsg::Ownership variant

source

fn config(&self) -> Result<ConfigResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::Config variant

source

fn host(&self, chain_name: String) -> Result<HostResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::Host variant

source

fn list_accounts( &self, limit: Option<u32>, start: Option<(AccountId, String)> ) -> Result<ListAccountsResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::ListAccounts variant

source

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

Automatically generated wrapper around QueryMsg::Account variant

source

fn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::ListRemoteHosts variant

source

fn list_remote_proxies(&self) -> Result<ListRemoteProxiesResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::ListRemoteProxies variant

source

fn list_remote_proxies_by_account_id( &self, account_id: AccountId ) -> Result<ListRemoteProxiesResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::ListRemoteProxiesByAccountId variant

source

fn list_ibc_infrastructures( &self ) -> Result<ListIbcInfrastructureResponse, CwOrchError>

Automatically generated wrapper around QueryMsg::ListIbcInfrastructures variant

Object Safety§

This trait is not object safe.

Implementors§

source§

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