cast-selectors - Extracts function selectors and arguments from bytecode
cast selectors
[options] bytecode
Extracts function selectors and arguments from bytecode using the EVMole library
-r
--resolve
Resolve the function signatures for the extracted selectors using https://openchain.xyz
{{#include common-options.md}}
- Get WETH's contract function signatures & arguments:
cast selectors $(cast code 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)