case class TreeLookup(tree: Value[SAvlTree.type], key: Value[SByteArray], proof: Value[SByteArray]) extends Quadruple[SAvlTree.type, SByteArray, SByteArray, SOption[SByteArray]] with Product with Serializable
Perform a lookup of key key
in a tree with root tree
using proof proof
.
Throws exception if proof is incorrect
Return Some(bytes) of leaf with key key
if it exists
Return None if leaf with provided key does not exist.
- Alphabetic
- By Inheritance
- TreeLookup
- Serializable
- Serializable
- Quadruple
- NotReadyValue
- Value
- SigmaNode
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TreeLookup(tree: Value[SAvlTree.type], key: Value[SByteArray], proof: Value[SByteArray])
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: TreeLookup.type
- Definition Classes
- TreeLookup → Value
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
lazy val
first: Value[SAvlTree.type]
- Definition Classes
- TreeLookup → Quadruple
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: Value[SByteArray]
-
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
opCode: OpCode
Unique id of the node class used in serialization of ErgoTree.
Unique id of the node class used in serialization of ErgoTree.
- Definition Classes
- Value
-
def
opName: String
- Definition Classes
- Value
-
val
opType: SFunc
Every value represents an operation and that operation can be associated with a function type, describing functional meaning of the operation, kind of operation signature.
Every value represents an operation and that operation can be associated with a function type, describing functional meaning of the operation, kind of operation signature. Thus we can obtain global operation identifiers by combining Value.opName with Value.opType, so that if (v1.opName == v2.opName) && (v1.opType == v2.opType) then v1 and v2 are functionally point-wise equivalent. This in particular means that if two _different_ ops have the same opType they _should_ have different opNames. Thus defined op ids are used in a Cost Model - a table of all existing primitives coupled with performance parameters.
- val proof: Value[SByteArray]
-
lazy val
second: Value[SByteArray]
- Definition Classes
- TreeLookup → Quadruple
-
def
sourceContext: Nullable[SourceContext]
- Definition Classes
- Value
-
def
sourceContext_=(srcCtx: Nullable[SourceContext]): Unit
- Definition Classes
- Value
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
third: Value[SByteArray]
- Definition Classes
- TreeLookup → Quadruple
-
def
tpe: SOption[SByteArray]
The type of the value represented by this node.
The type of the value represented by this node. If the value is an operation it is the type of operation result.
- Definition Classes
- TreeLookup → Value
- val tree: Value[SAvlTree.type]
-
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()