Scalus
1.5.0
Scalus
Scalus
/
scalus
/
scalus.cardano
/
scalus.cardano.ledger
/
scalus.cardano.ledger.rules
/
STS
/
Validator
Validator
scalus.cardano.ledger.rules.STS.Validator
See the
Validator
companion trait
object
Validator
Attributes
Companion
trait
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
Validator
.
type
Members list
Clear all
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
In this article
Attributes
Members list
Value members
Concrete methods
Concrete fields