abstract_std::module_factory

Trait ExecuteMsgFns

Source
pub trait ExecuteMsgFns<Chain: TxHandler, CwOrchExecuteMsgType>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>
where ExecuteMsg: Into<CwOrchExecuteMsgType>,
{ // Provided methods fn install_modules( &self, modules: Vec<FactoryModuleInstallConfig>, salt: Binary, ) -> Result<TxResponse<Chain>, CwEnvError> { ... } fn update_ownership( &self, arg0: Action, ) -> 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 install_modules( &self, modules: Vec<FactoryModuleInstallConfig>, salt: Binary, ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::InstallModules variant

Source

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

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

Implementors§

Source§

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