abstract_sdk/base/features/
abstract_registry_access.rs

1use abstract_std::objects::registry::RegistryContract;
2use cosmwasm_std::Deps;
3
4use crate::AbstractSdkResult;
5
6/// Trait that enables access to a registry, like a registry contract.
7pub trait AbstractRegistryAccess: Sized {
8    /// Get the address of the registry.
9    fn abstract_registry(&self, deps: Deps) -> AbstractSdkResult<RegistryContract>;
10}