xyz.stratalab.consensus.models.StakingRegistrationValidator.scala Maven / Gradle / Ivy
The newest version!
package xyz.stratalab.consensus.models
object StakingRegistrationValidator extends scalapb.validate.Validator[xyz.stratalab.consensus.models.StakingRegistration] {
def validate(input: xyz.stratalab.consensus.models.StakingRegistration): scalapb.validate.Result =
xyz.stratalab.consensus.models.StakingAddressValidator.validate(input.address) &&
xyz.stratalab.consensus.models.SignatureKesProductValidator.validate(input.signature)
}