Skip to content

Instantly share code, notes, and snippets.

@hellwolf
Created July 24, 2023 17:55
Show Gist options
  • Save hellwolf/12cb9de7c7487496217afcf988f6739f to your computer and use it in GitHub Desktop.
Save hellwolf/12cb9de7c7487496217afcf988f6739f to your computer and use it in GitHub Desktop.
Find all the libraries with external/public functions
$ git grep -lE '^library' contracts/ | while read i;do grep -E 'public|external' -lE $i | xargs grep -hoE '^library\s+\w+';done | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment