abstract-sdk 0.26.1

Helpers for Abstract contracts
Documentation
1
2
3
4
5
6
7
8
9
10
use abstract_std::objects::registry::RegistryContract;
use cosmwasm_std::Deps;

use crate::AbstractSdkResult;

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