Trait abstract_sdk::AdapterInterface

source ·
pub trait AdapterInterface: ModuleInterface + ModuleIdentification {
    // Provided method
    fn adapters<'a>(&'a self, deps: Deps<'a>) -> Adapters<'_, Self> { ... }
}
Expand description

Interact with other modules on the Account.

Provided Methods§

source

fn adapters<'a>(&'a self, deps: Deps<'a>) -> Adapters<'_, Self>

API for accessing Abstract Adapters installed on the account.

§Example
use abstract_sdk::prelude::*;

let adapters: Adapters<MockModule>  = module.adapters(deps.as_ref());

Object Safety§

This trait is not object safe.

Implementors§