pub trait AccountVerification: AbstractRegistryAccess + ModuleIdentification {
// Provided method
fn account_registry<'a>(
&'a self,
deps: Deps<'a>,
) -> Result<AccountRegistry<'a, Self>, AbstractSdkError> { ... }
}
Expand description
Verify if an addresses is associated with an Abstract Account.
Provided Methods§
Sourcefn account_registry<'a>(
&'a self,
deps: Deps<'a>,
) -> Result<AccountRegistry<'a, Self>, AbstractSdkError>
fn account_registry<'a>( &'a self, deps: Deps<'a>, ) -> Result<AccountRegistry<'a, Self>, AbstractSdkError>
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.