Skip to main content

ValidatorV1

open class ValidatorV1 : Disposable, AutoCloseable, ValidatorV1Interface

A typed view of a 0x3::validator::ValidatorV1 from the active validator set.

Functions

NameSummary
close@Synchronized
open override fun close()
commissionRateopen override fun commissionRate(): ULong
Commission rate of the validator, in basis points.
destroyopen override fun destroy()
extraFieldsIdopen override fun extraFieldsId(): ObjectId
Object ID of the Bag holding fields added to this struct after its current on-chain layout was set.
gasPriceopen override fun gasPrice(): ULong
Gas price quote, updated only at end of epoch.
metadataopen override fun metadata(): ValidatorMetadataV1
The validator's metadata (addresses, keys, and descriptive info).
nextEpochCommissionRateopen override fun nextEpochCommissionRate(): ULong
The commission rate of the validator starting next epoch, in basis points.
nextEpochGasPriceopen override fun nextEpochGasPrice(): ULong
This validator's gas price quote for the next epoch.
nextEpochStakeopen override fun nextEpochStake(): ULong
Total amount of stake that would be active in the next epoch, in nanos.
operationCapIdopen override fun operationCapId(): ObjectId
Object ID of this validator's current valid UnverifiedValidatorOperationCap.
stakingPoolopen override fun stakingPool(): StakingPoolV1
Staking pool for this validator.
toStringopen override fun toString(): String
votingPoweropen override fun votingPower(): ULong
The voting power of this validator, which may differ from its stake amount.