IIotaSystemStateV1
Namespace: IotaSdk
A typed view of the 0x3::iota_system_state_inner::IotaSystemStateV1
inner system state, the layout selected by
[IotaSystemState::version] 1.
Exposes the same parameters as [IotaSystemStateV2], except that safe-mode
computation is accounted as rewards rather than charges, and the validator
set is a [ValidatorSetV1].
public interface IIotaSystemStateV1
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
SafeModeComputationRewards()
Computation rewards accumulated during safe mode, in nanos.
ulong SafeModeComputationRewards()
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.
ValidatorSetV1 Validators()