pub struct Application<T: CwEnv, M> { /* private fields */ }
Expand description
An application represents a module installed on a (sub)-Account
.
It implements cw-orch traits of the module itself, so you can call its methods directly from the application struct.
Implementations§
Source§impl<Chain: CwEnv, M: RegisteredModule> Application<Chain, M>
impl<Chain: CwEnv, M: RegisteredModule> Application<Chain, M>
Sourcepub fn module<T: RegisteredModule + From<Contract<Chain>>>(
&self,
) -> Result<T, AbstractClientError>
pub fn module<T: RegisteredModule + From<Contract<Chain>>>( &self, ) -> Result<T, AbstractClientError>
Attempts to get a module on the application. This would typically be a dependency of the
module of type M
.
Sourcepub fn into_service(self) -> Service<Chain, M>
pub fn into_service(self) -> Service<Chain, M>
Turn the Application
into a Service
for registration in ANS.
Source§impl<Chain: CwEnv, M: RegisteredModule + MigratableContract> Application<Chain, M>
impl<Chain: CwEnv, M: RegisteredModule + MigratableContract> Application<Chain, M>
Sourcepub fn upgrade(
&self,
migrate_msg: Option<&M::MigrateMsg>,
) -> Result<(), AbstractClientError>
pub fn upgrade( &self, migrate_msg: Option<&M::MigrateMsg>, ) -> Result<(), AbstractClientError>
Upgrade module on account to version of Application
Source§impl<Chain: CwEnv, M: ContractInstance<Chain>> Application<Chain, M>
impl<Chain: CwEnv, M: ContractInstance<Chain>> Application<Chain, M>
Authorize this application on installed adapters. Accepts Module Id’s of adapters
Trait Implementations§
Source§impl<T: Clone + CwEnv, M: Clone> Clone for Application<T, M>
impl<T: Clone + CwEnv, M: Clone> Clone for Application<T, M>
Source§fn clone(&self) -> Application<T, M>
fn clone(&self) -> Application<T, M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Chain: CwEnv, M: ContractInstance<Chain>> ContractInstance<Chain> for Application<Chain, M>
impl<Chain: CwEnv, M: ContractInstance<Chain>> ContractInstance<Chain> for Application<Chain, M>
Source§fn as_instance(&self) -> &Contract<Chain>
fn as_instance(&self) -> &Contract<Chain>
Return a reference to the underlying contract instance.
Source§fn as_instance_mut(&mut self) -> &mut Contract<Chain>
fn as_instance_mut(&mut self) -> &mut Contract<Chain>
Return a mutable reference to the underlying contract instance.
Source§fn set_address(&self, address: &Addr)
fn set_address(&self, address: &Addr)
Sets the address for the contract. Useful when the contract is already initialized
and not registered in the configured state file.
Source§fn remove_address(&self)
fn remove_address(&self)
Removes the address for the contract
Source§fn set_default_address(&mut self, address: &Addr)
fn set_default_address(&mut self, address: &Addr)
Sets a default address for the contract. If the contract already has an address registered in the state, this won’t be used.
This is mostly used to ship address with a cw-orch package.
Source§fn set_code_id(&self, code_id: u64)
fn set_code_id(&self, code_id: u64)
Sets the code_id for the contract. Useful when the contract is already initialized
and not registered in the configured state file.
Source§fn remove_code_id(&self)
fn remove_code_id(&self)
Removes the code_id for the contract
Source§fn set_default_code_id(&mut self, code_id: u64)
fn set_default_code_id(&mut self, code_id: u64)
Sets a default address for the contract. If the contract already has an address registered in the state, this won’t be used.
This is mostly used to ship address with a cw-orch package.
Source§impl<Chain: CwEnv, M: ExecutableContract + ContractInstance<Chain>> ExecutableContract for Application<Chain, M>
impl<Chain: CwEnv, M: ExecutableContract + ContractInstance<Chain>> ExecutableContract for Application<Chain, M>
Source§type ExecuteMsg = <M as ExecutableContract>::ExecuteMsg
type ExecuteMsg = <M as ExecutableContract>::ExecuteMsg
Execute message for the contract.
Source§impl<T: CwEnv, M> From<Application<T, M>> for Service<T, M>
impl<T: CwEnv, M> From<Application<T, M>> for Service<T, M>
Source§fn from(value: Application<T, M>) -> Self
fn from(value: Application<T, M>) -> Self
Converts to this type from the input type.
Source§impl<Chain: CwEnv, M: InstantiableContract + ContractInstance<Chain>> InstantiableContract for Application<Chain, M>
Allows to access the module’s methods directly from the application struct
impl<Chain: CwEnv, M: InstantiableContract + ContractInstance<Chain>> InstantiableContract for Application<Chain, M>
Allows to access the module’s methods directly from the application struct
Source§type InstantiateMsg = <M as InstantiableContract>::InstantiateMsg
type InstantiateMsg = <M as InstantiableContract>::InstantiateMsg
Instantiate message for the contract.
Source§impl<Chain: CwEnv, M: MigratableContract + ContractInstance<Chain>> MigratableContract for Application<Chain, M>
impl<Chain: CwEnv, M: MigratableContract + ContractInstance<Chain>> MigratableContract for Application<Chain, M>
Source§type MigrateMsg = <M as MigratableContract>::MigrateMsg
type MigrateMsg = <M as MigratableContract>::MigrateMsg
Migrate message for the contract.
Source§impl<Chain: CwEnv, M: QueryableContract + ContractInstance<Chain>> QueryableContract for Application<Chain, M>
impl<Chain: CwEnv, M: QueryableContract + ContractInstance<Chain>> QueryableContract for Application<Chain, M>
Source§type QueryMsg = <M as QueryableContract>::QueryMsg
type QueryMsg = <M as QueryableContract>::QueryMsg
Query message for the contract.
Auto Trait Implementations§
impl<T, M> Freeze for Application<T, M>
impl<T, M> RefUnwindSafe for Application<T, M>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, M> Send for Application<T, M>
impl<T, M> Sync for Application<T, M>
impl<T, M> Unpin for Application<T, M>
impl<T, M> UnwindSafe for Application<T, M>where
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<Chain, CwOrchExecuteMsgType, Authenticator, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType, Authenticator> for SupportedContractwhere
Chain: TxHandler,
Authenticator: Debug + Serialize + DeserializeOwned,
ExecuteMsg<Authenticator>: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, Authenticator, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType, Authenticator> for SupportedContractwhere
Chain: TxHandler,
Authenticator: Debug + Serialize + DeserializeOwned,
ExecuteMsg<Authenticator>: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn execute_msgs(
&self,
msgs: Vec<CosmosMsg>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute_msgs( &self, msgs: Vec<CosmosMsg>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Execute variant
Source§fn execute_with_data(
&self,
msg: CosmosMsg,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute_with_data( &self, msg: CosmosMsg, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ExecuteWithData variant
Source§fn execute_on_module(
&self,
exec_msg: Binary,
funds: Vec<Coin>,
module_id: impl Into<String>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute_on_module( &self, exec_msg: Binary, funds: Vec<Coin>, module_id: impl Into<String>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ExecuteOnModule variant
Source§fn admin_execute(
&self,
addr: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn admin_execute( &self, addr: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AdminExecute variant
Source§fn admin_execute_on_module(
&self,
module_id: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn admin_execute_on_module( &self, module_id: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AdminExecuteOnModule variant
Source§fn ica_action(
&self,
action_query_msg: Binary,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn ica_action( &self, action_query_msg: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::IcaAction variant
Source§fn update_internal_config(
&self,
arg0: InternalConfigAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_internal_config( &self, arg0: InternalConfigAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateInternalConfig variant
Source§fn install_modules(
&self,
modules: Vec<ModuleInstallConfig>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn install_modules( &self, modules: Vec<ModuleInstallConfig>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::InstallModules variant
Source§fn uninstall_module(
&self,
module_id: impl Into<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn uninstall_module( &self, module_id: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UninstallModule variant
Source§fn upgrade(
&self,
modules: Vec<(ModuleInfo, Option<Binary>)>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn upgrade( &self, modules: Vec<(ModuleInfo, Option<Binary>)>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Upgrade variant
Source§fn create_sub_account(
&self,
install_modules: Vec<ModuleInstallConfig>,
account_id: Option<u32>,
description: Option<String>,
link: Option<String>,
name: Option<String>,
namespace: Option<String>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn create_sub_account( &self, install_modules: Vec<ModuleInstallConfig>, account_id: Option<u32>, description: Option<String>, link: Option<String>, name: Option<String>, namespace: Option<String>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::CreateSubAccount variant
Source§fn update_info(
&self,
description: Option<String>,
link: Option<String>,
name: Option<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_info( &self, description: Option<String>, link: Option<String>, name: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateInfo variant
Source§fn update_status(
&self,
is_suspended: Option<bool>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_status( &self, is_suspended: Option<bool>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateStatus variant
Source§fn update_sub_account(
&self,
arg0: UpdateSubAccountAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_sub_account( &self, arg0: UpdateSubAccountAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateSubAccount variant
Source§fn update_ownership(
&self,
arg0: GovAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: GovAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§fn add_auth_method(
&self,
add_authenticator: Authenticator,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn add_auth_method( &self, add_authenticator: Authenticator, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AddAuthMethod variant
Source§fn remove_auth_method(
&self,
id: u8,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_auth_method( &self, id: u8, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveAuthMethod variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn module_versions(
&self,
ids: Vec<String>,
) -> Result<ModuleVersionsResponse, CwEnvError>
fn module_versions( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleVersions variant
Source§fn module_addresses(
&self,
ids: Vec<String>,
) -> Result<ModuleAddressesResponse, CwEnvError>
fn module_addresses( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleAddresses variant
Source§fn module_infos(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<ModuleInfosResponse, CwEnvError>
fn module_infos( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleInfos variant
Source§fn info(&self) -> Result<InfoResponse, CwEnvError>
fn info(&self) -> Result<InfoResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Info variant
Source§fn sub_account_ids(
&self,
limit: Option<u8>,
start_after: Option<u32>,
) -> Result<SubAccountIdsResponse, CwEnvError>
fn sub_account_ids( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::SubAccountIds variant
Source§fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::TopLevelOwner variant
Source§fn ownership(&self) -> Result<Ownership<String>, CwEnvError>
fn ownership(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§fn authenticator_by_id(&self, id: u8) -> Result<Binary, CwEnvError>
fn authenticator_by_id(&self, id: u8) -> Result<Binary, CwEnvError>
Automatically generated wrapper around QueryMsg::AuthenticatorByID variant
Source§fn authenticator_i_ds(&self) -> Result<Binary, CwEnvError>
fn authenticator_i_ds(&self) -> Result<Binary, CwEnvError>
Automatically generated wrapper around QueryMsg::AuthenticatorIDs variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncBaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncBaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn base_config_async(&self) -> Result<AdapterConfigResponse, CwEnvError>
async fn base_config_async(&self) -> Result<AdapterConfigResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Automatically generated wrapper around BaseQueryMsg::AuthorizedAddresses variant
Source§async fn module_data_async(&self) -> Result<ModuleDataResponse, CwEnvError>
async fn module_data_async(&self) -> Result<ModuleDataResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncBaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncBaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn base_config_async(&self) -> Result<AppConfigResponse, CwEnvError>
async fn base_config_async(&self) -> Result<AppConfigResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Source§async fn base_admin_async(&self) -> Result<AdminResponse, CwEnvError>
async fn base_admin_async(&self) -> Result<AdminResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseAdmin variant
Source§async fn module_data_async(&self) -> Result<ModuleDataResponse, CwEnvError>
async fn module_data_async(&self) -> Result<ModuleDataResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Source§async fn top_level_owner_async(
&self,
) -> Result<TopLevelOwnerResponse, CwEnvError>
async fn top_level_owner_async( &self, ) -> Result<TopLevelOwnerResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::TopLevelOwner variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§async fn module_versions_async(
&self,
ids: Vec<String>,
) -> Result<ModuleVersionsResponse, CwEnvError>
async fn module_versions_async( &self, ids: Vec<String>, ) -> Result<ModuleVersionsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleVersions variant
Source§async fn module_addresses_async(
&self,
ids: Vec<String>,
) -> Result<ModuleAddressesResponse, CwEnvError>
async fn module_addresses_async( &self, ids: Vec<String>, ) -> Result<ModuleAddressesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleAddresses variant
Source§async fn module_infos_async(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<ModuleInfosResponse, CwEnvError>
async fn module_infos_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<ModuleInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleInfos variant
Source§async fn info_async(&self) -> Result<InfoResponse, CwEnvError>
async fn info_async(&self) -> Result<InfoResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Info variant
Source§async fn sub_account_ids_async(
&self,
limit: Option<u8>,
start_after: Option<u32>,
) -> Result<SubAccountIdsResponse, CwEnvError>
async fn sub_account_ids_async( &self, limit: Option<u8>, start_after: Option<u32>, ) -> Result<SubAccountIdsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::SubAccountIds variant
Source§async fn top_level_owner_async(
&self,
) -> Result<TopLevelOwnerResponse, CwEnvError>
async fn top_level_owner_async( &self, ) -> Result<TopLevelOwnerResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::TopLevelOwner variant
Source§async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§async fn authenticator_by_id_async(&self, id: u8) -> Result<Binary, CwEnvError>
async fn authenticator_by_id_async(&self, id: u8) -> Result<Binary, CwEnvError>
Automatically generated wrapper around QueryMsg::AuthenticatorByID variant
Source§async fn authenticator_i_ds_async(&self) -> Result<Binary, CwEnvError>
async fn authenticator_i_ds_async(&self) -> Result<Binary, CwEnvError>
Automatically generated wrapper around QueryMsg::AuthenticatorIDs variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
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>
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<AssetsResponse, CwEnvError>
async fn asset_list_async( &self, filter: Option<AssetFilter>, limit: Option<u8>, start_after: Option<String>, ) -> Result<AssetsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AssetList variant
Source§async fn asset_infos_async(
&self,
infos: Vec<AssetInfoBase<String>>,
) -> Result<AssetInfosResponse, CwEnvError>
async fn asset_infos_async( &self, infos: Vec<AssetInfoBase<String>>, ) -> 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<AssetInfoBase<String>>,
) -> Result<AssetInfosResponse, CwEnvError>
async fn asset_info_list_async( &self, filter: Option<AssetInfoFilter>, limit: Option<u8>, start_after: Option<AssetInfoBase<String>>, ) -> Result<AssetInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AssetInfoList variant
Source§async fn contracts_async(
&self,
entries: Vec<ContractEntry>,
) -> Result<ContractsResponse, CwEnvError>
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>
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>
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>
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>
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>
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>
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>
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>
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>
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn ownership_async(&self) -> Result<Ownership<Addr>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<Addr>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§async fn host_async(
&self,
chain_name: TruncatedChainId,
) -> Result<HostResponse, CwEnvError>
async fn host_async( &self, chain_name: TruncatedChainId, ) -> Result<HostResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Host variant
Source§async fn list_accounts_async(
&self,
limit: Option<u32>,
start: Option<(AccountId, String)>,
) -> Result<ListAccountsResponse, CwEnvError>
async fn list_accounts_async( &self, limit: Option<u32>, start: Option<(AccountId, String)>, ) -> Result<ListAccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListAccounts variant
Source§async fn remote_account_async(
&self,
account_id: AccountId,
chain_name: TruncatedChainId,
) -> Result<AccountResponse, CwEnvError>
async fn remote_account_async( &self, account_id: AccountId, chain_name: TruncatedChainId, ) -> Result<AccountResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Account variant
Source§async fn list_remote_hosts_async(
&self,
) -> Result<ListRemoteHostsResponse, CwEnvError>
async fn list_remote_hosts_async( &self, ) -> Result<ListRemoteHostsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListRemoteHosts variant
Source§async fn list_remote_proxies_async(
&self,
) -> Result<ListRemoteAccountsResponse, CwEnvError>
async fn list_remote_proxies_async( &self, ) -> Result<ListRemoteAccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListRemoteProxies variant
Source§async fn list_remote_accounts_by_account_id_async(
&self,
account_id: AccountId,
) -> Result<ListRemoteAccountsResponse, CwEnvError>
async fn list_remote_accounts_by_account_id_async( &self, account_id: AccountId, ) -> Result<ListRemoteAccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListRemoteAccountsByAccountId variant
Source§async fn list_ibc_infrastructures_async(
&self,
) -> Result<ListIbcInfrastructureResponse, CwEnvError>
async fn list_ibc_infrastructures_async( &self, ) -> Result<ListIbcInfrastructureResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListIbcInfrastructures variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn ownership_async(&self) -> Result<Ownership<Addr>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<Addr>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§async fn client_proxies_async(
&self,
limit: Option<u32>,
start_after: Option<String>,
) -> Result<ClientProxiesResponse, CwEnvError>
async fn client_proxies_async( &self, limit: Option<u32>, start_after: Option<String>, ) -> Result<ClientProxiesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ClientProxies variant
Source§async fn client_proxy_async(
&self,
chain: impl Into<String>,
) -> Result<ClientProxyResponse, CwEnvError>
async fn client_proxy_async( &self, chain: impl Into<String>, ) -> Result<ClientProxyResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ClientProxy variant
Source§async fn module_query_async(
&self,
msg: Binary,
target_module: InstalledModuleIdentification,
) -> Result<Binary, CwEnvError>
async fn module_query_async( &self, msg: Binary, target_module: InstalledModuleIdentification, ) -> Result<Binary, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleQuery variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§async fn simulate_install_modules_async(
&self,
modules: Vec<ModuleInfo>,
) -> Result<SimulateInstallModulesResponse, CwEnvError>
async fn simulate_install_modules_async( &self, modules: Vec<ModuleInfo>, ) -> Result<SimulateInstallModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::SimulateInstallModules variant
Source§async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn accounts_async(
&self,
account_ids: Vec<AccountId>,
) -> Result<AccountsResponse, CwEnvError>
async fn accounts_async( &self, account_ids: Vec<AccountId>, ) -> Result<AccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Accounts variant
Source§async fn modules_async(
&self,
infos: Vec<ModuleInfo>,
) -> Result<ModulesResponse, CwEnvError>
async fn modules_async( &self, infos: Vec<ModuleInfo>, ) -> Result<ModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Modules variant
Source§async fn namespaces_async(
&self,
accounts: Vec<AccountId>,
) -> Result<NamespacesResponse, CwEnvError>
async fn namespaces_async( &self, accounts: Vec<AccountId>, ) -> Result<NamespacesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespaces variant
Source§async fn namespace_async(
&self,
namespace: Namespace,
) -> Result<NamespaceResponse, CwEnvError>
async fn namespace_async( &self, namespace: Namespace, ) -> Result<NamespaceResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespace variant
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§async fn account_list_async(
&self,
limit: Option<u8>,
start_after: Option<AccountId>,
) -> Result<AccountListResponse, CwEnvError>
async fn account_list_async( &self, limit: Option<u8>, start_after: Option<AccountId>, ) -> Result<AccountListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AccountList variant
Source§async fn module_list_async(
&self,
filter: Option<ModuleFilter>,
limit: Option<u8>,
start_after: Option<ModuleInfo>,
) -> Result<ModulesListResponse, CwEnvError>
async fn module_list_async( &self, filter: Option<ModuleFilter>, limit: Option<u8>, start_after: Option<ModuleInfo>, ) -> Result<ModulesListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleList variant
Source§async fn namespace_list_async(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<NamespaceListResponse, CwEnvError>
async fn namespace_list_async( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<NamespaceListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::NamespaceList variant
Source§async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> AsyncQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: AsyncWasmQuerier + ChainState,
CwOrchQueryMsgType: Sync,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
async fn config_async(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§async fn ica_action_async(
&self,
account_address: impl Into<String>,
actions: Vec<IcaAction>,
chain: TruncatedChainId,
) -> Result<IcaActionResult, CwEnvError>
async fn ica_action_async( &self, account_address: impl Into<String>, actions: Vec<IcaAction>, chain: TruncatedChainId, ) -> Result<IcaActionResult, CwEnvError>
Automatically generated wrapper around QueryMsg::IcaAction variant
Source§async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
async fn ownership_async(&self) -> Result<Ownership<String>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> BaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> BaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn base_config(&self) -> Result<AdapterConfigResponse, CwEnvError>
fn base_config(&self) -> Result<AdapterConfigResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Automatically generated wrapper around BaseQueryMsg::AuthorizedAddresses variant
Source§fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>
fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> BaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> BaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
BaseQueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn base_config(&self) -> Result<AppConfigResponse, CwEnvError>
fn base_config(&self) -> Result<AppConfigResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Source§fn base_admin(&self) -> Result<AdminResponse, CwEnvError>
fn base_admin(&self) -> Result<AdminResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseAdmin variant
Source§fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>
fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Source§fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::TopLevelOwner variant
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, Chain> CwOrchExecute<Chain> for T
impl<T, Chain> CwOrchExecute<Chain> for T
Source§fn execute(
&self,
execute_msg: &Self::ExecuteMsg,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn execute( &self, execute_msg: &Self::ExecuteMsg, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Send a ExecuteMsg to the contract.
Source§impl<T, Chain> CwOrchInstantiate<Chain> for T
impl<T, Chain> CwOrchInstantiate<Chain> for T
Source§fn instantiate(
&self,
instantiate_msg: &Self::InstantiateMsg,
admin: Option<&Addr>,
coins: &[Coin],
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn instantiate( &self, instantiate_msg: &Self::InstantiateMsg, admin: Option<&Addr>, coins: &[Coin], ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Instantiates the contract.
Source§fn instantiate2(
&self,
instantiate_msg: &Self::InstantiateMsg,
admin: Option<&Addr>,
coins: &[Coin],
salt: Binary,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn instantiate2( &self, instantiate_msg: &Self::InstantiateMsg, admin: Option<&Addr>, coins: &[Coin], salt: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Instantiates the contract using instantiate2
Source§impl<T, Chain> CwOrchMigrate<Chain> for T
impl<T, Chain> CwOrchMigrate<Chain> for T
Source§fn migrate(
&self,
migrate_msg: &Self::MigrateMsg,
new_code_id: u64,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn migrate( &self, migrate_msg: &Self::MigrateMsg, new_code_id: u64, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Migrate the contract.
Source§impl<T, Chain> CwOrchQuery<Chain> for T
impl<T, Chain> CwOrchQuery<Chain> for T
Source§fn raw_query(&self, query_keys: Vec<u8>) -> Result<Vec<u8>, CwEnvError>
fn raw_query(&self, query_keys: Vec<u8>) -> Result<Vec<u8>, CwEnvError>
Query the contract raw state from an raw binary key
Source§fn item_query<T>(&self, query_item: Item<T>) -> Result<T, CwEnvError>where
T: Serialize + DeserializeOwned,
fn item_query<T>(&self, query_item: Item<T>) -> Result<T, CwEnvError>where
T: Serialize + DeserializeOwned,
Query the contract raw state from an cw-storage-plus::Item
Source§impl<Chain, T> Environment<Chain> for T
impl<Chain, T> Environment<Chain> for T
Source§fn environment(&self) -> &Chain
fn environment(&self) -> &Chain
Returns the chain that this structure executes on
Source§impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn update_contract_addresses(
&self,
to_add: Vec<(UncheckedContractEntry, String)>,
to_remove: Vec<UncheckedContractEntry>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_contract_addresses( &self, to_add: Vec<(UncheckedContractEntry, String)>, to_remove: Vec<UncheckedContractEntry>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateContractAddresses variant
Source§fn update_asset_addresses(
&self,
to_add: Vec<(String, AssetInfoBase<String>)>,
to_remove: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_asset_addresses( &self, to_add: Vec<(String, AssetInfoBase<String>)>, to_remove: Vec<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateAssetAddresses variant
Source§fn update_channels(
&self,
to_add: Vec<(UncheckedChannelEntry, String)>,
to_remove: Vec<UncheckedChannelEntry>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_channels( &self, to_add: Vec<(UncheckedChannelEntry, String)>, to_remove: Vec<UncheckedChannelEntry>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateChannels variant
Source§fn update_dexes(
&self,
to_add: Vec<String>,
to_remove: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_dexes( &self, to_add: Vec<String>, to_remove: Vec<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateDexes variant
Source§fn update_pools(
&self,
to_add: Vec<(PoolAddressBase<String>, PoolMetadata)>,
to_remove: Vec<UniquePoolId>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_pools( &self, to_add: Vec<(PoolAddressBase<String>, PoolMetadata)>, to_remove: Vec<UniquePoolId>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdatePools variant
Source§fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§fn register_infrastructure(
&self,
chain: TruncatedChainId,
host: impl Into<String>,
note: impl Into<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn register_infrastructure( &self, chain: TruncatedChainId, host: impl Into<String>, note: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RegisterInfrastructure variant
Source§fn send_funds(
&self,
host_chain: TruncatedChainId,
memo: Option<String>,
receiver: Option<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn send_funds( &self, host_chain: TruncatedChainId, memo: Option<String>, receiver: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::SendFunds variant
Source§fn send_funds_with_actions(
&self,
actions: Vec<Binary>,
host_chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn send_funds_with_actions( &self, actions: Vec<Binary>, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::SendFundsWithActions variant
Source§fn register(
&self,
host_chain: TruncatedChainId,
install_modules: Vec<ModuleInstallConfig>,
namespace: Option<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn register( &self, host_chain: TruncatedChainId, install_modules: Vec<ModuleInstallConfig>, namespace: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Register variant
Source§fn module_ibc_action(
&self,
host_chain: TruncatedChainId,
msg: Binary,
target_module: ModuleInfo,
callback: Option<Callback>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn module_ibc_action( &self, host_chain: TruncatedChainId, msg: Binary, target_module: ModuleInfo, callback: Option<Callback>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ModuleIbcAction variant
Source§fn ibc_query(
&self,
callback: Callback,
host_chain: TruncatedChainId,
queries: Vec<QueryRequest<ModuleQuery>>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn ibc_query( &self, callback: Callback, host_chain: TruncatedChainId, queries: Vec<QueryRequest<ModuleQuery>>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::IbcQuery variant
Source§fn remote_action(
&self,
action: HostAction,
host_chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remote_action( &self, action: HostAction, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoteAction variant
Source§fn remove_host(
&self,
host_chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_host( &self, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveHost variant
Source§fn callback(
&self,
arg0: CallbackMessage,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn callback( &self, arg0: CallbackMessage, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Callback variant
Source§impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§fn register_chain_proxy(
&self,
chain: TruncatedChainId,
proxy: impl Into<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn register_chain_proxy( &self, chain: TruncatedChainId, proxy: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RegisterChainProxy variant
Source§fn remove_chain_proxy(
&self,
chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_chain_proxy( &self, chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveChainProxy variant
Source§fn ibc_execute(
&self,
account_address: impl Into<String>,
account_id: AccountId,
action: HostAction,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn ibc_execute( &self, account_address: impl Into<String>, account_id: AccountId, action: HostAction, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Execute variant
Source§fn module_execute(
&self,
msg: Binary,
source_module: InstalledModuleIdentification,
target_module: ModuleInfo,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn module_execute( &self, msg: Binary, source_module: InstalledModuleIdentification, target_module: ModuleInfo, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ModuleExecute variant
Source§fn fund(
&self,
src_account: AccountId,
src_chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn fund( &self, src_account: AccountId, src_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Fund variant
Source§impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn register_infrastructure(
&self,
chain: TruncatedChainId,
note: impl Into<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn register_infrastructure( &self, chain: TruncatedChainId, note: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RegisterInfrastructure variant
Source§fn remove_host(
&self,
host_chain: TruncatedChainId,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_host( &self, host_chain: TruncatedChainId, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveHost variant
Source§fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn install_modules(
&self,
modules: Vec<FactoryModuleInstallConfig>,
salt: Binary,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn install_modules( &self, modules: Vec<FactoryModuleInstallConfig>, salt: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::InstallModules variant
Source§fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn simulate_install_modules(
&self,
modules: Vec<ModuleInfo>,
) -> Result<SimulateInstallModulesResponse, CwEnvError>
fn simulate_install_modules( &self, modules: Vec<ModuleInfo>, ) -> Result<SimulateInstallModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::SimulateInstallModules variant
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn assets(&self, names: Vec<String>) -> Result<AssetsResponse, CwEnvError>
fn assets(&self, names: Vec<String>) -> Result<AssetsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Assets variant
Source§fn asset_list(
&self,
filter: Option<AssetFilter>,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<AssetsResponse, CwEnvError>
fn asset_list( &self, filter: Option<AssetFilter>, limit: Option<u8>, start_after: Option<String>, ) -> Result<AssetsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AssetList variant
Source§fn asset_infos(
&self,
infos: Vec<AssetInfoBase<String>>,
) -> Result<AssetInfosResponse, CwEnvError>
fn asset_infos( &self, infos: Vec<AssetInfoBase<String>>, ) -> Result<AssetInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AssetInfos variant
Source§fn asset_info_list(
&self,
filter: Option<AssetInfoFilter>,
limit: Option<u8>,
start_after: Option<AssetInfoBase<String>>,
) -> Result<AssetInfosResponse, CwEnvError>
fn asset_info_list( &self, filter: Option<AssetInfoFilter>, limit: Option<u8>, start_after: Option<AssetInfoBase<String>>, ) -> Result<AssetInfosResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AssetInfoList variant
Source§fn contracts(
&self,
entries: Vec<ContractEntry>,
) -> Result<ContractsResponse, CwEnvError>
fn contracts( &self, entries: Vec<ContractEntry>, ) -> Result<ContractsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Contracts variant
Source§fn contract_list(
&self,
filter: Option<ContractFilter>,
limit: Option<u8>,
start_after: Option<ContractEntry>,
) -> Result<ContractListResponse, CwEnvError>
fn contract_list( &self, filter: Option<ContractFilter>, limit: Option<u8>, start_after: Option<ContractEntry>, ) -> Result<ContractListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ContractList variant
Source§fn channels(
&self,
entries: Vec<ChannelEntry>,
) -> Result<ChannelsResponse, CwEnvError>
fn channels( &self, entries: Vec<ChannelEntry>, ) -> Result<ChannelsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Channels variant
Source§fn channel_list(
&self,
filter: Option<ChannelFilter>,
limit: Option<u8>,
start_after: Option<ChannelEntry>,
) -> Result<ChannelListResponse, CwEnvError>
fn channel_list( &self, filter: Option<ChannelFilter>, limit: Option<u8>, start_after: Option<ChannelEntry>, ) -> Result<ChannelListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ChannelList variant
Source§fn registered_dexes(&self) -> Result<RegisteredDexesResponse, CwEnvError>
fn registered_dexes(&self) -> Result<RegisteredDexesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::RegisteredDexes variant
Source§fn pools(
&self,
pairings: Vec<DexAssetPairing>,
) -> Result<PoolsResponse, CwEnvError>
fn pools( &self, pairings: Vec<DexAssetPairing>, ) -> Result<PoolsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Pools variant
Source§fn pool_list(
&self,
filter: Option<AssetPairingFilter>,
limit: Option<u8>,
start_after: Option<DexAssetPairing>,
) -> Result<PoolAddressListResponse, CwEnvError>
fn pool_list( &self, filter: Option<AssetPairingFilter>, limit: Option<u8>, start_after: Option<DexAssetPairing>, ) -> Result<PoolAddressListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::PoolList variant
Source§fn pool_metadatas(
&self,
ids: Vec<UniquePoolId>,
) -> Result<PoolMetadatasResponse, CwEnvError>
fn pool_metadatas( &self, ids: Vec<UniquePoolId>, ) -> Result<PoolMetadatasResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::PoolMetadatas variant
Source§fn pool_metadata_list(
&self,
filter: Option<PoolMetadataFilter>,
limit: Option<u8>,
start_after: Option<UniquePoolId>,
) -> Result<PoolMetadataListResponse, CwEnvError>
fn pool_metadata_list( &self, filter: Option<PoolMetadataFilter>, limit: Option<u8>, start_after: Option<UniquePoolId>, ) -> Result<PoolMetadataListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::PoolMetadataList variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn ownership(&self) -> Result<Ownership<Addr>, CwEnvError>
fn ownership(&self) -> Result<Ownership<Addr>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn host(&self, chain_name: TruncatedChainId) -> Result<HostResponse, CwEnvError>
fn host(&self, chain_name: TruncatedChainId) -> Result<HostResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Host variant
Source§fn list_accounts(
&self,
limit: Option<u32>,
start: Option<(AccountId, String)>,
) -> Result<ListAccountsResponse, CwEnvError>
fn list_accounts( &self, limit: Option<u32>, start: Option<(AccountId, String)>, ) -> Result<ListAccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListAccounts variant
Source§fn remote_account(
&self,
account_id: AccountId,
chain_name: TruncatedChainId,
) -> Result<AccountResponse, CwEnvError>
fn remote_account( &self, account_id: AccountId, chain_name: TruncatedChainId, ) -> Result<AccountResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Account variant
Source§fn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwEnvError>
fn list_remote_hosts(&self) -> Result<ListRemoteHostsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListRemoteHosts variant
Source§fn list_remote_proxies(&self) -> Result<ListRemoteAccountsResponse, CwEnvError>
fn list_remote_proxies(&self) -> Result<ListRemoteAccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListRemoteProxies variant
Source§fn list_remote_accounts_by_account_id(
&self,
account_id: AccountId,
) -> Result<ListRemoteAccountsResponse, CwEnvError>
fn list_remote_accounts_by_account_id( &self, account_id: AccountId, ) -> Result<ListRemoteAccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListRemoteAccountsByAccountId variant
Source§fn list_ibc_infrastructures(
&self,
) -> Result<ListIbcInfrastructureResponse, CwEnvError>
fn list_ibc_infrastructures( &self, ) -> Result<ListIbcInfrastructureResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ListIbcInfrastructures variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn ownership(&self) -> Result<Ownership<Addr>, CwEnvError>
fn ownership(&self) -> Result<Ownership<Addr>, CwEnvError>
Automatically generated wrapper around QueryMsg::Ownership variant
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn client_proxies(
&self,
limit: Option<u32>,
start_after: Option<String>,
) -> Result<ClientProxiesResponse, CwEnvError>
fn client_proxies( &self, limit: Option<u32>, start_after: Option<String>, ) -> Result<ClientProxiesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ClientProxies variant
Source§fn client_proxy(
&self,
chain: impl Into<String>,
) -> Result<ClientProxyResponse, CwEnvError>
fn client_proxy( &self, chain: impl Into<String>, ) -> Result<ClientProxyResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ClientProxy variant
Source§fn module_query(
&self,
msg: Binary,
target_module: InstalledModuleIdentification,
) -> Result<Binary, CwEnvError>
fn module_query( &self, msg: Binary, target_module: InstalledModuleIdentification, ) -> Result<Binary, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleQuery variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn ica_action(
&self,
account_address: impl Into<String>,
actions: Vec<IcaAction>,
chain: TruncatedChainId,
) -> Result<IcaActionResult, CwEnvError>
fn ica_action( &self, account_address: impl Into<String>, actions: Vec<IcaAction>, chain: TruncatedChainId, ) -> Result<IcaActionResult, CwEnvError>
Automatically generated wrapper around QueryMsg::IcaAction variant
Source§impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContractwhere
Chain: TxHandler,
ExecuteMsg: Into<CwOrchExecuteMsgType>,
SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,
Source§fn remove_module(
&self,
module: ModuleInfo,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_module( &self, module: ModuleInfo, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveModule variant
Source§fn yank_module(
&self,
module: ModuleInfo,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn yank_module( &self, module: ModuleInfo, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::YankModule variant
Source§fn propose_modules(
&self,
modules: Vec<(ModuleInfo, ModuleReference)>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn propose_modules( &self, modules: Vec<(ModuleInfo, ModuleReference)>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ProposeModules variant
Source§fn update_module_configuration(
&self,
module_name: impl Into<String>,
namespace: Namespace,
update_module: UpdateModule,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_module_configuration( &self, module_name: impl Into<String>, namespace: Namespace, update_module: UpdateModule, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateModuleConfiguration variant
Source§fn approve_or_reject_modules(
&self,
approves: Vec<ModuleInfo>,
rejects: Vec<ModuleInfo>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn approve_or_reject_modules( &self, approves: Vec<ModuleInfo>, rejects: Vec<ModuleInfo>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ApproveOrRejectModules variant
Source§fn claim_namespace(
&self,
account_id: AccountId,
namespace: impl Into<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn claim_namespace( &self, account_id: AccountId, namespace: impl Into<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ClaimNamespace variant
Source§fn forgo_namespace(
&self,
namespaces: Vec<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn forgo_namespace( &self, namespaces: Vec<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ForgoNamespace variant
Source§fn add_account(
&self,
creator: impl Into<String>,
namespace: Option<String>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn add_account( &self, creator: impl Into<String>, namespace: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AddAccount variant
Source§fn update_config(
&self,
namespace_registration_fee: Option<Clearable<Coin>>,
security_enabled: Option<bool>,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_config( &self, namespace_registration_fee: Option<Clearable<Coin>>, security_enabled: Option<bool>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
Source§fn update_ownership(
&self,
arg0: Action,
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
impl<Chain, CwOrchQueryMsgType, SupportedContract> QueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContractwhere
Chain: QueryHandler + ChainState,
QueryMsg: Into<CwOrchQueryMsgType>,
SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,
Source§fn accounts(
&self,
account_ids: Vec<AccountId>,
) -> Result<AccountsResponse, CwEnvError>
fn accounts( &self, account_ids: Vec<AccountId>, ) -> Result<AccountsResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Accounts variant
Source§fn modules(&self, infos: Vec<ModuleInfo>) -> Result<ModulesResponse, CwEnvError>
fn modules(&self, infos: Vec<ModuleInfo>) -> Result<ModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Modules variant
Source§fn namespaces(
&self,
accounts: Vec<AccountId>,
) -> Result<NamespacesResponse, CwEnvError>
fn namespaces( &self, accounts: Vec<AccountId>, ) -> Result<NamespacesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespaces variant
Source§fn namespace(
&self,
namespace: Namespace,
) -> Result<NamespaceResponse, CwEnvError>
fn namespace( &self, namespace: Namespace, ) -> Result<NamespaceResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespace variant
Source§fn config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Source§fn account_list(
&self,
limit: Option<u8>,
start_after: Option<AccountId>,
) -> Result<AccountListResponse, CwEnvError>
fn account_list( &self, limit: Option<u8>, start_after: Option<AccountId>, ) -> Result<AccountListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AccountList variant
Source§fn module_list(
&self,
filter: Option<ModuleFilter>,
limit: Option<u8>,
start_after: Option<ModuleInfo>,
) -> Result<ModulesListResponse, CwEnvError>
fn module_list( &self, filter: Option<ModuleFilter>, limit: Option<u8>, start_after: Option<ModuleInfo>, ) -> Result<ModulesListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleList variant
Source§fn namespace_list(
&self,
limit: Option<u8>,
start_after: Option<String>,
) -> Result<NamespaceListResponse, CwEnvError>
fn namespace_list( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<NamespaceListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::NamespaceList variant