ProtoStateGlobal constructor
ProtoStateGlobal({})
Implementation
factory ProtoStateGlobal({
$core.int? epoch,
$fixnum.Int64? nextValidationTime,
$core.int? validationPeriod,
$core.List<$core.int>? godAddress,
$core.List<$core.int>? wordsSeed,
$fixnum.Int64? lastSnapshot,
$fixnum.Int64? epochBlock,
$core.List<$core.int>? feePerGas,
$fixnum.Int64? vrfProposerThreshold,
$core.List<$core.int>? emptyBlocksBits,
$core.int? godAddressInvites,
$core.int? blocksCntWithoutCeremonialTxs,
}) {
final _result = create();
if (epoch != null) {
_result.epoch = epoch;
}
if (nextValidationTime != null) {
_result.nextValidationTime = nextValidationTime;
}
if (validationPeriod != null) {
_result.validationPeriod = validationPeriod;
}
if (godAddress != null) {
_result.godAddress = godAddress;
}
if (wordsSeed != null) {
_result.wordsSeed = wordsSeed;
}
if (lastSnapshot != null) {
_result.lastSnapshot = lastSnapshot;
}
if (epochBlock != null) {
_result.epochBlock = epochBlock;
}
if (feePerGas != null) {
_result.feePerGas = feePerGas;
}
if (vrfProposerThreshold != null) {
_result.vrfProposerThreshold = vrfProposerThreshold;
}
if (emptyBlocksBits != null) {
_result.emptyBlocksBits = emptyBlocksBits;
}
if (godAddressInvites != null) {
_result.godAddressInvites = godAddressInvites;
}
if (blocksCntWithoutCeremonialTxs != null) {
_result.blocksCntWithoutCeremonialTxs = blocksCntWithoutCeremonialTxs;
}
return _result;
}