Trait abstract_std::ans_host::AsyncQueryMsgFns

source ·
pub trait AsyncQueryMsgFns<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync>: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>
where QueryMsg: Into<CwOrchQueryMsgType>,
{
Show 15 methods // Provided methods async fn config_async(&self) -> Result<ConfigResponse, CwEnvError> { ... } async fn assets_async( &self, names: Vec<String>, ) -> Result<AssetsResponse, CwEnvError> { ... } async fn asset_list_async( &self, filter: Option<AssetFilter>, limit: Option<u8>, start_after: Option<String>, ) -> Result<AssetListResponse, CwEnvError> { ... } async fn asset_infos_async( &self, infos: Vec<AssetInfoUnchecked>, ) -> Result<AssetInfosResponse, CwEnvError> { ... } async fn asset_info_list_async( &self, filter: Option<AssetInfoFilter>, limit: Option<u8>, start_after: Option<AssetInfoUnchecked>, ) -> Result<AssetInfoListResponse, CwEnvError> { ... } async fn contracts_async( &self, entries: Vec<ContractEntry>, ) -> Result<ContractsResponse, CwEnvError> { ... } async fn contract_list_async( &self, filter: Option<ContractFilter>, limit: Option<u8>, start_after: Option<ContractEntry>, ) -> Result<ContractListResponse, CwEnvError> { ... } async fn channels_async( &self, entries: Vec<ChannelEntry>, ) -> Result<ChannelsResponse, CwEnvError> { ... } async fn channel_list_async( &self, filter: Option<ChannelFilter>, limit: Option<u8>, start_after: Option<ChannelEntry>, ) -> Result<ChannelListResponse, CwEnvError> { ... } async fn registered_dexes_async( &self, ) -> Result<RegisteredDexesResponse, CwEnvError> { ... } async fn pools_async( &self, pairings: Vec<DexAssetPairing>, ) -> Result<PoolsResponse, CwEnvError> { ... } async fn pool_list_async( &self, filter: Option<AssetPairingFilter>, limit: Option<u8>, start_after: Option<DexAssetPairing>, ) -> Result<PoolAddressListResponse, CwEnvError> { ... } async fn pool_metadatas_async( &self, ids: Vec<UniquePoolId>, ) -> Result<PoolMetadatasResponse, CwEnvError> { ... } async fn pool_metadata_list_async( &self, filter: Option<PoolMetadataFilter>, limit: Option<u8>, start_after: Option<UniquePoolId>, ) -> Result<PoolMetadataListResponse, CwEnvError> { ... } async fn ownership_async(&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

async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Config variant

source

async fn assets_async( &self, names: Vec<String>, ) -> Result<AssetsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Assets variant

source

async fn asset_list_async( &self, filter: Option<AssetFilter>, limit: Option<u8>, start_after: Option<String>, ) -> Result<AssetListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::AssetList variant

source

async fn asset_infos_async( &self, infos: Vec<AssetInfoUnchecked>, ) -> Result<AssetInfosResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::AssetInfos variant

source

async fn asset_info_list_async( &self, filter: Option<AssetInfoFilter>, limit: Option<u8>, start_after: Option<AssetInfoUnchecked>, ) -> Result<AssetInfoListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::AssetInfoList variant

source

async fn contracts_async( &self, entries: Vec<ContractEntry>, ) -> Result<ContractsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Contracts variant

source

async fn contract_list_async( &self, filter: Option<ContractFilter>, limit: Option<u8>, start_after: Option<ContractEntry>, ) -> Result<ContractListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ContractList variant

source

async fn channels_async( &self, entries: Vec<ChannelEntry>, ) -> Result<ChannelsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Channels variant

source

async fn channel_list_async( &self, filter: Option<ChannelFilter>, limit: Option<u8>, start_after: Option<ChannelEntry>, ) -> Result<ChannelListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::ChannelList variant

source

async fn registered_dexes_async( &self, ) -> Result<RegisteredDexesResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::RegisteredDexes variant

source

async fn pools_async( &self, pairings: Vec<DexAssetPairing>, ) -> Result<PoolsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::Pools variant

source

async fn pool_list_async( &self, filter: Option<AssetPairingFilter>, limit: Option<u8>, start_after: Option<DexAssetPairing>, ) -> Result<PoolAddressListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::PoolList variant

source

async fn pool_metadatas_async( &self, ids: Vec<UniquePoolId>, ) -> Result<PoolMetadatasResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::PoolMetadatas variant

source

async fn pool_metadata_list_async( &self, filter: Option<PoolMetadataFilter>, limit: Option<u8>, start_after: Option<UniquePoolId>, ) -> Result<PoolMetadataListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::PoolMetadataList variant

source

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

Automatically generated wrapper around QueryMsg::Ownership variant

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContract
where QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,