Constants

Git Source

OPCODE_STACK

For maximum compatibility with external contracts, the IInterpreterV2 should implement an opcode that reads from the stack by index as opcode 0.

uint256 constant OPCODE_STACK = 0;

OPCODE_CONSTANT

For maximum compatibility with external contracts, the IInterpreterV2 should implement an opcode that reads constants by index as opcode 1.

uint256 constant OPCODE_CONSTANT = 1;

OPCODE_EXTERN

For maximum compatibility with external contracts, the IInterpreterV2 should implement an opcode that calls externs by index as opcode 2.

uint256 constant OPCODE_EXTERN = 2;

OPCODE_UNKNOWN

For maximum compatibility with opcode lists, the IInterpreterV2 should implement the opcode for locally unknown words that need sub parsing as opcode 255.

uint256 constant OPCODE_UNKNOWN = 0xFF;