ChangeEpochV4Protocol
ChangeEpochV4Protocol Objects
class ChangeEpochV4Protocol(typing.Protocol)
adjust_rewards_by_score
def adjust_rewards_by_score() -> bool
Whether to adjust validator rewards based on score.
computation_charge
def computation_charge() -> int
The total amount of gas charged for computation during the epoch.
computation_charge_burned
def computation_charge_burned() -> int
The total amount of gas burned for computation during the epoch.
eligible_active_validators
def eligible_active_validators() -> typing.List[int]
Vector of active validator indices eligible to take part in committee selection because they support the new, target protocol version.
epoch
def epoch() -> int
The next (to become) epoch ID.
epoch_start_timestamp_ms
def epoch_start_timestamp_ms() -> int
Unix timestamp when epoch started
non_refundable_storage_fee
def non_refundable_storage_fee() -> int
The non-refundable storage fee.
protocol_version
def protocol_version() -> int
The protocol version in effect in the new epoch.
scores
def scores() -> typing.List[int]
Vector of scores relative to the past epoch performance of each validator, ordered by the past epoch's validator index.
storage_charge
def storage_charge() -> int
The total amount of gas charged for storage during the epoch.
storage_rebate
def storage_rebate() -> int
The amount of storage rebate refunded to the txn senders.
system_packages
def system_packages() -> typing.List[SystemPackage]
System packages (specifically framework and move stdlib) that are written before the new epoch starts.