slither-constellation / slither-composability: create a mapping of connected contracts
Open
- Dominant language
- Python
- Stars
- 6.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
We can extend what we did with `slither-read-storage` to create a graph of contracts that are connected to each others:
- From an address, fetch the source code, detect all the `address`/ `contract`
- Read the addresses onchain, and fetch the new source code
- Iterate, and create a graph
We might need to limit the iteration in case the graph is becoming too large. We could also have different types of edges (to highlight the type of calls, transfer of funds, etc..).
We might need some heuristics, or user configuration, for array/mapping, in case there are too many elements to check.
Contributor guide
Assessment
This issue has not been assessed yet.