Lab: free tools · size first · stock scanner · crypto scanner · journal

Protocol Design

Smart Contract Upgradability

Smart Contract Upgradability is a crypto market concept used to structure analysis, execution, and risk decisions with measurable rules. It helps practitioners translate noisy data into consistent portfolio actions over time.

Upgradeable smart contracts let developers change logic after deployment, usually through a proxy. That makes it possible to fix bugs and add features. It also means users trust whoever controls upgrades not to change the rules against them. Timelocks, multisig control, public notices and eventually removing upgrade power are ways teams reduce that trust.

A safer upgrade process

A careful team posts the new code and its audit, opens a governance vote, then routes the change through a timelock so it sits in public view before it runs. When Uniswap launched its governance in September 2020, every passed proposal waited 2 days in a timelock before execution, and control of its fee switch sat behind a 180 day delay. During any such window, anyone can compare the queued code with what was promised and pull funds if they don't like it.

Giving up the power

Some teams eventually remove their ability to upgrade. OpenZeppelin's UUPS design lets the upgrade function be removed in a later version, and a diamond under ERC-2535 can be made immutable. Ownership can also be renounced, which locks out any owner-only function for good. Tornado Cash's core contracts were immutable, and in November 2024 a federal appeals court ruled that OFAC couldn't block them as property, which shows how far that independence can reach. The cost is that bugs can't be fixed, so immutable code should come after long testing.

How to judge it

We'd rate a protocol's upgrade setup on a few questions. Is the upgrade power held by a multisig or governance, and how many signers are independent? Is there a timelock, and how long? Do emergency roles bypass it? Has the team said when, or whether, it will give the power up? An audit of today's code means little if tomorrow's code can be swapped in without notice. The timelock's current delay can be read straight from its contract on a block explorer, which beats trusting the docs.