pub trait ExecuteMsgFns<Chain: TxHandler, CwOrchExecuteMsgType, Authenticator: Debug + Serialize + DeserializeOwned = Empty>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>where
ExecuteMsg<Authenticator>: Into<CwOrchExecuteMsgType>,{
Show 17 methods
// Provided methods
fn execute_msgs(
&self,
msgs: Vec<CosmosMsg<Empty>>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn execute_with_data(
&self,
msg: CosmosMsg<Empty>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn execute_on_module(
&self,
exec_msg: Binary,
funds: Vec<Coin>,
module_id: impl Into<String>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn admin_execute(
&self,
addr: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn admin_execute_on_module(
&self,
module_id: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn ica_action(
&self,
action_query_msg: Binary,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn update_internal_config(
&self,
arg0: InternalConfigAction,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn install_modules(
&self,
modules: Vec<ModuleInstallConfig>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn uninstall_module(
&self,
module_id: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn upgrade(
&self,
modules: Vec<(ModuleInfo, Option<Binary>)>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn create_sub_account(
&self,
install_modules: Vec<ModuleInstallConfig>,
account_id: Option<u32>,
description: Option<String>,
link: Option<String>,
name: Option<String>,
namespace: Option<String>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn update_info(
&self,
description: Option<String>,
link: Option<String>,
name: Option<String>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn update_status(
&self,
is_suspended: Option<bool>,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn update_sub_account(
&self,
arg0: UpdateSubAccountAction,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn update_ownership(
&self,
arg0: GovAction,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn add_auth_method(
&self,
add_authenticator: Authenticator,
) -> Result<TxResponse<Chain>, CwEnvError> { ... }
fn remove_auth_method(
&self,
id: u8,
) -> Result<TxResponse<Chain>, 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 execute_msgs(
&self,
msgs: Vec<CosmosMsg<Empty>>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn execute_msgs( &self, msgs: Vec<CosmosMsg<Empty>>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Execute variant
Sourcefn execute_with_data(
&self,
msg: CosmosMsg<Empty>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn execute_with_data( &self, msg: CosmosMsg<Empty>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ExecuteWithData variant
Sourcefn execute_on_module(
&self,
exec_msg: Binary,
funds: Vec<Coin>,
module_id: impl Into<String>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn execute_on_module( &self, exec_msg: Binary, funds: Vec<Coin>, module_id: impl Into<String>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ExecuteOnModule variant
Sourcefn admin_execute(
&self,
addr: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn admin_execute( &self, addr: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AdminExecute variant
Sourcefn admin_execute_on_module(
&self,
module_id: impl Into<String>,
msg: Binary,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn admin_execute_on_module( &self, module_id: impl Into<String>, msg: Binary, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AdminExecuteOnModule variant
Sourcefn ica_action(
&self,
action_query_msg: Binary,
) -> Result<TxResponse<Chain>, CwEnvError>
fn ica_action( &self, action_query_msg: Binary, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::IcaAction variant
Sourcefn update_internal_config(
&self,
arg0: InternalConfigAction,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_internal_config( &self, arg0: InternalConfigAction, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateInternalConfig variant
Sourcefn install_modules(
&self,
modules: Vec<ModuleInstallConfig>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn install_modules( &self, modules: Vec<ModuleInstallConfig>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::InstallModules variant
Sourcefn uninstall_module(
&self,
module_id: impl Into<String>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn uninstall_module( &self, module_id: impl Into<String>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UninstallModule variant
Sourcefn upgrade(
&self,
modules: Vec<(ModuleInfo, Option<Binary>)>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn upgrade( &self, modules: Vec<(ModuleInfo, Option<Binary>)>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::Upgrade variant
Sourcefn create_sub_account(
&self,
install_modules: Vec<ModuleInstallConfig>,
account_id: Option<u32>,
description: Option<String>,
link: Option<String>,
name: Option<String>,
namespace: Option<String>,
coins: &[Coin],
) -> Result<TxResponse<Chain>, CwEnvError>
fn create_sub_account( &self, install_modules: Vec<ModuleInstallConfig>, account_id: Option<u32>, description: Option<String>, link: Option<String>, name: Option<String>, namespace: Option<String>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::CreateSubAccount variant
Sourcefn update_info(
&self,
description: Option<String>,
link: Option<String>,
name: Option<String>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_info( &self, description: Option<String>, link: Option<String>, name: Option<String>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateInfo variant
Sourcefn update_status(
&self,
is_suspended: Option<bool>,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_status( &self, is_suspended: Option<bool>, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateStatus variant
Sourcefn update_sub_account(
&self,
arg0: UpdateSubAccountAction,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_sub_account( &self, arg0: UpdateSubAccountAction, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateSubAccount variant
Sourcefn update_ownership(
&self,
arg0: GovAction,
) -> Result<TxResponse<Chain>, CwEnvError>
fn update_ownership( &self, arg0: GovAction, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant
Sourcefn add_auth_method(
&self,
add_authenticator: Authenticator,
) -> Result<TxResponse<Chain>, CwEnvError>
fn add_auth_method( &self, add_authenticator: Authenticator, ) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AddAuthMethod variant
Sourcefn remove_auth_method(&self, id: u8) -> Result<TxResponse<Chain>, CwEnvError>
fn remove_auth_method(&self, id: u8) -> Result<TxResponse<Chain>, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveAuthMethod variant
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.