SystemParameters

Properties

Link copied to clipboard
abstract val epochDurationMs: <Error class: unknown class>?

The duration of an epoch, in milliseconds.

Link copied to clipboard
abstract val extraFields: MoveTable

Any extra fields that are not defined statically.

Link copied to clipboard
abstract val maxValidatorCount: <Error class: unknown class>?

Maximum number of active validators at any moment. We do not allow the number of validators in any epoch to go above this.

Link copied to clipboard
abstract val minValidatorCount: <Error class: unknown class>?

Minimum number of active validators at any moment.

Link copied to clipboard
abstract val minValidatorJoiningStake: <Error class: unknown class>?

Deprecated. Lower-bound on the amount of stake required to become a validator.

Link copied to clipboard

Returns the field-presence view for this SystemParameters instance.

Link copied to clipboard
abstract val stakeSubsidyStartEpoch: <Error class: unknown class>?

The starting epoch in which stake subsidies start being paid out

Link copied to clipboard
abstract val validatorLowStakeGracePeriod: <Error class: unknown class>?

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

Link copied to clipboard
abstract val validatorLowStakeThreshold: <Error class: unknown class>?

Deprecated. Validators with stake amount below validator_low_stake_threshold are considered to have low stake and will be escorted out of the validator set after being below this threshold for more than validator_low_stake_grace_period number of epochs.

Link copied to clipboard
abstract val validatorVeryLowStakeThreshold: <Error class: unknown class>?

Deprecated. Validators with stake below validator_very_low_stake_threshold will be removed immediately at epoch change, no grace period.

Functions

Link copied to clipboard
fun SystemParameters.copy(body: <Error class: unknown class>.() -> Unit = {}): SystemParameters

Copies the original message, including unknown fields.