Skip to content

Commit 57e6869

Browse files
authored
extend comment with further explanation
1 parent 9ce6f4b commit 57e6869

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contracts/proxy/transparent/TransparentUpgradeableProxy.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ interface ITransparentUpgradeableProxy is IERC1967 {
5959
contract TransparentUpgradeableProxy is ERC1967Proxy {
6060
// An immutable address for the admin avoid unnecessary SLOADs before each call
6161
// at the expense of removing the ability to change the admin once it's set.
62+
// This is acceptable if the admin is always a ProxyAdmin instance or similar contract
63+
// with its own ability to transfer the permissions to another account.
6264
address private immutable _admin;
6365

6466
/**

0 commit comments

Comments
 (0)