EEVM.Interpreter.Instructions.Environment.Simple (eevm v0.1.0)

Copy Markdown View Source

Simple environment opcodes that read a single value from the execution context.

These opcodes push one value onto the stack with no dynamic gas cost beyond the static base. They read from the transaction, block, or contract context.

Includes: ADDRESS, ORIGIN, CALLER, CALLVALUE, CALLDATASIZE, CODESIZE, GASPRICE, RETURNDATASIZE, COINBASE, TIMESTAMP, NUMBER, PREVRANDAO, GASLIMIT, CHAINID, BASEFEE, BLOBBASEFEE, BLOCKHASH, and BLOBHASH. (GAS reads the interpreter loop's gas register, so EEVM.Interpreter implements it.)

Summary

Functions