EIP Radar
@ 41a838d ·
EIP-8024

Backward compatible SWAPN, DUPN, EXCHANGE

Introduce additional instructions for manipulating the stack which allow accessing the stack at higher depths

Last CallSplurge

Status history

  1. Draft16 Aug 2025
  2. Last Call7 Oct 2026

Abstract

Currently, SWAP* and DUP* instructions are limited to a stack depth of 16. Introduce three new instructions, SWAPN, DUPN and EXCHANGE which lift this limitation and allow accessing the stack at higher depths.

Created
16 Aug 2025
Last Call ends
1 Nov 2026
Authors
Francisco Giordano, Charles Cooper, Alex Beregszaszi, Paweł Bylica
Upgrades
Requires
—
Required by
—