All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.stratalab.proto.node.EpochDataValidator.scala Maven / Gradle / Ivy

The newest version!
package xyz.stratalab.proto.node

object EpochDataValidator extends scalapb.validate.Validator[xyz.stratalab.proto.node.EpochData] {
  def validate(input: xyz.stratalab.proto.node.EpochData): scalapb.validate.Result =
    quivr.models.Int128Validator.validate(input.totalTransactionReward) &&
    quivr.models.Int128Validator.validate(input.activeStake) &&
    quivr.models.Int128Validator.validate(input.inactiveStake)
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy