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

Copy Markdown View Source

External account inspection opcodes with EIP-2929 access cost tracking.

These opcodes query other accounts' state (balance, code, code hash) and incur cold/warm access costs per EIP-2929. The first access to an address costs 2,600 gas (cold); subsequent accesses cost 100 gas (warm).

Includes: BALANCE (0x31), EXTCODESIZE (0x3B), EXTCODECOPY (0x3C), EXTCODEHASH (0x3F), and SELFBALANCE (0x47).

Summary

Functions