From fd8b9eb29b8abefe53bcb6f06968c76d2e57cc0a Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 6 Apr 2024 16:39:54 -0700 Subject: [PATCH] Initial commit --- README.md | 8 ++ index.html | 239 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 247 insertions(+) create mode 100644 README.md create mode 100644 index.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..cd84f6f --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Function Extractor + +This is a minimal web app that extracts 4-byte function selectors from a smart contract's runtime bytecode and looks up the selectors on [openchain.xyz](https://openchain.xyz/). + +Source for the regex used to extract the 4-byte function selectors: [https://twitter.com/high_byte/status/1606634118808223747](https://twitter.com/high_byte/status/1606634118808223747) + +Similar projects: +- [EVMole](https://github.com/cdump/evmole) diff --git a/index.html b/index.html new file mode 100644 index 0000000..e60e75d --- /dev/null +++ b/index.html @@ -0,0 +1,239 @@ + + + + + + + + Function Extractor + + + + +
+

Function Extractor

+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + +
SelectorName
+
+
+
+ + + + + \ No newline at end of file -- 2.47.3