Skip to main content

SystemParametersV1

type SystemParametersV1​

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

type SystemParametersV1 struct {
// contains filtered or unexported fields
}

func LiftFromExternalSystemParametersV1​

func LiftFromExternalSystemParametersV1(handle uint64) *SystemParametersV1

func (*SystemParametersV1) DebugString​

func (_self *SystemParametersV1) DebugString() string

func (*SystemParametersV1) Destroy​

func (object *SystemParametersV1) Destroy()

func (*SystemParametersV1) EpochDurationMs​

func (_self *SystemParametersV1) EpochDurationMs() uint64

The duration of an epoch, in milliseconds.

func (*SystemParametersV1) MaxValidatorCount​

func (_self *SystemParametersV1) MaxValidatorCount() uint64

Maximum number of active validators at any moment.

func (*SystemParametersV1) MinValidatorCount​

func (_self *SystemParametersV1) MinValidatorCount() uint64

Minimum number of active validators at any moment.

func (*SystemParametersV1) MinValidatorJoiningStake​

func (_self *SystemParametersV1) MinValidatorJoiningStake() uint64

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

func (*SystemParametersV1) ValidatorLowStakeGracePeriod​

func (_self *SystemParametersV1) ValidatorLowStakeGracePeriod() uint64

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

func (*SystemParametersV1) ValidatorLowStakeThreshold​

func (_self *SystemParametersV1) ValidatorLowStakeThreshold() uint64

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

func (*SystemParametersV1) ValidatorVeryLowStakeThreshold​

func (_self *SystemParametersV1) ValidatorVeryLowStakeThreshold() uint64

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