Constants

Git Source

INTERPRETER_BYTECODE_HASH

Hash of the known interpreter bytecode.

bytes32 constant INTERPRETER_BYTECODE_HASH = bytes32(0x7cbd3b90f6e0eb55adc1bfcc00113e8050457173d7fa4261314d9b140237c009);

OPCODE_FUNCTION_POINTERS

The function pointers known to the interpreter for dynamic dispatch. By setting these as a constant they can be inlined into the interpreter and loaded at eval time for very low gas (~100) due to the compiler optimising it to a single codecopy to build the in memory bytes array.

bytes constant OPCODE_FUNCTION_POINTERS = hex"0c2f0c7b0cb60e7b0e8d0e9f0eb80efa0f4c0f5d0f6e100c10f0112a11e8129811e8131c13be143614651494149414e31512157415fc16a316b7170d172117361750175b176f17841801184c1864187e189518ac18ac18f71942198d198d19d819d81a231a6e1ab91ab91b041beb1c1e1c761cab";