IIotaSystemStateV2
Namespace: IotaSdk
A typed view of the 0x3::iota_system_state_inner::IotaSystemStateV2
inner system state.
Exposes the scalar epoch parameters plus the nested validator set
([ValidatorSetV2]), storage fund ([StorageFundV1]), system parameters
([SystemParametersV1]), and the treasury's total supply.
public interface IIotaSystemStateV2
Attributes NullableContextAttribute
Methods
Epoch()
ulong Epoch()
Returns
EpochStartTimestampMs()
Unix timestamp (ms) of the current epoch start.
ulong EpochStartTimestampMs()
Returns
ExtraFieldsId()
Object ID of the Bag holding fields added to this struct after its
current on-chain layout was set.
ObjectId ExtraFieldsId()
Returns
IotaTotalSupply()
Total IOTA supply controlled by the system treasury, in nanos.
ulong IotaTotalSupply()
Returns
Parameters()
The system parameters.
SystemParametersV1 Parameters()
Returns
ProtocolVersion()
ulong ProtocolVersion()
Returns
ReferenceGasPrice()
The reference gas price for the current epoch, in nanos.
ulong ReferenceGasPrice()
Returns
SafeMode()
Whether the system is running in a downgraded safe mode.
bool SafeMode()
Returns
SafeModeComputationCharges()
Computation charges accumulated during safe mode, in nanos.
ulong SafeModeComputationCharges()
Returns
SafeModeComputationChargesBurned()
Computation charges burned during safe mode, in nanos.
ulong SafeModeComputationChargesBurned()
Returns
SafeModeNonRefundableStorageFee()
Non-refundable storage fees accumulated during safe mode, in nanos.
ulong SafeModeNonRefundableStorageFee()
Returns
SafeModeStorageCharges()
Storage charges accumulated during safe mode, in nanos.
ulong SafeModeStorageCharges()
Returns
SafeModeStorageRebates()
Storage rebates accumulated during safe mode, in nanos.
ulong SafeModeStorageRebates()
Returns
StorageFund()
The storage fund.
StorageFundV1 StorageFund()
Returns
SystemStateVersion()
ulong SystemStateVersion()
Returns
ValidatorReportRecords()
Validator report records: each reported validator's address mapped to the addresses of the validators reporting it.
Dictionary<Address, Address[]> ValidatorReportRecords()
Returns
Dictionary<Address, Address[]>
Validators()
The validator set.
ValidatorSetV2 Validators()