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,
},
ForgoNamespace {
namespaces: Vec<String>,
},
AddAccount {
namespace: Option<String>,
creator: String,
},
UpdateConfig {
security_enabled: Option<bool>,
namespace_registration_fee: Option<Clearable<Coin>>,
},
UpdateOwnership(Action),
}
Expand description
Registry 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
ForgoNamespace
Forgo namespace claims Only admin or root user can call this
AddAccount
Register a new Account to the deployed Accounts.
Claims namespace if provided.
Only new accounts can call this.
UpdateConfig
Updates configuration of the Registry 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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for ExecuteMsg
impl PartialEq for ExecuteMsg
Source§impl Serialize for ExecuteMsg
impl Serialize for ExecuteMsg
impl StructuralPartialEq for ExecuteMsg
Auto Trait Implementations§
impl Freeze for ExecuteMsg
impl RefUnwindSafe for ExecuteMsg
impl Send for ExecuteMsg
impl Sync for ExecuteMsg
impl Unpin for ExecuteMsg
impl UnwindSafe for ExecuteMsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more