Lightlines
By openzeppelin

upgrade-solidity-contracts

openzeppelin458 installs

Upgrade Solidity contracts without losing state.

What it does

Guides Solidity contract upgrades using proxy patterns, initialization rules, and upgrade-safety validation.

When to use it

Use when making contracts upgradeable, managing proxy upgrades, or checking storage compatibility and upgrade safety.

How to use it

It changes how the agent writes and upgrades Solidity contracts by enforcing initialization, storage compatibility, and upgrade-path testing.

What you provide

  • An existing project

Latest review

What you need · 4

Uses the upgradeable package for base contracts such as ERC20Upgradeable and OwnableUpgradeable.

Uses this package for interfaces and libraries, and for Initializable and UUPSUpgradeable in v5.5+.

Runs the supplied storage-location calculation when generating ERC-7201 namespaced storage code.

Provides the hashing and encoding functions used by the supplied ERC-7201 storage-location calculation.


Access · 0

No additional actions listed.