Expand description

VM parameters

Constants

Empty merkle root for receipts tree

Maximum memory word count

Maximum size of a fuel program (unused)

Maximum memory access size, in bytes.

Received balance for this context.

Remaining gas in the context.

Error codes for particular operations.

Flags register.

Memory address of beginning of current call frame.

Remaining gas globally.

Memory address below the current bottom of the heap (points to free memory).

Pointer to the start of the currently-executing code.

Contains overflow/underflow of addition, subtraction, and multiplication.

Contains one (1), for convenience.

The program counter. Memory address of the current instruction.

Return value or pointer.

Return value length in bytes.

Memory address on top of current writable stack area (points to free memory).

Memory address of bottom of current writable stack area.

Smallest writable register

Contains zero (0), for convenience.

Maximum VM RAM, in bytes.

Register count for checking constraints

Encoded len of a register id in an instruction (unused)

Transaction offset in the VM memory

Length of a word, in bytes