EpochState constructor

EpochState({
  1. Int64? epoch,
  2. String? taxReward,
  3. String? seigniorageReward,
  4. String? totalStakedLuna,
})

Implementation

factory EpochState({
  $fixnum.Int64? epoch,
  $core.String? taxReward,
  $core.String? seigniorageReward,
  $core.String? totalStakedLuna,
}) {
  final _result = create();
  if (epoch != null) {
    _result.epoch = epoch;
  }
  if (taxReward != null) {
    _result.taxReward = taxReward;
  }
  if (seigniorageReward != null) {
    _result.seigniorageReward = seigniorageReward;
  }
  if (totalStakedLuna != null) {
    _result.totalStakedLuna = totalStakedLuna;
  }
  return _result;
}