Skip to content

Commit

Permalink
extend comment with further explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Jun 20, 2023
1 parent 9ce6f4b commit 57e6869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/proxy/transparent/TransparentUpgradeableProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ interface ITransparentUpgradeableProxy is IERC1967 {
contract TransparentUpgradeableProxy is ERC1967Proxy {
// An immutable address for the admin avoid unnecessary SLOADs before each call
// at the expense of removing the ability to change the admin once it's set.
// This is acceptable if the admin is always a ProxyAdmin instance or similar contract
// with its own ability to transfer the permissions to another account.
address private immutable _admin;

/**
Expand Down

0 comments on commit 57e6869

Please sign in to comment.