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

     1  [
     2    {
     3      "inputs": [],
     4      "stateMutability": "nonpayable",
     5      "type": "constructor"
     6    },
     7    {
     8      "inputs": [],
     9      "name": "BATCH_INBOX_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": "L1_CROSS_DOMAIN_MESSENGER_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": "L1_ERC_721_BRIDGE_SLOT",
    36      "outputs": [
    37        {
    38          "internalType": "bytes32",
    39          "name": "",
    40          "type": "bytes32"
    41        }
    42      ],
    43      "stateMutability": "view",
    44      "type": "function"
    45    },
    46    {
    47      "inputs": [],
    48      "name": "L1_STANDARD_BRIDGE_SLOT",
    49      "outputs": [
    50        {
    51          "internalType": "bytes32",
    52          "name": "",
    53          "type": "bytes32"
    54        }
    55      ],
    56      "stateMutability": "view",
    57      "type": "function"
    58    },
    59    {
    60      "inputs": [],
    61      "name": "L2_OUTPUT_ORACLE_SLOT",
    62      "outputs": [
    63        {
    64          "internalType": "bytes32",
    65          "name": "",
    66          "type": "bytes32"
    67        }
    68      ],
    69      "stateMutability": "view",
    70      "type": "function"
    71    },
    72    {
    73      "inputs": [],
    74      "name": "OPTIMISM_MINTABLE_ERC20_FACTORY_SLOT",
    75      "outputs": [
    76        {
    77          "internalType": "bytes32",
    78          "name": "",
    79          "type": "bytes32"
    80        }
    81      ],
    82      "stateMutability": "view",
    83      "type": "function"
    84    },
    85    {
    86      "inputs": [],
    87      "name": "OPTIMISM_PORTAL_SLOT",
    88      "outputs": [
    89        {
    90          "internalType": "bytes32",
    91          "name": "",
    92          "type": "bytes32"
    93        }
    94      ],
    95      "stateMutability": "view",
    96      "type": "function"
    97    },
    98    {
    99      "inputs": [],
   100      "name": "START_BLOCK_SLOT",
   101      "outputs": [
   102        {
   103          "internalType": "bytes32",
   104          "name": "",
   105          "type": "bytes32"
   106        }
   107      ],
   108      "stateMutability": "view",
   109      "type": "function"
   110    },
   111    {
   112      "inputs": [],
   113      "name": "UNSAFE_BLOCK_SIGNER_SLOT",
   114      "outputs": [
   115        {
   116          "internalType": "bytes32",
   117          "name": "",
   118          "type": "bytes32"
   119        }
   120      ],
   121      "stateMutability": "view",
   122      "type": "function"
   123    },
   124    {
   125      "inputs": [],
   126      "name": "VERSION",
   127      "outputs": [
   128        {
   129          "internalType": "uint256",
   130          "name": "",
   131          "type": "uint256"
   132        }
   133      ],
   134      "stateMutability": "view",
   135      "type": "function"
   136    },
   137    {
   138      "inputs": [],
   139      "name": "batchInbox",
   140      "outputs": [
   141        {
   142          "internalType": "address",
   143          "name": "addr_",
   144          "type": "address"
   145        }
   146      ],
   147      "stateMutability": "view",
   148      "type": "function"
   149    },
   150    {
   151      "inputs": [],
   152      "name": "batcherHash",
   153      "outputs": [
   154        {
   155          "internalType": "bytes32",
   156          "name": "",
   157          "type": "bytes32"
   158        }
   159      ],
   160      "stateMutability": "view",
   161      "type": "function"
   162    },
   163    {
   164      "inputs": [],
   165      "name": "gasLimit",
   166      "outputs": [
   167        {
   168          "internalType": "uint64",
   169          "name": "",
   170          "type": "uint64"
   171        }
   172      ],
   173      "stateMutability": "view",
   174      "type": "function"
   175    },
   176    {
   177      "inputs": [
   178        {
   179          "internalType": "address",
   180          "name": "_owner",
   181          "type": "address"
   182        },
   183        {
   184          "internalType": "uint256",
   185          "name": "_overhead",
   186          "type": "uint256"
   187        },
   188        {
   189          "internalType": "uint256",
   190          "name": "_scalar",
   191          "type": "uint256"
   192        },
   193        {
   194          "internalType": "bytes32",
   195          "name": "_batcherHash",
   196          "type": "bytes32"
   197        },
   198        {
   199          "internalType": "uint64",
   200          "name": "_gasLimit",
   201          "type": "uint64"
   202        },
   203        {
   204          "internalType": "address",
   205          "name": "_unsafeBlockSigner",
   206          "type": "address"
   207        },
   208        {
   209          "components": [
   210            {
   211              "internalType": "uint32",
   212              "name": "maxResourceLimit",
   213              "type": "uint32"
   214            },
   215            {
   216              "internalType": "uint8",
   217              "name": "elasticityMultiplier",
   218              "type": "uint8"
   219            },
   220            {
   221              "internalType": "uint8",
   222              "name": "baseFeeMaxChangeDenominator",
   223              "type": "uint8"
   224            },
   225            {
   226              "internalType": "uint32",
   227              "name": "minimumBaseFee",
   228              "type": "uint32"
   229            },
   230            {
   231              "internalType": "uint32",
   232              "name": "systemTxMaxGas",
   233              "type": "uint32"
   234            },
   235            {
   236              "internalType": "uint128",
   237              "name": "maximumBaseFee",
   238              "type": "uint128"
   239            }
   240          ],
   241          "internalType": "struct ResourceMetering.ResourceConfig",
   242          "name": "_config",
   243          "type": "tuple"
   244        },
   245        {
   246          "internalType": "address",
   247          "name": "_batchInbox",
   248          "type": "address"
   249        },
   250        {
   251          "components": [
   252            {
   253              "internalType": "address",
   254              "name": "l1CrossDomainMessenger",
   255              "type": "address"
   256            },
   257            {
   258              "internalType": "address",
   259              "name": "l1ERC721Bridge",
   260              "type": "address"
   261            },
   262            {
   263              "internalType": "address",
   264              "name": "l1StandardBridge",
   265              "type": "address"
   266            },
   267            {
   268              "internalType": "address",
   269              "name": "l2OutputOracle",
   270              "type": "address"
   271            },
   272            {
   273              "internalType": "address",
   274              "name": "optimismPortal",
   275              "type": "address"
   276            },
   277            {
   278              "internalType": "address",
   279              "name": "optimismMintableERC20Factory",
   280              "type": "address"
   281            }
   282          ],
   283          "internalType": "struct SystemConfig.Addresses",
   284          "name": "_addresses",
   285          "type": "tuple"
   286        }
   287      ],
   288      "name": "initialize",
   289      "outputs": [],
   290      "stateMutability": "nonpayable",
   291      "type": "function"
   292    },
   293    {
   294      "inputs": [],
   295      "name": "l1CrossDomainMessenger",
   296      "outputs": [
   297        {
   298          "internalType": "address",
   299          "name": "addr_",
   300          "type": "address"
   301        }
   302      ],
   303      "stateMutability": "view",
   304      "type": "function"
   305    },
   306    {
   307      "inputs": [],
   308      "name": "l1ERC721Bridge",
   309      "outputs": [
   310        {
   311          "internalType": "address",
   312          "name": "addr_",
   313          "type": "address"
   314        }
   315      ],
   316      "stateMutability": "view",
   317      "type": "function"
   318    },
   319    {
   320      "inputs": [],
   321      "name": "l1StandardBridge",
   322      "outputs": [
   323        {
   324          "internalType": "address",
   325          "name": "addr_",
   326          "type": "address"
   327        }
   328      ],
   329      "stateMutability": "view",
   330      "type": "function"
   331    },
   332    {
   333      "inputs": [],
   334      "name": "l2OutputOracle",
   335      "outputs": [
   336        {
   337          "internalType": "address",
   338          "name": "addr_",
   339          "type": "address"
   340        }
   341      ],
   342      "stateMutability": "view",
   343      "type": "function"
   344    },
   345    {
   346      "inputs": [],
   347      "name": "minimumGasLimit",
   348      "outputs": [
   349        {
   350          "internalType": "uint64",
   351          "name": "",
   352          "type": "uint64"
   353        }
   354      ],
   355      "stateMutability": "view",
   356      "type": "function"
   357    },
   358    {
   359      "inputs": [],
   360      "name": "optimismMintableERC20Factory",
   361      "outputs": [
   362        {
   363          "internalType": "address",
   364          "name": "addr_",
   365          "type": "address"
   366        }
   367      ],
   368      "stateMutability": "view",
   369      "type": "function"
   370    },
   371    {
   372      "inputs": [],
   373      "name": "optimismPortal",
   374      "outputs": [
   375        {
   376          "internalType": "address",
   377          "name": "addr_",
   378          "type": "address"
   379        }
   380      ],
   381      "stateMutability": "view",
   382      "type": "function"
   383    },
   384    {
   385      "inputs": [],
   386      "name": "overhead",
   387      "outputs": [
   388        {
   389          "internalType": "uint256",
   390          "name": "",
   391          "type": "uint256"
   392        }
   393      ],
   394      "stateMutability": "view",
   395      "type": "function"
   396    },
   397    {
   398      "inputs": [],
   399      "name": "owner",
   400      "outputs": [
   401        {
   402          "internalType": "address",
   403          "name": "",
   404          "type": "address"
   405        }
   406      ],
   407      "stateMutability": "view",
   408      "type": "function"
   409    },
   410    {
   411      "inputs": [],
   412      "name": "renounceOwnership",
   413      "outputs": [],
   414      "stateMutability": "nonpayable",
   415      "type": "function"
   416    },
   417    {
   418      "inputs": [],
   419      "name": "resourceConfig",
   420      "outputs": [
   421        {
   422          "components": [
   423            {
   424              "internalType": "uint32",
   425              "name": "maxResourceLimit",
   426              "type": "uint32"
   427            },
   428            {
   429              "internalType": "uint8",
   430              "name": "elasticityMultiplier",
   431              "type": "uint8"
   432            },
   433            {
   434              "internalType": "uint8",
   435              "name": "baseFeeMaxChangeDenominator",
   436              "type": "uint8"
   437            },
   438            {
   439              "internalType": "uint32",
   440              "name": "minimumBaseFee",
   441              "type": "uint32"
   442            },
   443            {
   444              "internalType": "uint32",
   445              "name": "systemTxMaxGas",
   446              "type": "uint32"
   447            },
   448            {
   449              "internalType": "uint128",
   450              "name": "maximumBaseFee",
   451              "type": "uint128"
   452            }
   453          ],
   454          "internalType": "struct ResourceMetering.ResourceConfig",
   455          "name": "",
   456          "type": "tuple"
   457        }
   458      ],
   459      "stateMutability": "view",
   460      "type": "function"
   461    },
   462    {
   463      "inputs": [],
   464      "name": "scalar",
   465      "outputs": [
   466        {
   467          "internalType": "uint256",
   468          "name": "",
   469          "type": "uint256"
   470        }
   471      ],
   472      "stateMutability": "view",
   473      "type": "function"
   474    },
   475    {
   476      "inputs": [
   477        {
   478          "internalType": "bytes32",
   479          "name": "_batcherHash",
   480          "type": "bytes32"
   481        }
   482      ],
   483      "name": "setBatcherHash",
   484      "outputs": [],
   485      "stateMutability": "nonpayable",
   486      "type": "function"
   487    },
   488    {
   489      "inputs": [
   490        {
   491          "internalType": "uint256",
   492          "name": "_overhead",
   493          "type": "uint256"
   494        },
   495        {
   496          "internalType": "uint256",
   497          "name": "_scalar",
   498          "type": "uint256"
   499        }
   500      ],
   501      "name": "setGasConfig",
   502      "outputs": [],
   503      "stateMutability": "nonpayable",
   504      "type": "function"
   505    },
   506    {
   507      "inputs": [
   508        {
   509          "internalType": "uint64",
   510          "name": "_gasLimit",
   511          "type": "uint64"
   512        }
   513      ],
   514      "name": "setGasLimit",
   515      "outputs": [],
   516      "stateMutability": "nonpayable",
   517      "type": "function"
   518    },
   519    {
   520      "inputs": [
   521        {
   522          "components": [
   523            {
   524              "internalType": "uint32",
   525              "name": "maxResourceLimit",
   526              "type": "uint32"
   527            },
   528            {
   529              "internalType": "uint8",
   530              "name": "elasticityMultiplier",
   531              "type": "uint8"
   532            },
   533            {
   534              "internalType": "uint8",
   535              "name": "baseFeeMaxChangeDenominator",
   536              "type": "uint8"
   537            },
   538            {
   539              "internalType": "uint32",
   540              "name": "minimumBaseFee",
   541              "type": "uint32"
   542            },
   543            {
   544              "internalType": "uint32",
   545              "name": "systemTxMaxGas",
   546              "type": "uint32"
   547            },
   548            {
   549              "internalType": "uint128",
   550              "name": "maximumBaseFee",
   551              "type": "uint128"
   552            }
   553          ],
   554          "internalType": "struct ResourceMetering.ResourceConfig",
   555          "name": "_config",
   556          "type": "tuple"
   557        }
   558      ],
   559      "name": "setResourceConfig",
   560      "outputs": [],
   561      "stateMutability": "nonpayable",
   562      "type": "function"
   563    },
   564    {
   565      "inputs": [
   566        {
   567          "internalType": "address",
   568          "name": "_unsafeBlockSigner",
   569          "type": "address"
   570        }
   571      ],
   572      "name": "setUnsafeBlockSigner",
   573      "outputs": [],
   574      "stateMutability": "nonpayable",
   575      "type": "function"
   576    },
   577    {
   578      "inputs": [],
   579      "name": "startBlock",
   580      "outputs": [
   581        {
   582          "internalType": "uint256",
   583          "name": "startBlock_",
   584          "type": "uint256"
   585        }
   586      ],
   587      "stateMutability": "view",
   588      "type": "function"
   589    },
   590    {
   591      "inputs": [
   592        {
   593          "internalType": "address",
   594          "name": "newOwner",
   595          "type": "address"
   596        }
   597      ],
   598      "name": "transferOwnership",
   599      "outputs": [],
   600      "stateMutability": "nonpayable",
   601      "type": "function"
   602    },
   603    {
   604      "inputs": [],
   605      "name": "unsafeBlockSigner",
   606      "outputs": [
   607        {
   608          "internalType": "address",
   609          "name": "addr_",
   610          "type": "address"
   611        }
   612      ],
   613      "stateMutability": "view",
   614      "type": "function"
   615    },
   616    {
   617      "inputs": [],
   618      "name": "version",
   619      "outputs": [
   620        {
   621          "internalType": "string",
   622          "name": "",
   623          "type": "string"
   624        }
   625      ],
   626      "stateMutability": "view",
   627      "type": "function"
   628    },
   629    {
   630      "anonymous": false,
   631      "inputs": [
   632        {
   633          "indexed": true,
   634          "internalType": "uint256",
   635          "name": "version",
   636          "type": "uint256"
   637        },
   638        {
   639          "indexed": true,
   640          "internalType": "enum SystemConfig.UpdateType",
   641          "name": "updateType",
   642          "type": "uint8"
   643        },
   644        {
   645          "indexed": false,
   646          "internalType": "bytes",
   647          "name": "data",
   648          "type": "bytes"
   649        }
   650      ],
   651      "name": "ConfigUpdate",
   652      "type": "event"
   653    },
   654    {
   655      "anonymous": false,
   656      "inputs": [
   657        {
   658          "indexed": false,
   659          "internalType": "uint8",
   660          "name": "version",
   661          "type": "uint8"
   662        }
   663      ],
   664      "name": "Initialized",
   665      "type": "event"
   666    },
   667    {
   668      "anonymous": false,
   669      "inputs": [
   670        {
   671          "indexed": true,
   672          "internalType": "address",
   673          "name": "previousOwner",
   674          "type": "address"
   675        },
   676        {
   677          "indexed": true,
   678          "internalType": "address",
   679          "name": "newOwner",
   680          "type": "address"
   681        }
   682      ],
   683      "name": "OwnershipTransferred",
   684      "type": "event"
   685    }
   686  ]