pub enum ExecuteMsg<Authenticator = Empty> {
Show 17 variants
Execute {
msgs: Vec<CosmosMsg<Empty>>,
},
ExecuteWithData {
msg: CosmosMsg<Empty>,
},
ExecuteOnModule {
module_id: String,
exec_msg: Binary,
funds: Vec<Coin>,
},
AdminExecute {
addr: String,
msg: Binary,
},
AdminExecuteOnModule {
module_id: String,
msg: Binary,
},
IcaAction {
action_query_msg: Binary,
},
UpdateInternalConfig(InternalConfigAction),
InstallModules {
modules: Vec<ModuleInstallConfig>,
},
UninstallModule {
module_id: String,
},
Upgrade {
modules: Vec<(ModuleInfo, Option<Binary>)>,
},
CreateSubAccount {
name: Option<String>,
description: Option<String>,
link: Option<String>,
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),
UpdateOwnership(GovAction),
AddAuthMethod {
add_authenticator: Authenticator,
},
RemoveAuthMethod {
id: u8,
},
}
Variants§
Execute
Executes the provided messages if sender is whitelisted
ExecuteWithData
Execute a message and forward the Response data
ExecuteOnModule
Forward execution message to module
AdminExecute
Execute a Wasm Message with Account Admin privileges
AdminExecuteOnModule
Forward execution message to module with Account Admin privileges
IcaAction
Queries the Abstract Ica Client with the provided action query. Provides access to different ICA implementations for different ecosystems.
UpdateInternalConfig(InternalConfigAction)
Update Abstract-specific configuration of the module. Only callable by the 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::account
then the contract will do a self-migration.
Self-migration is protected and only possible to the crate::objects::module_reference::ModuleReference::Account
registered in Registry
Fields
modules: Vec<(ModuleInfo, Option<Binary>)>
CreateSubAccount
Creates a sub-account on the account
Fields
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
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.
AddAuthMethod
Fields
add_authenticator: Authenticator
RemoveAuthMethod
Trait Implementations§
Source§impl<Authenticator: Clone> Clone for ExecuteMsg<Authenticator>
impl<Authenticator: Clone> Clone for ExecuteMsg<Authenticator>
Source§fn clone(&self) -> ExecuteMsg<Authenticator>
fn clone(&self) -> ExecuteMsg<Authenticator>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<Authenticator: Debug> Debug for ExecuteMsg<Authenticator>
impl<Authenticator: Debug> Debug for ExecuteMsg<Authenticator>
Source§impl<'de, Authenticator> Deserialize<'de> for ExecuteMsg<Authenticator>where
Authenticator: Deserialize<'de>,
impl<'de, Authenticator> Deserialize<'de> for ExecuteMsg<Authenticator>where
Authenticator: Deserialize<'de>,
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<Authenticator: JsonSchema> JsonSchema for ExecuteMsg<Authenticator>
impl<Authenticator: JsonSchema> JsonSchema for ExecuteMsg<Authenticator>
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<Authenticator: PartialEq> PartialEq for ExecuteMsg<Authenticator>
impl<Authenticator: PartialEq> PartialEq for ExecuteMsg<Authenticator>
Source§impl<Authenticator> Serialize for ExecuteMsg<Authenticator>where
Authenticator: Serialize,
impl<Authenticator> Serialize for ExecuteMsg<Authenticator>where
Authenticator: Serialize,
impl<Authenticator> StructuralPartialEq for ExecuteMsg<Authenticator>
Auto Trait Implementations§
impl<Authenticator> Freeze for ExecuteMsg<Authenticator>where
Authenticator: Freeze,
impl<Authenticator> RefUnwindSafe for ExecuteMsg<Authenticator>where
Authenticator: RefUnwindSafe,
impl<Authenticator> Send for ExecuteMsg<Authenticator>where
Authenticator: Send,
impl<Authenticator> Sync for ExecuteMsg<Authenticator>where
Authenticator: Sync,
impl<Authenticator> Unpin for ExecuteMsg<Authenticator>where
Authenticator: Unpin,
impl<Authenticator> UnwindSafe for ExecuteMsg<Authenticator>where
Authenticator: UnwindSafe,
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§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