org.plasmalabs.consensus.models.ActiveStakerValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.consensus.models
object ActiveStakerValidator extends scalapb.validate.Validator[org.plasmalabs.consensus.models.ActiveStaker] {
def validate(input: org.plasmalabs.consensus.models.ActiveStaker): scalapb.validate.Result =
org.plasmalabs.consensus.models.StakingRegistrationValidator.validate(input.registration) &&
quivr.models.Int128Validator.validate(input.quantity)
}