package utxo
- Alphabetic
- Public
- All
Type Members
- case class Append[IV <: SType](input: Value[SCollection[IV]], col2: Value[SCollection[IV]]) extends Transformer[SCollection[IV], SCollection[IV]] with Product with Serializable
- trait BooleanTransformer[IV <: SType] extends Transformer[SCollection[IV], SBoolean.type]
- trait BooleanTransformerCompanion extends ValueCompanion
- case class ByIndex[V <: SType](input: Value[SCollection[V]], index: Value[SInt.type], default: Option[Value[V]] = None) extends Transformer[SCollection[V], V] with NotReadyValue[V] with Product with Serializable
- case class CostTable(operCosts: Map[OperationId, Int]) extends (OperationId) ⇒ Int with Product with Serializable
- trait Deserialize[V <: SType] extends NotReadyValue[V]
-
case class
DeserializeContext[V <: SType](id: Byte, tpe: V) extends Deserialize[V] with Product with Serializable
Extracts context variable as Coll[Byte], deserializes it to script and then executes this script in the current context.
Extracts context variable as Coll[Byte], deserializes it to script and then executes this script in the current context. The original
Coll[Byte]
of the script is available asgetVar[Coll[Byte]](id)
- V
result type of the deserialized script.
- id
identifier of the context variable
- returns
result of the script execution in the current context
- Since
2.0
- Exceptions thrown
InterpreterException
if the actual script type doesn't conform to T
-
case class
DeserializeRegister[V <: SType](reg: RegisterId, tpe: V, default: Option[Value[V]] = None) extends Deserialize[V] with Product with Serializable
Extract register of SELF box as Coll[Byte], deserialize it into Value and inline into executing script.
Extract register of SELF box as Coll[Byte], deserialize it into Value and inline into executing script. NOTE: it only applicable to SELF box
- case class Exists[IV <: SType](input: Value[SCollection[IV]], condition: Value[SFunc]) extends BooleanTransformer[IV] with Product with Serializable
- sealed trait Extract[V <: SType] extends Transformer[SBox.type, V]
- case class ExtractAmount(input: Value[SBox.type]) extends Extract[SLong.type] with NotReadyValueLong with Product with Serializable
- case class ExtractBytes(input: Value[SBox.type]) extends Extract[SByteArray] with NotReadyValueByteArray with Product with Serializable
- case class ExtractBytesWithNoRef(input: Value[SBox.type]) extends Extract[SByteArray] with NotReadyValueByteArray with Product with Serializable
-
case class
ExtractCreationInfo(input: Value[SBox.type]) extends Extract[STuple] with NotReadyValue[STuple] with Product with Serializable
Tuple of height when block got included into the blockchain and transaction identifier with box index in the transaction outputs serialized to the byte array.
Tuple of height when block got included into the blockchain and transaction identifier with box index in the transaction outputs serialized to the byte array.
- input
box
- case class ExtractId(input: Value[SBox.type]) extends Extract[SByteArray] with NotReadyValueByteArray with Product with Serializable
- case class ExtractRegisterAs[V <: SType](input: Value[SBox.type], registerId: RegisterId, tpe: SOption[V]) extends Extract[SOption[V]] with NotReadyValue[SOption[V]] with Product with Serializable
- case class ExtractScriptBytes(input: Value[SBox.type]) extends Extract[SByteArray] with NotReadyValueByteArray with Product with Serializable
- case class Filter[IV <: SType](input: Value[SCollection[IV]], condition: Value[SFunc]) extends Transformer[SCollection[IV], SCollection[IV]] with Product with Serializable
- case class Fold[IV <: SType, OV <: SType](input: Value[SCollection[IV]], zero: Value[OV], foldOp: Value[SFunc]) extends Transformer[SCollection[IV], OV] with Product with Serializable
- case class ForAll[IV <: SType](input: Value[SCollection[IV]], condition: Value[SFunc]) extends BooleanTransformer[IV] with Product with Serializable
- case class GetVar[V <: SType](varId: Byte, tpe: SOption[V]) extends NotReadyValue[SOption[V]] with Product with Serializable
- case class MapCollection[IV <: SType, OV <: SType](input: Value[SCollection[IV]], mapper: Value[SFunc]) extends Transformer[SCollection[IV], SCollection[OV]] with Product with Serializable
- case class OptionGet[V <: SType](input: Value[SOption[V]]) extends Transformer[SOption[V], V] with Product with Serializable
- case class OptionGetOrElse[V <: SType](input: Value[SOption[V]], default: Value[V]) extends Transformer[SOption[V], V] with Product with Serializable
- case class OptionIsDefined[V <: SType](input: Value[SOption[V]]) extends Transformer[SOption[V], SBoolean.type] with Product with Serializable
-
case class
SelectField(input: Value[STuple], fieldIndex: Byte) extends Transformer[STuple, SType] with NotReadyValue[SType] with Product with Serializable
Select tuple field by its 1-based index.
Select tuple field by its 1-based index. E.g. input._1 is transformed to SelectField(input, 1)
-
case class
SigmaPropBytes(input: Value[SSigmaProp.type]) extends Transformer[SSigmaProp.type, SByteArray] with NotReadyValue[SByteArray] with Product with Serializable
Extract serialized bytes of a SigmaProp value
-
case class
SigmaPropIsProven(input: Value[SSigmaProp.type]) extends Transformer[SSigmaProp.type, SBoolean.type] with NotReadyValueBoolean with Product with Serializable
Represents execution of Sigma protocol that validates the given input SigmaProp.
- trait SimpleTransformerCompanion extends ValueCompanion
- case class SizeOf[V <: SType](input: Value[SCollection[V]]) extends Transformer[SCollection[V], SInt.type] with NotReadyValueInt with Product with Serializable
- case class Slice[IV <: SType](input: Value[SCollection[IV]], from: Value[SInt.type], until: Value[SInt.type]) extends Transformer[SCollection[IV], SCollection[IV]] with Product with Serializable
- trait Transformer[IV <: SType, OV <: SType] extends NotReadyValue[OV]
Value Members
- object Append extends ValueCompanion with Serializable
- object ByIndex extends ValueCompanion with Serializable
- object ComplexityTable
- object ComplexityTableStat
- object CostTable extends Serializable
- object CostTableStat
- object DeserializeContext extends ValueCompanion with Serializable
- object DeserializeRegister extends ValueCompanion with Serializable
- object Exists extends BooleanTransformerCompanion with Serializable
- object ExtractAmount extends SimpleTransformerCompanion with Serializable
- object ExtractBytes extends SimpleTransformerCompanion with Serializable
- object ExtractBytesWithNoRef extends SimpleTransformerCompanion with Serializable
- object ExtractCreationInfo extends SimpleTransformerCompanion with Serializable
- object ExtractId extends SimpleTransformerCompanion with Serializable
- object ExtractRegisterAs extends ValueCompanion with Serializable
- object ExtractScriptBytes extends SimpleTransformerCompanion with Serializable
- object Filter extends ValueCompanion with Serializable
- object Fold extends ValueCompanion with Serializable
- object ForAll extends BooleanTransformerCompanion with Serializable
- object GetVar extends ValueCompanion with Serializable
- object MapCollection extends ValueCompanion with Serializable
- object OptionGet extends SimpleTransformerCompanion with Serializable
- object OptionGetOrElse extends ValueCompanion with Serializable
- object OptionIsDefined extends SimpleTransformerCompanion with Serializable
- object SelectField extends ValueCompanion with Serializable
- object SigmaPropBytes extends ValueCompanion with Serializable
- object SigmaPropIsProven extends ValueCompanion with Serializable
- object SizeOf extends SimpleTransformerCompanion with Serializable
- object Slice extends ValueCompanion with Serializable