Skip to content

Inheritance tree printer#

Name: inheritance-tree

Prints inheritance trees of contracts in given paths or in the whole project.

Example#

wake print inheritance-tree PoolManager inheritance tree ├── IPoolManager │   ├── IFees │   └── IERC1155 │   └── IERC165 ├── Fees │   ├── IFees │   └── Owned ├── NoDelegateCall ├── ERC1155 │   ├── Context │   ├── ERC165 │   │   └── IERC165 │   ├── IERC1155 │   │   └── IERC165 │   └── IERC1155MetadataURI │   └── IERC1155 │   └── IERC165 └── IERC1155Receiver └── IERC165

Parameters#

Command-line name TOML name Type Default value Description
--name (multiple) names List[str] [] Contract names to generate inheritance trees for.