Struct abstract_sdk::IbcClient
source · pub struct IbcClient<'a, T: IbcInterface> { /* private fields */ }
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
.