Skip to content

Instantly share code, notes, and snippets.

@AdvaithD
Last active November 18, 2022 18:21
Show Gist options
  • Save AdvaithD/7b6c6841c52cc91cfd1facb1eacb33cc to your computer and use it in GitHub Desktop.
Save AdvaithD/7b6c6841c52cc91cfd1facb1eacb33cc to your computer and use it in GitHub Desktop.
EIP1167 annotated
36 - CALLDATASIZE
3d - RETURNDATASIZE
3d - RETURNDATASIZE
37 - CALLDATACOPY
3d - RETURNDATASIZE
3d - RETURNDATASIZE
3d - RETURNDATASIZE
36 - CALLDATASIZE
3d - RETURNDATASIZE
73 - PUSH20

<<bebebebebebebebebebebebebebebebebebebebe>> 20 byte address

5a - GAS
f4 - DELEGATECALL
3d - RETURNDATASIZE
82 - DUP3
80 - DUP1
3e - RETURNDATACOPY
90 - SWAP1 (1st and 2nd stack items)
3d - RETURNDATASIZE
91 - SWAP2
60 - PUSH1
2b -
57 -
fd -
5b -
f3 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment