Web3 Dictionary Logo
Web3 Dictionary
Contribute

Categories

AllBlockchainDappsDAOsDeFiNFTsRegulationSecuritySmart ContractsTokenomicsWalletsWeb3 GamingOthers
  1. Web3 Dictionary
  2. Smart Contracts
  3. Upgradeable Contract
Smart Contracts

Upgradeable Contract

A smart contract whose logic can be updated after deployment, usually via proxy architecture.

Last Updated

2026-03-29

Related Concepts

Proxy ContractSmart ContractStorage LayoutGovernance
Web3-Explorer Logo

Scale Blockchain Infra

AD

Smart contracts, protocol integrations, and scalable architecture for high-performance Web3 products.

See Blockchain Services

What is Upgradeable Contract?

An upgradeable contract is a smart contract whose logic can be replaced after deployment without losing stored data or changing its address. This is achieved via a proxy pattern where a fixed contract holds state while a swappable implementation contract holds the logic.

How does Upgradeable Contract work?

  1. A proxy contract receives all user calls and forwards them via delegatecall to an implementation contract.
  2. The proxy holds the permanent address and all stored state.
  3. To upgrade, the owner points the proxy to a new implementation contract.
  4. The new implementation accesses existing state no data is lost.
  5. Storage layout must remain consistent across upgrades to prevent corruption.

Why does Upgradeable Contract matter?

It lets developers fix critical bugs and ship new features without forcing users to migrate funds to a new address essential for long-lived DeFi protocols.

Key features of Upgradeable Contract

  • Proxy holds state; implementation holds logic
  • Stable address and balances across all upgrades
  • Typically governed by a multisig or DAO
  • Storage layout must never be reordered between upgrades

Examples of Upgradeable Contract

Aave and Compound use upgradeable proxies to ship security patches and new features through governance votes. OpenZeppelin provides the industry-standard Transparent and UUPS proxy templates.

External References

  • OpenZeppelin Proxy Contracts
  • Smart Contract Security