ChangeEpochInterface
type ChangeEpochInterface
System transaction used to change the epoch
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 ChangeEpochInterface interface {
// The total amount of gas charged for computation during the epoch.
ComputationCharge() 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
// Convert this type to BCS encoded bytes.
ToBcs() ([]byte, error)
// 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
// Convert this type to a JSON encoded string.
ToJson() (string, error)
}