Params constructor
Params({})
Implementation
factory Params({
$fixnum.Int64? signedBlocksWindow,
$core.List<$core.int>? minSignedPerWindow,
$3.Duration? downtimeJailDuration,
$core.List<$core.int>? slashFractionDoubleSign,
$core.List<$core.int>? slashFractionDowntime,
}) {
final _result = create();
if (signedBlocksWindow != null) {
_result.signedBlocksWindow = signedBlocksWindow;
}
if (minSignedPerWindow != null) {
_result.minSignedPerWindow = minSignedPerWindow;
}
if (downtimeJailDuration != null) {
_result.downtimeJailDuration = downtimeJailDuration;
}
if (slashFractionDoubleSign != null) {
_result.slashFractionDoubleSign = slashFractionDoubleSign;
}
if (slashFractionDowntime != null) {
_result.slashFractionDowntime = slashFractionDowntime;
}
return _result;
}