Struct Service

Source
pub struct Service<T: CwEnv, M> { /* private fields */ }
Expand description

A Service represents a contract registered in registry.

Services should be created from Applications using the into_service method. They can then be registered using the service.deploy() method.

Trait Implementations§

Source§

impl<T: Clone + CwEnv, M: Clone> Clone for Service<T, M>

Source§

fn clone(&self) -> Service<T, M>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Chain: CwEnv, M: ContractInstance<Chain>> ContractInstance<Chain> for Service<Chain, M>

Source§

fn as_instance(&self) -> &Contract<Chain>

Return a reference to the underlying contract instance.
Source§

fn as_instance_mut(&mut self) -> &mut Contract<Chain>

Return a mutable reference to the underlying contract instance.
Source§

fn id(&self) -> String

Returns the contract id.
Source§

fn address(&self) -> Result<Addr, CwEnvError>

Returns the contract address for this instance.
Source§

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

Returns the contract address as a String.
Source§

fn code_id(&self) -> Result<u64, CwEnvError>

Returns contract code_id.
Source§

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)

Removes the address for the contract
Source§

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)

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)

Removes the code_id for the contract
Source§

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 Service<Chain, M>

Source§

type ExecuteMsg = <M as ExecutableContract>::ExecuteMsg

Execute message for the contract.
Source§

impl<T: CwEnv, M> From<Application<T, M>> for Service<T, M>

Source§

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 Service<Chain, M>

Allows to access the module’s methods directly from the service struct

Source§

type InstantiateMsg = <M as InstantiableContract>::InstantiateMsg

Instantiate message for the contract.
Source§

impl<Chain: CwEnv, M: QueryableContract + ContractInstance<Chain>> QueryableContract for Service<Chain, M>

Source§

type QueryMsg = <M as QueryableContract>::QueryMsg

Query message for the contract.

Auto Trait Implementations§

§

impl<T, M> Freeze for Service<T, M>
where M: Freeze,

§

impl<T, M> RefUnwindSafe for Service<T, M>

§

impl<T, M> Send for Service<T, M>
where M: Send, T: Send,

§

impl<T, M> Sync for Service<T, M>
where M: Sync, T: Sync,

§

impl<T, M> Unpin for Service<T, M>
where M: Unpin, T: Unpin,

§

impl<T, M> UnwindSafe for Service<T, M>
where M: UnwindSafe, T: UnwindSafe,

Blanket Implementations§

Source§

impl<Chain, CwOrchExecuteMsgType, Authenticator, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType, Authenticator> for SupportedContract
where 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>

Automatically generated wrapper around ExecuteMsg::Execute variant
Source§

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>

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>

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>

Automatically generated wrapper around ExecuteMsg::AdminExecuteOnModule variant
Source§

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>

Automatically generated wrapper around ExecuteMsg::UpdateInternalConfig variant
Source§

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>

Automatically generated wrapper around ExecuteMsg::UninstallModule variant
Source§

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>

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>

Automatically generated wrapper around ExecuteMsg::UpdateInfo variant
Source§

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>

Automatically generated wrapper around ExecuteMsg::UpdateSubAccount variant
Source§

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>

Automatically generated wrapper around ExecuteMsg::AddAuthMethod variant
Source§

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 SupportedContract
where Chain: QueryHandler + ChainState, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

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

Automatically generated wrapper around QueryMsg::Config variant
Source§

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>

Automatically generated wrapper around QueryMsg::ModuleAddresses variant
Source§

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>

Automatically generated wrapper around QueryMsg::Info variant
Source§

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>

Automatically generated wrapper around QueryMsg::TopLevelOwner variant
Source§

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>

Automatically generated wrapper around QueryMsg::AuthenticatorByID variant
Source§

fn authenticator_i_ds(&self) -> Result<Binary, CwEnvError>

Automatically generated wrapper around QueryMsg::AuthenticatorIDs variant
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<U> As for U

Source§

fn as_<T>(self) -> T
where T: CastFrom<U>,

Casts self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read more
Source§

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

Source§

async fn base_config_async(&self) -> Result<AdapterConfigResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Source§

