Struct abstract_sdk::OsRegistry
source · pub struct OsRegistry<'a, T: OsVerification> { /* private fields */ }
Expand description
Endpoint for Account address verification
Implementations§
source§impl<'a, T: OsVerification> OsRegistry<'a, T>
impl<'a, T: OsVerification> OsRegistry<'a, T>
sourcepub fn assert_manager(
&self,
maybe_manager: &Addr
) -> AbstractSdkResult<AccountBase>
pub fn assert_manager( &self, maybe_manager: &Addr ) -> AbstractSdkResult<AccountBase>
Verify if the provided manager address is indeed a user.
sourcepub fn assert_proxy(&self, maybe_proxy: &Addr) -> AbstractSdkResult<AccountBase>
pub fn assert_proxy(&self, maybe_proxy: &Addr) -> AbstractSdkResult<AccountBase>
Verify if the provided proxy address is indeed a user.
pub fn proxy_address(&self, account_id: u32) -> AbstractSdkResult<Addr>
pub fn manager_address(&self, account_id: u32) -> AbstractSdkResult<Addr>
pub fn account_base(&self, account_id: u32) -> AbstractSdkResult<AccountBase>
Trait Implementations§
source§impl<'a, T: Clone + OsVerification> Clone for OsRegistry<'a, T>
impl<'a, T: Clone + OsVerification> Clone for OsRegistry<'a, T>
source§fn clone(&self) -> OsRegistry<'a, T>
fn clone(&self) -> OsRegistry<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more