It seems there’s no renounceOwnership function on proxy admin contract, so I tried to set the proxy admin address as null (address(0)), but it returns “Cannot change the admin of a proxy to the zero address”.
Is there a correct way to remove the admin for the proxy contract?
One more thing:
It seems “function admin() external ifAdmin returns (address)” -> this function is not a view function on current master branch (https://github.com/OpenZeppelin/openzeppelin-upgrades/blob/master/packages/core/contracts/proxy/AdminUpgradeabilityProxy.sol)
Is there a reason for that function not to be a view function?
(I tried to call this function on the mainnet, and it costs a lot of gas like $170 for some reason)