Skip to content
Verified contractPartial

AdminUpgradeabilityProxy

Address0xaffcdd96531bcd66faed95fc61e443d08f79efef
Balance

0 ETH

 

Transactions

2,393

 

Compiler

solc 0.4.24

 

Same code

9 more contracts

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 2,000 runs
EVM version
byzantium
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
8,711,921
Creation transaction
0x44dd3fcc87…1d8e6b0e3e

Read2

  • implementation() → (address)
  • admin() → (address)

Write3

  • upgradeTo(address)
  • upgradeToAndCall(address,bytes)
  • changeAdmin(address)

Events2

  • AdminChanged(address,address)
  • Upgraded(address)

ABI as JSON

[
  {
    "name": "upgradeTo",
    "type": "function",
    "inputs": [
      {
        "name": "newImplementation",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "upgradeToAndCall",
    "type": "function",
    "inputs": [
      {
        "name": "newImplementation",
        "type": "address"
      },
      {
        "name": "data",
        "type": "bytes"
      }
    ],
    "outputs": [],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "implementation",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "changeAdmin",
    "type": "function",
    "inputs": [
      {
        "name": "newAdmin",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "admin",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_implementation",
        "type": "address"
      }
    ],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "payable": true,
    "stateMutability": "payable"
  },
  {
    "name": "AdminChanged",
    "type": "event",
    "inputs": [
      {
        "name": "previousAdmin",
        "type": "address",
        "indexed": false
      },
      {
        "name": "newAdmin",
        "type": "address",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "Upgraded",
    "type": "event",
    "inputs": [
      {
        "name": "implementation",
        "type": "address",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.