object Evaluation
Helper methods used as part of ErgoTree evaluation.
- Alphabetic
- By Inheritance
- Evaluation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addCostChecked(current: Long, delta: Long, limit: Long, msgSuffix: ⇒ String = ""): Long
Helper method to accumulate cost while checking limit.
Helper method to accumulate cost while checking limit.
- current
current cost value
- delta
additional cost to add to the current value
- limit
total cost limit
- msgSuffix
use case-specific error message suffix
- returns
new increased cost when it doesn't exceed the limit
- Exceptions thrown
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromDslTuple(value: Any, tupleTpe: STuple): Coll[Any]
Convert SigmaDsl representation of tuple to ErgoTree serializable representation.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def msgCostLimitError(cost: Long, limit: Long): String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
rtypeOf(value: Any): Try[RType[_]]
Tries to reconstruct RType of the given value.
Tries to reconstruct RType of the given value. If not successfull returns failure. NOTE, this method is NOT used in consensus.
-
def
rtypeToSType[T](t: RType[T]): SType
Transforms RType descriptor of SigmaDsl, which is used during evaluation, to the corresponding serializable ErgoTree type descriptor,
-
def
stypeToRType[T <: SType](t: T): RType[Evaluation.stypeToRType.T.WrappedType]
Transforms a serializable ErgoTree type descriptor to the corresponding RType descriptor of SigmaDsl, which is used during evaluation.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDslTuple(value: Coll[Any], tupleTpe: STuple): Any
Convert ErgoTree serializable representation of tuple to SigmaDsl representation.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()