Is the Old Address Still Valid After a Proxy Contract Upgrade?

 / 
1

After a proxy contract upgrade, the old address remains valid. You don't need to move your assets from the old address; all funds and data stay at the same address. You continue interacting with the contract using the same address, but the underlying execution logic has been updated to the new version.

OKX Exchange
A leading global cryptocurrency platform,suitable for both beginners and experienced traders.
New user benefit: 20% off trading fees upon registration!!

The core principle is the proxy pattern: users always interact with a fixed proxy contract that is responsible for storing data. The actual business logic is executed by a separate logic contract (also called implementation contract). When upgrading, developers only deploy a new logic contract and then update the pointer in the proxy contract to the new address, completing the upgrade. The user's interaction entry point never changes.

Here are a few things you need to pay attention to as a user:

1. Identify Which Type of Proxy You Are Using

Although the address is valid, your interaction method may differ slightly in different scenarios.

  • Case A: Standard Transparent Proxy / UUPS Proxy This is the most common approach (widely used by OpenZeppelin libraries). The upgrade is entirely handled by the project team on the backend. You don't need to do anything; just use the old address to interact with the contract as usual.

  • Case B: Beacon Proxy Multiple proxy contracts share a single "beacon" contract. Upgrading only requires updating the beacon, and all proxies will automatically point to the new logic. Again, the address you use remains completely unchanged.

  • Case C: Versioned Proxy (e.g., ERC-7936) This is a newer standard that allows the caller to specify which version of the logic to use. If you don't specify a version, the latest version is used by default. In this case, the old address is still valid, but if you need to revert to an older logic version, you may need a special calling method.

2. Operation Steps

Prerequisite: Confirm whether the project you are using declares an "upgradeable contract." This is usually explained in the project documentation under "smart contract."

  1. Check the upgrade announcement Follow the project's official announcements (Twitter, Discord, Medium). Reputable projects will give advance notice before upgrading and will publish the new logic contract address after the upgrade is complete.

  2. (Optional) Verify the new logic address If you know how to use a blockchain explorer (such as Etherscan), you can check the "Read as Proxy" or "Implementation" field of the proxy contract to confirm that its pointed address has been updated to the new address announced by the project.

  3. Use the old address as usual For operations like transfers, staking, and trading, everything remains the same. Your approvals, balances, and other state data are all stored in the proxy contract and will not be lost.

Key reminder: If your assets are in a "wallet address" rather than a "contract address," you have even less to worry about. The contract upgrade changes the code logic, not your account.

3. Risks to Watch Out For

Although the old address is valid, the upgrade process is not without risks. You should pay attention to the following two points:

  • Storage Collision This is the most serious technical risk during an upgrade. If the order of variable declarations in the new logic contract is inconsistent with the old contract, the proxy contract's storage can be "corrupted," potentially locking your assets or causing permission confusion. While this is primarily the project team's responsibility, you can avoid using projects with this risk by reviewing audit reports.

  • Malicious Upgrade If the private key for upgrade permissions is leaked, an attacker can point the proxy contract to a malicious logic contract and steal assets. It is recommended to prioritize projects that assign upgrade permissions to a "Multisig wallet" or "governance DAO"; such mechanisms are more secure than a single administrator private key.

OKX Exchange
A leading global cryptocurrency platform,suitable for both beginners and experienced traders.
New user benefit: 20% off trading fees upon registration!!

4. How to Confirm the Operation Was Completed Correctly

  • For ordinary users: Simply confirm that after the upgrade, you can still perform previous operations (such as withdrawing funds or claiming rewards) normally. As long as the functions work, your use of the old address is correct.

  • For advanced users: On Etherscan, find the proxy contract page, look at the "Read as Proxy" under the "Contract" tab. If the new logic contract address displayed matches the official announcement, it's confirmed.

If you doubt whether the project you are using employs the proxy pattern, you can first check the contract source code on Etherscan. If the code contains delegatecall or inherits from OpenZeppelin's Proxy contract, then it is a proxy.