shazow / whatsabi

Extract the ABI (and resolve proxies, and get other metadata) from Ethereum bytecode, even without source code.
https://shazow.github.io/whatsabi/
MIT License
1.06k stars 74 forks source link

wip: untangling asm package #4

Closed shazow closed 2 years ago

shazow commented 2 years ago

@ethersproject/asm doesn't bundle for browsers due to some use of path and other node-specific packages, for functionality we don't need.

Plan right now is to vendor a minimal subset (probably just opcode definitions, unless I end up regenerating them from elsewhere) and do the disassembling manually, which we can build lookups on the opcodes whatsabi actually needs.

shazow commented 2 years ago

Obsoleted by #5