EVM Codes - An Ethereum Virtual Machine Opcodes Interactive Reference
Explore any contract, externally owned account, or transaction on Ethereum and Avalanche. With contract interaction, an unrivaled representation of storage, and transaction tracing and simulation, evm.storage is the blockchain explorer designed for you. Try it out Index 1 is top of the stack. See PUSH. Creates a new sub context and execute the code of the given account, then resumes the current one. Note that an account with no code will return success as true. If the size of the return data is not known, it can also be retrieved after the call with the instructions RETURNDATASIZE and RETURNDATACOPY (since the Byzantium fork). From the Tangerine Whistle fork, gas is capped at all but one 64th (remaining_gas / 64) of the remaining gas of the current context. If a call tries to send more, the gas is changed to match the maximum allowed. If the caller doesn't have enough balance to send the value, the call fails but the current context is not reverted. See in playground. The state changes
00 STOP 0 Halts execution 01 ADD 3 a b a + b Addition operation 02 MUL 5 a b a * b Multiplication operation 03 SUB 3 a b a - b Subtraction operation 04 DIV 5 a b a // b Integer division operation 05 SDIV 5 a b a // b Signed integer division operation (truncated) 06 MOD 5 a b a % b Modulo remainder operation 07 SMOD 5 a b a % b Signed modulo remainder operation 08 ADDMOD 8 a b N (a + b) % N Modulo addition operation 09 MULMOD 8 a b N (a * b) % N Modulo multiplication operation 0a EXP 10 a exponent a ** exponent…
saved by
related reading
- REVM Is All You Need. How to build simulated blockchain… | by Solid Quant | Mediummedium.com
- EVM Codesevm.codes
- revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revmgithub.com
- Agentationagentation.dev
- Agentationagentation.com
- GitHub - x1xhlol/system-prompts-and-models-of-ai-tools: FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Modelsgithub.com
- Flashbots MEV-Inspect | Dunedune.com
- Phantom Rust Backend APIdocs.blowfish.xyz
- The Ethereum Virtual Machine — How does it work? | by Luit | MyCrypto | Mediummedium.com
- Rarible - NFT Marketplace for Brands, Communities and Tradersrarible.com
- OpenSea · GitHubgithub.com
- Codex use casesdevelopers.openai.com