IChangeEpochV4
Namespace: IotaSdk
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public interface IChangeEpochV4
Attributes NullableContextAttribute
Methods
AdjustRewardsByScore()
Whether to adjust validator rewards based on score.
bool AdjustRewardsByScore()
Returns
ComputationCharge()
The total amount of gas charged for computation during the epoch.
ulong ComputationCharge()
Returns
ComputationChargeBurned()
The total amount of gas burned for computation during the epoch.
ulong ComputationChargeBurned()
Returns
EligibleActiveValidators()
Vector of active validator indices eligible to take part in committee selection because they support the new, target protocol version.
UInt64[] EligibleActiveValidators()
Returns
Epoch()
The next (to become) epoch ID.
ulong Epoch()
Returns
EpochStartTimestampMs()
Unix timestamp when epoch started
ulong EpochStartTimestampMs()
Returns
NonRefundableStorageFee()
The non-refundable storage fee.
ulong NonRefundableStorageFee()
Returns
ProtocolVersion()
The protocol version in effect in the new epoch.
ulong ProtocolVersion()
Returns
Scores()
Vector of scores relative to the past epoch performance of each validator, ordered by the past epoch's validator index.
UInt64[] Scores()
Returns
StorageCharge()
The total amount of gas charged for storage during the epoch.
ulong StorageCharge()
Returns
StorageRebate()
The amount of storage rebate refunded to the txn senders.
ulong StorageRebate()
Returns
SystemPackages()
System packages (specifically framework and move stdlib) that are written before the new epoch starts.
SystemPackage[] SystemPackages()
Returns
ToDisplayString()
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.
string ToDisplayString()