Trait abstract_interface::MFactoryExecFns

source ·
pub trait MFactoryExecFns<Chain, CwOrchExecuteMsgType>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>
where Chain: TxHandler, ExecuteMsg: Into<CwOrchExecuteMsgType>,
{ // Provided methods fn update_config( &self, ans_host_address: Option<String>, version_control_address: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn install_modules( &self, modules: Vec<FactoryModuleInstallConfig>, salt: Binary, ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn update_ownership( &self, arg0: Action, ) -> Result<<Chain as TxHandler>::Response, 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_config( &self, ans_host_address: Option<String>, version_control_address: Option<String>, ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateConfig variant

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

Implementors§

source§

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