ChangeEpochV3
Namespace: IotaSdk
public class ChangeEpochV3 : IChangeEpochV3, System.IEquatable`1[[IotaSdk.ChangeEpochV3, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → ChangeEpochV3
Implements IChangeEpochV3, IEquatable<ChangeEpochV3>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
ChangeEpochV3(UInt64)
public ChangeEpochV3(ulong pointer)
Parameters
pointer UInt64
ChangeEpochV3(UInt64, UInt64, UInt64, UInt64, UInt64, UInt64, UInt64, UInt64, SystemPackage[], UInt64[])
public ChangeEpochV3(ulong epoch, ulong protocolVersion, ulong storageCharge, ulong computationCharge, ulong computationChargeBurned, ulong storageRebate, ulong nonRefundableStorageFee, ulong epochStartTimestampMs, SystemPackage[] systemPackages, UInt64[] eligibleActiveValidators)
Parameters
epoch UInt64
protocolVersion UInt64
storageCharge UInt64
computationCharge UInt64
computationChargeBurned UInt64
storageRebate UInt64
nonRefundableStorageFee UInt64
epochStartTimestampMs UInt64
systemPackages SystemPackage[]
eligibleActiveValidators UInt64[]
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
ComputationCharge()
The total amount of gas charged for computation during the epoch.
public ulong ComputationCharge()
Returns
ComputationChargeBurned()
The total amount of gas burned for computation during the epoch.
public ulong ComputationChargeBurned()
Returns
EligibleActiveValidators()
Vector of active validator indices eligible to take part in committee selection because they support the new, target protocol version.
public UInt64[] EligibleActiveValidators()
Returns
Epoch()
The next (to become) epoch ID.
public ulong Epoch()
Returns
EpochStartTimestampMs()
Unix timestamp when epoch started
public ulong EpochStartTimestampMs()
Returns
NonRefundableStorageFee()
The non-refundable storage fee.
public ulong NonRefundableStorageFee()
Returns
ProtocolVersion()
The protocol version in effect in the new epoch.
public ulong ProtocolVersion()
Returns
StorageCharge()
The total amount of gas charged for storage during the epoch.
public ulong StorageCharge()
Returns
StorageRebate()
The amount of storage rebate refunded to the txn senders.
public ulong StorageRebate()
Returns
SystemPackages()
System packages (specifically framework and move stdlib) that are written before the new epoch starts.
public SystemPackage[] SystemPackages()
Returns
Equals(ChangeEpochV3)
public bool Equals(ChangeEpochV3? other)
Parameters
other ChangeEpochV3?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?