async fn authorized_addresses_async( &self, account_address: impl Into<String>, ) -> Result<AuthorizedAddressesResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::AuthorizedAddresses variant
Source§

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 SupportedContract
where Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync, BaseQueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

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>

Automatically generated wrapper around BaseQueryMsg::BaseAdmin variant
Source§

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>

Automatically generated wrapper around BaseQueryMsg::TopLevelOwner variant
Source§

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

Source§

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>

Automatically generated wrapper around QueryMsg::ModuleVersions variant
Source§

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>

Automatically generated wrapper around QueryMsg::ModuleInfos variant
Source§

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>

Automatically generated wrapper around QueryMsg::SubAccountIds variant
Source§

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>

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

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>

Automatically generated wrapper around QueryMsg::AuthenticatorIDs variant
Source§

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

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<AssetsResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::AssetList variant
Source§

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>

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
Source§

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

Source§

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>

Automatically generated wrapper around QueryMsg::Config variant
Source§

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>

Automatically generated wrapper around QueryMsg::ListAccounts variant
Source§

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>

Automatically generated wrapper around QueryMsg::ListRemoteHosts variant
Source§

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>

Automatically generated wrapper around QueryMsg::ListRemoteAccountsByAccountId variant
Source§

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 SupportedContract
where Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

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>

Automatically generated wrapper around QueryMsg::Config variant
Source§

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>

Automatically generated wrapper around QueryMsg::ClientProxy variant
Source§

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 SupportedContract
where Chain: AsyncWasmQuerier + ChainState, CwOrchQueryMsgType: Sync, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: AsyncCwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

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>

Automatically generated wrapper around QueryMsg::SimulateInstallModules variant
Source§

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 SupportedContract
where 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>

Automatically generated wrapper around QueryMsg::Accounts variant
Source§

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>

Automatically generated wrapper around QueryMsg::Namespaces variant
Source§

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>

Automatically generated wrapper around QueryMsg::Config variant
Source§

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>

Automatically generated wrapper around QueryMsg::ModuleList variant
Source§

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>

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

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

Source§

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>

Automatically generated wrapper around QueryMsg::IcaAction variant
Source§

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 SupportedContract
where Chain: QueryHandler + ChainState, BaseQueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

fn base_config(&self) -> Result<AdapterConfigResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Source§

fn authorized_addresses( &self, account_address: impl Into<String>, ) -> Result<AuthorizedAddressesResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::AuthorizedAddresses variant
Source§

fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Source§

impl<Chain, CwOrchQueryMsgType, SupportedContract> BaseQueryMsgFns<Chain, CwOrchQueryMsgType> for SupportedContract
where Chain: QueryHandler + ChainState, BaseQueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

fn base_config(&self) -> Result<AppConfigResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
Source§

fn base_admin(&self) -> Result<AdminResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::BaseAdmin variant
Source§

fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::ModuleData variant
Source§

fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>

Automatically generated wrapper around BaseQueryMsg::TopLevelOwner variant
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, Chain> CallAs<Chain> for T
where T: CwOrchExecute<Chain> + ContractInstance<Chain> + Clone, Chain: TxHandler,

Source§

fn set_sender(&mut self, sender: &<Chain as TxHandler>::Sender)

Source§

fn call_as(&self, sender: &<Chain as TxHandler>::Sender) -> Self

Call a contract as a different sender. Clones the contract interface with a different sender.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T, Chain> CwOrchExecute<Chain> for T
where T: ExecutableContract + ContractInstance<Chain>, Chain: TxHandler,

Source§

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

Source§

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>

Instantiates the contract using instantiate2
Source§

impl<T, Chain> CwOrchQuery<Chain> for T

Source§

fn query<G>(&self, query_msg: &Self::QueryMsg) -> Result<G, CwEnvError>

Query the contract.
Source§

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>

Query the contract raw state from an cw-storage-plus::Item
Source§

fn map_query<'a, T, K>( &self, query_map: Map<K, T>, key: K, ) -> Result<T, CwEnvError>

Query the contract raw state from a cw-storage-plus::Map
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Chain, T> Environment<Chain> for T
where Chain: ChainState, T: ContractInstance<Chain> + ?Sized,

Source§

