pub trait VCExecFns<Chain>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>where
    Chain: CwEnv,{
    // Provided methods
    fn remove_module(
        &self,
        module: ModuleInfo
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn yank_module(
        &self,
        module: ModuleInfo
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn propose_modules(
        &self,
        modules: Vec<(ModuleInfo, ModuleReference), Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn set_module_monetization(
        &self,
        module_name: String,
        monetization: Monetization,
        namespace: Namespace
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn set_module_metadata(
        &self,
        metadata: String,
        module: ModuleInfo
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn approve_or_reject_modules(
        &self,
        approves: Vec<ModuleInfo, Global>,
        rejects: Vec<ModuleInfo, Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn claim_namespace(
        &self,
        account_id: u32,
        namespace: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn remove_namespaces(
        &self,
        namespaces: Vec<String, Global>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn add_account(
        &self,
        account_base: AccountBase,
        account_id: u32
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn update_config(
        &self,
        allow_direct_module_registration_and_updates: Option<bool>,
        namespace_registration_fee: Option<Coin>
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
    fn set_factory(
        &self,
        new_factory: String
    ) -> Result<<Chain as TxHandler>::Response, CwOrchError> { ... }
}

Provided Methods§

source

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

source

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

source

fn propose_modules( &self, modules: Vec<(ModuleInfo, ModuleReference), Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn set_module_monetization( &self, module_name: String, monetization: Monetization, namespace: Namespace ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn set_module_metadata( &self, metadata: String, module: ModuleInfo ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn approve_or_reject_modules( &self, approves: Vec<ModuleInfo, Global>, rejects: Vec<ModuleInfo, Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn claim_namespace( &self, account_id: u32, namespace: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn remove_namespaces( &self, namespaces: Vec<String, Global> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn add_account( &self, account_base: AccountBase, account_id: u32 ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn update_config( &self, allow_direct_module_registration_and_updates: Option<bool>, namespace_registration_fee: Option<Coin> ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

source

fn set_factory( &self, new_factory: String ) -> Result<<Chain as TxHandler>::Response, CwOrchError>

Implementors§

source§

impl<SupportedContract, Chain> ExecuteMsgFns<Chain> for SupportedContractwhere Chain: CwEnv, SupportedContract: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>,