Verified contractExactUNLICENSED
ChangeAdmin
Address0x86aa30644a7a434ecd4f855bb84968a836d30dbe
- Balance
0 ETH
- Transactions
4
- Compiler
solc 0.8.20
- Same code
Only this contract
Details
- Compiler
- solc 0.8.20+commit.a1b79de6
- Language
- solidity
- Optimization
- Yes, 1,000 runs
- EVM version
- paris
- License
- UNLICENSED
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 18,820,785
- Creation transaction
- 0xd82bd80606…01075d52fe
contracts/ChangeAdmin.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
//import "../contracts/interface/ITransparentUpgradeableProxy.sol";
contract ChangeAdmin {
function executeChangeAdmin(
address proxy,
address newAdmin
) external {
(bool success, ) = proxy.delegatecall(
abi.encodeWithSelector(0x8f283970, newAdmin)
);
require(success, "changeAdmin failed");
}
}
Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 1000,
"enabled": true
},
"evmVersion": "paris"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.