trait SemanticallyValidatable[T] extends Serializable

Annotations
@implicitNotFound()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemanticallyValidatable
  2. Serializable
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  2. abstract def semanticValidation(t: T, boxReader: BoxReader[ProgramId, Address])(implicit networkPrefix: NetworkPrefix): ValidatedNec[SemanticValidationFailure, T]

    Performs semantic validation on the given T.

    Performs semantic validation on the given T. Semantic validation needs to consider some sort of context when making decisions. The context in this case is a view/reader of the boxes in the history of the blockchain.

    This type of validation is expected to be "computationally expensive"

    t

    The item to validate

    boxReader

    The context of this validation

    returns

    either a non-empty listt of SemanticValidationFailures, or the given value T

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  6. def hashCode(): Int
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any

Inherited from Serializable

Inherited from Any

Ungrouped