Skip to main content

ChangeEpochV3

type ChangeEpochV3

type ChangeEpochV3 struct {
// contains filtered or unexported fields
}

func LiftFromExternalChangeEpochV3

func LiftFromExternalChangeEpochV3(handle uint64) *ChangeEpochV3

func NewChangeEpochV3

func NewChangeEpochV3(epoch uint64, protocolVersion uint64, storageCharge uint64, computationCharge uint64, computationChargeBurned uint64, storageRebate uint64, nonRefundableStorageFee uint64, epochStartTimestampMs uint64, systemPackages []*SystemPackage, eligibleActiveValidators []uint64) *ChangeEpochV3

func (*ChangeEpochV3) ComputationCharge

func (_self *ChangeEpochV3) ComputationCharge() uint64

The total amount of gas charged for computation during the epoch.

func (*ChangeEpochV3) ComputationChargeBurned

func (_self *ChangeEpochV3) ComputationChargeBurned() uint64

The total amount of gas burned for computation during the epoch.

func (*ChangeEpochV3) DebugString

func (_self *ChangeEpochV3) DebugString() string

func (*ChangeEpochV3) Destroy

func (object *ChangeEpochV3) Destroy()

func (*ChangeEpochV3) EligibleActiveValidators

func (_self *ChangeEpochV3) EligibleActiveValidators() []uint64

Vector of active validator indices eligible to take part in committee selection because they support the new, target protocol version.

func (*ChangeEpochV3) Epoch

func (_self *ChangeEpochV3) Epoch() uint64

The next (to become) epoch ID.

func (*ChangeEpochV3) EpochStartTimestampMs

func (_self *ChangeEpochV3) EpochStartTimestampMs() uint64

Unix timestamp when epoch started

func (*ChangeEpochV3) Eq

func (_self *ChangeEpochV3) Eq(other *ChangeEpochV3) bool

func (*ChangeEpochV3) Ne

func (_self *ChangeEpochV3) Ne(other *ChangeEpochV3) bool

func (*ChangeEpochV3) NonRefundableStorageFee

func (_self *ChangeEpochV3) NonRefundableStorageFee() uint64

The non-refundable storage fee.

func (*ChangeEpochV3) ProtocolVersion

func (_self *ChangeEpochV3) ProtocolVersion() uint64

The protocol version in effect in the new epoch.

func (*ChangeEpochV3) StorageCharge

func (_self *ChangeEpochV3) StorageCharge() uint64

The total amount of gas charged for storage during the epoch.

func (*ChangeEpochV3) StorageRebate

func (_self *ChangeEpochV3) StorageRebate() uint64

The amount of storage rebate refunded to the txn senders.

func (*ChangeEpochV3) SystemPackages

func (_self *ChangeEpochV3) SystemPackages() []*SystemPackage

System packages (specifically framework and move stdlib) that are written before the new epoch starts.