1
2
3
4
5
6
7
8
9
use crate::AbstractSdkResult;
use abstract_core::objects::version_control::VersionControlContract;
use cosmwasm_std::Deps;

/// Trait that enables access to a registry, like a version control contract.
pub trait AbstractRegistryAccess: Sized {
    /// Get the address of the registry.
    fn abstract_registry(&self, deps: Deps) -> AbstractSdkResult<VersionControlContract>;
}