Module ergotree_interpreter::eval
source · Expand description
Interpreter
Modules
- Context(blockchain) for the interpreter
- Environment for
Structs
- Diagnostic information about the reduction (pretty printed expr and/or env)
- Result of expression reduction procedure (see
reduce_to_crypto
).
Enums
- Interpreter errors
Functions
- Expects SigmaProp constant value and returns it’s value. Otherwise, returns an error.
- Evaluate the given expression by reducing it to SigmaBoolean value.