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

Interact with other modules on the Account.

Provided Methods§

source

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

API for accessing Abstract Adapters installed on the account.

Example
use abstract_sdk::prelude::*;

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

Implementors§