Skip to content
CryptoSober

Glossary · Technical

Proxy contract

A proxy contract is a smart contract that forwards calls to a separate logic contract, which lets its admin replace the code behind it.

By Abu HosainPublished 1 min read

In simple terms

A proxy is a contract with replaceable insides. The address you interact with stays the same, while the code that actually runs can be swapped by whoever holds the admin key.

How it works

Normally a smart contract cannot be changed after it is published. To allow fixes and new features, developers split it in two. The proxy holds the balances and data and has the public address. A second contract holds the logic. Each call to the proxy is passed on to the logic contract.

An admin can point the proxy at a new logic contract at any time. Users see the same address and the same token, running different rules.

Example

A lending app discovers a bug. Its team deploys corrected logic and updates the proxy. Deposits stay where they were, and the bug is gone.

Why it matters for safety

Upgradeability is common in serious projects and is also a route for abuse. An upgrade can add a blacklist function, block selling or move funds. A code review of today's logic says nothing certain about tomorrow's. What matters is who controls upgrades: one wallet, a multisig, or a governance vote with a delay. If the admin is a single unknown address, the token's rules are whatever that person decides. Coin Check flags proxy contracts.

Sources

  1. 01Ethereum.org, Upgrading smart contracts
  2. 02Ethereum Improvement Proposals, ERC-1967 proxy storage slots

This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.