{
  "id": 8024,
  "title": "EIP-8024: Backward compatible SWAPN, DUPN, EXCHANGE",
  "status": "Review",
  "type": "Standards Track",
  "category": "Core",
  "summary": "Adds new instructions to increase the reachable elements of the stack.",
  "impacts": [
    "Cheaper transactions from more efficient bytecode.",
    "Once Solidity adopts it, no more workarounds will be necessary for \"stack too deep\" errors.",
    "No impact.",
    "Must implement support for new instructions.",
    "Can adopt new instructions.",
    "No impact.",
    "No impact.",
    "Must implement new instructions.",
    "Compilers can generate code more easily without the complexity of spilling.",
    "New EXCHANGE instruction can replace three instructions with a single one.",
    "Smart contracts are freer to make heavier use of the stack instead of resorting to memory."
  ],
  "discussion_url": "https://ethereum-magicians.org/t/eip-8024-backward-compatible-swapn-dupn-exchange/25486",
  "source_markdown_url": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8024.md",
  "canonical_url": "/latest/eips/8024.json",
  "markdown_url": "/latest/eips/8024.md",
  "citations": [
    {
      "recordId": "eip-8024",
      "artifactPath": "normalized/8024.json",
      "url": "/records/proposal/eip-8024/normalized/8024.json",
      "label": "EIP-8024: Backward compatible SWAPN, DUPN, EXCHANGE",
      "snippet": "Adds new instructions to increase the reachable elements of the stack."
    }
  ]
}
