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§

source

fn update_ownership( &self, arg0: Action, ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

source

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

source

fn register_chain_proxy( &self, chain: TruncatedChainId, proxy: impl Into<String>, ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::RegisterChainProxy variant

source

fn remove_chain_proxy( &self, chain: TruncatedChainId, ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::RemoveChainProxy variant

source

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

source

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.

Implementors§

source§

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