Skip to main content

Parameters

info

This page reflects the runtime file of the chain viewable at Github, which is the final source of authority. You can also use the Polkadot.js apps to confirm the current value of these parameters on a testnet or mainnet at Chain State tab > Constants > Select Parameter

Accounts and Transactions

ParameterValueDescription
Reaping Threshold0.001 EDGThe minimum EDG required in the account balance to create or maintain an account.
Transaction Minimum1e-18The Min. amount you can send to an Edgeware Address.

Consensus

ParameterValue
Consensus MechanismAURA
Finality GadgetGRANDPA

Time

Exact Runtime code specifying constants related to block time and production.

EdgewareTimeSlots*
Block6 seconds1
Epoch60 minutes600
Session60 minutes (600 Blocks)600
Era6 hours (6 sessions)3600
info

This code is from https://github.com/hicommonwealth/edgeware-node/blob/master/node/runtime/src/constants.rs

It may be out of date on this page, refer to the link above for most up to date runtime data.

    pub const MILLISECS_PER_BLOCK: Moment = 6000;
pub const SECS_PER_BLOCK: Moment = MILLISECS_PER_BLOCK / 1000;

pub const SLOT_DURATION: Moment = MILLISECS_PER_BLOCK;

// 1 in 4 blocks (on average, not counting collisions) will be primary BABE blocks.
pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4);

pub const EPOCH_DURATION_IN_BLOCKS: BlockNumber = 1 * HOURS;
pub const EPOCH_DURATION_IN_SLOTS: u64 = {
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;

https://github.com/hicommonwealth/edgeware-node/blob/master/node/runtime/src/constants.rs

Staking

ParameterValueDescription
Validator Slots110The total number of slots for active validation.
Validator Bonding Duration28 hoursHow long until you can unbond your funds after staking
Slash Deferral Duration28 Eras (7 days)Prevents overslashing and validators "escaping" and getting their nominators slashed with no repercussions to themselves
Slash Cancellation VoteRequires 3/4 of Council to Approve
Validator Term DurationThe 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.
Nomination PeriodCountdown until a new validator set is elected according to Phragmen's method.

Democracy (Referenda)

ParameterValueDescription
Launch Period7 daysHow 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
Voting Period7 daysHow long the public can vote on a referendum.
Enactment Delay8 daysTime it takes for a successful referendum to be implemented on the network.
Passing Vote CriteriaSupermajority to pass
Fast Track Voting Period3 daysMinimum voting period allowed for an emergency referendum.
VetoNot active
Proposal Cancellation Vote2/3 of council to Approve Cancellation
Cool-off Period after Proposal Cancellation7 daysThe time a veto from the technical committee lasts before the proposal can be submitted again.
Min. EDG Deposit to Vote100 EDG

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.

Vote WeightLocktime
0.1xNone
1x1x Enactment Period (8 days)
2x2x Enactment Period (16 days)
3x4x Enactment Period (32 days)
4x8x Enactment Period (64 days)
5x16x Enactment Period (128 days)
6x32x Enactment Period (256 days)

Council Elections

ParameterValueDescription
Term Duration28 daysThe 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.
Candidacy Bond1000 EDGThe amount a user must bond to submit their candidacy.
Voting Bond10 EDGThe amount of EDG that a voter must lock to vote for Council.
Council Member Slots13 membersThe size of the council.
Runners-up Slots7 membersThe number of slots that will be displayed as a runner-up.
Council Voting Period??The council's voting period for motions.

****

Treasury

ParameterValueDescription
Budgeting Period7 daysWhen the treasury can spend again after spending previously.
Proposal Bond5% and minumum 1000 EDGThe 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 fundsOffThis deactivates a burn of all unspent treasury funds at the end of a budgeting period.

****

Signaling

ParameterValueDescription
Signaling Period7 daysThe length of time a signal proposal is active for engagement.
Signaling Proposal Bond100 EDGThe amount of EDG required to bond to submit a signaling proposal.

Identity

ParameterValueDescription
Required Bond Per Identity10 EDGBond required to store IDs on-chain.
Required Bond Per Each Additional Identity Field2.5 EDGBond required to store additional IDs on-chain Beyond Legal Name.
Sub-Account Deposit2 EDGAmount required to deposit in order to create a sub account.
Maximum Sub-Accounts100The maximum number of sub account an account may have.

Economics

ParameterValue (Units)Description
Minimum Inflation.025The min. inflation rate the system will permit.
Maximum Inflation

<b></b>

0.1

The max. inflation rate the system will permit.
Ideal Staking Rate0.8The ideal proportion of EDG tokens staked compared to total EDG supply.
Falloff (Decay) Rate

<b></b>

0.05

The decay rate on inflation when the actual staking rate becomes greater than the ideal staking rate.
Max Piece Count40
Test Precision0.005
Ideal Interest Rate12.5%The ideal returns that an individual validator earns.

Contract configuration

ParameterValueDescription
Contract Transfer Fee0.10 EDG****
Contract Creation Fee0.10 EDG****
Contract Transaction Base Fee0.10 EDG****
Contract Transaction Byte Fee0.001 EDG****
Contract Fee0.10 EDG****
Tombstone Deposit1 EDG****
Rent Byte Fee1 EDG****
Rent Deposit Offset1000 EDG****
Surcharge Reward150 EDG

Genesis

ParameterValue
Council Members1 Member at time of Genesis (Commonwealth Labs 0x02456...)
Identity Attestation Provider1 Verifier at time of Genesis (Commonwealth Labs 0x92c32...)

****