pub enum FactoryExecuteMsg {
Deploy {
kind: VersionKind,
module_instantiate_info: ModuleInstantiateInfo,
},
Remove {
contract_name: String,
version: [u8; 2],
},
UpdateMetadata {
contract_name: String,
version: [u8; 2],
changelog_url: Option<String>,
schema: Option<String>,
},
Proxy {
msg: WasmMsg,
},
NominateOwner {
nominated_owner_addr: String,
},
AcceptNominateOwner {},
RemoveNominateOwner {},
}Variants§
Deploy
Deploys contract and saves metadata of the contract to the factory
Remove
Removes contract metadata from the factory if contract is paused or it is library contract. Last version of the contract can’t get removed
UpdateMetadata
Update fields of the contract metadata
Proxy
Pass through execution for versioned contract calls
NominateOwner
Factory owner (DAO) may submit a new owner to transfer ownership
AcceptNominateOwner
The nominated address must accept a nomination to finalize transfer of ownership NOTE: This is the only method that can be called, that isn’t from current owner_addr
RemoveNominateOwner
Factory owner (DAO) may revoke any/all ownership nominations at any time.
Trait Implementations§
Source§impl Clone for FactoryExecuteMsg
impl Clone for FactoryExecuteMsg
Source§fn clone(&self) -> FactoryExecuteMsg
fn clone(&self) -> FactoryExecuteMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FactoryExecuteMsg
impl Debug for FactoryExecuteMsg
Source§impl<'de> Deserialize<'de> for FactoryExecuteMsg
impl<'de> Deserialize<'de> for FactoryExecuteMsg
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for FactoryExecuteMsg
impl JsonSchema for FactoryExecuteMsg
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for FactoryExecuteMsg
impl PartialEq for FactoryExecuteMsg
Source§impl Serialize for FactoryExecuteMsg
impl Serialize for FactoryExecuteMsg
impl StructuralPartialEq for FactoryExecuteMsg
Auto Trait Implementations§
impl Freeze for FactoryExecuteMsg
impl RefUnwindSafe for FactoryExecuteMsg
impl Send for FactoryExecuteMsg
impl Sync for FactoryExecuteMsg
impl Unpin for FactoryExecuteMsg
impl UnwindSafe for FactoryExecuteMsg
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
Mutably borrows from an owned value. Read more