openzeppelin-contracts
openzeppelin-contracts copied to clipboard
Remove ifAdmin getters from TransparentUpgradeableProxy
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:

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