Trait AccountVerification

Source
pub trait AccountVerification: AbstractRegistryAccess + ModuleIdentification {
    // Provided method
    fn account_registry<'a>(
        &'a self,
        deps: Deps<'a>,
    ) -> AbstractSdkResult<AccountRegistry<'a, Self>> { ... }
}
Expand description

Verify if an addresses is associated with an Abstract Account.

Provided Methods§

Source

fn account_registry<'a>( &'a self, deps: Deps<'a>, ) -> AbstractSdkResult<AccountRegistry<'a, Self>>

API for querying and verifying a sender’s identity in the context of Abstract Accounts.

§Example
use abstract_sdk::prelude::*;

let acc_registry: AccountRegistry<MockModule>  = module.account_registry(deps.as_ref()).unwrap();

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§