EIP Radar
@ 41a838d ·
EIP-663

SWAPN, DUPN and EXCHANGE instructions

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

StagnantSplurge

Status history

  1. Draft3 Jul 2017
  2. Stagnantdate not observed

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
3 Jul 2017
Authors
Alex Beregszaszi, Charles Cooper, Danno Ferrin
Upgrades
Not listed in any upgrade
Requires
EIP-3540EIP-5450
Required by
—