Value_UpdateProposal constructor
Value_UpdateProposal({
- String? label,
- Ratio? fEffective,
- UInt32Value? vrfLddCutoff,
- UInt32Value? vrfPrecision,
- Ratio? vrfBaselineDifficulty,
- Ratio? vrfAmplitude,
- UInt64Value? chainSelectionKLookback,
- Duration? slotDuration,
- UInt64Value? forwardBiasedSlotWindow,
- UInt64Value? operationalPeriodsPerEpoch,
- UInt32Value? kesKeyHours,
- UInt32Value? kesKeyMinutes,
Implementation
factory Value_UpdateProposal({
$core.String? label,
$16.Ratio? fEffective,
$13.UInt32Value? vrfLddCutoff,
$13.UInt32Value? vrfPrecision,
$16.Ratio? vrfBaselineDifficulty,
$16.Ratio? vrfAmplitude,
$13.UInt64Value? chainSelectionKLookback,
$17.Duration? slotDuration,
$13.UInt64Value? forwardBiasedSlotWindow,
$13.UInt64Value? operationalPeriodsPerEpoch,
$13.UInt32Value? kesKeyHours,
$13.UInt32Value? kesKeyMinutes,
}) {
final $result = create();
if (label != null) {
$result.label = label;
}
if (fEffective != null) {
$result.fEffective = fEffective;
}
if (vrfLddCutoff != null) {
$result.vrfLddCutoff = vrfLddCutoff;
}
if (vrfPrecision != null) {
$result.vrfPrecision = vrfPrecision;
}
if (vrfBaselineDifficulty != null) {
$result.vrfBaselineDifficulty = vrfBaselineDifficulty;
}
if (vrfAmplitude != null) {
$result.vrfAmplitude = vrfAmplitude;
}
if (chainSelectionKLookback != null) {
$result.chainSelectionKLookback = chainSelectionKLookback;
}
if (slotDuration != null) {
$result.slotDuration = slotDuration;
}
if (forwardBiasedSlotWindow != null) {
$result.forwardBiasedSlotWindow = forwardBiasedSlotWindow;
}
if (operationalPeriodsPerEpoch != null) {
$result.operationalPeriodsPerEpoch = operationalPeriodsPerEpoch;
}
if (kesKeyHours != null) {
$result.kesKeyHours = kesKeyHours;
}
if (kesKeyMinutes != null) {
$result.kesKeyMinutes = kesKeyMinutes;
}
return $result;
}