pub type ExecuteMsg = ExecuteMsg<Authenticator>;Aliased Type§
pub enum ExecuteMsg {
Show 17 variants
Execute {
msgs: Vec<CosmosMsg>,
},
ExecuteWithData {
msg: CosmosMsg,
},
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: Empty,
},
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.