Trait abstract_std::version_control::ExecuteMsgFns

source ·
pub trait ExecuteMsgFns<Chain: TxHandler>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg> {
    // Provided methods
    fn remove_module(
        &self,
        module: ModuleInfo
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn yank_module(
        &self,
        module: ModuleInfo
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn propose_modules(
        &self,
        modules: Vec<ModuleMapEntry>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn update_module_configuration(
        &self,
        module_name: String,
        namespace: Namespace,
        update_module: UpdateModule
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn approve_or_reject_modules(
        &self,
        approves: Vec<ModuleInfo>,
        rejects: Vec<ModuleInfo>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn claim_namespace(
        &self,
        account_id: AccountId,
        namespace: String
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn remove_namespaces(
        &self,
        namespaces: Vec<String>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn add_account(
        &self,
        account_base: AccountBase,
        account_id: AccountId,
        namespace: Option<String>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn update_config(
        &self,
        account_factory_address: Option<String>,
        namespace_registration_fee: Option<Clearable<Coin>>,
        security_disabled: Option<bool>
    ) -> 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§

source

fn remove_module( &self, module: ModuleInfo ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::RemoveModule variant

source

fn yank_module( &self, module: ModuleInfo ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::YankModule variant

source

fn propose_modules( &self, modules: Vec<ModuleMapEntry> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::ProposeModules variant

source

fn update_module_configuration( &self, module_name: String, namespace: Namespace, update_module: UpdateModule ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::UpdateModuleConfiguration variant

source

fn approve_or_reject_modules( &self, approves: Vec<ModuleInfo>, rejects: Vec<ModuleInfo> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::ApproveOrRejectModules variant

source

fn claim_namespace( &self, account_id: AccountId, namespace: String ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::ClaimNamespace variant

source

fn remove_namespaces( &self, namespaces: Vec<String> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::RemoveNamespaces variant

source

fn add_account( &self, account_base: AccountBase, account_id: AccountId, namespace: Option<String> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::AddAccount variant

source

fn update_config( &self, account_factory_address: Option<String>, namespace_registration_fee: Option<Clearable<Coin>>, security_disabled: Option<bool> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::UpdateConfig variant

source

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

Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant

Implementors§

source§

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