Struct everscale_types::models::config::ConfigProposalSetup
source · pub struct ConfigProposalSetup {
pub min_total_rounds: u8,
pub max_total_rounds: u8,
pub min_wins: u8,
pub max_losses: u8,
pub min_store_sec: u32,
pub max_store_sec: u32,
pub bit_price: u32,
pub cell_price: u32,
}Expand description
Config proposal setup params.
Fields§
§min_total_rounds: u8The minimal number of voting rounds for the proposal.
max_total_rounds: u8The maximum number of voting rounds for the proposal.
min_wins: u8The minimum number of winned voting rounds.
max_losses: u8The maximum number of lost voting rounds.
min_store_sec: u32The minimal proposal lifetime duration in seconds.
max_store_sec: u32The maximum proposal lifetime duration in seconds.
bit_price: u32Bit price for storage price computation.
cell_price: u32Cell price for storage price computation.
Trait Implementations§
source§impl Clone for ConfigProposalSetup
impl Clone for ConfigProposalSetup
source§fn clone(&self) -> ConfigProposalSetup
fn clone(&self) -> ConfigProposalSetup
Returns a copy 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 ConfigProposalSetup
impl Debug for ConfigProposalSetup
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for ConfigProposalSetup
impl<'tlb, C: CellFamily> Load<'tlb, C> for ConfigProposalSetup
source§impl PartialEq<ConfigProposalSetup> for ConfigProposalSetup
impl PartialEq<ConfigProposalSetup> for ConfigProposalSetup
source§fn eq(&self, other: &ConfigProposalSetup) -> bool
fn eq(&self, other: &ConfigProposalSetup) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for ConfigProposalSetup
impl<C: CellFamily> Store<C> for ConfigProposalSetup
source§fn store_into(
&self,
__builder: &mut CellBuilder<C>,
__finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, __builder: &mut CellBuilder<C>, __finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.