const SLOT_FILL_RATE: f64 = MILLISECS_PER_BLOCK as f64 / SLOT_DURATION as f64;
(EPOCH_DURATION_IN_BLOCKS as f64 * SLOT_FILL_RATE) as u64
// These time units are defined in number of blocks.
pub const MINUTES: BlockNumber = 60 / (SECS_PER_BLOCK as BlockNumber);
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;
edgeware-node/constants.rs at master · hicommonwealth/edgeware-node
The total number of slots for active validation.
Validator Bonding Duration
How long until you can unbond your funds after staking
Slash Deferral Duration
28 Eras (7 days)
Prevents overslashing and validators "escaping" and getting their nominators slashed with no repercussions to themselves
Slash Cancellation Vote
Requires 3/4 of Council to Approve
Validator Term Duration
The time for which a validator is in the set after being elected. Note, this duration can be shortened in the case that a validator misbehaves.
Countdown until a new validator set is elected according to Phragmen's method.
How long the public can select which proposal to hold a referendum on. i.e., Every week, the highest-weighted proposal will be selected to have a referendum
How long the public can vote on a referendum.
Time it takes for a successful referendum to be implemented on the network.
Passing Vote Criteria
Supermajority to pass
Fast Track Voting Period
Minimum voting period allowed for an emergency referendum.
Proposal Cancellation Vote
2/3 of council to Approve Cancellation
Cool-off Period after Proposal Cancellation
The time a veto from the technical committee lasts before the proposal can be submitted again.
Min. EDG Deposit to Vote
Vote Weighting by Lock Time
The schedule of weight boosts on a quadratic curve - meaning that exponentially increasing locktimes are required to achieve lesser proportional boosts in weight.
1x Enactment Period (8 days)
2x Enactment Period (16 days)
4x Enactment Period (32 days)
8x Enactment Period (64 days)
16x Enactment Period (128 days)
32x Enactment Period (256 days)
The length of a council member's term until the next election round. A new councilperson is elected every 28 days based on the Phragmen algorithm. If the term duration is changed the current term is affected when BlockNumber % TermDuration ==0, upon which a new council (or councilperson?) will be selected.
The amount a user must bond to submit their candidacy.
The amount of EDG that a voter must lock to vote for Council.
Council Member Slots
The size of the council.
The number of slots that will be displayed as a runner-up.
Council Voting Period
The council's voting period for motions.
When the treasury can spend again after spending previously.
5% and minumum 1000 EDG
The amount required to bond in order to propose a treasury spend. If approved, it is returned, if the proposal fails, it is burnt.
Burn unspent treasury funds
This deactivates a burn of all unspent treasury funds at the end of a budgeting period.
The length of time a signal proposal is active for engagement.
Signaling Proposal Bond
The amount of EDG required to bond to submit a signaling proposal.
Required Bond Per Identity
Bond required to store IDs on-chain.
Required Bond Per Each Additional Identity Field
Bond required to store additional IDs on-chain Beyond Legal Name.
Amount required to deposit in order to create a sub account.
The maximum number of sub account an account may have.
The min. inflation rate the system will permit.
The max. inflation rate the system will permit.
Ideal Staking Rate
The ideal proportion of EDG tokens staked compared to total EDG supply.
Falloff (Decay) Rate
The decay rate on inflation when the actual staking rate becomes greater than the ideal staking rate.
Max Piece Count
Ideal Interest Rate
The ideal returns that an individual validator earns.
Contract Transfer Fee
Contract Creation Fee
Contract Transaction Base Fee
Contract Transaction Byte Fee
Rent Byte Fee
Rent Deposit Offset
1 Member at time of Genesis (Commonwealth Labs 0x02456...)
Identity Attestation Provider
1 Verifier at time of Genesis (Commonwealth Labs 0x92c32...)