Unique id of the node class used in serialization of ErgoTree.
Unique id of the node class used in serialization of ErgoTree.
This is not used as operation, but rather to form a program structure
This is not used as operation, but rather to form a program structure
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.
The order of ValDefs in the block is used to assign ids to ValUse(id) nodes For all i: items(i).id == {number of ValDefs preceded in a graph} with respect to topological order. Specific topological order doesn't really matter, what is important is to preserve semantic linkage between ValUse(id) and ValDef with the corresponding id. This convention allow to valid serializing ids because we always serializing and deserializing in a fixed well defined order.