IValidatorSetV2
Namespace: IotaSdk
A typed view of the 0x3::validator_set::ValidatorSetV2 embedded in the
system state.
public interface IValidatorSetV2
Attributes NullableContextAttribute
Methods
ActiveValidators()
The current list of active validators.
ValidatorV1[] ActiveValidators()
Returns
AtRiskValidators()
Number of epochs each at-risk validator has had stake below the low-stake threshold.
Dictionary<Address, ulong> AtRiskValidators()
Returns
CommitteeMembers()
Indices into active_validators of the validators responsible for
consensus.
UInt64[] CommitteeMembers()
Returns
ExtraFieldsId()
Object ID of the Bag holding fields added to this struct after its
current on-chain layout was set.
ObjectId ExtraFieldsId()
Returns
InactiveValidatorsId()
Object ID of the Table holding the inactive validators, keyed by
staking pool ID.
ObjectId InactiveValidatorsId()
Returns
PendingActiveValidatorsId()
Object ID of the TableVec holding the pending validator candidates,
keyed by their index.
ObjectId PendingActiveValidatorsId()
Returns
PendingActiveValidatorsSize()
Number of pending validator candidates. The candidates themselves are stored in dynamic fields and are not part of this struct's contents.
ulong PendingActiveValidatorsSize()
Returns
PendingRemovals()
Indices into active_validators with pending removal requests.
UInt64[] PendingRemovals()
Returns
StakingPoolMappingsId()
Object ID of the Table mapping each staking pool ID to its validator
address.
ObjectId StakingPoolMappingsId()
Returns
TotalStake()
Total stake from all committee validators at the beginning of the epoch, in nanos.
ulong TotalStake()
Returns
ValidatorCandidatesId()
Object ID of the Table holding the validator candidates, keyed by
their address.
ObjectId ValidatorCandidatesId()