xyz.stratalab.sdk.models.box.AssetMintingStatementValidator.scala Maven / Gradle / Ivy
The newest version!
package xyz.stratalab.sdk.models.box
object AssetMintingStatementValidator extends scalapb.validate.Validator[xyz.stratalab.sdk.models.box.AssetMintingStatement] {
def validate(input: xyz.stratalab.sdk.models.box.AssetMintingStatement): scalapb.validate.Result =
xyz.stratalab.sdk.models.TransactionOutputAddressValidator.validate(input.groupTokenUtxo) &&
xyz.stratalab.sdk.models.TransactionOutputAddressValidator.validate(input.seriesTokenUtxo) &&
quivr.models.Int128Validator.validate(input.quantity)
}