Trait abstract_std::ibc_host::ExecuteMsgFns
source · pub trait ExecuteMsgFns<Chain: TxHandler, CwOrchExecuteMsgType>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>where
ExecuteMsg: Into<CwOrchExecuteMsgType>,{
// Provided methods
fn update_ownership(
&self,
arg0: Action,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn update_config(
&self,
account_factory_address: Option<String>,
ans_host_address: Option<String>,
version_control_address: Option<String>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn register_chain_proxy(
&self,
chain: TruncatedChainId,
proxy: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn remove_chain_proxy(
&self,
chain: TruncatedChainId,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn ibc_execute(
&self,
account_id: AccountId,
action: HostAction,
proxy_address: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn module_execute(
&self,
msg: Binary,
source_module: InstalledModuleIdentification,
target_module: ModuleInfo,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
}
Expand description
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Provided Methods§
sourcefn update_ownership(
&self,
arg0: Action,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_ownership( &self, arg0: Action, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
sourcefn update_config(
&self,
account_factory_address: Option<String>,
ans_host_address: Option<String>,
version_control_address: Option<String>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_config( &self, account_factory_address: Option<String>, ans_host_address: Option<String>, version_control_address: Option<String>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
sourcefn register_chain_proxy(
&self,
chain: TruncatedChainId,
proxy: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn register_chain_proxy( &self, chain: TruncatedChainId, proxy: impl Into<String>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RegisterChainProxy variant
sourcefn remove_chain_proxy(
&self,
chain: TruncatedChainId,
) -> Result<TxResponse<Chain>, CwEnvError>
fn remove_chain_proxy( &self, chain: TruncatedChainId, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveChainProxy variant
sourcefn ibc_execute(
&self,
account_id: AccountId,
action: HostAction,
proxy_address: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn ibc_execute( &self, account_id: AccountId, action: HostAction, proxy_address: impl Into<String>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Execute variant
sourcefn module_execute(
&self,
msg: Binary,
source_module: InstalledModuleIdentification,
target_module: ModuleInfo,
) -> Result<TxResponse<Chain>, CwEnvError>
fn module_execute( &self, msg: Binary, source_module: InstalledModuleIdentification, target_module: ModuleInfo, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ModuleExecute variant
Object Safety§
This trait is not object safe.