Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 964 Bytes

Slither contract flattening tool.md

File metadata and controls

25 lines (22 loc) · 964 Bytes

Slither contract flattening tool slither-flat produces a flattened version of the codebase with the following features:

  1. Supports three strategies:
    1. MostDerived: Export all the most derived contracts (every file is standalone)
    2. OneFile: Export all the contracts in one standalone file
    3. LocalImport: Export every contract in one separate file, and include import ".." in their preludes
  2. Supports circular dependency
  3. Supports all the compilation platforms (Truffle, embark, buidler, etherlime, ...).

Slide Screenshot

039.jpg


Slide Text

  • Contract Flattening Tool
  • Strategies: Most Derived, One File, Local Import
  • Circular Dependencies
  • Platforms: Truffle, Hardhat, Etherlime, etc.

References


Tags