IotaSystemStateV2Interface
interface IotaSystemStateV2Interface
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.
Inheritors
| IotaSystemStateV2 |
Functions
| Name | Summary |
|---|---|
| epoch | abstract fun epoch(): ULong |
| epochStartTimestampMs | abstract fun epochStartTimestampMs(): ULong Unix timestamp (ms) of the current epoch start. |
| extraFieldsId | abstract fun extraFieldsId(): ObjectId Object ID of the Bag holding fields added to this struct after its current on-chain layout was set. |
| iotaTotalSupply | abstract fun iotaTotalSupply(): ULong Total IOTA supply controlled by the system treasury, in nanos. |
| parameters | abstract fun parameters(): SystemParametersV1 The system parameters. |
| protocolVersion | abstract fun protocolVersion(): ULong |
| referenceGasPrice | abstract fun referenceGasPrice(): ULong The reference gas price for the current epoch, in nanos. |
| safeMode | abstract fun safeMode(): Boolean Whether the system is running in a downgraded safe mode. |
| safeModeComputationCharges | abstract fun safeModeComputationCharges(): ULong Computation charges accumulated during safe mode, in nanos. |
| safeModeComputationChargesBurned | abstract fun safeModeComputationChargesBurned(): ULong Computation charges burned during safe mode, in nanos. |
| safeModeNonRefundableStorageFee | abstract fun safeModeNonRefundableStorageFee(): ULong Non-refundable storage fees accumulated during safe mode, in nanos. |
| safeModeStorageCharges | abstract fun safeModeStorageCharges(): ULong Storage charges accumulated during safe mode, in nanos. |
| safeModeStorageRebates | abstract fun safeModeStorageRebates(): ULong Storage rebates accumulated during safe mode, in nanos. |
| storageFund | abstract fun storageFund(): StorageFundV1 The storage fund. |
| systemStateVersion | abstract fun systemStateVersion(): ULong |
| validatorReportRecords | abstract fun validatorReportRecords(): Map<Address, List<Address>> Validator report records: each reported validator's address mapped to the addresses of the validators reporting it. |
| validators | abstract fun validators(): ValidatorSetV2 The validator set. |