Skip to main content

SystemParametersV1Interface

type SystemParametersV1Interface​

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

BCS​

The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-move-types/bcs-schema.abnf\).

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
}