Skip to main content

Interface: SystemParametersV1Like

A typed view of the 0x3::iota_system_state_inner::SystemParametersV1 embedded in the system state.

Methods

epochDurationMs()

epochDurationMs(): bigint;

The duration of an epoch, in milliseconds.

Returns

bigint


maxValidatorCount()

maxValidatorCount(): bigint;

Maximum number of active validators at any moment.

Returns

bigint


minValidatorCount()

minValidatorCount(): bigint;

Minimum number of active validators at any moment.

Returns

bigint


minValidatorJoiningStake()

minValidatorJoiningStake(): bigint;

Lower bound on the amount of stake required to become a validator, in nanos.

Returns

bigint


validatorLowStakeGracePeriod()

validatorLowStakeGracePeriod(): bigint;

A validator can have stake below validator_low_stake_threshold for this many epochs before being removed.

Returns

bigint


validatorLowStakeThreshold()

validatorLowStakeThreshold(): bigint;

Validators with stake below this threshold (in nanos) are considered to have low stake and may be removed from the validator set.

Returns

bigint


validatorVeryLowStakeThreshold()

validatorVeryLowStakeThreshold(): bigint;

Validators with stake below this threshold (in nanos) are removed immediately at epoch change with no grace period.

Returns

bigint