A protocol’s contract logic changed overnight—are the coins users deposited still safe?
One detail: A proxy contract executes the logic contract’s code through delegatecall, and the code runs in the proxy contract’s own storage context.
If upgrade permissions are controlled by a single private key, anyone who gets hold of that key can upgrade the contract to malicious logic.
Understanding this is worth more than memorizing a bunch of jargon. Every return comes with corresponding risks, so think about the worst-case scenario first.
Back to the market: $ETH is quoted at 1696.08 (24h -2.08%).
One detail: A proxy contract executes the logic contract’s code through delegatecall, and the code runs in the proxy contract’s own storage context.
If upgrade permissions are controlled by a single private key, anyone who gets hold of that key can upgrade the contract to malicious logic.
Understanding this is worth more than memorizing a bunch of jargon. Every return comes with corresponding risks, so think about the worst-case scenario first.
Back to the market: $ETH is quoted at 1696.08 (24h -2.08%).
