EIP Radar
@ 1a086d5 ·
EIP-4750

EOF - Functions

Individual sections for functions with `CALLF` and `RETF` instructions

StagnantSplurge

Status history

  1. Draft10 Jan 2022
  2. Stagnantdate not observed

Abstract

Introduce the ability to have several code sections in EOF-formatted (EIP-3540) bytecode, each one representing a separate subroutine/function. Two new opcodes,CALLF and RETF, are introduced to call and return from such a function. Dynamic jump instructions are disallowed.

Created
10 Jan 2022
Authors
Andrei Maiboroda, Alex Beregszaszi, Paweł Bylica
Upgrades
Not listed in any upgrade
Requires
EIP-3540EIP-3670EIP-5450
Required by
EIP-5450EIP-6206EIP-7961