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