Slither contract flattening tool slither-flat
produces a flattened version of the codebase with the following features:
- Supports three strategies:
- MostDerived: Export all the most derived contracts (every file is standalone)
- OneFile: Export all the contracts in one standalone file
- LocalImport: Export every contract in one separate file, and include import ".." in their preludes
- Supports circular dependency
- Supports all the compilation platforms (Truffle, embark, buidler, etherlime, ...).
- Contract Flattening Tool
- Strategies: Most Derived, One File, Local Import
- Circular Dependencies
- Platforms: Truffle, Hardhat, Etherlime, etc.