1
2
3
4
5
6
7
8
use crate::AbstractSdkResult;
use cosmwasm_std::{Addr, 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<Addr>;
}