Enum abstract_std::manager::ExecuteMsg
source · pub enum ExecuteMsg {
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>,
},
UpdateStatus {
is_suspended: Option<bool>,
},
UpdateSubAccount(UpdateSubAccountAction),
Callback(CallbackMsg),
UpdateOwnership(GovAction),
}
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
Fields
base_asset: Option<AssetEntry>
install_modules: Vec<ModuleInstallConfig>
account_id: Option<u32>
If None
, will create a new local account without asserting account-id.
When provided sequence in 0..2147483648 range: The tx will error When provided sequence in 2147483648..u32::MAX range: Signals use of unclaimed Account Id in this range. The tx will error if this account-id already claimed. Useful for instantiate2 address prediction.
UpdateInfo
Update info
UpdateStatus
Update account statuses
UpdateSubAccount(UpdateSubAccountAction)
Actions called by internal or external sub-accounts
Callback(CallbackMsg)
Callback endpoint
UpdateOwnership(GovAction)
Update the contract’s ownership. The action
can propose transferring ownership to an account,
accept a pending ownership transfer, or renounce the ownership
of the account 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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for ExecuteMsg
impl PartialEq for ExecuteMsg
source§fn eq(&self, other: &ExecuteMsg) -> bool
fn eq(&self, other: &ExecuteMsg) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExecuteMsg
impl Serialize for ExecuteMsg
impl StructuralPartialEq for ExecuteMsg
Auto Trait Implementations§
impl Freeze for ExecuteMsg
impl RefUnwindSafe for ExecuteMsg
impl Send for ExecuteMsg
impl Sync for ExecuteMsg
impl Unpin for ExecuteMsg
impl UnwindSafe for ExecuteMsg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more