pub enum ExecuteMsg {
RemoveModule {
module: ModuleInfo,
},
YankModule {
module: ModuleInfo,
},
ProposeModules {
modules: Vec<ModuleMapEntry>,
},
UpdateModuleConfiguration {
module_name: String,
namespace: Namespace,
update_module: UpdateModule,
},
ApproveOrRejectModules {
approves: Vec<ModuleInfo>,
rejects: Vec<ModuleInfo>,
},
ClaimNamespace {
account_id: AccountId,
namespace: String,
},
RemoveNamespaces {
namespaces: Vec<String>,
},
AddAccount {
account_id: AccountId,
account_base: AccountBase,
namespace: Option<String>,
},
UpdateConfig {
account_factory_address: Option<String>,
allow_direct_module_registration_and_updates: Option<bool>,
namespace_registration_fee: Option<Clearable<Coin>>,
},
UpdateOwnership(Action),
}
Expand description
Version Control Execute Msg
Variants§
RemoveModule
Remove some version of a module
Fields
module: ModuleInfo
YankModule
Yank a version of a module so that it may not be installed Only callable by Admin
Fields
module: ModuleInfo
ProposeModules
Propose new modules to the version registry
Namespaces need to be claimed by the Account before proposing modules
Once proposed, the modules need to be approved by the Admin via ExecuteMsg::ApproveOrRejectModules
Fields
modules: Vec<ModuleMapEntry>
UpdateModuleConfiguration
Sets the metadata configuration for a module. Only callable by namespace admin
ApproveOrRejectModules
Approve or reject modules This takes the modules in the pending_modules map and moves them to the registered_modules map or yanked_modules map
ClaimNamespace
Claim namespaces
RemoveNamespaces
Remove namespace claims Only admin or root user can call this
AddAccount
Register a new Account to the deployed Accounts.
Claims namespace if provided.
Only Factory can call this
UpdateConfig
Updates configuration of the VC contract
Fields
UpdateOwnership(Action)
Update the contract’s ownership. The action
to be provided
can be either to propose transferring ownership to an account,
accept a pending ownership transfer, or renounce the ownership
permanently.
Trait Implementations§
Source§impl Clone for ExecuteMsg
impl Clone for ExecuteMsg
Source§fn clone(&self) -> ExecuteMsg
fn clone(&self) -> ExecuteMsg
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecuteMsg
impl Debug for ExecuteMsg
Source§impl<'de> Deserialize<'de> for ExecuteMsg
impl<'de> Deserialize<'de> for ExecuteMsg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ExecuteMsg
impl JsonSchema for ExecuteMsg
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more