Glossary
EIP-3540 (EOF)
The EVM Object Format — a versioned bytecode container that separates code from data and enables static analysis, deployment validation, and new opcodes.
EOF (EVM Object Format), specified across a cluster of EIPs around 3540, wraps EVM bytecode in a structured container with a magic prefix, a version byte, and explicit code/data sections. The header lets clients validate contracts at deployment time and reject malformed bytecode before it runs.
EOF unlocks a series of follow-on opcodes (RJUMP, RJUMPI, CALLF, RETF, JUMPF) that improve gas costs and analyzability. EOF contracts also forbid SELFDESTRUCT, callcode, and several other legacy opcodes. The upgrade has been in development since 2021 and is targeted for inclusion in upcoming Ethereum forks.