Trait abstract_interface::IbcClientExecFns
source · pub trait IbcClientExecFns<Chain>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>where
Chain: CwEnv,{
// Provided methods
fn update_admin(
&self,
admin: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_config(
&self,
ans_host: Option<String>,
version_control: Option<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn send_funds(
&self,
funds: Vec<Coin, Global>,
host_chain: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn register(
&self,
host_chain: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn send_packet(
&self,
action: HostAction,
host_chain: String,
retries: u8,
callback_info: Option<CallbackInfo>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn remove_host(
&self,
host_chain: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
}
Expand description
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Provided Methods§
sourcefn update_admin(
&self,
admin: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_admin( &self, admin: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateAdmin variant
sourcefn update_config(
&self,
ans_host: Option<String>,
version_control: Option<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_config( &self, ans_host: Option<String>, version_control: Option<String> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
sourcefn send_funds(
&self,
funds: Vec<Coin, Global>,
host_chain: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn send_funds( &self, funds: Vec<Coin, Global>, host_chain: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::SendFunds variant
sourcefn register(
&self,
host_chain: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn register( &self, host_chain: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Register variant
sourcefn send_packet(
&self,
action: HostAction,
host_chain: String,
retries: u8,
callback_info: Option<CallbackInfo>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn send_packet( &self, action: HostAction, host_chain: String, retries: u8, callback_info: Option<CallbackInfo> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::SendPacket variant
sourcefn remove_host(
&self,
host_chain: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_host( &self, host_chain: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveHost variant