pub trait ManagerExecFns<Chain>: BootExecute<Chain, ExecuteMsg = ExecuteMsg>where
    Chain: BootEnvironment,{
    // Provided methods
    fn exec_on_module(
        &self,
        exec_msg: Binary,
        module_id: String
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn update_module_addresses(
        &self,
        to_add: Option<Vec<(String, String), Global>>,
        to_remove: Option<Vec<String, Global>>
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn install_module(
        &self,
        module: ModuleInfo,
        init_msg: Option<Binary>
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn register_module(
        &self,
        module: Module,
        module_addr: String
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn remove_module(
        &self,
        module_id: String
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn upgrade(
        &self,
        modules: Vec<(ModuleInfo, Option<Binary>), Global>
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn update_info(
        &self,
        description: Option<String>,
        link: Option<String>,
        name: Option<String>
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn set_root(
        &self,
        root: String,
        governance_type: Option<String>
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn suspend_os(
        &self,
        new_status: bool
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
    fn enable_ibc(
        &self,
        new_status: bool
    ) -> Result<<Chain as TxHandler>::Response, BootError> { ... }
}

Provided Methods§

source

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

source

fn update_module_addresses( &self, to_add: Option<Vec<(String, String), Global>>, to_remove: Option<Vec<String, Global>> ) -> Result<<Chain as TxHandler>::Response, BootError>

source

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

source

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

source

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

source

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

source

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

source

fn set_root( &self, root: String, governance_type: Option<String> ) -> Result<<Chain as TxHandler>::Response, BootError>

source

fn suspend_os( &self, new_status: bool ) -> Result<<Chain as TxHandler>::Response, BootError>

source

fn enable_ibc( &self, new_status: bool ) -> Result<<Chain as TxHandler>::Response, BootError>

Implementors§

source§

impl<SupportedContract, Chain> ExecuteMsgFns<Chain> for SupportedContractwhere Chain: BootEnvironment, SupportedContract: BootExecute<Chain, ExecuteMsg = ExecuteMsg>,