case classContextExtension(values: Map[Byte, EvaluatedValue[_ <: SType]]) extends Product with Serializable
User-defined variables to be put into context.
Each variable is identified by id: Byte and can be accessed from a script
using getVar[T](id) operation.
The value of the variable is represented by sigmastate.Values.Constant instance,
which contains both data value and SType descriptor. The descriptor is checked
against the type T expected in the script operation. If the types don't match,
exception is thrown and the box spending (protected by the script) fails.
values
internal container of the key-value pairs
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
User-defined variables to be put into context. Each variable is identified by
id: Byte
and can be accessed from a script usinggetVar[T](id)
operation. The value of the variable is represented by sigmastate.Values.Constant instance, which contains both data value and SType descriptor. The descriptor is checked against the typeT
expected in the script operation. If the types don't match, exception is thrown and the box spending (protected by the script) fails.internal container of the key-value pairs