Blockchain & Cryptocurrency Glossary

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • search-icon Clear Definitions
  • search-icon Practical
  • search-icon Technical
  • search-icon Related Terms

Upgradeable Proxy

1 min read
Pronunciation
[uhp-greyd-uh-buhl prok-see]
Analogy
This is the actual P.O. Box in our earlier analogy. The Upgradeable Proxy is the persistent address and storage location that users interact with. It contains the mechanism to forward requests to the current 'office building' (logic contract) and the mechanism to update which 'office building' it forwards to.
Definition
A specific implementation of the proxy pattern used to create upgradeable smart contracts. It refers to the proxy contract itself, which holds state and forwards calls to a separate logic contract, allowing the logic contract to be replaced (upgraded) without changing the proxy's address or state.
Key Points Intro
An Upgradeable Proxy is the core component enabling smart contract upgrades by delegating calls.
Key Points

The persistent contract that users interact with in an upgradeable system.

Holds the state (storage and balance) of the application.

Uses `delegatecall` to forward execution logic to an implementation/logic contract.

Contains logic to allow an authorized address (e.g., owner, admin, governance contract) to change the implementation contract address it points to.

Different patterns exist (Transparent, UUPS, Diamond) with varying features and trade-offs.

Example
When using OpenZeppelin's upgradeable contracts framework, deploying an upgradeable contract actually deploys both an implementation (logic) contract and an Upgradeable Proxy contract (e.g., a TransparentUpgradeableProxy or ProxyAdmin). Users are given the address of the proxy to interact with.

Upgradeable Proxy - Related Articles

No related articles for this term.