openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

Remove ifAdmin getters from TransparentUpgradeableProxy

Open frangio opened this issue 3 years ago • 0 comments

TransparentUpgradeableProxy has getters admin() and implementation() but these functions are guarded by ifAdmin, as a result calling the function by anyone except the admin will not return the values. This is specially visible on Etherscan where admin will display as 0x:

image

This essentially makes the getters useless so we might as well remove them.

frangio avatar Aug 04 '22 17:08 frangio