ChangeEpochV4
open class ChangeEpochV4 : Disposable, AutoCloseable, ChangeEpochV4Interface
Constructors
| ChangeEpochV4 | constructor(epoch: ULong, protocolVersion: ULong, storageCharge: ULong, computationCharge: ULong, computationChargeBurned: ULong, storageRebate: ULong, nonRefundableStorageFee: ULong, epochStartTimestampMs: ULong, systemPackages: List<SystemPackage>, eligibleActiveValidators: List<ULong>, scores: List<ULong>, adjustRewardsByScore: Boolean) |
Functions
| Name | Summary |
|---|---|
| adjustRewardsByScore | open override fun adjustRewardsByScore(): Boolean Whether to adjust validator rewards based on score. |
| close | @Synchronized open override fun close() |
| computationCharge | open override fun computationCharge(): ULong The total amount of gas charged for computation during the epoch. |
| computationChargeBurned | open override fun computationChargeBurned(): ULong The total amount of gas burned for computation during the epoch. |
| destroy | open override fun destroy() |
| eligibleActiveValidators | open override fun eligibleActiveValidators(): List<ULong> Vector of active validator indices eligible to take part in committee selection because they support the new, target protocol version. |
| epoch | open override fun epoch(): ULong The next (to become) epoch ID. |
| epochStartTimestampMs | open override fun epochStartTimestampMs(): ULong Unix timestamp when epoch started |
| nonRefundableStorageFee | open override fun nonRefundableStorageFee(): ULong The non-refundable storage fee. |
| protocolVersion | open override fun protocolVersion(): ULong The protocol version in effect in the new epoch. |
| scores | open override fun scores(): List<ULong> Vector of scores relative to the past epoch performance of each validator, ordered by the past epoch's validator index. |
| storageCharge | open override fun storageCharge(): ULong The total amount of gas charged for storage during the epoch. |
| storageRebate | open override fun storageRebate(): ULong The amount of storage rebate refunded to the txn senders. |
| systemPackages | open override fun systemPackages(): List<SystemPackage> System packages (specifically framework and move stdlib) that are written before the new epoch starts. |