Skip to content

Instantly share code, notes, and snippets.

@iavl
iavl / quine.etk
Created September 20, 2022 07:06 — forked from 0xkarmacoma/quine.etk
EVM quine
# quine.etk
# ⬜ => ⬜
# A quine is a computer program which takes no input and produces a copy of its own source code as its only output.
# 0x80...f3 is the compiled code excluding the push16 instruction (from dup1 to return)
push16 0x8060801b17606f5953600152602136f3
# --- stack ---
dup1 # code code
push1 128 # 128 code code