SystemParametersV1Interface
type SystemParametersV1Interface
A typed view of the `0x3::iota_system_state_inner::SystemParametersV1` embedded in the system state.
type SystemParametersV1Interface interface {
// The duration of an epoch, in milliseconds.
EpochDurationMs() uint64
// Maximum number of active validators at any moment.
MaxValidatorCount() uint64
// Minimum number of active validators at any moment.
MinValidatorCount() uint64
// Lower bound on the amount of stake required to become a validator, in
// nanos.
MinValidatorJoiningStake() uint64
// A validator can have stake below `validator_low_stake_threshold` for
// this many epochs before being removed.
ValidatorLowStakeGracePeriod() uint64
// Validators with stake below this threshold (in nanos) are considered
// to have low stake and may be removed from the validator set.
ValidatorLowStakeThreshold() uint64
// Validators with stake below this threshold (in nanos) are removed
// immediately at epoch change with no grace period.
ValidatorVeryLowStakeThreshold() uint64
}