Struct abstract_sdk::prelude::IbcClient
source · pub struct IbcClient<'a, T: IbcInterface> { /* private fields */ }Expand description
API for interacting with the Abstract IBC client.
Example
use abstract_sdk::prelude::*;
let ibc_client: IbcClient<MockModule> = module.ibc_client(deps.as_ref());Implementations§
source§impl<'a, T: IbcInterface> IbcClient<'a, T>
impl<'a, T: IbcInterface> IbcClient<'a, T>
sourcepub fn host_action(
&self,
host_chain: String,
action: HostAction,
callback: Option<CallbackInfo>,
retries: u8
) -> AbstractSdkResult<CosmosMsg>
pub fn host_action( &self, host_chain: String, action: HostAction, callback: Option<CallbackInfo>, retries: u8 ) -> AbstractSdkResult<CosmosMsg>
Call a HostAction on the host of the provided host_chain.
sourcepub fn ics20_transfer(
&self,
receiving_chain: String,
funds: Vec<Coin>
) -> AbstractSdkResult<CosmosMsg>
pub fn ics20_transfer( &self, receiving_chain: String, funds: Vec<Coin> ) -> AbstractSdkResult<CosmosMsg>
IbcClient the provided coins from the Account to its proxy on the receiving_chain.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for IbcClient<'a, T>
impl<'a, T> !Send for IbcClient<'a, T>
impl<'a, T> !Sync for IbcClient<'a, T>
impl<'a, T> Unpin for IbcClient<'a, T>
impl<'a, T> !UnwindSafe for IbcClient<'a, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more