Class: SystemParametersV1
A typed view of the 0x3::iota_system_state_inner::SystemParametersV1
embedded in the system state.
Extends
UniffiAbstractObject
Implements
Properties
[destructorGuardSymbol]
readonly [destructorGuardSymbol]: UniffiGcObject;
[pointerLiteralSymbol]
readonly [pointerLiteralSymbol]: bigint;
[uniffiTypeNameSymbol]
readonly [uniffiTypeNameSymbol]: "SystemParametersV1" = "SystemParametersV1";
Methods
epochDurationMs()
epochDurationMs(): bigint;
The duration of an epoch, in milliseconds.
Returns
bigint
Implementation of
SystemParametersV1Like.epochDurationMs
maxValidatorCount()
maxValidatorCount(): bigint;
Maximum number of active validators at any moment.
Returns
bigint
Implementation of
SystemParametersV1Like.maxValidatorCount
minValidatorCount()
minValidatorCount(): bigint;
Minimum number of active validators at any moment.
Returns
bigint
Implementation of
SystemParametersV1Like.minValidatorCount
minValidatorJoiningStake()
minValidatorJoiningStake(): bigint;
Lower bound on the amount of stake required to become a validator, in nanos.
Returns
bigint
Implementation of
SystemParametersV1Like.minValidatorJoiningStake
toDebugString()
toDebugString(): string;
Returns
string
toString()
toString(): string;
Returns a string representation of an object.
Returns
string
uniffiDestroy()
uniffiDestroy(): void;
Explicitly tell Rust to destroy the native peer that backs this object.
Once this method has been called, any following method calls will throw an error.
Can be called more than once.
Returns
void
Overrides
UniffiAbstractObject.uniffiDestroy
uniffiUse()
uniffiUse<T>(block): T;
A convenience method to use this object, then destroy it after its use.
Type Parameters
T
T
Parameters
block
(obj) => T
Returns
T
Inherited from
UniffiAbstractObject.uniffiUse
validatorLowStakeGracePeriod()
validatorLowStakeGracePeriod(): bigint;
A validator can have stake below validator_low_stake_threshold for
this many epochs before being removed.
Returns
bigint
Implementation of
SystemParametersV1Like.validatorLowStakeGracePeriod
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
Implementation of
SystemParametersV1Like.validatorLowStakeThreshold
validatorVeryLowStakeThreshold()
validatorVeryLowStakeThreshold(): bigint;
Validators with stake below this threshold (in nanos) are removed immediately at epoch change with no grace period.
Returns
bigint
Implementation of
SystemParametersV1Like.validatorVeryLowStakeThreshold
instanceOf()
static instanceOf(obj_): obj_ is SystemParametersV1;
Parameters
obj_
any
Returns
obj_ is SystemParametersV1