Enum ftoken::ftoken_mod::state::Vote [−][src]
pub enum Vote {
Yes,
No,
Veto,
Abstain,
}
Expand description
Vote cast on proposals
Variants
Yes
If a proposal’s veto votes are below the veto threshold, and quorum is met, the proposal will pass if yes votes > no votes
No
Veto
If a certain threshold percentage of veto votes are made (determined by) the DAO configuration, the proposer will lose their staked ftokens
Abstain
Abstain votes count towards quorum (which need to be met for a proposal) to pass
Trait Implementations
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
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
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 more
Auto Trait Implementations
impl RefUnwindSafe for Vote
impl UnwindSafe for Vote
Blanket Implementations
Mutably borrows from an owned value. Read more