abstract_sdk::prelude

Trait IbcInterface

Source
pub trait IbcInterface:
    AccountIdentification
    + ModuleRegistryInterface
    + ModuleIdentification
    + ModuleInterface {
    // Provided method
    fn ibc_client<'a>(
        &'a self,
        deps: Deps<'a>,
        env: &'a Env,
    ) -> IbcClient<'_, Self> { ... }
}
Expand description

Interact with other chains over IBC.

Provided Methods§

Source

fn ibc_client<'a>(&'a self, deps: Deps<'a>, env: &'a Env) -> IbcClient<'_, Self>

API for interacting with the Abstract IBC client.

§Example
use abstract_sdk::prelude::*;

let ibc_client: IbcClient<MockModule>  = module.ibc_client(deps.as_ref(), &env);

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§