Class

special.sigma.impl.SigmaDslDefs.SigmaContract

SigmaContractConst

Related Doc: package SigmaContract

Permalink

case class SigmaContractConst(constValue: SSigmaContract) extends scalan.SigmaLibrary.Node with LiftedConst[SSigmaContract, scalan.SigmaLibrary.SigmaContract] with scalan.SigmaLibrary.SigmaContract with scalan.SigmaLibrary.Def[scalan.SigmaLibrary.SigmaContract] with SigmaContractConstMethods with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SigmaContractConst
  2. Serializable
  3. Serializable
  4. SigmaContractConstMethods
  5. SigmaContract
  6. LiftedConst
  7. Def
  8. Node
  9. Product
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SigmaContractConst(constValue: SSigmaContract)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Collection[T](items: scalan.SigmaLibrary.Ref[T]*)(implicit cT: scalan.SigmaLibrary.Elem[T]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[T]]

    Permalink
  5. def PubKey(base64String: scalan.SigmaLibrary.Ref[String]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  6. def allOf(conditions: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Boolean]]): scalan.SigmaLibrary.Ref[Boolean]

    Permalink
    Definition Classes
    SigmaContract
  7. def allZK(conditions: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[scalan.SigmaLibrary.SigmaProp]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  8. def anyOf(conditions: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Boolean]]): scalan.SigmaLibrary.Ref[Boolean]

    Permalink
    Definition Classes
    SigmaContract
  9. def anyZK(conditions: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[scalan.SigmaLibrary.SigmaProp]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def atLeast(bound: scalan.SigmaLibrary.Ref[Int], props: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[scalan.SigmaLibrary.SigmaProp]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  12. def blake2b256(bytes: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]

    Permalink
    Definition Classes
    SigmaContract
  13. def builder: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaDslBuilder]

    Permalink
  14. def byteArrayToBigInt(bytes: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.BigInt]

    Permalink
    Definition Classes
    SigmaContract
  15. def byteArrayToLong(bytes: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]): scalan.SigmaLibrary.Ref[Long]

    Permalink
    Definition Classes
    SigmaContract
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. val constValue: SSigmaContract

    Permalink

    Value of the source type embedded in this graph node.

    Value of the source type embedded in this graph node.

    Definition Classes
    SigmaContractConstLiftedConst
  18. def decodePoint(encoded: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement]

    Permalink
    Definition Classes
    SigmaContract
  19. final def deps: Array[scalan.SigmaLibrary.Sym]

    Permalink

    Dependencies of this definition from other definitions.

    Dependencies of this definition from other definitions. If definition is interpreted as an operation, then dependencies are arguments of the operation. If definition if compound (like Lambda of ThunkDef) then deps is equals to free variables used in the body of the compound definition. This array also refers to predecessors of this graph node, so it is used to build topological ordering (execution schedule) of operations.

    returns

    array of referencies to other definitions.

    Definition Classes
    Node
  20. final def elements: Array[AnyRef]

    Permalink

    All data elements of this graph node to be used in structural equality.

    All data elements of this graph node to be used in structural equality.

    Definition Classes
    Node
    See also

    equals where elements are used.

  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(other: Any): Boolean

    Permalink

    Default equality of definitions.

    Default equality of definitions. Two definitions are equal if they have same elements.

    Definition Classes
    Node → Equals → AnyRef → Any
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getDeps: Array[scalan.SigmaLibrary.Sym]

    Permalink

    Override to redefine how dependencies are computed.

    Override to redefine how dependencies are computed. For example, in core implementation this is overriden in Lambda and ThunkDef using freeVars.

    Attributes
    protected
    Definition Classes
    Node
  26. def groupGenerator: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement]

    Permalink
    Definition Classes
    SigmaContract
  27. def hashCode(): Int

    Permalink

    Computed once and saved to avoid repeated computations, which is not necessary because definitions are immutable by default.

    Computed once and saved to avoid repeated computations, which is not necessary because definitions are immutable by default. If some definition require mutability, this method can be overriden accordingly.

    Definition Classes
    Node → AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. val liftable: Liftable[SSigmaContract, scalan.SigmaLibrary.SigmaContract]

    Permalink

    Evidence that constValue can be lifted to T

    Evidence that constValue can be lifted to T

    Definition Classes
    SigmaContractConstLiftedConst
  30. def longToByteArray(l: scalan.SigmaLibrary.Ref[Long]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]

    Permalink
    Definition Classes
    SigmaContract
  31. def mirror(t: scalan.SigmaLibrary.Transformer): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaContract]

    Permalink

    This default implementation assumes there is no symbols in this node.

    This default implementation assumes there is no symbols in this node. Can be overriden if it is not true for some ST.

    t

    mapping of symbols to symbols (Ref[_] => Ref[_])

    returns

    symbol of the logical clone. If d don't contain symbols, then d.self is returned.

    Definition Classes
    LiftedConstDef
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def nodeId: Int

    Permalink

    Unique id of the graph node assigned for each new instance using freshId generator.

    Unique id of the graph node assigned for each new instance using freshId generator. Doesn't participate in equality of this Def, thus definitions with different ids may still be structurally equal. Used to provide global Def numbering.

    Definition Classes
    Node
    Annotations
    @inline()
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def proveDHTuple(g: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement], h: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement], u: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement], v: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  37. def proveDlog(g: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.GroupElement]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  38. val resultType: scalan.SigmaLibrary.Elem[scalan.SigmaLibrary.SigmaContract]

    Permalink

    Type of a resulting value produced by the operation represented by this definition.

    Type of a resulting value produced by the operation represented by this definition. For example, if this definition represents application of +: (Int, Int) => Int operation then the result type is Int and resultType should return IntElement.

    Definition Classes
    SigmaContractConstDef
  39. final def self: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaContract]

    Permalink

    Reference to this definition created lazily on demand.

    Reference to this definition created lazily on demand.

    Definition Classes
    Def
  40. def sha256(bytes: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]

    Permalink
    Definition Classes
    SigmaContract
  41. def sigmaProp(b: scalan.SigmaLibrary.Ref[Boolean]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.SigmaProp]

    Permalink
    Definition Classes
    SigmaContract
  42. def substConstants[T](scriptBytes: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]], positions: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Int]], newValues: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[T]])(implicit cT: scalan.SigmaLibrary.Elem[T]): scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Byte]]

    Permalink
    Definition Classes
    SigmaContract
    Annotations
    @Reified()
  43. final def syms: Array[scalan.SigmaLibrary.Sym]

    Permalink

    References to other nodes in this Def instance.

    References to other nodes in this Def instance. Note: This is different form deps for compound definitions like Lambda and ThunkDef.

    Definition Classes
    Node
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink

    User readable string representation of this definition.

    User readable string representation of this definition. (for debugging only)

    Definition Classes
    Node → AnyRef → Any
  46. def transform(t: scalan.SigmaLibrary.Transformer): scalan.SigmaLibrary.Def[scalan.SigmaLibrary.SigmaContract]

    Permalink

    Create a copy of this definition applying the given transformer to all syms.

    Create a copy of this definition applying the given transformer to all syms.

    Definition Classes
    Def
  47. def verifyZK(cond: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Thunk[scalan.SigmaLibrary.SigmaProp]]): scalan.SigmaLibrary.Ref[Boolean]

    Permalink
    Definition Classes
    SigmaContract
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def xorOf(conditions: scalan.SigmaLibrary.Ref[scalan.SigmaLibrary.Coll[Boolean]]): scalan.SigmaLibrary.Ref[Boolean]

    Permalink
    Definition Classes
    SigmaContract

Inherited from Serializable

Inherited from Serializable

Inherited from SigmaContractConstMethods

Inherited from scalan.SigmaLibrary.Node

Inherited from Product

Inherited from scala.Equals

Inherited from AnyRef

Inherited from Any

Ungrouped