ChangeEpochProtocol
ChangeEpochProtocol Objects
class ChangeEpochProtocol(typing.Protocol)
System transaction used to change the epoch
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.
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_bcs
def to_bcs() -> bytes
Convert this type to BCS encoded bytes.
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.
to_json
def to_json() -> str
Convert this type to a JSON encoded string.