Skip to main content

ExecuteMsg

Type Alias ExecuteMsg 

Source
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

Fields

§

ExecuteWithData

Execute a message and forward the Response data

Fields

§

ExecuteOnModule

Forward execution message to module

Fields

§module_id: String
§exec_msg: Binary
§funds: Vec<Coin>

Funds attached from account to the module

§

AdminExecute

Execute a Wasm Message with Account Admin privileges

Fields

§addr: String
§

AdminExecuteOnModule

Forward execution message to module with Account Admin privileges

Fields

§module_id: String
§

IcaAction

Queries the Abstract Ica Client with the provided action query. Provides access to different ICA implementations for different ecosystems.

Fields

§action_query_msg: Binary

Query of type abstract-ica-client::msg::QueryMsg

§

UpdateInternalConfig(InternalConfigAction)

Update Abstract-specific configuration of the module. Only callable by the owner.

§

InstallModules

Install module using module factory, callable by Owner

Fields

§

UninstallModule

Uninstall a module given its ID.

Fields

§module_id: String
§

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

§

CreateSubAccount

Creates a sub-account on the account

Fields

§description: Option<String>
§namespace: Option<String>
§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

Fields

§description: Option<String>
§

UpdateStatus

Update account statuses

Fields

§is_suspended: Option<bool>
§

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: Empty
§

RemoveAuthMethod

Fields

§id: u8