Trait abstract_std::account_factory::ExecuteMsgFns

source ·
pub trait ExecuteMsgFns<Chain: TxHandler, CwOrchExecuteMsgType>: CwOrchExecute<Chain, ExecuteMsg = CwOrchExecuteMsgType>
where ExecuteMsg: Into<CwOrchExecuteMsgType>,
{ // Provided methods fn update_config( &self, ans_host_contract: Option<String>, module_factory_address: Option<String>, version_control_contract: Option<String>, ) -> Result<TxResponse<Chain>, CwEnvError> { ... } fn create_account( &self, governance: GovernanceDetails<String>, install_modules: Vec<ModuleInstallConfig>, name: impl Into<String>, account_id: Option<AccountId>, base_asset: Option<AssetEntry>, description: Option<String>, link: Option<String>, namespace: Option<String>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError> { ... } fn update_ownership( &self, arg0: Action, ) -> 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§

source

fn update_config( &self, ans_host_contract: Option<String>, module_factory_address: Option<String>, version_control_contract: Option<String>, ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateConfig variant

source

fn create_account( &self, governance: GovernanceDetails<String>, install_modules: Vec<ModuleInstallConfig>, name: impl Into<String>, account_id: Option<AccountId>, base_asset: Option<AssetEntry>, description: Option<String>, link: Option<String>, namespace: Option<String>, coins: &[Coin], ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::CreateAccount variant

source

fn update_ownership( &self, arg0: Action, ) -> Result<TxResponse<Chain>, CwEnvError>

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

Object Safety§

This trait is not object safe.

Implementors§

source§

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