Trait abstract_sdk::prelude::Execution
source · pub trait Execution: AccountIdentification + ModuleIdentification {
// Provided method
fn executor<'a>(&'a self, deps: Deps<'a>) -> Executor<'_, Self> { ... }
}Expand description
Execute an AccountAction on the Account.
Provided Methods§
sourcefn executor<'a>(&'a self, deps: Deps<'a>) -> Executor<'_, Self>
fn executor<'a>(&'a self, deps: Deps<'a>) -> Executor<'_, Self>
API for executing AccountActions on the Account.
Group your actions together in a single execute call if possible.
Executing CosmosMsg on the account is possible by creating an AccountAction.
Example
use abstract_sdk::prelude::*;
let executor: Executor<MockModule> = module.executor(deps.as_ref());