package sigma
The following implicit values are used as type descriptors of all the predefined Sigma types.
- See also
RType class
- Alphabetic
- By Inheritance
- sigma
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
AnyValue extends AnyRef
Represents any value paired with type descriptor.
Represents any value paired with type descriptor.
- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
AvlTree extends AnyRef
Type of data which efficiently authenticates potentially huge dataset having key-value dictionary interface.
Type of data which efficiently authenticates potentially huge dataset having key-value dictionary interface. Only root hash of dynamic AVL+ tree, tree height, key length, optional value length, and access flags are stored in an instance of the datatype.
Please note that standard hash function from
scorex.crypto.hash
is used, and height is stored along with root hash of the tree, thusdigest
size is always CryptoConstants.hashLength + 1 bytes.This interface is used as runtime representation of the AvlTree type of ErgoTree.
- Annotations
- @Liftable()
-
trait
BigInt extends AnyRef
All
modQ
operations assume that Q is a global constant (an order of the only one cryptographically strong group which is used for all cryptographic operations).All
modQ
operations assume that Q is a global constant (an order of the only one cryptographically strong group which is used for all cryptographic operations). So it is globally and implicitly used in all methods.- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
Box extends AnyRef
Runtime representation of Ergo boxes used during execution of ErgoTree operations.
Runtime representation of Ergo boxes used during execution of ErgoTree operations.
- Annotations
- @Liftable() @WithMethodCallRecognizers()
- See also
- class CSizeAnyValue extends SizeAnyValue
- class CSizeBox extends SizeBox
- class CSizeBuilder extends SizeBuilder
- class CSizeContext extends SizeContext
- class CSizeSigmaProp extends SizeSigmaProp
-
trait
Context extends AnyRef
Runtime representation of Context ErgoTree type.
Runtime representation of Context ErgoTree type. Represents data available in Sigma language using
CONTEXT
global variable.- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
CostModel extends AnyRef
- Annotations
- @Liftable()
- trait CostedObjects extends Base
- trait CostedObjectsModule extends Scalan with CostedObjectsDefs
-
class
DslSyntaxExtensions extends AnyRef
This extensions are used from SigmaDsl.
This extensions are used from SigmaDsl. If you add something here, make sure the corresponding syntax is supported by SigmaScript.
-
trait
GroupElement extends AnyRef
Base class for points on elliptic curves.
Base class for points on elliptic curves.
- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
Header extends AnyRef
Represents data of the block header available in Sigma propositions.
Represents data of the block header available in Sigma propositions.
- Annotations
- @Liftable()
- Since
2.0
- final class InvalidType extends Exception
- case class MockProveDlog(isValid: Boolean, propBytes: Coll[Byte]) extends SigmaProp with Product with Serializable
-
case class
MockSigma(_isValid: Boolean) extends SigmaProp with Product with Serializable
NOTE: this should extend SigmaProp because semantically it subclass of SigmaProp and DefaultSigma is used just to mixin implementations.
-
trait
PreHeader extends AnyRef
Only header fields that can be predicted by a miner.
Only header fields that can be predicted by a miner.
- Annotations
- @Liftable()
- Since
2.0
-
trait
SigmaContract extends AnyRef
- Annotations
- @Liftable()
- trait SigmaDsl extends Base
-
trait
SigmaDslBuilder extends AnyRef
Runtime representation of SGlobal ErgoTree type.
Runtime representation of SGlobal ErgoTree type. The only instance of SGlobal type can be referenced as
Global
variable in ErgoScript. It is represented as org.ergoplatform.Global node of ErgoTree, which evaluates to the default singleton instance of this interface.CostingSigmaDslBuilder object serves as the default singleton instance of Global object, which implements global ErgoTree functions.
- Annotations
- @Liftable() @WithMethodCallRecognizers()
- See also
SGlobal.WrappedType, CostingSigmaDslBuilder
- trait SigmaDslModule extends Scalan with SigmaDslDefs
-
trait
SigmaProp extends AnyRef
Proposition which can be proven and verified by sigma protocol.
Proposition which can be proven and verified by sigma protocol.
- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
SizeAnyValue extends Size[AnyValue]
- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
SizeBox extends Size[Box]
- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
SizeBuilder extends AnyRef
- Annotations
- @Liftable()
-
trait
SizeContext extends Size[Context]
- Annotations
- @Liftable() @WithMethodCallRecognizers()
-
trait
SizeSigmaProp extends Size[SigmaProp]
- Annotations
- @Liftable() @WithMethodCallRecognizers()
- abstract class TestBigInt extends BigInt
- abstract class TestGroupElement extends GroupElement
- class TestSigmaDslBuilder extends SigmaDslBuilder
-
case class
TestValue[A](value: A, tVal: RType[Any]) extends AnyValue with Product with Serializable
Default implementation of AnyValue interface.
Value Members
- implicit val AnyValueRType: RType[AnyValue]
- implicit val AvlTreeRType: RType[AvlTree]
- implicit val BigIntRType: RType[BigInt]
- implicit val BigIntegerRType: RType[BigInteger]
- implicit val BoxRType: RType[Box]
- implicit val ContextRType: RType[Context]
- implicit val CostModelRType: RType[CostModel]
- implicit val ECPointRType: RType[ECPoint]
- implicit val GroupElementRType: RType[GroupElement]
- implicit val HeaderRType: RType[Header]
- implicit val PreHeaderRType: RType[PreHeader]
- implicit val SigmaContractRType: RType[SigmaContract]
- implicit val SigmaDslBuilderRType: RType[SigmaDslBuilder]
- implicit val SigmaPropRType: RType[SigmaProp]
- implicit val SizeAnyValueRType: RType[SizeAnyValue]
- implicit val SizeBoxRType: RType[SizeBox]
- implicit val SizeBuilderRType: RType[SizeBuilder]
- implicit val SizeContextRType: RType[SizeContext]
- implicit val SizeSigmaPropRType: RType[SizeSigmaProp]
- object Extensions
- object TestValue extends Serializable