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§

source

fn update_admin( &self, admin: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateAdmin variant

source

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

source

fn send_funds( &self, funds: Vec<Coin, Global>, host_chain: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::SendFunds variant

source

fn register( &self, host_chain: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::Register variant

source

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

source

fn remove_host( &self, host_chain: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>

Automatically generated wrapper around ExecuteMsg::RemoveHost variant

Implementors§

source§

impl<SupportedContract, Chain> ExecuteMsgFns<Chain> for SupportedContractwhere Chain: CwEnv, SupportedContract: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>,