Trait abstract_std::ibc_client::ExecuteMsgFns

source ·
pub trait ExecuteMsgFns<Chain: TxHandler>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg> {
    // Provided methods
    fn update_ownership(
        &self,
        arg0: Action
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn register_infrastructure(
        &self,
        chain: String,
        host: String,
        note: String
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn update_config(
        &self,
        ans_host: Option<String>,
        version_control: Option<String>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn send_funds(
        &self,
        funds: Vec<Coin>,
        host_chain: String
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn register(
        &self,
        host_chain: String,
        install_modules: Vec<ModuleInstallConfig>,
        base_asset: Option<AssetEntry>,
        namespace: Option<String>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn module_ibc_action(
        &self,
        host_chain: String,
        msg: Binary,
        target_module: ModuleInfo,
        callback_info: Option<CallbackInfo>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn ibc_query(
        &self,
        callback_info: CallbackInfo,
        host_chain: String,
        query: QueryRequest<Empty>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn remote_action(
        &self,
        action: HostAction,
        host_chain: String
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn remove_host(
        &self,
        host_chain: String
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn callback(
        &self,
        arg0: CallbackMessage
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
}
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_ownership( &self, arg0: Action ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

source

fn register_infrastructure( &self, chain: String, host: String, note: String ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::RegisterInfrastructure variant

source

fn update_config( &self, ans_host: Option<String>, version_control: Option<String> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::UpdateConfig variant

source

fn send_funds( &self, funds: Vec<Coin>, host_chain: String ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::SendFunds variant

source

fn register( &self, host_chain: String, install_modules: Vec<ModuleInstallConfig>, base_asset: Option<AssetEntry>, namespace: Option<String> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::Register variant

source

fn module_ibc_action( &self, host_chain: String, msg: Binary, target_module: ModuleInfo, callback_info: Option<CallbackInfo> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::ModuleIbcAction variant

source

fn ibc_query( &self, callback_info: CallbackInfo, host_chain: String, query: QueryRequest<Empty> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::IbcQuery variant

source

fn remote_action( &self, action: HostAction, host_chain: String ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::RemoteAction variant

source

fn remove_host( &self, host_chain: String ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::RemoveHost variant

source

fn callback( &self, arg0: CallbackMessage ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::Callback variant

Implementors§

source§

impl<SupportedContract, Chain: TxHandler> ExecuteMsgFns<Chain> for SupportedContract
where SupportedContract: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>,