github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/etherman/smartcontracts/abi/supernets2.abi (about)

     1  [
     2      {
     3        "inputs": [
     4          {
     5            "internalType": "contract ISupernets2GlobalExitRoot",
     6            "name": "_globalExitRootManager",
     7            "type": "address"
     8          },
     9          {
    10            "internalType": "contract IERC20Upgradeable",
    11            "name": "_matic",
    12            "type": "address"
    13          },
    14          {
    15            "internalType": "contract IVerifierRollup",
    16            "name": "_rollupVerifier",
    17            "type": "address"
    18          },
    19          {
    20            "internalType": "contract ISupernets2Bridge",
    21            "name": "_bridgeAddress",
    22            "type": "address"
    23          },
    24          {
    25            "internalType": "contract ISupernets2DataCommittee",
    26            "name": "_dataCommitteeAddress",
    27            "type": "address"
    28          },
    29          {
    30            "internalType": "uint64",
    31            "name": "_chainID",
    32            "type": "uint64"
    33          },
    34          {
    35            "internalType": "uint64",
    36            "name": "_forkID",
    37            "type": "uint64"
    38          }
    39        ],
    40        "stateMutability": "nonpayable",
    41        "type": "constructor"
    42      },
    43      {
    44        "inputs": [],
    45        "name": "BatchAlreadyVerified",
    46        "type": "error"
    47      },
    48      {
    49        "inputs": [],
    50        "name": "BatchNotSequencedOrNotSequenceEnd",
    51        "type": "error"
    52      },
    53      {
    54        "inputs": [],
    55        "name": "ExceedMaxVerifyBatches",
    56        "type": "error"
    57      },
    58      {
    59        "inputs": [],
    60        "name": "FinalNumBatchBelowLastVerifiedBatch",
    61        "type": "error"
    62      },
    63      {
    64        "inputs": [],
    65        "name": "FinalNumBatchDoesNotMatchPendingState",
    66        "type": "error"
    67      },
    68      {
    69        "inputs": [],
    70        "name": "FinalPendingStateNumInvalid",
    71        "type": "error"
    72      },
    73      {
    74        "inputs": [],
    75        "name": "ForceBatchNotAllowed",
    76        "type": "error"
    77      },
    78      {
    79        "inputs": [],
    80        "name": "ForceBatchTimeoutNotExpired",
    81        "type": "error"
    82      },
    83      {
    84        "inputs": [],
    85        "name": "ForceBatchesAlreadyActive",
    86        "type": "error"
    87      },
    88      {
    89        "inputs": [],
    90        "name": "ForceBatchesOverflow",
    91        "type": "error"
    92      },
    93      {
    94        "inputs": [],
    95        "name": "ForcedDataDoesNotMatch",
    96        "type": "error"
    97      },
    98      {
    99        "inputs": [],
   100        "name": "GlobalExitRootNotExist",
   101        "type": "error"
   102      },
   103      {
   104        "inputs": [],
   105        "name": "HaltTimeoutNotExpired",
   106        "type": "error"
   107      },
   108      {
   109        "inputs": [],
   110        "name": "InitNumBatchAboveLastVerifiedBatch",
   111        "type": "error"
   112      },
   113      {
   114        "inputs": [],
   115        "name": "InitNumBatchDoesNotMatchPendingState",
   116        "type": "error"
   117      },
   118      {
   119        "inputs": [],
   120        "name": "InvalidProof",
   121        "type": "error"
   122      },
   123      {
   124        "inputs": [],
   125        "name": "InvalidRangeBatchTimeTarget",
   126        "type": "error"
   127      },
   128      {
   129        "inputs": [],
   130        "name": "InvalidRangeForceBatchTimeout",
   131        "type": "error"
   132      },
   133      {
   134        "inputs": [],
   135        "name": "InvalidRangeMultiplierBatchFee",
   136        "type": "error"
   137      },
   138      {
   139        "inputs": [],
   140        "name": "NewAccInputHashDoesNotExist",
   141        "type": "error"
   142      },
   143      {
   144        "inputs": [],
   145        "name": "NewPendingStateTimeoutMustBeLower",
   146        "type": "error"
   147      },
   148      {
   149        "inputs": [],
   150        "name": "NewStateRootNotInsidePrime",
   151        "type": "error"
   152      },
   153      {
   154        "inputs": [],
   155        "name": "NewTrustedAggregatorTimeoutMustBeLower",
   156        "type": "error"
   157      },
   158      {
   159        "inputs": [],
   160        "name": "NotEnoughMaticAmount",
   161        "type": "error"
   162      },
   163      {
   164        "inputs": [],
   165        "name": "OldAccInputHashDoesNotExist",
   166        "type": "error"
   167      },
   168      {
   169        "inputs": [],
   170        "name": "OldStateRootDoesNotExist",
   171        "type": "error"
   172      },
   173      {
   174        "inputs": [],
   175        "name": "OnlyAdmin",
   176        "type": "error"
   177      },
   178      {
   179        "inputs": [],
   180        "name": "OnlyEmergencyState",
   181        "type": "error"
   182      },
   183      {
   184        "inputs": [],
   185        "name": "OnlyNotEmergencyState",
   186        "type": "error"
   187      },
   188      {
   189        "inputs": [],
   190        "name": "OnlyPendingAdmin",
   191        "type": "error"
   192      },
   193      {
   194        "inputs": [],
   195        "name": "OnlyTrustedAggregator",
   196        "type": "error"
   197      },
   198      {
   199        "inputs": [],
   200        "name": "OnlyTrustedSequencer",
   201        "type": "error"
   202      },
   203      {
   204        "inputs": [],
   205        "name": "PendingStateDoesNotExist",
   206        "type": "error"
   207      },
   208      {
   209        "inputs": [],
   210        "name": "PendingStateInvalid",
   211        "type": "error"
   212      },
   213      {
   214        "inputs": [],
   215        "name": "PendingStateNotConsolidable",
   216        "type": "error"
   217      },
   218      {
   219        "inputs": [],
   220        "name": "PendingStateTimeoutExceedHaltAggregationTimeout",
   221        "type": "error"
   222      },
   223      {
   224        "inputs": [],
   225        "name": "SequenceZeroBatches",
   226        "type": "error"
   227      },
   228      {
   229        "inputs": [],
   230        "name": "SequencedTimestampBelowForcedTimestamp",
   231        "type": "error"
   232      },
   233      {
   234        "inputs": [],
   235        "name": "SequencedTimestampInvalid",
   236        "type": "error"
   237      },
   238      {
   239        "inputs": [],
   240        "name": "StoredRootMustBeDifferentThanNewRoot",
   241        "type": "error"
   242      },
   243      {
   244        "inputs": [],
   245        "name": "TransactionsLengthAboveMax",
   246        "type": "error"
   247      },
   248      {
   249        "inputs": [],
   250        "name": "TrustedAggregatorTimeoutExceedHaltAggregationTimeout",
   251        "type": "error"
   252      },
   253      {
   254        "inputs": [],
   255        "name": "TrustedAggregatorTimeoutNotExpired",
   256        "type": "error"
   257      },
   258      {
   259        "anonymous": false,
   260        "inputs": [
   261          {
   262            "indexed": false,
   263            "internalType": "address",
   264            "name": "newAdmin",
   265            "type": "address"
   266          }
   267        ],
   268        "name": "AcceptAdminRole",
   269        "type": "event"
   270      },
   271      {
   272        "anonymous": false,
   273        "inputs": [],
   274        "name": "ActivateForceBatches",
   275        "type": "event"
   276      },
   277      {
   278        "anonymous": false,
   279        "inputs": [
   280          {
   281            "indexed": true,
   282            "internalType": "uint64",
   283            "name": "numBatch",
   284            "type": "uint64"
   285          },
   286          {
   287            "indexed": false,
   288            "internalType": "bytes32",
   289            "name": "stateRoot",
   290            "type": "bytes32"
   291          },
   292          {
   293            "indexed": true,
   294            "internalType": "uint64",
   295            "name": "pendingStateNum",
   296            "type": "uint64"
   297          }
   298        ],
   299        "name": "ConsolidatePendingState",
   300        "type": "event"
   301      },
   302      {
   303        "anonymous": false,
   304        "inputs": [],
   305        "name": "EmergencyStateActivated",
   306        "type": "event"
   307      },
   308      {
   309        "anonymous": false,
   310        "inputs": [],
   311        "name": "EmergencyStateDeactivated",
   312        "type": "event"
   313      },
   314      {
   315        "anonymous": false,
   316        "inputs": [
   317          {
   318            "indexed": true,
   319            "internalType": "uint64",
   320            "name": "forceBatchNum",
   321            "type": "uint64"
   322          },
   323          {
   324            "indexed": false,
   325            "internalType": "bytes32",
   326            "name": "lastGlobalExitRoot",
   327            "type": "bytes32"
   328          },
   329          {
   330            "indexed": false,
   331            "internalType": "address",
   332            "name": "sequencer",
   333            "type": "address"
   334          },
   335          {
   336            "indexed": false,
   337            "internalType": "bytes",
   338            "name": "transactions",
   339            "type": "bytes"
   340          }
   341        ],
   342        "name": "ForceBatch",
   343        "type": "event"
   344      },
   345      {
   346        "anonymous": false,
   347        "inputs": [
   348          {
   349            "indexed": false,
   350            "internalType": "uint8",
   351            "name": "version",
   352            "type": "uint8"
   353          }
   354        ],
   355        "name": "Initialized",
   356        "type": "event"
   357      },
   358      {
   359        "anonymous": false,
   360        "inputs": [
   361          {
   362            "indexed": true,
   363            "internalType": "uint64",
   364            "name": "numBatch",
   365            "type": "uint64"
   366          },
   367          {
   368            "indexed": false,
   369            "internalType": "bytes32",
   370            "name": "stateRoot",
   371            "type": "bytes32"
   372          },
   373          {
   374            "indexed": true,
   375            "internalType": "address",
   376            "name": "aggregator",
   377            "type": "address"
   378          }
   379        ],
   380        "name": "OverridePendingState",
   381        "type": "event"
   382      },
   383      {
   384        "anonymous": false,
   385        "inputs": [
   386          {
   387            "indexed": true,
   388            "internalType": "address",
   389            "name": "previousOwner",
   390            "type": "address"
   391          },
   392          {
   393            "indexed": true,
   394            "internalType": "address",
   395            "name": "newOwner",
   396            "type": "address"
   397          }
   398        ],
   399        "name": "OwnershipTransferred",
   400        "type": "event"
   401      },
   402      {
   403        "anonymous": false,
   404        "inputs": [
   405          {
   406            "indexed": false,
   407            "internalType": "bytes32",
   408            "name": "storedStateRoot",
   409            "type": "bytes32"
   410          },
   411          {
   412            "indexed": false,
   413            "internalType": "bytes32",
   414            "name": "provedStateRoot",
   415            "type": "bytes32"
   416          }
   417        ],
   418        "name": "ProveNonDeterministicPendingState",
   419        "type": "event"
   420      },
   421      {
   422        "anonymous": false,
   423        "inputs": [
   424          {
   425            "indexed": true,
   426            "internalType": "uint64",
   427            "name": "numBatch",
   428            "type": "uint64"
   429          }
   430        ],
   431        "name": "SequenceBatches",
   432        "type": "event"
   433      },
   434      {
   435        "anonymous": false,
   436        "inputs": [
   437          {
   438            "indexed": true,
   439            "internalType": "uint64",
   440            "name": "numBatch",
   441            "type": "uint64"
   442          }
   443        ],
   444        "name": "SequenceForceBatches",
   445        "type": "event"
   446      },
   447      {
   448        "anonymous": false,
   449        "inputs": [
   450          {
   451            "indexed": false,
   452            "internalType": "uint64",
   453            "name": "newforceBatchTimeout",
   454            "type": "uint64"
   455          }
   456        ],
   457        "name": "SetForceBatchTimeout",
   458        "type": "event"
   459      },
   460      {
   461        "anonymous": false,
   462        "inputs": [
   463          {
   464            "indexed": false,
   465            "internalType": "uint16",
   466            "name": "newMultiplierBatchFee",
   467            "type": "uint16"
   468          }
   469        ],
   470        "name": "SetMultiplierBatchFee",
   471        "type": "event"
   472      },
   473      {
   474        "anonymous": false,
   475        "inputs": [
   476          {
   477            "indexed": false,
   478            "internalType": "uint64",
   479            "name": "newPendingStateTimeout",
   480            "type": "uint64"
   481          }
   482        ],
   483        "name": "SetPendingStateTimeout",
   484        "type": "event"
   485      },
   486      {
   487        "anonymous": false,
   488        "inputs": [
   489          {
   490            "indexed": false,
   491            "internalType": "address",
   492            "name": "newTrustedAggregator",
   493            "type": "address"
   494          }
   495        ],
   496        "name": "SetTrustedAggregator",
   497        "type": "event"
   498      },
   499      {
   500        "anonymous": false,
   501        "inputs": [
   502          {
   503            "indexed": false,
   504            "internalType": "uint64",
   505            "name": "newTrustedAggregatorTimeout",
   506            "type": "uint64"
   507          }
   508        ],
   509        "name": "SetTrustedAggregatorTimeout",
   510        "type": "event"
   511      },
   512      {
   513        "anonymous": false,
   514        "inputs": [
   515          {
   516            "indexed": false,
   517            "internalType": "address",
   518            "name": "newTrustedSequencer",
   519            "type": "address"
   520          }
   521        ],
   522        "name": "SetTrustedSequencer",
   523        "type": "event"
   524      },
   525      {
   526        "anonymous": false,
   527        "inputs": [
   528          {
   529            "indexed": false,
   530            "internalType": "string",
   531            "name": "newTrustedSequencerURL",
   532            "type": "string"
   533          }
   534        ],
   535        "name": "SetTrustedSequencerURL",
   536        "type": "event"
   537      },
   538      {
   539        "anonymous": false,
   540        "inputs": [
   541          {
   542            "indexed": false,
   543            "internalType": "uint64",
   544            "name": "newVerifyBatchTimeTarget",
   545            "type": "uint64"
   546          }
   547        ],
   548        "name": "SetVerifyBatchTimeTarget",
   549        "type": "event"
   550      },
   551      {
   552        "anonymous": false,
   553        "inputs": [
   554          {
   555            "indexed": false,
   556            "internalType": "address",
   557            "name": "newPendingAdmin",
   558            "type": "address"
   559          }
   560        ],
   561        "name": "TransferAdminRole",
   562        "type": "event"
   563      },
   564      {
   565        "anonymous": false,
   566        "inputs": [
   567          {
   568            "indexed": false,
   569            "internalType": "uint64",
   570            "name": "numBatch",
   571            "type": "uint64"
   572          },
   573          {
   574            "indexed": false,
   575            "internalType": "uint64",
   576            "name": "forkID",
   577            "type": "uint64"
   578          },
   579          {
   580            "indexed": false,
   581            "internalType": "string",
   582            "name": "version",
   583            "type": "string"
   584          }
   585        ],
   586        "name": "UpdateSupernets2Version",
   587        "type": "event"
   588      },
   589      {
   590        "anonymous": false,
   591        "inputs": [
   592          {
   593            "indexed": true,
   594            "internalType": "uint64",
   595            "name": "numBatch",
   596            "type": "uint64"
   597          },
   598          {
   599            "indexed": false,
   600            "internalType": "bytes32",
   601            "name": "stateRoot",
   602            "type": "bytes32"
   603          },
   604          {
   605            "indexed": true,
   606            "internalType": "address",
   607            "name": "aggregator",
   608            "type": "address"
   609          }
   610        ],
   611        "name": "VerifyBatches",
   612        "type": "event"
   613      },
   614      {
   615        "anonymous": false,
   616        "inputs": [
   617          {
   618            "indexed": true,
   619            "internalType": "uint64",
   620            "name": "numBatch",
   621            "type": "uint64"
   622          },
   623          {
   624            "indexed": false,
   625            "internalType": "bytes32",
   626            "name": "stateRoot",
   627            "type": "bytes32"
   628          },
   629          {
   630            "indexed": true,
   631            "internalType": "address",
   632            "name": "aggregator",
   633            "type": "address"
   634          }
   635        ],
   636        "name": "VerifyBatchesTrustedAggregator",
   637        "type": "event"
   638      },
   639      {
   640        "inputs": [],
   641        "name": "acceptAdminRole",
   642        "outputs": [],
   643        "stateMutability": "nonpayable",
   644        "type": "function"
   645      },
   646      {
   647        "inputs": [
   648          {
   649            "internalType": "uint64",
   650            "name": "sequencedBatchNum",
   651            "type": "uint64"
   652          }
   653        ],
   654        "name": "activateEmergencyState",
   655        "outputs": [],
   656        "stateMutability": "nonpayable",
   657        "type": "function"
   658      },
   659      {
   660        "inputs": [],
   661        "name": "activateForceBatches",
   662        "outputs": [],
   663        "stateMutability": "nonpayable",
   664        "type": "function"
   665      },
   666      {
   667        "inputs": [],
   668        "name": "admin",
   669        "outputs": [
   670          {
   671            "internalType": "address",
   672            "name": "",
   673            "type": "address"
   674          }
   675        ],
   676        "stateMutability": "view",
   677        "type": "function"
   678      },
   679      {
   680        "inputs": [],
   681        "name": "batchFee",
   682        "outputs": [
   683          {
   684            "internalType": "uint256",
   685            "name": "",
   686            "type": "uint256"
   687          }
   688        ],
   689        "stateMutability": "view",
   690        "type": "function"
   691      },
   692      {
   693        "inputs": [
   694          {
   695            "internalType": "uint64",
   696            "name": "",
   697            "type": "uint64"
   698          }
   699        ],
   700        "name": "batchNumToStateRoot",
   701        "outputs": [
   702          {
   703            "internalType": "bytes32",
   704            "name": "",
   705            "type": "bytes32"
   706          }
   707        ],
   708        "stateMutability": "view",
   709        "type": "function"
   710      },
   711      {
   712        "inputs": [],
   713        "name": "bridgeAddress",
   714        "outputs": [
   715          {
   716            "internalType": "contract ISupernets2Bridge",
   717            "name": "",
   718            "type": "address"
   719          }
   720        ],
   721        "stateMutability": "view",
   722        "type": "function"
   723      },
   724      {
   725        "inputs": [],
   726        "name": "calculateRewardPerBatch",
   727        "outputs": [
   728          {
   729            "internalType": "uint256",
   730            "name": "",
   731            "type": "uint256"
   732          }
   733        ],
   734        "stateMutability": "view",
   735        "type": "function"
   736      },
   737      {
   738        "inputs": [],
   739        "name": "chainID",
   740        "outputs": [
   741          {
   742            "internalType": "uint64",
   743            "name": "",
   744            "type": "uint64"
   745          }
   746        ],
   747        "stateMutability": "view",
   748        "type": "function"
   749      },
   750      {
   751        "inputs": [
   752          {
   753            "internalType": "uint256",
   754            "name": "newStateRoot",
   755            "type": "uint256"
   756          }
   757        ],
   758        "name": "checkStateRootInsidePrime",
   759        "outputs": [
   760          {
   761            "internalType": "bool",
   762            "name": "",
   763            "type": "bool"
   764          }
   765        ],
   766        "stateMutability": "pure",
   767        "type": "function"
   768      },
   769      {
   770        "inputs": [
   771          {
   772            "internalType": "uint64",
   773            "name": "pendingStateNum",
   774            "type": "uint64"
   775          }
   776        ],
   777        "name": "consolidatePendingState",
   778        "outputs": [],
   779        "stateMutability": "nonpayable",
   780        "type": "function"
   781      },
   782      {
   783        "inputs": [],
   784        "name": "dataCommitteeAddress",
   785        "outputs": [
   786          {
   787            "internalType": "contract ISupernets2DataCommittee",
   788            "name": "",
   789            "type": "address"
   790          }
   791        ],
   792        "stateMutability": "view",
   793        "type": "function"
   794      },
   795      {
   796        "inputs": [],
   797        "name": "deactivateEmergencyState",
   798        "outputs": [],
   799        "stateMutability": "nonpayable",
   800        "type": "function"
   801      },
   802      {
   803        "inputs": [
   804          {
   805            "internalType": "bytes",
   806            "name": "transactions",
   807            "type": "bytes"
   808          },
   809          {
   810            "internalType": "uint256",
   811            "name": "maticAmount",
   812            "type": "uint256"
   813          }
   814        ],
   815        "name": "forceBatch",
   816        "outputs": [],
   817        "stateMutability": "nonpayable",
   818        "type": "function"
   819      },
   820      {
   821        "inputs": [],
   822        "name": "forceBatchTimeout",
   823        "outputs": [
   824          {
   825            "internalType": "uint64",
   826            "name": "",
   827            "type": "uint64"
   828          }
   829        ],
   830        "stateMutability": "view",
   831        "type": "function"
   832      },
   833      {
   834        "inputs": [
   835          {
   836            "internalType": "uint64",
   837            "name": "",
   838            "type": "uint64"
   839          }
   840        ],
   841        "name": "forcedBatches",
   842        "outputs": [
   843          {
   844            "internalType": "bytes32",
   845            "name": "",
   846            "type": "bytes32"
   847          }
   848        ],
   849        "stateMutability": "view",
   850        "type": "function"
   851      },
   852      {
   853        "inputs": [],
   854        "name": "forkID",
   855        "outputs": [
   856          {
   857            "internalType": "uint64",
   858            "name": "",
   859            "type": "uint64"
   860          }
   861        ],
   862        "stateMutability": "view",
   863        "type": "function"
   864      },
   865      {
   866        "inputs": [],
   867        "name": "getForcedBatchFee",
   868        "outputs": [
   869          {
   870            "internalType": "uint256",
   871            "name": "",
   872            "type": "uint256"
   873          }
   874        ],
   875        "stateMutability": "view",
   876        "type": "function"
   877      },
   878      {
   879        "inputs": [
   880          {
   881            "internalType": "uint64",
   882            "name": "initNumBatch",
   883            "type": "uint64"
   884          },
   885          {
   886            "internalType": "uint64",
   887            "name": "finalNewBatch",
   888            "type": "uint64"
   889          },
   890          {
   891            "internalType": "bytes32",
   892            "name": "newLocalExitRoot",
   893            "type": "bytes32"
   894          },
   895          {
   896            "internalType": "bytes32",
   897            "name": "oldStateRoot",
   898            "type": "bytes32"
   899          },
   900          {
   901            "internalType": "bytes32",
   902            "name": "newStateRoot",
   903            "type": "bytes32"
   904          }
   905        ],
   906        "name": "getInputSnarkBytes",
   907        "outputs": [
   908          {
   909            "internalType": "bytes",
   910            "name": "",
   911            "type": "bytes"
   912          }
   913        ],
   914        "stateMutability": "view",
   915        "type": "function"
   916      },
   917      {
   918        "inputs": [],
   919        "name": "getLastVerifiedBatch",
   920        "outputs": [
   921          {
   922            "internalType": "uint64",
   923            "name": "",
   924            "type": "uint64"
   925          }
   926        ],
   927        "stateMutability": "view",
   928        "type": "function"
   929      },
   930      {
   931        "inputs": [],
   932        "name": "globalExitRootManager",
   933        "outputs": [
   934          {
   935            "internalType": "contract ISupernets2GlobalExitRoot",
   936            "name": "",
   937            "type": "address"
   938          }
   939        ],
   940        "stateMutability": "view",
   941        "type": "function"
   942      },
   943      {
   944        "inputs": [
   945          {
   946            "components": [
   947              {
   948                "internalType": "address",
   949                "name": "admin",
   950                "type": "address"
   951              },
   952              {
   953                "internalType": "address",
   954                "name": "trustedSequencer",
   955                "type": "address"
   956              },
   957              {
   958                "internalType": "uint64",
   959                "name": "pendingStateTimeout",
   960                "type": "uint64"
   961              },
   962              {
   963                "internalType": "address",
   964                "name": "trustedAggregator",
   965                "type": "address"
   966              },
   967              {
   968                "internalType": "uint64",
   969                "name": "trustedAggregatorTimeout",
   970                "type": "uint64"
   971              }
   972            ],
   973            "internalType": "struct Supernets2.InitializePackedParameters",
   974            "name": "initializePackedParameters",
   975            "type": "tuple"
   976          },
   977          {
   978            "internalType": "bytes32",
   979            "name": "genesisRoot",
   980            "type": "bytes32"
   981          },
   982          {
   983            "internalType": "string",
   984            "name": "_trustedSequencerURL",
   985            "type": "string"
   986          },
   987          {
   988            "internalType": "string",
   989            "name": "_networkName",
   990            "type": "string"
   991          },
   992          {
   993            "internalType": "string",
   994            "name": "_version",
   995            "type": "string"
   996          }
   997        ],
   998        "name": "initialize",
   999        "outputs": [],
  1000        "stateMutability": "nonpayable",
  1001        "type": "function"
  1002      },
  1003      {
  1004        "inputs": [],
  1005        "name": "isEmergencyState",
  1006        "outputs": [
  1007          {
  1008            "internalType": "bool",
  1009            "name": "",
  1010            "type": "bool"
  1011          }
  1012        ],
  1013        "stateMutability": "view",
  1014        "type": "function"
  1015      },
  1016      {
  1017        "inputs": [],
  1018        "name": "isForcedBatchDisallowed",
  1019        "outputs": [
  1020          {
  1021            "internalType": "bool",
  1022            "name": "",
  1023            "type": "bool"
  1024          }
  1025        ],
  1026        "stateMutability": "view",
  1027        "type": "function"
  1028      },
  1029      {
  1030        "inputs": [
  1031          {
  1032            "internalType": "uint64",
  1033            "name": "pendingStateNum",
  1034            "type": "uint64"
  1035          }
  1036        ],
  1037        "name": "isPendingStateConsolidable",
  1038        "outputs": [
  1039          {
  1040            "internalType": "bool",
  1041            "name": "",
  1042            "type": "bool"
  1043          }
  1044        ],
  1045        "stateMutability": "view",
  1046        "type": "function"
  1047      },
  1048      {
  1049        "inputs": [],
  1050        "name": "lastBatchSequenced",
  1051        "outputs": [
  1052          {
  1053            "internalType": "uint64",
  1054            "name": "",
  1055            "type": "uint64"
  1056          }
  1057        ],
  1058        "stateMutability": "view",
  1059        "type": "function"
  1060      },
  1061      {
  1062        "inputs": [],
  1063        "name": "lastForceBatch",
  1064        "outputs": [
  1065          {
  1066            "internalType": "uint64",
  1067            "name": "",
  1068            "type": "uint64"
  1069          }
  1070        ],
  1071        "stateMutability": "view",
  1072        "type": "function"
  1073      },
  1074      {
  1075        "inputs": [],
  1076        "name": "lastForceBatchSequenced",
  1077        "outputs": [
  1078          {
  1079            "internalType": "uint64",
  1080            "name": "",
  1081            "type": "uint64"
  1082          }
  1083        ],
  1084        "stateMutability": "view",
  1085        "type": "function"
  1086      },
  1087      {
  1088        "inputs": [],
  1089        "name": "lastPendingState",
  1090        "outputs": [
  1091          {
  1092            "internalType": "uint64",
  1093            "name": "",
  1094            "type": "uint64"
  1095          }
  1096        ],
  1097        "stateMutability": "view",
  1098        "type": "function"
  1099      },
  1100      {
  1101        "inputs": [],
  1102        "name": "lastPendingStateConsolidated",
  1103        "outputs": [
  1104          {
  1105            "internalType": "uint64",
  1106            "name": "",
  1107            "type": "uint64"
  1108          }
  1109        ],
  1110        "stateMutability": "view",
  1111        "type": "function"
  1112      },
  1113      {
  1114        "inputs": [],
  1115        "name": "lastTimestamp",
  1116        "outputs": [
  1117          {
  1118            "internalType": "uint64",
  1119            "name": "",
  1120            "type": "uint64"
  1121          }
  1122        ],
  1123        "stateMutability": "view",
  1124        "type": "function"
  1125      },
  1126      {
  1127        "inputs": [],
  1128        "name": "lastVerifiedBatch",
  1129        "outputs": [
  1130          {
  1131            "internalType": "uint64",
  1132            "name": "",
  1133            "type": "uint64"
  1134          }
  1135        ],
  1136        "stateMutability": "view",
  1137        "type": "function"
  1138      },
  1139      {
  1140        "inputs": [],
  1141        "name": "matic",
  1142        "outputs": [
  1143          {
  1144            "internalType": "contract IERC20Upgradeable",
  1145            "name": "",
  1146            "type": "address"
  1147          }
  1148        ],
  1149        "stateMutability": "view",
  1150        "type": "function"
  1151      },
  1152      {
  1153        "inputs": [],
  1154        "name": "multiplierBatchFee",
  1155        "outputs": [
  1156          {
  1157            "internalType": "uint16",
  1158            "name": "",
  1159            "type": "uint16"
  1160          }
  1161        ],
  1162        "stateMutability": "view",
  1163        "type": "function"
  1164      },
  1165      {
  1166        "inputs": [],
  1167        "name": "networkName",
  1168        "outputs": [
  1169          {
  1170            "internalType": "string",
  1171            "name": "",
  1172            "type": "string"
  1173          }
  1174        ],
  1175        "stateMutability": "view",
  1176        "type": "function"
  1177      },
  1178      {
  1179        "inputs": [
  1180          {
  1181            "internalType": "uint64",
  1182            "name": "initPendingStateNum",
  1183            "type": "uint64"
  1184          },
  1185          {
  1186            "internalType": "uint64",
  1187            "name": "finalPendingStateNum",
  1188            "type": "uint64"
  1189          },
  1190          {
  1191            "internalType": "uint64",
  1192            "name": "initNumBatch",
  1193            "type": "uint64"
  1194          },
  1195          {
  1196            "internalType": "uint64",
  1197            "name": "finalNewBatch",
  1198            "type": "uint64"
  1199          },
  1200          {
  1201            "internalType": "bytes32",
  1202            "name": "newLocalExitRoot",
  1203            "type": "bytes32"
  1204          },
  1205          {
  1206            "internalType": "bytes32",
  1207            "name": "newStateRoot",
  1208            "type": "bytes32"
  1209          },
  1210          {
  1211            "internalType": "bytes",
  1212            "name": "proof",
  1213            "type": "bytes"
  1214          }
  1215        ],
  1216        "name": "overridePendingState",
  1217        "outputs": [],
  1218        "stateMutability": "nonpayable",
  1219        "type": "function"
  1220      },
  1221      {
  1222        "inputs": [],
  1223        "name": "owner",
  1224        "outputs": [
  1225          {
  1226            "internalType": "address",
  1227            "name": "",
  1228            "type": "address"
  1229          }
  1230        ],
  1231        "stateMutability": "view",
  1232        "type": "function"
  1233      },
  1234      {
  1235        "inputs": [],
  1236        "name": "pendingAdmin",
  1237        "outputs": [
  1238          {
  1239            "internalType": "address",
  1240            "name": "",
  1241            "type": "address"
  1242          }
  1243        ],
  1244        "stateMutability": "view",
  1245        "type": "function"
  1246      },
  1247      {
  1248        "inputs": [],
  1249        "name": "pendingStateTimeout",
  1250        "outputs": [
  1251          {
  1252            "internalType": "uint64",
  1253            "name": "",
  1254            "type": "uint64"
  1255          }
  1256        ],
  1257        "stateMutability": "view",
  1258        "type": "function"
  1259      },
  1260      {
  1261        "inputs": [
  1262          {
  1263            "internalType": "uint256",
  1264            "name": "",
  1265            "type": "uint256"
  1266          }
  1267        ],
  1268        "name": "pendingStateTransitions",
  1269        "outputs": [
  1270          {
  1271            "internalType": "uint64",
  1272            "name": "timestamp",
  1273            "type": "uint64"
  1274          },
  1275          {
  1276            "internalType": "uint64",
  1277            "name": "lastVerifiedBatch",
  1278            "type": "uint64"
  1279          },
  1280          {
  1281            "internalType": "bytes32",
  1282            "name": "exitRoot",
  1283            "type": "bytes32"
  1284          },
  1285          {
  1286            "internalType": "bytes32",
  1287            "name": "stateRoot",
  1288            "type": "bytes32"
  1289          }
  1290        ],
  1291        "stateMutability": "view",
  1292        "type": "function"
  1293      },
  1294      {
  1295        "inputs": [
  1296          {
  1297            "internalType": "uint64",
  1298            "name": "initPendingStateNum",
  1299            "type": "uint64"
  1300          },
  1301          {
  1302            "internalType": "uint64",
  1303            "name": "finalPendingStateNum",
  1304            "type": "uint64"
  1305          },
  1306          {
  1307            "internalType": "uint64",
  1308            "name": "initNumBatch",
  1309            "type": "uint64"
  1310          },
  1311          {
  1312            "internalType": "uint64",
  1313            "name": "finalNewBatch",
  1314            "type": "uint64"
  1315          },
  1316          {
  1317            "internalType": "bytes32",
  1318            "name": "newLocalExitRoot",
  1319            "type": "bytes32"
  1320          },
  1321          {
  1322            "internalType": "bytes32",
  1323            "name": "newStateRoot",
  1324            "type": "bytes32"
  1325          },
  1326          {
  1327            "internalType": "bytes",
  1328            "name": "proof",
  1329            "type": "bytes"
  1330          }
  1331        ],
  1332        "name": "proveNonDeterministicPendingState",
  1333        "outputs": [],
  1334        "stateMutability": "nonpayable",
  1335        "type": "function"
  1336      },
  1337      {
  1338        "inputs": [],
  1339        "name": "renounceOwnership",
  1340        "outputs": [],
  1341        "stateMutability": "nonpayable",
  1342        "type": "function"
  1343      },
  1344      {
  1345        "inputs": [],
  1346        "name": "rollupVerifier",
  1347        "outputs": [
  1348          {
  1349            "internalType": "contract IVerifierRollup",
  1350            "name": "",
  1351            "type": "address"
  1352          }
  1353        ],
  1354        "stateMutability": "view",
  1355        "type": "function"
  1356      },
  1357      {
  1358        "inputs": [
  1359          {
  1360            "components": [
  1361              {
  1362                "internalType": "bytes32",
  1363                "name": "transactionsHash",
  1364                "type": "bytes32"
  1365              },
  1366              {
  1367                "internalType": "bytes32",
  1368                "name": "globalExitRoot",
  1369                "type": "bytes32"
  1370              },
  1371              {
  1372                "internalType": "uint64",
  1373                "name": "timestamp",
  1374                "type": "uint64"
  1375              },
  1376              {
  1377                "internalType": "uint64",
  1378                "name": "minForcedTimestamp",
  1379                "type": "uint64"
  1380              }
  1381            ],
  1382            "internalType": "struct Supernets2.BatchData[]",
  1383            "name": "batches",
  1384            "type": "tuple[]"
  1385          },
  1386          {
  1387            "internalType": "address",
  1388            "name": "l2Coinbase",
  1389            "type": "address"
  1390          },
  1391          {
  1392            "internalType": "bytes",
  1393            "name": "signaturesAndAddrs",
  1394            "type": "bytes"
  1395          }
  1396        ],
  1397        "name": "sequenceBatches",
  1398        "outputs": [],
  1399        "stateMutability": "nonpayable",
  1400        "type": "function"
  1401      },
  1402      {
  1403        "inputs": [
  1404          {
  1405            "components": [
  1406              {
  1407                "internalType": "bytes",
  1408                "name": "transactions",
  1409                "type": "bytes"
  1410              },
  1411              {
  1412                "internalType": "bytes32",
  1413                "name": "globalExitRoot",
  1414                "type": "bytes32"
  1415              },
  1416              {
  1417                "internalType": "uint64",
  1418                "name": "minForcedTimestamp",
  1419                "type": "uint64"
  1420              }
  1421            ],
  1422            "internalType": "struct Supernets2.ForcedBatchData[]",
  1423            "name": "batches",
  1424            "type": "tuple[]"
  1425          }
  1426        ],
  1427        "name": "sequenceForceBatches",
  1428        "outputs": [],
  1429        "stateMutability": "nonpayable",
  1430        "type": "function"
  1431      },
  1432      {
  1433        "inputs": [
  1434          {
  1435            "internalType": "uint64",
  1436            "name": "",
  1437            "type": "uint64"
  1438          }
  1439        ],
  1440        "name": "sequencedBatches",
  1441        "outputs": [
  1442          {
  1443            "internalType": "bytes32",
  1444            "name": "accInputHash",
  1445            "type": "bytes32"
  1446          },
  1447          {
  1448            "internalType": "uint64",
  1449            "name": "sequencedTimestamp",
  1450            "type": "uint64"
  1451          },
  1452          {
  1453            "internalType": "uint64",
  1454            "name": "previousLastBatchSequenced",
  1455            "type": "uint64"
  1456          }
  1457        ],
  1458        "stateMutability": "view",
  1459        "type": "function"
  1460      },
  1461      {
  1462        "inputs": [
  1463          {
  1464            "internalType": "uint64",
  1465            "name": "newforceBatchTimeout",
  1466            "type": "uint64"
  1467          }
  1468        ],
  1469        "name": "setForceBatchTimeout",
  1470        "outputs": [],
  1471        "stateMutability": "nonpayable",
  1472        "type": "function"
  1473      },
  1474      {
  1475        "inputs": [
  1476          {
  1477            "internalType": "uint16",
  1478            "name": "newMultiplierBatchFee",
  1479            "type": "uint16"
  1480          }
  1481        ],
  1482        "name": "setMultiplierBatchFee",
  1483        "outputs": [],
  1484        "stateMutability": "nonpayable",
  1485        "type": "function"
  1486      },
  1487      {
  1488        "inputs": [
  1489          {
  1490            "internalType": "uint64",
  1491            "name": "newPendingStateTimeout",
  1492            "type": "uint64"
  1493          }
  1494        ],
  1495        "name": "setPendingStateTimeout",
  1496        "outputs": [],
  1497        "stateMutability": "nonpayable",
  1498        "type": "function"
  1499      },
  1500      {
  1501        "inputs": [
  1502          {
  1503            "internalType": "address",
  1504            "name": "newTrustedAggregator",
  1505            "type": "address"
  1506          }
  1507        ],
  1508        "name": "setTrustedAggregator",
  1509        "outputs": [],
  1510        "stateMutability": "nonpayable",
  1511        "type": "function"
  1512      },
  1513      {
  1514        "inputs": [
  1515          {
  1516            "internalType": "uint64",
  1517            "name": "newTrustedAggregatorTimeout",
  1518            "type": "uint64"
  1519          }
  1520        ],
  1521        "name": "setTrustedAggregatorTimeout",
  1522        "outputs": [],
  1523        "stateMutability": "nonpayable",
  1524        "type": "function"
  1525      },
  1526      {
  1527        "inputs": [
  1528          {
  1529            "internalType": "address",
  1530            "name": "newTrustedSequencer",
  1531            "type": "address"
  1532          }
  1533        ],
  1534        "name": "setTrustedSequencer",
  1535        "outputs": [],
  1536        "stateMutability": "nonpayable",
  1537        "type": "function"
  1538      },
  1539      {
  1540        "inputs": [
  1541          {
  1542            "internalType": "string",
  1543            "name": "newTrustedSequencerURL",
  1544            "type": "string"
  1545          }
  1546        ],
  1547        "name": "setTrustedSequencerURL",
  1548        "outputs": [],
  1549        "stateMutability": "nonpayable",
  1550        "type": "function"
  1551      },
  1552      {
  1553        "inputs": [
  1554          {
  1555            "internalType": "uint64",
  1556            "name": "newVerifyBatchTimeTarget",
  1557            "type": "uint64"
  1558          }
  1559        ],
  1560        "name": "setVerifyBatchTimeTarget",
  1561        "outputs": [],
  1562        "stateMutability": "nonpayable",
  1563        "type": "function"
  1564      },
  1565      {
  1566        "inputs": [
  1567          {
  1568            "internalType": "address",
  1569            "name": "newPendingAdmin",
  1570            "type": "address"
  1571          }
  1572        ],
  1573        "name": "transferAdminRole",
  1574        "outputs": [],
  1575        "stateMutability": "nonpayable",
  1576        "type": "function"
  1577      },
  1578      {
  1579        "inputs": [
  1580          {
  1581            "internalType": "address",
  1582            "name": "newOwner",
  1583            "type": "address"
  1584          }
  1585        ],
  1586        "name": "transferOwnership",
  1587        "outputs": [],
  1588        "stateMutability": "nonpayable",
  1589        "type": "function"
  1590      },
  1591      {
  1592        "inputs": [],
  1593        "name": "trustedAggregator",
  1594        "outputs": [
  1595          {
  1596            "internalType": "address",
  1597            "name": "",
  1598            "type": "address"
  1599          }
  1600        ],
  1601        "stateMutability": "view",
  1602        "type": "function"
  1603      },
  1604      {
  1605        "inputs": [],
  1606        "name": "trustedAggregatorTimeout",
  1607        "outputs": [
  1608          {
  1609            "internalType": "uint64",
  1610            "name": "",
  1611            "type": "uint64"
  1612          }
  1613        ],
  1614        "stateMutability": "view",
  1615        "type": "function"
  1616      },
  1617      {
  1618        "inputs": [],
  1619        "name": "trustedSequencer",
  1620        "outputs": [
  1621          {
  1622            "internalType": "address",
  1623            "name": "",
  1624            "type": "address"
  1625          }
  1626        ],
  1627        "stateMutability": "view",
  1628        "type": "function"
  1629      },
  1630      {
  1631        "inputs": [],
  1632        "name": "trustedSequencerURL",
  1633        "outputs": [
  1634          {
  1635            "internalType": "string",
  1636            "name": "",
  1637            "type": "string"
  1638          }
  1639        ],
  1640        "stateMutability": "view",
  1641        "type": "function"
  1642      },
  1643      {
  1644        "inputs": [],
  1645        "name": "verifyBatchTimeTarget",
  1646        "outputs": [
  1647          {
  1648            "internalType": "uint64",
  1649            "name": "",
  1650            "type": "uint64"
  1651          }
  1652        ],
  1653        "stateMutability": "view",
  1654        "type": "function"
  1655      },
  1656      {
  1657        "inputs": [
  1658          {
  1659            "internalType": "uint64",
  1660            "name": "pendingStateNum",
  1661            "type": "uint64"
  1662          },
  1663          {
  1664            "internalType": "uint64",
  1665            "name": "initNumBatch",
  1666            "type": "uint64"
  1667          },
  1668          {
  1669            "internalType": "uint64",
  1670            "name": "finalNewBatch",
  1671            "type": "uint64"
  1672          },
  1673          {
  1674            "internalType": "bytes32",
  1675            "name": "newLocalExitRoot",
  1676            "type": "bytes32"
  1677          },
  1678          {
  1679            "internalType": "bytes32",
  1680            "name": "newStateRoot",
  1681            "type": "bytes32"
  1682          },
  1683          {
  1684            "internalType": "bytes",
  1685            "name": "proof",
  1686            "type": "bytes"
  1687          }
  1688        ],
  1689        "name": "verifyBatches",
  1690        "outputs": [],
  1691        "stateMutability": "nonpayable",
  1692        "type": "function"
  1693      },
  1694      {
  1695        "inputs": [
  1696          {
  1697            "internalType": "uint64",
  1698            "name": "pendingStateNum",
  1699            "type": "uint64"
  1700          },
  1701          {
  1702            "internalType": "uint64",
  1703            "name": "initNumBatch",
  1704            "type": "uint64"
  1705          },
  1706          {
  1707            "internalType": "uint64",
  1708            "name": "finalNewBatch",
  1709            "type": "uint64"
  1710          },
  1711          {
  1712            "internalType": "bytes32",
  1713            "name": "newLocalExitRoot",
  1714            "type": "bytes32"
  1715          },
  1716          {
  1717            "internalType": "bytes32",
  1718            "name": "newStateRoot",
  1719            "type": "bytes32"
  1720          },
  1721          {
  1722            "internalType": "bytes",
  1723            "name": "proof",
  1724            "type": "bytes"
  1725          }
  1726        ],
  1727        "name": "verifyBatchesTrustedAggregator",
  1728        "outputs": [],
  1729        "stateMutability": "nonpayable",
  1730        "type": "function"
  1731      }
  1732    ]