Validator

scalus.cardano.ledger.rules.STS.Validator
See theValidator companion trait
object Validator

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Validator.type

Members list

Value members

Concrete methods

def apply[ErrorT <: TransactionException](validator: (Validator#Context, Validator#State, Validator#Event) => Validator { type Error = ErrorT; }#Result, validatorName: String = ...): Validator { type Error = ErrorT; }
def apply[ErrorT <: TransactionException](validators: Iterable[Validator { type Error <: ErrorT; }], validatorName: String): Validator { type Error = ErrorT; }
def apply[ErrorT <: TransactionException](validators: Iterable[Validator { type Error <: ErrorT; }]): Validator { type Error = ErrorT; }
def validate[ErrorT <: TransactionException](validators: Iterable[Validator { type Error <: ErrorT; }], context: Validator#Context, state: Validator#State, event: Validator#Event): Validator { type Error = ErrorT; }#Result

Concrete fields

val success: Validator { type Error = Nothing; }#Result