Skip to main content

ChangeEpochV3Protocol

ChangeEpochV3Protocol Objects​

class ChangeEpochV3Protocol(typing.Protocol)

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

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.

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.

to_display_string​

def to_display_string() -> str

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.