pub trait ManagerExecFns<Chain>: CwOrcExecute<Chain, ExecuteMsg = ExecuteMsg>where
    Chain: CwEnv,{
    // Provided methods
    fn exec_on_module(
        &self,
        exec_msg: Binary,
        module_id: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn install_module(
        &self,
        module: ModuleInfo,
        init_msg: Option<Binary>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn register_module(
        &self,
        module: Module,
        module_addr: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn uninstall_module(
        &self,
        module_id: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn upgrade(
        &self,
        modules: Vec<(ModuleInfo, Option<Binary>), Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn update_info(
        &self,
        description: Option<String>,
        link: Option<String>,
        name: Option<String>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn set_owner(
        &self,
        owner: GovernanceDetails<String>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn update_status(
        &self,
        is_suspended: Option<bool>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn update_settings(
        &self,
        ibc_enabled: Option<bool>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
}

Provided Methods§

source

fn exec_on_module( &self, exec_msg: Binary, module_id: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn install_module( &self, module: ModuleInfo, init_msg: Option<Binary> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn register_module( &self, module: Module, module_addr: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn uninstall_module( &self, module_id: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn upgrade( &self, modules: Vec<(ModuleInfo, Option<Binary>), Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn update_info( &self, description: Option<String>, link: Option<String>, name: Option<String> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn set_owner( &self, owner: GovernanceDetails<String> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn update_status( &self, is_suspended: Option<bool> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn update_settings( &self, ibc_enabled: Option<bool> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

Implementors§

source§

impl<SupportedContract, Chain> ExecuteMsgFns<Chain> for SupportedContractwhere Chain: CwEnv, SupportedContract: CwOrcExecute<Chain, ExecuteMsg = ExecuteMsg>,