pub enum ExecuteMsg {
Show 13 variants
ExecOnModule {
module_id: String,
exec_msg: Binary,
},
UpdateInternalConfig(Binary),
InstallModules {
modules: Vec<ModuleInstallConfig>,
},
UninstallModule {
module_id: String,
},
Upgrade {
modules: Vec<(ModuleInfo, Option<Binary>)>,
},
CreateSubAccount {
name: String,
description: Option<String>,
link: Option<String>,
base_asset: Option<AssetEntry>,
namespace: Option<String>,
install_modules: Vec<ModuleInstallConfig>,
account_id: Option<u32>,
},
UpdateInfo {
name: Option<String>,
description: Option<String>,
link: Option<String>,
},
ProposeOwner {
owner: GovernanceDetails<String>,
},
UpdateStatus {
is_suspended: Option<bool>,
},
UpdateSettings {
ibc_enabled: Option<bool>,
},
UpdateSubAccount(UpdateSubAccountAction),
Callback(CallbackMsg),
UpdateOwnership(Action),
}
Expand description
Manager execute messages
Variants§
ExecOnModule
Forward execution message to module
UpdateInternalConfig(Binary)
Update Abstract-specific configuration of the module. Only callable by the account factory or owner.
InstallModules
Install module using module factory, callable by Owner
Fields
modules: Vec<ModuleInstallConfig>
UninstallModule
Uninstall a module given its ID.
Upgrade
Upgrade the module to a new version
If module is abstract::manager
then the contract will do a self-migration.
Fields
modules: Vec<(ModuleInfo, Option<Binary>)>
CreateSubAccount
Creates a sub-account on the account
UpdateInfo
Update info
ProposeOwner
Proposes a new Owner
The new owner has to claim ownership through the ExecuteMsg::UpdateOwnership
message.
The claim action can be called by the new owner directly OR by the owner of a top-level account
if the new ownership structure is a sub-account.
Fields
owner: GovernanceDetails<String>
UpdateStatus
Update account statuses
UpdateSettings
Update settings for the Account, including IBC enabled, etc.
UpdateSubAccount(UpdateSubAccountAction)
Actions called by internal or external sub-accounts
Callback(CallbackMsg)
Callback endpoint
UpdateOwnership(Action)
Update the contract’s ownership. The action
to be provided
can be either to propose transferring ownership to an account,
accept a pending ownership transfer, or renounce the ownership
permanently.
Trait Implementations§
Source§impl Clone for ExecuteMsg
impl Clone for ExecuteMsg
Source§fn clone(&self) -> ExecuteMsg
fn clone(&self) -> ExecuteMsg
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecuteMsg
impl Debug for ExecuteMsg
Source§impl<'de> Deserialize<'de> for ExecuteMsg
impl<'de> Deserialize<'de> for ExecuteMsg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ExecuteMsg
impl JsonSchema for ExecuteMsg
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more