github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/ProxyAdmin.json (about)

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "address",
     6          "name": "_owner",
     7          "type": "address"
     8        }
     9      ],
    10      "stateMutability": "nonpayable",
    11      "type": "constructor"
    12    },
    13    {
    14      "inputs": [],
    15      "name": "addressManager",
    16      "outputs": [
    17        {
    18          "internalType": "contract AddressManager",
    19          "name": "",
    20          "type": "address"
    21        }
    22      ],
    23      "stateMutability": "view",
    24      "type": "function"
    25    },
    26    {
    27      "inputs": [
    28        {
    29          "internalType": "address payable",
    30          "name": "_proxy",
    31          "type": "address"
    32        },
    33        {
    34          "internalType": "address",
    35          "name": "_newAdmin",
    36          "type": "address"
    37        }
    38      ],
    39      "name": "changeProxyAdmin",
    40      "outputs": [],
    41      "stateMutability": "nonpayable",
    42      "type": "function"
    43    },
    44    {
    45      "inputs": [
    46        {
    47          "internalType": "address payable",
    48          "name": "_proxy",
    49          "type": "address"
    50        }
    51      ],
    52      "name": "getProxyAdmin",
    53      "outputs": [
    54        {
    55          "internalType": "address",
    56          "name": "",
    57          "type": "address"
    58        }
    59      ],
    60      "stateMutability": "view",
    61      "type": "function"
    62    },
    63    {
    64      "inputs": [
    65        {
    66          "internalType": "address",
    67          "name": "_proxy",
    68          "type": "address"
    69        }
    70      ],
    71      "name": "getProxyImplementation",
    72      "outputs": [
    73        {
    74          "internalType": "address",
    75          "name": "",
    76          "type": "address"
    77        }
    78      ],
    79      "stateMutability": "view",
    80      "type": "function"
    81    },
    82    {
    83      "inputs": [
    84        {
    85          "internalType": "address",
    86          "name": "",
    87          "type": "address"
    88        }
    89      ],
    90      "name": "implementationName",
    91      "outputs": [
    92        {
    93          "internalType": "string",
    94          "name": "",
    95          "type": "string"
    96        }
    97      ],
    98      "stateMutability": "view",
    99      "type": "function"
   100    },
   101    {
   102      "inputs": [],
   103      "name": "isUpgrading",
   104      "outputs": [
   105        {
   106          "internalType": "bool",
   107          "name": "",
   108          "type": "bool"
   109        }
   110      ],
   111      "stateMutability": "view",
   112      "type": "function"
   113    },
   114    {
   115      "inputs": [],
   116      "name": "owner",
   117      "outputs": [
   118        {
   119          "internalType": "address",
   120          "name": "",
   121          "type": "address"
   122        }
   123      ],
   124      "stateMutability": "view",
   125      "type": "function"
   126    },
   127    {
   128      "inputs": [
   129        {
   130          "internalType": "address",
   131          "name": "",
   132          "type": "address"
   133        }
   134      ],
   135      "name": "proxyType",
   136      "outputs": [
   137        {
   138          "internalType": "enum ProxyAdmin.ProxyType",
   139          "name": "",
   140          "type": "uint8"
   141        }
   142      ],
   143      "stateMutability": "view",
   144      "type": "function"
   145    },
   146    {
   147      "inputs": [],
   148      "name": "renounceOwnership",
   149      "outputs": [],
   150      "stateMutability": "nonpayable",
   151      "type": "function"
   152    },
   153    {
   154      "inputs": [
   155        {
   156          "internalType": "string",
   157          "name": "_name",
   158          "type": "string"
   159        },
   160        {
   161          "internalType": "address",
   162          "name": "_address",
   163          "type": "address"
   164        }
   165      ],
   166      "name": "setAddress",
   167      "outputs": [],
   168      "stateMutability": "nonpayable",
   169      "type": "function"
   170    },
   171    {
   172      "inputs": [
   173        {
   174          "internalType": "contract AddressManager",
   175          "name": "_address",
   176          "type": "address"
   177        }
   178      ],
   179      "name": "setAddressManager",
   180      "outputs": [],
   181      "stateMutability": "nonpayable",
   182      "type": "function"
   183    },
   184    {
   185      "inputs": [
   186        {
   187          "internalType": "address",
   188          "name": "_address",
   189          "type": "address"
   190        },
   191        {
   192          "internalType": "string",
   193          "name": "_name",
   194          "type": "string"
   195        }
   196      ],
   197      "name": "setImplementationName",
   198      "outputs": [],
   199      "stateMutability": "nonpayable",
   200      "type": "function"
   201    },
   202    {
   203      "inputs": [
   204        {
   205          "internalType": "address",
   206          "name": "_address",
   207          "type": "address"
   208        },
   209        {
   210          "internalType": "enum ProxyAdmin.ProxyType",
   211          "name": "_type",
   212          "type": "uint8"
   213        }
   214      ],
   215      "name": "setProxyType",
   216      "outputs": [],
   217      "stateMutability": "nonpayable",
   218      "type": "function"
   219    },
   220    {
   221      "inputs": [
   222        {
   223          "internalType": "bool",
   224          "name": "_upgrading",
   225          "type": "bool"
   226        }
   227      ],
   228      "name": "setUpgrading",
   229      "outputs": [],
   230      "stateMutability": "nonpayable",
   231      "type": "function"
   232    },
   233    {
   234      "inputs": [
   235        {
   236          "internalType": "address",
   237          "name": "newOwner",
   238          "type": "address"
   239        }
   240      ],
   241      "name": "transferOwnership",
   242      "outputs": [],
   243      "stateMutability": "nonpayable",
   244      "type": "function"
   245    },
   246    {
   247      "inputs": [
   248        {
   249          "internalType": "address payable",
   250          "name": "_proxy",
   251          "type": "address"
   252        },
   253        {
   254          "internalType": "address",
   255          "name": "_implementation",
   256          "type": "address"
   257        }
   258      ],
   259      "name": "upgrade",
   260      "outputs": [],
   261      "stateMutability": "nonpayable",
   262      "type": "function"
   263    },
   264    {
   265      "inputs": [
   266        {
   267          "internalType": "address payable",
   268          "name": "_proxy",
   269          "type": "address"
   270        },
   271        {
   272          "internalType": "address",
   273          "name": "_implementation",
   274          "type": "address"
   275        },
   276        {
   277          "internalType": "bytes",
   278          "name": "_data",
   279          "type": "bytes"
   280        }
   281      ],
   282      "name": "upgradeAndCall",
   283      "outputs": [],
   284      "stateMutability": "payable",
   285      "type": "function"
   286    },
   287    {
   288      "anonymous": false,
   289      "inputs": [
   290        {
   291          "indexed": true,
   292          "internalType": "address",
   293          "name": "previousOwner",
   294          "type": "address"
   295        },
   296        {
   297          "indexed": true,
   298          "internalType": "address",
   299          "name": "newOwner",
   300          "type": "address"
   301        }
   302      ],
   303      "name": "OwnershipTransferred",
   304      "type": "event"
   305    }
   306  ]