fn environment(&self) -> &Chain

Returns the chain that this structure executes on
Source§

impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContract
where 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>

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>

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>

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>

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>

Automatically generated wrapper around ExecuteMsg::UpdatePools variant
Source§

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 SupportedContract
where Chain: TxHandler, ExecuteMsg: Into<CwOrchExecuteMsgType>, SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,

Source§

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>

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>

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>

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>

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>

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>

Automatically generated wrapper around ExecuteMsg::IbcQuery variant
Source§

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>

Automatically generated wrapper around ExecuteMsg::RemoveHost variant
Source§

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 SupportedContract
where Chain: TxHandler, ExecuteMsg: Into<CwOrchExecuteMsgType>, SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,

Source§

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>

Automatically generated wrapper around ExecuteMsg::RegisterChainProxy variant
Source§

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>

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>

Automatically generated wrapper around ExecuteMsg::ModuleExecute variant
Source§

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 SupportedContract
where 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>

Automatically generated wrapper around ExecuteMsg::RegisterInfrastructure variant
Source§

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>

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContract
where 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>

Automatically generated wrapper around ExecuteMsg::InstallModules variant
Source§

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 SupportedContract
where Chain: QueryHandler + ChainState, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

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>

Automatically generated wrapper around QueryMsg::SimulateInstallModules variant
Source§

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

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

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

Source§

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

Automatically generated wrapper around QueryMsg::Config variant
Source§

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>

Automatically generated wrapper around QueryMsg::AssetList variant
Source§

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>

Automatically generated wrapper around QueryMsg::AssetInfoList variant
Source§

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>

Automatically generated wrapper around QueryMsg::ContractList variant
Source§

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>

Automatically generated wrapper around QueryMsg::ChannelList variant
Source§

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

Automatically generated wrapper around QueryMsg::RegisteredDexes variant
Source§

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>

Automatically generated wrapper around QueryMsg::PoolList variant
Source§

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>

Automatically generated wrapper around QueryMsg::PoolMetadataList variant
Source§

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

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

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

Source§

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

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

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

Automatically generated wrapper around QueryMsg::Config variant
Source§

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>

Automatically generated wrapper around QueryMsg::ListAccounts variant
Source§

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>

Automatically generated wrapper around QueryMsg::ListRemoteHosts variant
Source§

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>

Automatically generated wrapper around QueryMsg::ListRemoteAccountsByAccountId variant
Source§

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

Automatically generated wrapper around QueryMsg::ListIbcInfrastructures variant
Source§

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

Source§

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

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

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>

Automatically generated wrapper around QueryMsg::ClientProxies variant
Source§

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>

Automatically generated wrapper around QueryMsg::ModuleQuery variant
Source§

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

Source§

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>

Automatically generated wrapper around QueryMsg::IcaAction variant
Source§

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

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

impl<Chain, CwOrchExecuteMsgType, SupportedContract> ExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContract
where Chain: TxHandler, ExecuteMsg: Into<CwOrchExecuteMsgType>, SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,

Source§

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>

Automatically generated wrapper around ExecuteMsg::YankModule variant
Source§

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>

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>

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>

Automatically generated wrapper around ExecuteMsg::ClaimNamespace variant
Source§

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>

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>

Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
Source§

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 SupportedContract
where Chain: QueryHandler + ChainState, QueryMsg: Into<CwOrchQueryMsgType>, SupportedContract: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>,

Source§

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>

Automatically generated wrapper around QueryMsg::Modules variant
Source§

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>

Automatically generated wrapper around QueryMsg::Namespace variant
Source§

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>

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>

Automatically generated wrapper around QueryMsg::ModuleList variant
Source§

fn namespace_list( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<NamespaceListResponse, CwEnvError>

Automatically generated wrapper around QueryMsg::NamespaceList variant
Source§

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

Automatically generated wrapper around QueryMsg::Ownership variant
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<Chain, CwOrchExecuteMsgType, SupportedContract> BaseExecuteMsgFns<Chain, CwOrchExecuteMsgType> for SupportedContract
where Chain: TxHandler, BaseExecuteMsg: Into<CwOrchExecuteMsgType>, SupportedContract: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>,