Accidentally called the wrong contract method changeProxyAdmin
,The call is an upgradeable contract ProxyAdmin
,I set parameter newAdmin
to my own wallet address, can I change it back?
/**
* @dev Changes the admin of a proxy.
* @param proxy Proxy to change admin.
* @param newAdmin Address to transfer proxy administration to.
*/
function changeProxyAdmin(AdminUpgradeabilityProxy proxy, address newAdmin) public onlyOwner {
proxy.changeAdmin(newAdmin);
}