Trait abstract_std::account_factory::ExecuteMsgFns
source · pub trait ExecuteMsgFns<Chain: TxHandler>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg> {
// Provided methods
fn update_config(
&self,
ans_host_contract: Option<String>,
ibc_host: Option<String>,
module_factory_address: Option<String>,
version_control_contract: Option<String>
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn create_account(
&self,
governance: GovernanceDetails<String>,
install_modules: Vec<ModuleInstallConfig>,
name: String,
account_id: Option<AccountId>,
base_asset: Option<AssetEntry>,
description: Option<String>,
link: Option<String>,
namespace: Option<String>,
coins: &[Coin]
) -> Result<TxResponse<Chain>, CwOrchError> { ... }
fn update_ownership(
&self,
arg0: Action
) -> 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_config(
&self,
ans_host_contract: Option<String>,
ibc_host: Option<String>,
module_factory_address: Option<String>,
version_control_contract: Option<String>
) -> Result<TxResponse<Chain>, CwOrchError>
fn update_config( &self, ans_host_contract: Option<String>, ibc_host: Option<String>, module_factory_address: Option<String>, version_control_contract: Option<String> ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
sourcefn create_account(
&self,
governance: GovernanceDetails<String>,
install_modules: Vec<ModuleInstallConfig>,
name: String,
account_id: Option<AccountId>,
base_asset: Option<AssetEntry>,
description: Option<String>,
link: Option<String>,
namespace: Option<String>,
coins: &[Coin]
) -> Result<TxResponse<Chain>, CwOrchError>
fn create_account( &self, governance: GovernanceDetails<String>, install_modules: Vec<ModuleInstallConfig>, name: String, account_id: Option<AccountId>, base_asset: Option<AssetEntry>, description: Option<String>, link: Option<String>, namespace: Option<String>, coins: &[Coin] ) -> Result<TxResponse<Chain>, CwOrchError>
Automatically generated wrapper around ExecuteMsg::CreateAccount variant
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