Trait abstract_std::module_factory::ExecuteMsgFns

source ·
pub trait ExecuteMsgFns<Chain: TxHandler>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg> {
    // Provided methods
    fn update_config(
        &self,
        ans_host_address: Option<String>,
        version_control_address: Option<String>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn install_modules(
        &self,
        modules: Vec<FactoryModuleInstallConfig>,
        salt: Binary
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn update_factory_binary_msgs(
        &self,
        to_add: Vec<(ModuleInfo, Binary)>,
        to_remove: Vec<ModuleInfo>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn update_ownership(
        &self,
        arg0: Action
    ) -> 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§

source

fn update_config( &self, ans_host_address: Option<String>, version_control_address: Option<String> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::UpdateConfig variant

source

fn install_modules( &self, modules: Vec<FactoryModuleInstallConfig>, salt: Binary ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::InstallModules variant

source

fn update_factory_binary_msgs( &self, to_add: Vec<(ModuleInfo, Binary)>, to_remove: Vec<ModuleInfo> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::UpdateFactoryBinaryMsgs variant

source

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

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

Implementors§

source§

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