Trait abstract_interface::MFactoryExecFns
source · pub trait MFactoryExecFns<Chain>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>where
Chain: TxHandler,{
// 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_factory_binary_msgs(
&self,
to_add: Vec<(ModuleInfo, Binary)>,
to_remove: Vec<ModuleInfo>
) -> 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§
sourcefn update_config(
&self,
ans_host_address: Option<String>,
version_control_address: Option<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
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
sourcefn install_modules(
&self,
modules: Vec<FactoryModuleInstallConfig>,
salt: Binary
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn install_modules( &self, modules: Vec<FactoryModuleInstallConfig>, salt: Binary ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::InstallModules variant
sourcefn update_factory_binary_msgs(
&self,
to_add: Vec<(ModuleInfo, Binary)>,
to_remove: Vec<ModuleInfo>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_factory_binary_msgs( &self, to_add: Vec<(ModuleInfo, Binary)>, to_remove: Vec<ModuleInfo> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateFactoryBinaryMsgs variant
sourcefn update_ownership(
&self,
arg0: Action
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant