What is Proxy Contract?

1 min read Updated

A proxy contract is a smart contract pattern that delegates execution to an implementation contract — enabling upgradeable smart contracts by changing the implementation while maintaining the same address and state.

WHY IT MATTERS

Smart contracts are immutable — deployed code can't be changed. Proxy patterns work around this: the proxy holds the state and delegates all calls to a separate implementation contract. To 'upgrade,' you point the proxy to a new implementation.

Common patterns: Transparent Proxy (OpenZeppelin), UUPS (Universal Upgradeable Proxy Standard), and Diamond (EIP-2535, multiple implementation facets). Each has different admin models and gas tradeoffs.

Proxies introduce trust assumptions: whoever controls upgrades can change the contract's behavior. This is why timelock delays, multisig requirements, and governance processes are critical for upgradeable contracts.

FREQUENTLY ASKED QUESTIONS

Are proxy contracts safe?
The proxy mechanism is well-audited and widely used. The risk is in the upgrade authority — who can change the implementation and under what conditions. Governance and timelocks mitigate this.
Can I verify a proxy's implementation?
Yes — block explorers show the implementation address for verified proxies. You can read the implementation contract's source code to understand current behavior.
Why not just deploy new contracts?
Upgrading preserves the contract address, state, and integrations. Deploying new requires migrating state, updating all references, and re-establishing integrations.

FURTHER READING

Enforce policies on every tool call

Intercept is the open-source MCP proxy that enforces YAML policies on AI agent tool calls. No code changes needed.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.