ValidatorSetV2Interface
interface ValidatorSetV2Interface
A typed view of the 0x3::validator_set::ValidatorSetV2 embedded in the system state.
Inheritors
| ValidatorSetV2 |
Functions
| Name | Summary |
|---|---|
| activeValidators | abstract fun activeValidators(): List<ValidatorV1> The current list of active validators. |
| atRiskValidators | abstract fun atRiskValidators(): Map<Address, ULong> Number of epochs each at-risk validator has had stake below the low-stake threshold. |
| committeeMembers | abstract fun committeeMembers(): List<ULong> Indices into active_validators of the validators responsible for consensus. |
| extraFieldsId | abstract fun extraFieldsId(): ObjectId Object ID of the Bag holding fields added to this struct after its current on-chain layout was set. |
| inactiveValidatorsId | abstract fun inactiveValidatorsId(): ObjectId Object ID of the Table holding the inactive validators, keyed by staking pool ID. |
| pendingActiveValidatorsId | abstract fun pendingActiveValidatorsId(): ObjectId Object ID of the TableVec holding the pending validator candidates, keyed by their index. |
| pendingActiveValidatorsSize | abstract fun pendingActiveValidatorsSize(): ULong Number of pending validator candidates. The candidates themselves are stored in dynamic fields and are not part of this struct's contents. |
| pendingRemovals | abstract fun pendingRemovals(): List<ULong> Indices into active_validators with pending removal requests. |
| stakingPoolMappingsId | abstract fun stakingPoolMappingsId(): ObjectId Object ID of the Table mapping each staking pool ID to its validator address. |
| totalStake | abstract fun totalStake(): ULong Total stake from all committee validators at the beginning of the epoch, in nanos. |
| validatorCandidatesId | abstract fun validatorCandidatesId(): ObjectId Object ID of the Table holding the validator candidates, keyed by their address. |