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

     1  [
     2    {
     3      "inputs": [],
     4      "stateMutability": "nonpayable",
     5      "type": "constructor"
     6    },
     7    {
     8      "inputs": [],
     9      "name": "RECOMMENDED_SLOT",
    10      "outputs": [
    11        {
    12          "internalType": "bytes32",
    13          "name": "",
    14          "type": "bytes32"
    15        }
    16      ],
    17      "stateMutability": "view",
    18      "type": "function"
    19    },
    20    {
    21      "inputs": [],
    22      "name": "REQUIRED_SLOT",
    23      "outputs": [
    24        {
    25          "internalType": "bytes32",
    26          "name": "",
    27          "type": "bytes32"
    28        }
    29      ],
    30      "stateMutability": "view",
    31      "type": "function"
    32    },
    33    {
    34      "inputs": [],
    35      "name": "VERSION",
    36      "outputs": [
    37        {
    38          "internalType": "uint256",
    39          "name": "",
    40          "type": "uint256"
    41        }
    42      ],
    43      "stateMutability": "view",
    44      "type": "function"
    45    },
    46    {
    47      "inputs": [
    48        {
    49          "internalType": "address",
    50          "name": "_owner",
    51          "type": "address"
    52        },
    53        {
    54          "internalType": "ProtocolVersion",
    55          "name": "_required",
    56          "type": "uint256"
    57        },
    58        {
    59          "internalType": "ProtocolVersion",
    60          "name": "_recommended",
    61          "type": "uint256"
    62        }
    63      ],
    64      "name": "initialize",
    65      "outputs": [],
    66      "stateMutability": "nonpayable",
    67      "type": "function"
    68    },
    69    {
    70      "inputs": [],
    71      "name": "owner",
    72      "outputs": [
    73        {
    74          "internalType": "address",
    75          "name": "",
    76          "type": "address"
    77        }
    78      ],
    79      "stateMutability": "view",
    80      "type": "function"
    81    },
    82    {
    83      "inputs": [],
    84      "name": "recommended",
    85      "outputs": [
    86        {
    87          "internalType": "ProtocolVersion",
    88          "name": "out_",
    89          "type": "uint256"
    90        }
    91      ],
    92      "stateMutability": "view",
    93      "type": "function"
    94    },
    95    {
    96      "inputs": [],
    97      "name": "renounceOwnership",
    98      "outputs": [],
    99      "stateMutability": "nonpayable",
   100      "type": "function"
   101    },
   102    {
   103      "inputs": [],
   104      "name": "required",
   105      "outputs": [
   106        {
   107          "internalType": "ProtocolVersion",
   108          "name": "out_",
   109          "type": "uint256"
   110        }
   111      ],
   112      "stateMutability": "view",
   113      "type": "function"
   114    },
   115    {
   116      "inputs": [
   117        {
   118          "internalType": "ProtocolVersion",
   119          "name": "_recommended",
   120          "type": "uint256"
   121        }
   122      ],
   123      "name": "setRecommended",
   124      "outputs": [],
   125      "stateMutability": "nonpayable",
   126      "type": "function"
   127    },
   128    {
   129      "inputs": [
   130        {
   131          "internalType": "ProtocolVersion",
   132          "name": "_required",
   133          "type": "uint256"
   134        }
   135      ],
   136      "name": "setRequired",
   137      "outputs": [],
   138      "stateMutability": "nonpayable",
   139      "type": "function"
   140    },
   141    {
   142      "inputs": [
   143        {
   144          "internalType": "address",
   145          "name": "newOwner",
   146          "type": "address"
   147        }
   148      ],
   149      "name": "transferOwnership",
   150      "outputs": [],
   151      "stateMutability": "nonpayable",
   152      "type": "function"
   153    },
   154    {
   155      "inputs": [],
   156      "name": "version",
   157      "outputs": [
   158        {
   159          "internalType": "string",
   160          "name": "",
   161          "type": "string"
   162        }
   163      ],
   164      "stateMutability": "view",
   165      "type": "function"
   166    },
   167    {
   168      "anonymous": false,
   169      "inputs": [
   170        {
   171          "indexed": true,
   172          "internalType": "uint256",
   173          "name": "version",
   174          "type": "uint256"
   175        },
   176        {
   177          "indexed": true,
   178          "internalType": "enum ProtocolVersions.UpdateType",
   179          "name": "updateType",
   180          "type": "uint8"
   181        },
   182        {
   183          "indexed": false,
   184          "internalType": "bytes",
   185          "name": "data",
   186          "type": "bytes"
   187        }
   188      ],
   189      "name": "ConfigUpdate",
   190      "type": "event"
   191    },
   192    {
   193      "anonymous": false,
   194      "inputs": [
   195        {
   196          "indexed": false,
   197          "internalType": "uint8",
   198          "name": "version",
   199          "type": "uint8"
   200        }
   201      ],
   202      "name": "Initialized",
   203      "type": "event"
   204    },
   205    {
   206      "anonymous": false,
   207      "inputs": [
   208        {
   209          "indexed": true,
   210          "internalType": "address",
   211          "name": "previousOwner",
   212          "type": "address"
   213        },
   214        {
   215          "indexed": true,
   216          "internalType": "address",
   217          "name": "newOwner",
   218          "type": "address"
   219        }
   220      ],
   221      "name": "OwnershipTransferred",
   222      "type": "event"
   223    }
   224  ]