Skip to content
gram.questYour guide to the crypto world

How a Smart Contract Can Change Without Changing Its Address

By 7 min read72

A contract address can look reassuringly familiar: the same characters appear in an app today as they did last month. On Ethereum and other Ethereum Virtual Machine (EVM) networks, that does not necessarily mean the application will run the same logic. An upgradeable proxy can keep its address and stored state while directing calls to a newly deployed implementation.

The distinction matters whenever an address is treated as proof that an application’s rules are fixed. Deployed code at an address is not edited in place. Instead, a separately deployed contract supplies new instructions, and an authorized upgrade changes which instructions the proxy uses. The question is therefore not just “Is this the same address?” but “What code does it use now, and who can change that choice?” Ethereum’s guide to contract upgrades explains the difference between changing deployed code and changing the code reached through an upgrade pattern.

The address belongs to the proxy, not the current rules

Think of a proxy as a reception desk at a permanent street address. Visitors keep going to the same desk, but the desk can route their request to a different specialist. The analogy helps with the address; it breaks down at the execution step. In an EVM proxy, the implementation’s code can run in the proxy’s context through an operation called delegatecall. It is not simply a conventional call to a second office that maintains an entirely separate account and records.

The proxy is the address users call. It holds the persistent state relevant to the application, such as balances in an upgradeable token design. The implementation supplies the logic for interpreting and changing that state. OpenZeppelin’s proxy-pattern documentation describes this division: the state is associated with the proxy, while the selected implementation supplies the logic executed against it.

The useful mental model: A proxy address identifies a continuing point of interaction. It does not, by itself, identify one permanent set of application rules.

Not every contract that calls another contract is an upgradeable proxy. Nor is every proxy upgradeable: some forwarding patterns deliberately lack a route for replacing their implementation. Identifying the actual pattern matters more than finding the word “proxy” in a description.

What happens during an upgrade?

Consider an illustrative EVM application, not a claim about a particular deployed project. At the start, users interact with proxy P. Its selected implementation is contract A, which contains the application’s current rules. An account or governance mechanism with the required authority deploys contract B and updates the proxy’s implementation reference to B. A later user still calls P, but P now executes B’s logic in P’s context. The sequence is:

  1. Before: a call reaches proxy P and uses implementation A.
  2. Change: an authorized upgrade points P toward implementation B.
  3. After: a call to the same P address uses B’s logic, subject to the proxy’s design.

The example explains why a bookmark, token contract address or application integration may continue to work after an upgrade. It does not establish that the new behavior is benign, that every past interaction remains valid, or that the project actually follows this pattern. The specific implementation and upgrade authority have to be checked for the particular contract.

There is also a technical constraint: persistent storage must still make sense to the new logic. If a replacement interprets an existing storage position differently, the result can be incorrect or unsafe even though the upgrade transaction succeeds. OpenZeppelin’s storage-layout explanation distinguishes conflicts between the proxy and implementation from conflicts between successive implementations. Upgradeability creates a way to revise rules; it does not make revisions automatically safe.

Who gets to redirect the proxy?

“Upgradeable” describes a capability, not its governance. In OpenZeppelin’s documented transparent-proxy design, a separate ProxyAdmin manages upgrades; who controls that administrator matters. In its UUPS design, upgrade functionality resides in the implementation, where an authorization check must restrict who can use it. Other implementations may arrange authority differently.

That gives an ordinary user two separate things to investigate: what rules run today and who can select tomorrow’s rules. A multisignature account, a governance process and a timelock are different possible arrangements, but their names alone prove little. The relevant questions are which addresses actually have authority, what transaction or vote is required, whether a delay is enforced by code, and whether those controls can themselves change. Without checking the deployed arrangement, none of those protections should be assumed.

An upgrade path can be valuable. Developers may need to repair a defect or adapt an application without migrating every user to a new address. The same path adds a dependency on whoever can exercise it. That is a tradeoff, not evidence that every upgradeable contract is unsafe or that a contract without an upgrade mechanism has no risks.

What a familiar address does—and does not—tell you

An address is still useful. It helps identify the contract users are interacting with on a particular network. But it answers a narrower question than many people expect. For a proxy, it does not freeze the implementation behind the address or the authority that may update it.

This distinction becomes especially consequential when an application has permissions affecting tokens. An ERC-20 token approval is a permission recorded by a token contract for a particular spender address. If that spender is an upgradeable proxy, changing its implementation need not change the spender address. Whether an existing allowance can be used differently depends on the new code, the proxy arrangement, the token’s rules and the allowance that remains. An upgrade is not, by itself, proof that tokens were moved or that every approval is exploitable.

The causal connection is worth remembering: permission can persist at an address while behavior reachable through that address changes. Disconnecting a wallet from a website is a different action from changing an on-chain allowance. The earlier approval guide explains that separate permission boundary; this article explains why the spender’s upgrade design belongs in the same assessment.

For a foundation in what execution by a contract means before adding proxies to the picture, see gram.quest’s smart-contract explainer. The proxy distinction is an additional layer, not a replacement for that basic model.

How to inspect the claim without signing anything

For an EVM contract you are researching, begin with its network and exact address. A read-only block explorer may show that an address is a proxy and link to an implementation. Treat that display as a starting point: explorer labels and verified source-code displays are tools for inspection, not independent guarantees that a project’s governance is safe.

  • Confirm the address and network. The same-looking address on another network does not establish the same contract or control structure.
  • Look for the implementation. For contracts using ERC-1967’s direct-implementation pattern, the standard defines a storage location for that address. Check what the explorer reports as the current implementation and, where available, its history.
  • Identify the upgrade route. Determine whether the contract uses a transparent, UUPS, beacon or another design before assuming where the authority resides.
  • Trace actual control. If an administrator is a contract, inspect who can direct that contract. A reassuring label is not a substitute for the deployed permissions and process.
  • Compare at different points in time when the question is historical. The implementation visible now does not prove which implementation handled an earlier interaction.

ERC-1967 specifies storage locations for an implementation, an optional administrator and a beacon. Its event conventions can aid investigation, but the standard describes a particular family of designs, not every contract that forwards calls. In a beacon arrangement, several proxies can obtain their implementation from another contract; checking only a proxy’s direct implementation field can miss the relevant relationship. OpenZeppelin documents that beacon pattern separately.

A missing explorer label does not prove that a contract is immutable. A visible implementation address does not prove that its code was independently audited. If the design is custom, unverified or too complex to trace confidently, the honest conclusion is that its upgrade controls are not established by this check. Do not sign a transaction or connect a wallet merely to investigate; this is a read-only research task.

The better question to ask of a contract address

The apparent paradox disappears once address, storage, logic and authority are separated. Deployed code at one address stays deployed. An upgradeable proxy can nevertheless preserve the address users call while switching the separately deployed code that runs for later calls. Its storage may persist, provided new logic handles that storage appropriately.

Takeaway: Treat a known contract address as an identifier, not a promise of unchanging behavior. For an EVM application that matters to you, establish whether it delegates calls, which implementation it currently uses, and who can change that selection. If those facts cannot be verified, familiarity with the address is not enough to fill the gap.

Discussion

Join the discussion

Your email address will not be published. Required fields are marked *