Skip to main content

IChangeEpochV4

Namespace: IotaSdk

public interface IChangeEpochV4

Attributes NullableContextAttribute

Methods​

AdjustRewardsByScore()​

Whether to adjust validator rewards based on score.

bool AdjustRewardsByScore()

Returns​

Boolean

ComputationCharge()​

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

ulong ComputationCharge()

Returns​

UInt64

ComputationChargeBurned()​

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

ulong ComputationChargeBurned()

Returns​

UInt64

EligibleActiveValidators()​

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

UInt64[] EligibleActiveValidators()

Returns​

UInt64[]

Epoch()​

The next (to become) epoch ID.

ulong Epoch()

Returns​

UInt64

EpochStartTimestampMs()​

Unix timestamp when epoch started

ulong EpochStartTimestampMs()

Returns​

UInt64

NonRefundableStorageFee()​

The non-refundable storage fee.

ulong NonRefundableStorageFee()

Returns​

UInt64

ProtocolVersion()​

The protocol version in effect in the new epoch.

ulong ProtocolVersion()

Returns​

UInt64

Scores()​

Vector of scores relative to the past epoch performance of each validator, ordered by the past epoch's validator index.

UInt64[] Scores()

Returns​

UInt64[]

StorageCharge()​

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

ulong StorageCharge()

Returns​

UInt64

StorageRebate()​

The amount of storage rebate refunded to the txn senders.

ulong StorageRebate()

Returns​

UInt64

SystemPackages()​

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

SystemPackage[] SystemPackages()

Returns​

SystemPackage[]