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

xyz.stratalab.indexer.services.QueryByLockAddressRequestValidator.scala Maven / Gradle / Ivy

The newest version!
package xyz.stratalab.indexer.services

object QueryByLockAddressRequestValidator extends scalapb.validate.Validator[xyz.stratalab.indexer.services.QueryByLockAddressRequest] {
  def validate(input: xyz.stratalab.indexer.services.QueryByLockAddressRequest): scalapb.validate.Result =
    xyz.stratalab.sdk.models.LockAddressValidator.validate(input.address) &&
    scalapb.validate.Result.optional(input.confidenceFactor) { _value =>
      xyz.stratalab.indexer.services.ConfidenceFactorValidator.validate(_value)
    }
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy