ValidatorV1Interface
type ValidatorV1Interface
A typed view of a `0x3::validator::ValidatorV1` from the active validator set.
type ValidatorV1Interface interface {
// Commission rate of the validator, in basis points.
CommissionRate() uint64
// Object ID of the `Bag` holding fields added to this struct after its
// current on-chain layout was set.
ExtraFieldsId() *ObjectId
// Gas price quote, updated only at end of epoch.
GasPrice() uint64
// The validator's metadata (addresses, keys, and descriptive info).
Metadata() *ValidatorMetadataV1
// The commission rate of the validator starting next epoch, in basis
// points.
NextEpochCommissionRate() uint64
// This validator's gas price quote for the next epoch.
NextEpochGasPrice() uint64
// Total amount of stake that would be active in the next epoch, in
// nanos.
NextEpochStake() uint64
// Object ID of this validator's current valid
// `UnverifiedValidatorOperationCap`.
OperationCapId() *ObjectId
// Staking pool for this validator.
StakingPool() *StakingPoolV1
// The voting power of this validator, which may differ from its stake
// amount.
VotingPower() uint64
}