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§
sourcefn update_ownership(
&self,
arg0: Action
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_ownership( &self, arg0: Action ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
sourcefn register_infrastructure(
&self,
chain: String,
host: String,
note: String
) -> Result<TxResponse<Chain>, CwOrchError>
fn register_infrastructure( &self, chain: String, host: String, note: String ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::RegisterInfrastructure variant
sourcefn update_config(
&self,
ans_host: Option<String>,
version_control: Option<String>
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_config( &self, ans_host: Option<String>, version_control: Option<String> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
sourcefn send_funds(
&self,
funds: Vec<Coin>,
host_chain: String
) -> Result<TxResponse<Chain>, CwOrchError>
fn send_funds( &self, funds: Vec<Coin>, host_chain: String ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::SendFunds variant
sourcefn register(
&self,
host_chain: String,
install_modules: Vec<ModuleInstallConfig>,
base_asset: Option<AssetEntry>,
namespace: Option<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>
Automatically generated wrapper around ExecuteMsg::Register variant
sourcefn module_ibc_action(
&self,
host_chain: String,
msg: Binary,
target_module: ModuleInfo,
callback_info: Option<CallbackInfo>
) -> 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>
Automatically generated wrapper around ExecuteMsg::ModuleIbcAction variant
sourcefn ibc_query(
&self,
callback_info: CallbackInfo,
host_chain: String,
query: QueryRequest<Empty>
) -> Result<TxResponse<Chain>, CwOrchError>
fn ibc_query( &self, callback_info: CallbackInfo, host_chain: String, query: QueryRequest<Empty> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::IbcQuery variant
sourcefn remote_action(
&self,
action: HostAction,
host_chain: String
) -> Result<TxResponse<Chain>, CwOrchError>
fn remote_action( &self, action: HostAction, host_chain: String ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::RemoteAction variant
sourcefn remove_host(
&self,
host_chain: String
) -> Result<TxResponse<Chain>, CwOrchError>
fn remove_host( &self, host_chain: String ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::RemoveHost variant
sourcefn callback(
&self,
arg0: CallbackMessage
) -> Result<TxResponse<Chain>, CwOrchError>
fn callback( &self, arg0: CallbackMessage ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::Callback variant