pub enum MigrateMsg {
FromV1 {
close_proposal_on_execution_failure: bool,
pre_propose_info: PreProposeInfo,
veto: Option<VetoConfig>,
},
FromCompatible {},
}Variants§
FromV1
Fields
close_proposal_on_execution_failure: boolThis field was not present in DAO DAO v1. To migrate, a value must be specified.
If set to true proposals will be closed if their execution fails. Otherwise, proposals will remain open after execution failure. For example, with this enabled a proposal to send 5 tokens out of a DAO’s treasury with 4 tokens would be closed when it is executed. With this disabled, that same proposal would remain open until the DAO’s treasury was large enough for it to be executed.
pre_propose_info: PreProposeInfoThis field was not present in DAO DAO v1. To migrate, a value must be specified.
This contains information about how a pre-propose module may be configured. If set to “AnyoneMayPropose”, there will be no pre-propose module and consequently, no deposit or membership checks when submitting a proposal. The “ModuleMayPropose” option allows for instantiating a prepropose module which will handle deposit verification and return logic.
veto: Option<VetoConfig>This field was not present in DAO DAO v1. To migrate, a value must be specified.
optional configuration for veto feature
FromCompatible
Trait Implementations§
Source§impl Clone for MigrateMsg
impl Clone for MigrateMsg
Source§fn clone(&self) -> MigrateMsg
fn clone(&self) -> MigrateMsg
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MigrateMsg
impl Debug for MigrateMsg
Source§impl<'de> Deserialize<'de> for MigrateMsg
impl<'de> Deserialize<'de> for MigrateMsg
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 MigrateMsg
impl JsonSchema for MigrateMsg
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