Struct ftoken::ftoken_mod::state::PropInfo [−][src]
pub struct PropInfo {
pub prop_id: u32,
pub proposer: HumanAddr,
pub proposal: Proposal,
pub stake: Uint128,
pub stake_withdrawn: bool,
pub outcome: Option<VoteResult>,
pub end_height: u64,
}
Expand description
proposal information as stored by ftoken contract
Fields
prop_id: u32
proposal identifier
proposer: HumanAddr
address of proposer
proposal: Proposal
proposal
stake: Uint128
ftoken staked
stake_withdrawn: bool
has the stake been withdrawn?
outcome: Option<VoteResult>
outcome. If still in voting, outcome
= None
. If vote has been finalized, outcome
= VoteResult
end_height: u64
block height where voting period ends. Final count tx can be called at this point forward
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 PropInfo
impl UnwindSafe for PropInfo
Blanket Implementations
Mutably borrows from an owned value. Read more