Trait abstract_app::traits::AccountIdentification
source · pub trait AccountIdentification: Sized {
// Required method
fn proxy_address(&self, deps: Deps<'_>) -> Result<Addr, AbstractSdkError>;
// Provided methods
fn manager_address(&self, deps: Deps<'_>) -> Result<Addr, AbstractSdkError> { ... }
fn account_base(
&self,
deps: Deps<'_>
) -> Result<AccountBase, AbstractSdkError> { ... }
fn account_id(&self, deps: Deps<'_>) -> Result<AccountId, AbstractSdkError> { ... }
}Expand description
Retrieve identifying information about an Account. This includes the manager, proxy, core and account_id.
Required Methods§
sourcefn proxy_address(&self, deps: Deps<'_>) -> Result<Addr, AbstractSdkError>
fn proxy_address(&self, deps: Deps<'_>) -> Result<Addr, AbstractSdkError>
Get the proxy address for the current account.
Provided Methods§
sourcefn manager_address(&self, deps: Deps<'_>) -> Result<Addr, AbstractSdkError>
fn manager_address(&self, deps: Deps<'_>) -> Result<Addr, AbstractSdkError>
Get the manager address for the current account.
sourcefn account_base(&self, deps: Deps<'_>) -> Result<AccountBase, AbstractSdkError>
fn account_base(&self, deps: Deps<'_>) -> Result<AccountBase, AbstractSdkError>
Get the AccountBase for the current account.
sourcefn account_id(&self, deps: Deps<'_>) -> Result<AccountId, AbstractSdkError>
fn account_id(&self, deps: Deps<'_>) -> Result<AccountId, AbstractSdkError>
Get the Account id for the current account.
Object Safety§
This trait is not object safe.