Skip to main content

ChangeEpochV3Interface

type ChangeEpochV3Interface​

BCS​

The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).

type ChangeEpochV3Interface interface {
// The total amount of gas charged for computation during the epoch.
ComputationCharge() uint64
// The total amount of gas burned for computation during the epoch.
ComputationChargeBurned() uint64
// Vector of active validator indices eligible to take part in committee selection because they
// support the new, target protocol version.
EligibleActiveValidators() []uint64
// The next (to become) epoch ID.
Epoch() uint64
// Unix timestamp when epoch started
EpochStartTimestampMs() uint64
// The non-refundable storage fee.
NonRefundableStorageFee() uint64
// The protocol version in effect in the new epoch.
ProtocolVersion() uint64
// The total amount of gas charged for storage during the epoch.
StorageCharge() uint64
// The amount of storage rebate refunded to the txn senders.
StorageRebate() uint64
// System packages (specifically framework and move stdlib) that are written before the new
// epoch starts.
SystemPackages() []*SystemPackage
// 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.
ToDisplayString() string
}