ETH Price: $3,492.89 (+4.31%)

Contract

0x75C53809A047c3d422B91Eda50A20914fBe91C61
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Upgrade159860472022-11-17 0:05:47739 days ago1668643547IN
0x75C53809...4fBe91C61
0 ETH0.0006305314.99267342
Upgrade154542932022-09-01 17:58:23815 days ago1662055103IN
0x75C53809...4fBe91C61
0 ETH0.001229429.17844379
Upgrade150087582022-06-22 17:34:54886 days ago1655919294IN
0x75C53809...4fBe91C61
0 ETH0.0020672649.07797707
Upgrade149688212022-06-15 17:58:20893 days ago1655315900IN
0x75C53809...4fBe91C61
0 ETH0.00587029139.3243418
Upgrade149221422022-06-07 17:49:11901 days ago1654624151IN
0x75C53809...4fBe91C61
0 ETH0.00565473134.20846019
Upgrade148797982022-05-31 16:43:34908 days ago1654015414IN
0x75C53809...4fBe91C61
0 ETH0.0028046666.68870463
Upgrade148797902022-05-31 16:41:38908 days ago1654015298IN
0x75C53809...4fBe91C61
0 ETH0.003447881.82947519
Upgrade148064402022-05-19 18:19:40920 days ago1652984380IN
0x75C53809...4fBe91C61
0 ETH0.0013375731.74565857
Upgrade148064342022-05-19 18:17:15920 days ago1652984235IN
0x75C53809...4fBe91C61
0 ETH0.0010606725.2204453
Upgrade145352012022-04-06 23:10:45963 days ago1649286645IN
0x75C53809...4fBe91C61
0 ETH0.00160340.08913746
Upgrade145351602022-04-06 23:03:03963 days ago1649286183IN
0x75C53809...4fBe91C61
0 ETH0.0023095857.75971778
Upgrade145278172022-04-05 19:27:29964 days ago1649186849IN
0x75C53809...4fBe91C61
0 ETH0.144693163,618.59558594
Upgrade145277852022-04-05 19:22:47964 days ago1649186567IN
0x75C53809...4fBe91C61
0 ETH0.182211274,301.39220154
Upgrade145277122022-04-05 19:07:08964 days ago1649185628IN
0x75C53809...4fBe91C61
0 ETH0.00439846110
Upgrade145276992022-04-05 19:05:25964 days ago1649185525IN
0x75C53809...4fBe91C61
0 ETH0.00463474110
Upgrade145276842022-04-05 19:01:48964 days ago1649185308IN
0x75C53809...4fBe91C61
0 ETH0.00463474110
Upgrade145276772022-04-05 18:58:54964 days ago1649185134IN
0x75C53809...4fBe91C61
0 ETH0.00463474110
Upgrade145276722022-04-05 18:58:28964 days ago1649185108IN
0x75C53809...4fBe91C61
0 ETH0.00408133110
Upgrade145276672022-04-05 18:57:02964 days ago1649185022IN
0x75C53809...4fBe91C61
0 ETH0.00465971110
Upgrade145276592022-04-05 18:54:38964 days ago1649184878IN
0x75C53809...4fBe91C61
0 ETH0.00463474110
Upgrade137539622021-12-06 18:50:341084 days ago1638816634IN
0x75C53809...4fBe91C61
0 ETH0.003553284.4874842
Upgrade135386922021-11-02 16:50:591118 days ago1635871859IN
0x75C53809...4fBe91C61
0 ETH0.00670659159.46832689
Upgrade134508182021-10-19 22:15:051132 days ago1634681705IN
0x75C53809...4fBe91C61
0 ETH0.0026054461.8370726
Upgrade134496872021-10-19 18:05:271132 days ago1634666727IN
0x75C53809...4fBe91C61
0 ETH0.0023207562.54893532
Upgrade134495952021-10-19 17:49:521132 days ago1634665792IN
0x75C53809...4fBe91C61
0 ETH0.0039147993.08536942
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Upgrader

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *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

Contract ABI

[{"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"}]

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.