People say smart contracts can’t be changed after deployment, so why can some projects still be upgraded?
Proxy contracts execute the code of an implementation contract through delegatecall, with the code running in the proxy contract’s own storage context. Common proxy patterns include transparent proxies and UUPS (EIP-1822); the main difference is whether the upgrade functionality is written into the proxy contract or the implementation contract.
Upgradability lets projects fix vulnerabilities and launch new features. The trade-off is that users have to trust whoever holds the upgrade permissions not to make unauthorized changes or lose their private keys.
Coin discussed: $ETH , quoted at 1665.98, 24h +3.11%.