What Is a Proxy Pattern in the Context of Smart Contract Mutability?
A proxy pattern separates the contract's storage (data) from its logic (code). Users interact with a simple, immutable proxy contract, which delegates all function calls to a separate, upgradeable logic contract.
To upgrade, the developer simply points the proxy to a new logic contract address, preserving the contract's state and address.
Glossar
Transparent Proxy
Proxy ⎊ A transparent proxy is an architectural pattern where the proxy contract explicitly stores the address of the implementation contract, and every external call is routed through the proxy, which then calls the implementation using a standard external call.
Proxy Pattern
Mechanism ⎊ A proxy pattern within cryptocurrency derivatives functions as an intermediary executing trades on behalf of another party, often to circumvent restrictions or enhance privacy, particularly relevant in decentralized exchanges and perpetual swap markets.