Trait abstract_interface::VCExecFns
source · pub trait VCExecFns<Chain>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>where
Chain: TxHandler,{
// Provided methods
fn remove_module(
&self,
module: ModuleInfo
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn yank_module(
&self,
module: ModuleInfo
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn propose_modules(
&self,
modules: Vec<(ModuleInfo, ModuleReference)>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_module_configuration(
&self,
module_name: String,
namespace: Namespace,
update_module: UpdateModule
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn approve_or_reject_modules(
&self,
approves: Vec<ModuleInfo>,
rejects: Vec<ModuleInfo>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn claim_namespace(
&self,
account_id: AccountId,
namespace: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn remove_namespaces(
&self,
namespaces: Vec<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn add_account(
&self,
account_base: AccountBase,
account_id: AccountId,
namespace: Option<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_config(
&self,
account_factory_address: Option<String>,
namespace_registration_fee: Option<Clearable<Coin>>,
security_disabled: Option<bool>
) -> Result<<Chain as TxHandler>::Response, CwEnvError> { ... }
fn update_ownership(
&self,
arg0: Action
) -> Result<<Chain as TxHandler>::Response, 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 remove_module(
&self,
module: ModuleInfo
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_module( &self, module: ModuleInfo ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveModule variant
sourcefn yank_module(
&self,
module: ModuleInfo
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn yank_module( &self, module: ModuleInfo ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::YankModule variant
sourcefn propose_modules(
&self,
modules: Vec<(ModuleInfo, ModuleReference)>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn propose_modules( &self, modules: Vec<(ModuleInfo, ModuleReference)> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ProposeModules variant
sourcefn update_module_configuration(
&self,
module_name: String,
namespace: Namespace,
update_module: UpdateModule
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_module_configuration( &self, module_name: String, namespace: Namespace, update_module: UpdateModule ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateModuleConfiguration variant
sourcefn approve_or_reject_modules(
&self,
approves: Vec<ModuleInfo>,
rejects: Vec<ModuleInfo>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn approve_or_reject_modules( &self, approves: Vec<ModuleInfo>, rejects: Vec<ModuleInfo> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ApproveOrRejectModules variant
sourcefn claim_namespace(
&self,
account_id: AccountId,
namespace: String
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn claim_namespace( &self, account_id: AccountId, namespace: String ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::ClaimNamespace variant
sourcefn remove_namespaces(
&self,
namespaces: Vec<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn remove_namespaces( &self, namespaces: Vec<String> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::RemoveNamespaces variant
sourcefn add_account(
&self,
account_base: AccountBase,
account_id: AccountId,
namespace: Option<String>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn add_account( &self, account_base: AccountBase, account_id: AccountId, namespace: Option<String> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::AddAccount variant
sourcefn update_config(
&self,
account_factory_address: Option<String>,
namespace_registration_fee: Option<Clearable<Coin>>,
security_disabled: Option<bool>
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_config( &self, account_factory_address: Option<String>, namespace_registration_fee: Option<Clearable<Coin>>, security_disabled: Option<bool> ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateConfig variant
sourcefn update_ownership(
&self,
arg0: Action
) -> Result<<Chain as TxHandler>::Response, CwEnvError>
fn update_ownership( &self, arg0: Action ) -> Result<<Chain as TxHandler>::Response, CwEnvError>
Automatically generated wrapper around ExecuteMsg::UpdateOwnership variant