pub trait ManagerExecFns<Chain>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>
where Chain: CwEnv,
{
Show 13 methods // Provided methods fn exec_on_module( &self, exec_msg: Binary, module_id: String, coins: &[Coin] ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn update_internal_config( &self, arg0: Binary ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn install_modules( &self, modules: Vec<ModuleInstallConfig>, coins: &[Coin] ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn uninstall_module( &self, module_id: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn upgrade( &self, modules: Vec<(ModuleInfo, Option<Binary>)> ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn create_sub_account( &self, install_modules: Vec<ModuleInstallConfig>, name: String, account_id: Option<u32>, base_asset: Option<AssetEntry>, description: Option<String>, link: Option<String>, namespace: Option<String>, coins: &[Coin] ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn update_info( &self, description: Option<String>, link: Option<String>, name: Option<String> ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn propose_owner( &self, owner: GovernanceDetails<String> ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn update_status( &self, is_suspended: Option<bool> ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn update_settings( &self, ibc_enabled: Option<bool> ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn update_sub_account( &self, arg0: UpdateSubAccountAction ) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... } fn callback( &self, arg0: CallbackMsg ) -> 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§

source

fn exec_on_module( &self, exec_msg: Binary, module_id: String, coins: &[Coin] ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::ExecOnModule variant

source

fn update_internal_config( &self, arg0: Binary ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateInternalConfig variant

source

fn install_modules( &self, modules: Vec<ModuleInstallConfig>, coins: &[Coin] ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::InstallModules variant

source

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

Automatically generated wrapper around ExecuteMsg::UninstallModule variant

source

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

Automatically generated wrapper around ExecuteMsg::Upgrade variant

source

fn create_sub_account( &self, install_modules: Vec<ModuleInstallConfig>, name: String, account_id: Option<u32>, base_asset: Option<AssetEntry>, description: Option<String>, link: Option<String>, namespace: Option<String>, coins: &[Coin] ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::CreateSubAccount variant

source

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

Automatically generated wrapper around ExecuteMsg::UpdateInfo variant

source

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

Automatically generated wrapper around ExecuteMsg::ProposeOwner variant

source

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

Automatically generated wrapper around ExecuteMsg::UpdateStatus variant

source

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

Automatically generated wrapper around ExecuteMsg::UpdateSettings variant

source

fn update_sub_account( &self, arg0: UpdateSubAccountAction ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateSubAccount variant

source

fn callback( &self, arg0: CallbackMsg ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::Callback variant

source

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

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

Implementors§

source§

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