Open
Description
Related Component
another forc plugin
Problem you are trying to solve
There is a need for a helpful tool to get the selectors for functions, events and errors of a contract.
Initially this could point to a:
- point to a local ABI
- point to a local contract (.bin)
- pre-deployed and/or verified contract
Inspiration: https://x.com/gakonst/status/1776765333442863394
Equivalent foundry CLI: https://book.getfoundry.sh/reference/cli/forge/selectors/list
- Initially could start of with listing the function selectors, outputting to TUI, with optional JSON and table format output.
- This tool could later be expanded to include reverse-searching capabilities (from an API/db) of function, event or error.
This CLI would be part of the forc-plugins package.