Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 58 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Upgrade | 15986047 | 739 days ago | IN | 0 ETH | 0.00063053 | ||||
Upgrade | 15454293 | 815 days ago | IN | 0 ETH | 0.0012294 | ||||
Upgrade | 15008758 | 886 days ago | IN | 0 ETH | 0.00206726 | ||||
Upgrade | 14968821 | 893 days ago | IN | 0 ETH | 0.00587029 | ||||
Upgrade | 14922142 | 901 days ago | IN | 0 ETH | 0.00565473 | ||||
Upgrade | 14879798 | 908 days ago | IN | 0 ETH | 0.00280466 | ||||
Upgrade | 14879790 | 908 days ago | IN | 0 ETH | 0.0034478 | ||||
Upgrade | 14806440 | 920 days ago | IN | 0 ETH | 0.00133757 | ||||
Upgrade | 14806434 | 920 days ago | IN | 0 ETH | 0.00106067 | ||||
Upgrade | 14535201 | 963 days ago | IN | 0 ETH | 0.001603 | ||||
Upgrade | 14535160 | 963 days ago | IN | 0 ETH | 0.00230958 | ||||
Upgrade | 14527817 | 964 days ago | IN | 0 ETH | 0.14469316 | ||||
Upgrade | 14527785 | 964 days ago | IN | 0 ETH | 0.18221127 | ||||
Upgrade | 14527712 | 964 days ago | IN | 0 ETH | 0.00439846 | ||||
Upgrade | 14527699 | 964 days ago | IN | 0 ETH | 0.00463474 | ||||
Upgrade | 14527684 | 964 days ago | IN | 0 ETH | 0.00463474 | ||||
Upgrade | 14527677 | 964 days ago | IN | 0 ETH | 0.00463474 | ||||
Upgrade | 14527672 | 964 days ago | IN | 0 ETH | 0.00408133 | ||||
Upgrade | 14527667 | 964 days ago | IN | 0 ETH | 0.00465971 | ||||
Upgrade | 14527659 | 964 days ago | IN | 0 ETH | 0.00463474 | ||||
Upgrade | 13753962 | 1084 days ago | IN | 0 ETH | 0.0035532 | ||||
Upgrade | 13538692 | 1118 days ago | IN | 0 ETH | 0.00670659 | ||||
Upgrade | 13450818 | 1132 days ago | IN | 0 ETH | 0.00260544 | ||||
Upgrade | 13449687 | 1132 days ago | IN | 0 ETH | 0.00232075 | ||||
Upgrade | 13449595 | 1132 days ago | IN | 0 ETH | 0.00391479 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Upgrader
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-04 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface Proxy { function upgradeTo(address newImplementation) external; } contract Upgrader { event Upgraded(address indexed proxyAddress, address indexed implementationAddress); address public admin; address public pendingAdmin; address public superAdmin; address public pendingSuperAdmin; constructor(address adminAddress, address superAdminAddress) public { admin = adminAddress; superAdmin = superAdminAddress; } // ADMIN // ************************************************************************************* function setPendingAdmin(address newPendingAdmin) public { require(msg.sender == admin, 'not admin'); pendingAdmin = newPendingAdmin; } function acceptAdmin() public { require(msg.sender == pendingAdmin && msg.sender != address(0), 'not pendingAdmin'); admin = pendingAdmin; pendingAdmin = address(0); } function setPendingSuperAdmin(address newPendingSuperAdmin) public { require(msg.sender == superAdmin, 'not superAdmin'); pendingSuperAdmin = newPendingSuperAdmin; } function acceptSuperAdmin() public { require(msg.sender == pendingSuperAdmin && msg.sender != address(0), 'not pendingSuperAdmin'); superAdmin = pendingSuperAdmin; pendingSuperAdmin = address(0); } // UPGRADE // ************************************************************************************* function upgrade(address proxyAddress, address implementationAddress) external { require(msg.sender == admin || msg.sender == superAdmin, 'not admin'); Proxy proxy = Proxy(proxyAddress); proxy.upgradeTo(implementationAddress); emit Upgraded(proxyAddress, implementationAddress); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"adminAddress","type":"address"},{"internalType":"address","name":"superAdminAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"proxyAddress","type":"address"},{"indexed":true,"internalType":"address","name":"implementationAddress","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"acceptAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptSuperAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingSuperAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"setPendingAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingSuperAdmin","type":"address"}],"name":"setPendingSuperAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"superAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"},{"internalType":"address","name":"implementationAddress","type":"address"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516105383803806105388339818101604052604081101561003357600080fd5b508051602090910151600080546001600160a01b039384166001600160a01b031991821617909155600280549390921692169190911790556104be8061007a6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80634dd18bf5116100665780634dd18bf5146100d657806399a88ec4146100fc578063d39ca7de1461012a578063e7f9cefd14610150578063f851a4401461015857610093565b80630e18b6811461009857806326782247146100a257806329575f6a146100c657806348028d63146100ce575b600080fd5b6100a0610160565b005b6100aa6101e4565b604080516001600160a01b039092168252519081900360200190f35b6100aa6101f3565b6100aa610202565b6100a0600480360360208110156100ec57600080fd5b50356001600160a01b0316610211565b6100a06004803603604081101561011257600080fd5b506001600160a01b038135811691602001351661027e565b6100a06004803603602081101561014057600080fd5b50356001600160a01b031661037e565b6100a06103f0565b6100aa610479565b6001546001600160a01b03163314801561017957503315155b6101bd576040805162461bcd60e51b815260206004820152601060248201526f3737ba103832b73234b733a0b236b4b760811b604482015290519081900360640190fd5b60018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6001546001600160a01b031681565b6002546001600160a01b031681565b6003546001600160a01b031681565b6000546001600160a01b0316331461025c576040805162461bcd60e51b81526020600482015260096024820152683737ba1030b236b4b760b91b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806102a157506002546001600160a01b031633145b6102de576040805162461bcd60e51b81526020600482015260096024820152683737ba1030b236b4b760b91b604482015290519081900360640190fd5b60408051631b2ce7f360e11b81526001600160a01b03838116600483015291518492831691633659cfe691602480830192600092919082900301818387803b15801561032957600080fd5b505af115801561033d573d6000803e3d6000fd5b50506040516001600160a01b038086169350861691507f5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c790600090a3505050565b6002546001600160a01b031633146103ce576040805162461bcd60e51b815260206004820152600e60248201526d3737ba1039bab832b920b236b4b760911b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b03163314801561040957503315155b610452576040805162461bcd60e51b81526020600482015260156024820152743737ba103832b73234b733a9bab832b920b236b4b760591b604482015290519081900360640190fd5b60038054600280546001600160a01b03199081166001600160a01b03841617909155169055565b6000546001600160a01b03168156fea26469706673582212203fd15937c629a3d0482bf16b4c8680314ec967849a4140d27d388a0bdda06ba364736f6c634300060c0033000000000000000000000000bddc7ef8baceace16dce005102639a4bb86cb8c10000000000000000000000004b5057b2c87ec9e7c047fb00c0e406dff2fdacad
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c80634dd18bf5116100665780634dd18bf5146100d657806399a88ec4146100fc578063d39ca7de1461012a578063e7f9cefd14610150578063f851a4401461015857610093565b80630e18b6811461009857806326782247146100a257806329575f6a146100c657806348028d63146100ce575b600080fd5b6100a0610160565b005b6100aa6101e4565b604080516001600160a01b039092168252519081900360200190f35b6100aa6101f3565b6100aa610202565b6100a0600480360360208110156100ec57600080fd5b50356001600160a01b0316610211565b6100a06004803603604081101561011257600080fd5b506001600160a01b038135811691602001351661027e565b6100a06004803603602081101561014057600080fd5b50356001600160a01b031661037e565b6100a06103f0565b6100aa610479565b6001546001600160a01b03163314801561017957503315155b6101bd576040805162461bcd60e51b815260206004820152601060248201526f3737ba103832b73234b733a0b236b4b760811b604482015290519081900360640190fd5b60018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6001546001600160a01b031681565b6002546001600160a01b031681565b6003546001600160a01b031681565b6000546001600160a01b0316331461025c576040805162461bcd60e51b81526020600482015260096024820152683737ba1030b236b4b760b91b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806102a157506002546001600160a01b031633145b6102de576040805162461bcd60e51b81526020600482015260096024820152683737ba1030b236b4b760b91b604482015290519081900360640190fd5b60408051631b2ce7f360e11b81526001600160a01b03838116600483015291518492831691633659cfe691602480830192600092919082900301818387803b15801561032957600080fd5b505af115801561033d573d6000803e3d6000fd5b50506040516001600160a01b038086169350861691507f5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c790600090a3505050565b6002546001600160a01b031633146103ce576040805162461bcd60e51b815260206004820152600e60248201526d3737ba1039bab832b920b236b4b760911b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b03163314801561040957503315155b610452576040805162461bcd60e51b81526020600482015260156024820152743737ba103832b73234b733a9bab832b920b236b4b760591b604482015290519081900360640190fd5b60038054600280546001600160a01b03199081166001600160a01b03841617909155169055565b6000546001600160a01b03168156fea26469706673582212203fd15937c629a3d0482bf16b4c8680314ec967849a4140d27d388a0bdda06ba364736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bddc7ef8baceace16dce005102639a4bb86cb8c10000000000000000000000004b5057b2c87ec9e7c047fb00c0e406dff2fdacad
-----Decoded View---------------
Arg [0] : adminAddress (address): 0xBDDC7Ef8BaCeacE16DCE005102639a4bB86CB8C1
Arg [1] : superAdminAddress (address): 0x4B5057B2c87Ec9e7C047fb00c0E406dfF2FDaCad
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000bddc7ef8baceace16dce005102639a4bb86cb8c1
Arg [1] : 0000000000000000000000004b5057b2c87ec9e7c047fb00c0e406dff2fdacad
Deployed Bytecode Sourcemap
144:1649:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;785:185;;;:::i;:::-;;282:27;;;:::i;:::-;;;;-1:-1:-1;;;;;282:27:0;;;;;;;;;;;;;;314:25;;;:::i;344:32::-;;;:::i;631:148::-;;;;;;;;;;;;;;;;-1:-1:-1;631:148:0;-1:-1:-1;;;;;631:148:0;;:::i;1487:303::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1487:303:0;;;;;;;;;;:::i;976:178::-;;;;;;;;;;;;;;;;-1:-1:-1;976:178:0;-1:-1:-1;;;;;976:178:0;;:::i;1160:215::-;;;:::i;257:20::-;;;:::i;785:185::-;844:12;;-1:-1:-1;;;;;844:12:0;830:10;:26;:54;;;;-1:-1:-1;860:10:0;:24;;830:54;822:83;;;;;-1:-1:-1;;;822:83:0;;;;;;;;;;;;-1:-1:-1;;;822:83:0;;;;;;;;;;;;;;;920:12;;;;912:20;;-1:-1:-1;;;;;;912:20:0;;;-1:-1:-1;;;;;920:12:0;;912:20;;;;939:25;;;785:185::o;282:27::-;;;-1:-1:-1;;;;;282:27:0;;:::o;314:25::-;;;-1:-1:-1;;;;;314:25:0;;:::o;344:32::-;;;-1:-1:-1;;;;;344:32:0;;:::o;631:148::-;717:5;;-1:-1:-1;;;;;717:5:0;703:10;:19;695:41;;;;;-1:-1:-1;;;695:41:0;;;;;;;;;;;;-1:-1:-1;;;695:41:0;;;;;;;;;;;;;;;743:12;:30;;-1:-1:-1;;;;;;743:30:0;-1:-1:-1;;;;;743:30:0;;;;;;;;;;631:148::o;1487:303::-;1595:5;;-1:-1:-1;;;;;1595:5:0;1581:10;:19;;:47;;-1:-1:-1;1618:10:0;;-1:-1:-1;;;;;1618:10:0;1604;:24;1581:47;1573:69;;;;;-1:-1:-1;;;1573:69:0;;;;;;;;;;;;-1:-1:-1;;;1573:69:0;;;;;;;;;;;;;;;1689:38;;;-1:-1:-1;;;1689:38:0;;-1:-1:-1;;;;;1689:38:0;;;;;;;;;1669:12;;1689:15;;;;;:38;;;;;1649:11;;1689:38;;;;;;;1649:11;1689:15;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1739:45:0;;-1:-1:-1;;;;;1739:45:0;;;;-1:-1:-1;1739:45:0;;;-1:-1:-1;1739:45:0;;;;;1487:303;;;:::o;976:178::-;1072:10;;-1:-1:-1;;;;;1072:10:0;1058;:24;1050:51;;;;;-1:-1:-1;;;1050:51:0;;;;;;;;;;;;-1:-1:-1;;;1050:51:0;;;;;;;;;;;;;;;1108:17;:40;;-1:-1:-1;;;;;;1108:40:0;-1:-1:-1;;;;;1108:40:0;;;;;;;;;;976:178::o;1160:215::-;1224:17;;-1:-1:-1;;;;;1224:17:0;1210:10;:31;:59;;;;-1:-1:-1;1245:10:0;:24;;1210:59;1202:93;;;;;-1:-1:-1;;;1202:93:0;;;;;;;;;;;;-1:-1:-1;;;1202:93:0;;;;;;;;;;;;;;;1315:17;;;1302:10;:30;;-1:-1:-1;;;;;;1302:30:0;;;-1:-1:-1;;;;;1315:17:0;;1302:30;;;;1339;;;1160:215::o;257:20::-;;;-1:-1:-1;;;;;257:20:0;;:::o
Swarm Source
ipfs://3fd15937c629a3d0482bf16b4c8680314ec967849a4140d27d388a0bdda06ba3
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.