Skip to main content

Banned Solidity Features

The following Solidity language features are banned from Compose facets and libraries.

Compose restricts certain Solidity features to keep facet and library code simpler, more consistent, and easier to reason about.

Because of Compose's architecture, many of these features are either unnecessary or less helpful.

note

These restrictions do not apply to tests.

These restrictions do not apply to developers using Compose in their own projects.

Banned Solidity Features