Trait abstract_interface::ClientResolve

source ·
pub trait ClientResolve<Chain: CwEnv> {
    type Output;

    // Required method
    fn resolve(
        &self,
        ans_host: &AnsHost<Chain>
    ) -> Result<Self::Output, CwOrchError>;
}

Required Associated Types§

source

type Output

Result of resolving an entry.

Required Methods§

source

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

Resolve an entry into its value.

Implementations on Foreign Types§

source§

impl<Chain: CwEnv> ClientResolve<Chain> for AnsAsset

§

type Output = AssetBase<Addr>

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for AssetEntry

§

type Output = AssetInfoBase<Addr>

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for ChannelEntry

§

type Output = String

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for ContractEntry

§

type Output = Addr

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for DexAssetPairing

§

type Output = Vec<PoolReference>

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for LpToken

§

type Output = AssetInfoBase<Addr>

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for PoolMetadata

§

type Output = ResolvedPoolMetadata

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for UniquePoolId

§

type Output = PoolMetadata

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv> ClientResolve<Chain> for AssetUnchecked

§

type Output = AnsAsset

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv, T> ClientResolve<Chain> for Vec<T>
where T: ClientResolve<Chain>,

§

type Output = Vec<<T as ClientResolve<Chain>>::Output>

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

source§

impl<Chain: CwEnv, T: AddressLike> ClientResolve<Chain> for AssetInfoBase<T>

§

type Output = AssetEntry

source§

fn resolve( &self, ans_host: &AnsHost<Chain> ) -> Result<Self::Output, CwOrchError>

Implementors§