ValidatorV1Protocol
ValidatorV1Protocol Objects
class ValidatorV1Protocol(typing.Protocol)
A typed view of a 0x3::validator::ValidatorV1 from the active validator
set.
commission_rate
def commission_rate() -> int
Commission rate of the validator, in basis points.
extra_fields_id
def extra_fields_id() -> ObjectId
Object ID of the Bag holding fields added to this struct after its
current on-chain layout was set.
gas_price
def gas_price() -> int
Gas price quote, updated only at end of epoch.
metadata
def metadata() -> ValidatorMetadataV1
The validator's metadata (addresses, keys, and descriptive info).
next_epoch_commission_rate
def next_epoch_commission_rate() -> int
The commission rate of the validator starting next epoch, in basis points.
next_epoch_gas_price
def next_epoch_gas_price() -> int
This validator's gas price quote for the next epoch.
next_epoch_stake
def next_epoch_stake() -> int
Total amount of stake that would be active in the next epoch, in nanos.
operation_cap_id
def operation_cap_id() -> ObjectId
Object ID of this validator's current valid
UnverifiedValidatorOperationCap.
staking_pool
def staking_pool() -> StakingPoolV1
Staking pool for this validator.
voting_power
def voting_power() -> int
The voting power of this validator, which may differ from its stake amount.