trait Context extends AnyRef
Runtime representation of Context ErgoTree type.
Represents data available in Sigma language using CONTEXT
global variable.
- Annotations
- @Liftable() @WithMethodCallRecognizers()
- Alphabetic
- By Inheritance
- Context
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
HEIGHT: Int
Height (block number) of the block which is currently being validated.
-
abstract
def
INPUTS: Coll[Box]
A collection of inputs of the current transaction, the transaction where selfBox is one of the inputs.
-
abstract
def
LastBlockUtxoRootHash: AvlTree
Authenticated dynamic dictionary digest representing Utxo state before current state.
-
abstract
def
OUTPUTS: Coll[Box]
A collection of outputs of the current transaction.
-
abstract
def
SELF: Box
Box whose proposition is being currently executing
- abstract def builder: SigmaDslBuilder
-
abstract
def
dataInputs: Coll[Box]
A collection of inputs of the current transaction that will not be spent.
- abstract def getVar[T](id: Byte)(implicit cT: RType[T]): Option[T]
-
abstract
def
headers: Coll[Header]
A fixed number of last block headers in descending order (first header is the newest one)
A fixed number of last block headers in descending order (first header is the newest one)
- Since
2.0
- abstract def minerPubKey: Coll[Byte]
-
abstract
def
preHeader: PreHeader
- Since
2.0
-
abstract
def
selfBoxIndex: Int
Zero based index in
inputs
ofselfBox
.Zero based index in
inputs
ofselfBox
. -1 if self box is not in the INPUTS collection. - abstract def vars: Coll[AnyValue]
Concrete 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()