mm-eth 0.1.5__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. mm_eth/abi.py +3 -3
  2. mm_eth/account.py +1 -1
  3. mm_eth/anvil.py +2 -2
  4. mm_eth/erc20.py +8 -7
  5. mm_eth/rpc.py +8 -8
  6. mm_eth/solc.py +2 -3
  7. mm_eth/tx.py +3 -5
  8. mm_eth/utils.py +11 -16
  9. mm_eth/vault.py +5 -5
  10. mm_eth-0.2.1.dist-info/METADATA +7 -0
  11. mm_eth-0.2.1.dist-info/RECORD +18 -0
  12. {mm_eth-0.1.5.dist-info → mm_eth-0.2.1.dist-info}/WHEEL +1 -1
  13. mm_eth/abi/zksync.json +0 -2092
  14. mm_eth/cli/__init__.py +0 -0
  15. mm_eth/cli/calcs.py +0 -88
  16. mm_eth/cli/cli.py +0 -237
  17. mm_eth/cli/cli_helpers.py +0 -195
  18. mm_eth/cli/cli_utils.py +0 -148
  19. mm_eth/cli/cmd/__init__.py +0 -0
  20. mm_eth/cli/cmd/balance_cmd.py +0 -59
  21. mm_eth/cli/cmd/balances_cmd.py +0 -121
  22. mm_eth/cli/cmd/call_contract_cmd.py +0 -44
  23. mm_eth/cli/cmd/config_example_cmd.py +0 -9
  24. mm_eth/cli/cmd/deploy_cmd.py +0 -41
  25. mm_eth/cli/cmd/encode_input_data_cmd.py +0 -10
  26. mm_eth/cli/cmd/mnemonic_cmd.py +0 -27
  27. mm_eth/cli/cmd/node_cmd.py +0 -47
  28. mm_eth/cli/cmd/private_key_cmd.py +0 -10
  29. mm_eth/cli/cmd/rpc_cmd.py +0 -81
  30. mm_eth/cli/cmd/send_contract_cmd.py +0 -247
  31. mm_eth/cli/cmd/solc_cmd.py +0 -25
  32. mm_eth/cli/cmd/token_cmd.py +0 -29
  33. mm_eth/cli/cmd/transfer_erc20_cmd.py +0 -275
  34. mm_eth/cli/cmd/transfer_eth_cmd.py +0 -252
  35. mm_eth/cli/cmd/vault_cmd.py +0 -16
  36. mm_eth/cli/config_examples/balances.yml +0 -15
  37. mm_eth/cli/config_examples/call_contract.yml +0 -5
  38. mm_eth/cli/config_examples/transfer_erc20.yml +0 -26
  39. mm_eth/cli/config_examples/transfer_eth.yml +0 -24
  40. mm_eth/cli/validators.py +0 -84
  41. mm_eth/services/__init__.py +0 -0
  42. mm_eth/zksync.py +0 -203
  43. mm_eth-0.1.5.dist-info/METADATA +0 -9
  44. mm_eth-0.1.5.dist-info/RECORD +0 -49
  45. mm_eth-0.1.5.dist-info/entry_points.txt +0 -2
mm_eth/abi/zksync.json DELETED
@@ -1,2092 +0,0 @@
1
- [
2
- {
3
- "anonymous": false,
4
- "inputs": [
5
- {
6
- "indexed": true,
7
- "internalType": "uint256",
8
- "name": "blockNumber",
9
- "type": "uint256"
10
- },
11
- {
12
- "indexed": true,
13
- "internalType": "bytes32",
14
- "name": "blockHash",
15
- "type": "bytes32"
16
- },
17
- {
18
- "indexed": true,
19
- "internalType": "bytes32",
20
- "name": "commitment",
21
- "type": "bytes32"
22
- }
23
- ],
24
- "name": "BlockCommit",
25
- "type": "event"
26
- },
27
- {
28
- "anonymous": false,
29
- "inputs": [
30
- {
31
- "indexed": true,
32
- "internalType": "uint256",
33
- "name": "blockNumber",
34
- "type": "uint256"
35
- },
36
- {
37
- "indexed": true,
38
- "internalType": "bytes32",
39
- "name": "blockHash",
40
- "type": "bytes32"
41
- },
42
- {
43
- "indexed": true,
44
- "internalType": "bytes32",
45
- "name": "commitment",
46
- "type": "bytes32"
47
- }
48
- ],
49
- "name": "BlockExecution",
50
- "type": "event"
51
- },
52
- {
53
- "anonymous": false,
54
- "inputs": [
55
- {
56
- "indexed": false,
57
- "internalType": "uint256",
58
- "name": "totalBlocksCommitted",
59
- "type": "uint256"
60
- },
61
- {
62
- "indexed": false,
63
- "internalType": "uint256",
64
- "name": "totalBlocksVerified",
65
- "type": "uint256"
66
- },
67
- {
68
- "indexed": false,
69
- "internalType": "uint256",
70
- "name": "totalBlocksExecuted",
71
- "type": "uint256"
72
- }
73
- ],
74
- "name": "BlocksRevert",
75
- "type": "event"
76
- },
77
- {
78
- "anonymous": false,
79
- "inputs": [
80
- {
81
- "indexed": true,
82
- "internalType": "uint256",
83
- "name": "previousLastVerifiedBlock",
84
- "type": "uint256"
85
- },
86
- {
87
- "indexed": true,
88
- "internalType": "uint256",
89
- "name": "currentLastVerifiedBlock",
90
- "type": "uint256"
91
- }
92
- ],
93
- "name": "BlocksVerification",
94
- "type": "event"
95
- },
96
- {
97
- "anonymous": false,
98
- "inputs": [
99
- {
100
- "indexed": true,
101
- "internalType": "uint256",
102
- "name": "proposalId",
103
- "type": "uint256"
104
- },
105
- {
106
- "indexed": true,
107
- "internalType": "bytes32",
108
- "name": "proposalHash",
109
- "type": "bytes32"
110
- }
111
- ],
112
- "name": "CancelUpgradeProposal",
113
- "type": "event"
114
- },
115
- {
116
- "anonymous": false,
117
- "inputs": [
118
- {
119
- "indexed": true,
120
- "internalType": "address",
121
- "name": "to",
122
- "type": "address"
123
- },
124
- {
125
- "indexed": false,
126
- "internalType": "uint256",
127
- "name": "amount",
128
- "type": "uint256"
129
- }
130
- ],
131
- "name": "EthWithdrawalFinalized",
132
- "type": "event"
133
- },
134
- {
135
- "anonymous": false,
136
- "inputs": [
137
- {
138
- "indexed": true,
139
- "internalType": "uint256",
140
- "name": "proposalId",
141
- "type": "uint256"
142
- },
143
- {
144
- "indexed": true,
145
- "internalType": "bytes32",
146
- "name": "proposalHash",
147
- "type": "bytes32"
148
- },
149
- {
150
- "indexed": false,
151
- "internalType": "bytes32",
152
- "name": "proposalSalt",
153
- "type": "bytes32"
154
- }
155
- ],
156
- "name": "ExecuteUpgrade",
157
- "type": "event"
158
- },
159
- {
160
- "anonymous": false,
161
- "inputs": [],
162
- "name": "Freeze",
163
- "type": "event"
164
- },
165
- {
166
- "anonymous": false,
167
- "inputs": [
168
- {
169
- "indexed": false,
170
- "internalType": "bool",
171
- "name": "isPorterAvailable",
172
- "type": "bool"
173
- }
174
- ],
175
- "name": "IsPorterAvailableStatusUpdate",
176
- "type": "event"
177
- },
178
- {
179
- "anonymous": false,
180
- "inputs": [
181
- {
182
- "indexed": true,
183
- "internalType": "address",
184
- "name": "oldAllowList",
185
- "type": "address"
186
- },
187
- {
188
- "indexed": true,
189
- "internalType": "address",
190
- "name": "newAllowList",
191
- "type": "address"
192
- }
193
- ],
194
- "name": "NewAllowList",
195
- "type": "event"
196
- },
197
- {
198
- "anonymous": false,
199
- "inputs": [
200
- {
201
- "indexed": true,
202
- "internalType": "address",
203
- "name": "oldGovernor",
204
- "type": "address"
205
- },
206
- {
207
- "indexed": true,
208
- "internalType": "address",
209
- "name": "newGovernor",
210
- "type": "address"
211
- }
212
- ],
213
- "name": "NewGovernor",
214
- "type": "event"
215
- },
216
- {
217
- "anonymous": false,
218
- "inputs": [
219
- {
220
- "indexed": true,
221
- "internalType": "bytes32",
222
- "name": "previousBytecodeHash",
223
- "type": "bytes32"
224
- },
225
- {
226
- "indexed": true,
227
- "internalType": "bytes32",
228
- "name": "newBytecodeHash",
229
- "type": "bytes32"
230
- }
231
- ],
232
- "name": "NewL2BootloaderBytecodeHash",
233
- "type": "event"
234
- },
235
- {
236
- "anonymous": false,
237
- "inputs": [
238
- {
239
- "indexed": true,
240
- "internalType": "bytes32",
241
- "name": "previousBytecodeHash",
242
- "type": "bytes32"
243
- },
244
- {
245
- "indexed": true,
246
- "internalType": "bytes32",
247
- "name": "newBytecodeHash",
248
- "type": "bytes32"
249
- }
250
- ],
251
- "name": "NewL2DefaultAccountBytecodeHash",
252
- "type": "event"
253
- },
254
- {
255
- "anonymous": false,
256
- "inputs": [
257
- {
258
- "indexed": true,
259
- "internalType": "address",
260
- "name": "oldPendingGovernor",
261
- "type": "address"
262
- },
263
- {
264
- "indexed": true,
265
- "internalType": "address",
266
- "name": "newPendingGovernor",
267
- "type": "address"
268
- }
269
- ],
270
- "name": "NewPendingGovernor",
271
- "type": "event"
272
- },
273
- {
274
- "anonymous": false,
275
- "inputs": [
276
- {
277
- "indexed": false,
278
- "internalType": "uint256",
279
- "name": "txId",
280
- "type": "uint256"
281
- },
282
- {
283
- "indexed": false,
284
- "internalType": "bytes32",
285
- "name": "txHash",
286
- "type": "bytes32"
287
- },
288
- {
289
- "indexed": false,
290
- "internalType": "uint64",
291
- "name": "expirationTimestamp",
292
- "type": "uint64"
293
- },
294
- {
295
- "components": [
296
- {
297
- "internalType": "uint256",
298
- "name": "txType",
299
- "type": "uint256"
300
- },
301
- {
302
- "internalType": "uint256",
303
- "name": "from",
304
- "type": "uint256"
305
- },
306
- {
307
- "internalType": "uint256",
308
- "name": "to",
309
- "type": "uint256"
310
- },
311
- {
312
- "internalType": "uint256",
313
- "name": "gasLimit",
314
- "type": "uint256"
315
- },
316
- {
317
- "internalType": "uint256",
318
- "name": "gasPerPubdataByteLimit",
319
- "type": "uint256"
320
- },
321
- {
322
- "internalType": "uint256",
323
- "name": "maxFeePerGas",
324
- "type": "uint256"
325
- },
326
- {
327
- "internalType": "uint256",
328
- "name": "maxPriorityFeePerGas",
329
- "type": "uint256"
330
- },
331
- {
332
- "internalType": "uint256",
333
- "name": "paymaster",
334
- "type": "uint256"
335
- },
336
- {
337
- "internalType": "uint256",
338
- "name": "nonce",
339
- "type": "uint256"
340
- },
341
- {
342
- "internalType": "uint256",
343
- "name": "value",
344
- "type": "uint256"
345
- },
346
- {
347
- "internalType": "uint256[4]",
348
- "name": "reserved",
349
- "type": "uint256[4]"
350
- },
351
- {
352
- "internalType": "bytes",
353
- "name": "data",
354
- "type": "bytes"
355
- },
356
- {
357
- "internalType": "bytes",
358
- "name": "signature",
359
- "type": "bytes"
360
- },
361
- {
362
- "internalType": "uint256[]",
363
- "name": "factoryDeps",
364
- "type": "uint256[]"
365
- },
366
- {
367
- "internalType": "bytes",
368
- "name": "paymasterInput",
369
- "type": "bytes"
370
- },
371
- {
372
- "internalType": "bytes",
373
- "name": "reservedDynamic",
374
- "type": "bytes"
375
- }
376
- ],
377
- "indexed": false,
378
- "internalType": "struct IMailbox.L2CanonicalTransaction",
379
- "name": "transaction",
380
- "type": "tuple"
381
- },
382
- {
383
- "indexed": false,
384
- "internalType": "bytes[]",
385
- "name": "factoryDeps",
386
- "type": "bytes[]"
387
- }
388
- ],
389
- "name": "NewPriorityRequest",
390
- "type": "event"
391
- },
392
- {
393
- "anonymous": false,
394
- "inputs": [
395
- {
396
- "indexed": false,
397
- "internalType": "uint256",
398
- "name": "oldPriorityTxMaxGasLimit",
399
- "type": "uint256"
400
- },
401
- {
402
- "indexed": false,
403
- "internalType": "uint256",
404
- "name": "newPriorityTxMaxGasLimit",
405
- "type": "uint256"
406
- }
407
- ],
408
- "name": "NewPriorityTxMaxGasLimit",
409
- "type": "event"
410
- },
411
- {
412
- "anonymous": false,
413
- "inputs": [
414
- {
415
- "indexed": true,
416
- "internalType": "address",
417
- "name": "oldVerifier",
418
- "type": "address"
419
- },
420
- {
421
- "indexed": true,
422
- "internalType": "address",
423
- "name": "newVerifier",
424
- "type": "address"
425
- }
426
- ],
427
- "name": "NewVerifier",
428
- "type": "event"
429
- },
430
- {
431
- "anonymous": false,
432
- "inputs": [
433
- {
434
- "components": [
435
- {
436
- "internalType": "bytes32",
437
- "name": "recursionNodeLevelVkHash",
438
- "type": "bytes32"
439
- },
440
- {
441
- "internalType": "bytes32",
442
- "name": "recursionLeafLevelVkHash",
443
- "type": "bytes32"
444
- },
445
- {
446
- "internalType": "bytes32",
447
- "name": "recursionCircuitsSetVksHash",
448
- "type": "bytes32"
449
- }
450
- ],
451
- "indexed": false,
452
- "internalType": "struct VerifierParams",
453
- "name": "oldVerifierParams",
454
- "type": "tuple"
455
- },
456
- {
457
- "components": [
458
- {
459
- "internalType": "bytes32",
460
- "name": "recursionNodeLevelVkHash",
461
- "type": "bytes32"
462
- },
463
- {
464
- "internalType": "bytes32",
465
- "name": "recursionLeafLevelVkHash",
466
- "type": "bytes32"
467
- },
468
- {
469
- "internalType": "bytes32",
470
- "name": "recursionCircuitsSetVksHash",
471
- "type": "bytes32"
472
- }
473
- ],
474
- "indexed": false,
475
- "internalType": "struct VerifierParams",
476
- "name": "newVerifierParams",
477
- "type": "tuple"
478
- }
479
- ],
480
- "name": "NewVerifierParams",
481
- "type": "event"
482
- },
483
- {
484
- "anonymous": false,
485
- "inputs": [
486
- {
487
- "indexed": true,
488
- "internalType": "uint256",
489
- "name": "proposalId",
490
- "type": "uint256"
491
- },
492
- {
493
- "indexed": true,
494
- "internalType": "bytes32",
495
- "name": "proposalHash",
496
- "type": "bytes32"
497
- }
498
- ],
499
- "name": "ProposeShadowUpgrade",
500
- "type": "event"
501
- },
502
- {
503
- "anonymous": false,
504
- "inputs": [
505
- {
506
- "components": [
507
- {
508
- "components": [
509
- {
510
- "internalType": "address",
511
- "name": "facet",
512
- "type": "address"
513
- },
514
- {
515
- "internalType": "enum Diamond.Action",
516
- "name": "action",
517
- "type": "uint8"
518
- },
519
- {
520
- "internalType": "bool",
521
- "name": "isFreezable",
522
- "type": "bool"
523
- },
524
- {
525
- "internalType": "bytes4[]",
526
- "name": "selectors",
527
- "type": "bytes4[]"
528
- }
529
- ],
530
- "internalType": "struct Diamond.FacetCut[]",
531
- "name": "facetCuts",
532
- "type": "tuple[]"
533
- },
534
- {
535
- "internalType": "address",
536
- "name": "initAddress",
537
- "type": "address"
538
- },
539
- {
540
- "internalType": "bytes",
541
- "name": "initCalldata",
542
- "type": "bytes"
543
- }
544
- ],
545
- "indexed": false,
546
- "internalType": "struct Diamond.DiamondCutData",
547
- "name": "diamondCut",
548
- "type": "tuple"
549
- },
550
- {
551
- "indexed": true,
552
- "internalType": "uint256",
553
- "name": "proposalId",
554
- "type": "uint256"
555
- },
556
- {
557
- "indexed": false,
558
- "internalType": "bytes32",
559
- "name": "proposalSalt",
560
- "type": "bytes32"
561
- }
562
- ],
563
- "name": "ProposeTransparentUpgrade",
564
- "type": "event"
565
- },
566
- {
567
- "anonymous": false,
568
- "inputs": [
569
- {
570
- "indexed": true,
571
- "internalType": "uint256",
572
- "name": "proposalId",
573
- "type": "uint256"
574
- },
575
- {
576
- "indexed": true,
577
- "internalType": "bytes32",
578
- "name": "proposalHash",
579
- "type": "bytes32"
580
- }
581
- ],
582
- "name": "SecurityCouncilUpgradeApprove",
583
- "type": "event"
584
- },
585
- {
586
- "anonymous": false,
587
- "inputs": [],
588
- "name": "Unfreeze",
589
- "type": "event"
590
- },
591
- {
592
- "anonymous": false,
593
- "inputs": [
594
- {
595
- "indexed": true,
596
- "internalType": "address",
597
- "name": "validatorAddress",
598
- "type": "address"
599
- },
600
- {
601
- "indexed": false,
602
- "internalType": "bool",
603
- "name": "isActive",
604
- "type": "bool"
605
- }
606
- ],
607
- "name": "ValidatorStatusUpdate",
608
- "type": "event"
609
- },
610
- {
611
- "inputs": [],
612
- "name": "acceptGovernor",
613
- "outputs": [],
614
- "stateMutability": "nonpayable",
615
- "type": "function"
616
- },
617
- {
618
- "inputs": [
619
- {
620
- "internalType": "bytes32",
621
- "name": "_proposedUpgradeHash",
622
- "type": "bytes32"
623
- }
624
- ],
625
- "name": "cancelUpgradeProposal",
626
- "outputs": [],
627
- "stateMutability": "nonpayable",
628
- "type": "function"
629
- },
630
- {
631
- "inputs": [
632
- {
633
- "components": [
634
- {
635
- "internalType": "uint64",
636
- "name": "blockNumber",
637
- "type": "uint64"
638
- },
639
- {
640
- "internalType": "bytes32",
641
- "name": "blockHash",
642
- "type": "bytes32"
643
- },
644
- {
645
- "internalType": "uint64",
646
- "name": "indexRepeatedStorageChanges",
647
- "type": "uint64"
648
- },
649
- {
650
- "internalType": "uint256",
651
- "name": "numberOfLayer1Txs",
652
- "type": "uint256"
653
- },
654
- {
655
- "internalType": "bytes32",
656
- "name": "priorityOperationsHash",
657
- "type": "bytes32"
658
- },
659
- {
660
- "internalType": "bytes32",
661
- "name": "l2LogsTreeRoot",
662
- "type": "bytes32"
663
- },
664
- {
665
- "internalType": "uint256",
666
- "name": "timestamp",
667
- "type": "uint256"
668
- },
669
- {
670
- "internalType": "bytes32",
671
- "name": "commitment",
672
- "type": "bytes32"
673
- }
674
- ],
675
- "internalType": "struct IExecutor.StoredBlockInfo",
676
- "name": "_lastCommittedBlockData",
677
- "type": "tuple"
678
- },
679
- {
680
- "components": [
681
- {
682
- "internalType": "uint64",
683
- "name": "blockNumber",
684
- "type": "uint64"
685
- },
686
- {
687
- "internalType": "uint64",
688
- "name": "timestamp",
689
- "type": "uint64"
690
- },
691
- {
692
- "internalType": "uint64",
693
- "name": "indexRepeatedStorageChanges",
694
- "type": "uint64"
695
- },
696
- {
697
- "internalType": "bytes32",
698
- "name": "newStateRoot",
699
- "type": "bytes32"
700
- },
701
- {
702
- "internalType": "uint256",
703
- "name": "numberOfLayer1Txs",
704
- "type": "uint256"
705
- },
706
- {
707
- "internalType": "bytes32",
708
- "name": "l2LogsTreeRoot",
709
- "type": "bytes32"
710
- },
711
- {
712
- "internalType": "bytes32",
713
- "name": "priorityOperationsHash",
714
- "type": "bytes32"
715
- },
716
- {
717
- "internalType": "bytes",
718
- "name": "initialStorageChanges",
719
- "type": "bytes"
720
- },
721
- {
722
- "internalType": "bytes",
723
- "name": "repeatedStorageChanges",
724
- "type": "bytes"
725
- },
726
- {
727
- "internalType": "bytes",
728
- "name": "l2Logs",
729
- "type": "bytes"
730
- },
731
- {
732
- "internalType": "bytes[]",
733
- "name": "l2ArbitraryLengthMessages",
734
- "type": "bytes[]"
735
- },
736
- {
737
- "internalType": "bytes[]",
738
- "name": "factoryDeps",
739
- "type": "bytes[]"
740
- }
741
- ],
742
- "internalType": "struct IExecutor.CommitBlockInfo[]",
743
- "name": "_newBlocksData",
744
- "type": "tuple[]"
745
- }
746
- ],
747
- "name": "commitBlocks",
748
- "outputs": [],
749
- "stateMutability": "nonpayable",
750
- "type": "function"
751
- },
752
- {
753
- "inputs": [
754
- {
755
- "components": [
756
- {
757
- "internalType": "uint64",
758
- "name": "blockNumber",
759
- "type": "uint64"
760
- },
761
- {
762
- "internalType": "bytes32",
763
- "name": "blockHash",
764
- "type": "bytes32"
765
- },
766
- {
767
- "internalType": "uint64",
768
- "name": "indexRepeatedStorageChanges",
769
- "type": "uint64"
770
- },
771
- {
772
- "internalType": "uint256",
773
- "name": "numberOfLayer1Txs",
774
- "type": "uint256"
775
- },
776
- {
777
- "internalType": "bytes32",
778
- "name": "priorityOperationsHash",
779
- "type": "bytes32"
780
- },
781
- {
782
- "internalType": "bytes32",
783
- "name": "l2LogsTreeRoot",
784
- "type": "bytes32"
785
- },
786
- {
787
- "internalType": "uint256",
788
- "name": "timestamp",
789
- "type": "uint256"
790
- },
791
- {
792
- "internalType": "bytes32",
793
- "name": "commitment",
794
- "type": "bytes32"
795
- }
796
- ],
797
- "internalType": "struct IExecutor.StoredBlockInfo[]",
798
- "name": "_blocksData",
799
- "type": "tuple[]"
800
- }
801
- ],
802
- "name": "executeBlocks",
803
- "outputs": [],
804
- "stateMutability": "nonpayable",
805
- "type": "function"
806
- },
807
- {
808
- "inputs": [
809
- {
810
- "components": [
811
- {
812
- "components": [
813
- {
814
- "internalType": "address",
815
- "name": "facet",
816
- "type": "address"
817
- },
818
- {
819
- "internalType": "enum Diamond.Action",
820
- "name": "action",
821
- "type": "uint8"
822
- },
823
- {
824
- "internalType": "bool",
825
- "name": "isFreezable",
826
- "type": "bool"
827
- },
828
- {
829
- "internalType": "bytes4[]",
830
- "name": "selectors",
831
- "type": "bytes4[]"
832
- }
833
- ],
834
- "internalType": "struct Diamond.FacetCut[]",
835
- "name": "facetCuts",
836
- "type": "tuple[]"
837
- },
838
- {
839
- "internalType": "address",
840
- "name": "initAddress",
841
- "type": "address"
842
- },
843
- {
844
- "internalType": "bytes",
845
- "name": "initCalldata",
846
- "type": "bytes"
847
- }
848
- ],
849
- "internalType": "struct Diamond.DiamondCutData",
850
- "name": "_diamondCut",
851
- "type": "tuple"
852
- },
853
- {
854
- "internalType": "bytes32",
855
- "name": "_proposalSalt",
856
- "type": "bytes32"
857
- }
858
- ],
859
- "name": "executeUpgrade",
860
- "outputs": [],
861
- "stateMutability": "nonpayable",
862
- "type": "function"
863
- },
864
- {
865
- "inputs": [
866
- {
867
- "internalType": "bytes4",
868
- "name": "_selector",
869
- "type": "bytes4"
870
- }
871
- ],
872
- "name": "facetAddress",
873
- "outputs": [
874
- {
875
- "internalType": "address",
876
- "name": "facet",
877
- "type": "address"
878
- }
879
- ],
880
- "stateMutability": "view",
881
- "type": "function"
882
- },
883
- {
884
- "inputs": [],
885
- "name": "facetAddresses",
886
- "outputs": [
887
- {
888
- "internalType": "address[]",
889
- "name": "facets",
890
- "type": "address[]"
891
- }
892
- ],
893
- "stateMutability": "view",
894
- "type": "function"
895
- },
896
- {
897
- "inputs": [
898
- {
899
- "internalType": "address",
900
- "name": "_facet",
901
- "type": "address"
902
- }
903
- ],
904
- "name": "facetFunctionSelectors",
905
- "outputs": [
906
- {
907
- "internalType": "bytes4[]",
908
- "name": "",
909
- "type": "bytes4[]"
910
- }
911
- ],
912
- "stateMutability": "view",
913
- "type": "function"
914
- },
915
- {
916
- "inputs": [],
917
- "name": "facets",
918
- "outputs": [
919
- {
920
- "components": [
921
- {
922
- "internalType": "address",
923
- "name": "addr",
924
- "type": "address"
925
- },
926
- {
927
- "internalType": "bytes4[]",
928
- "name": "selectors",
929
- "type": "bytes4[]"
930
- }
931
- ],
932
- "internalType": "struct IGetters.Facet[]",
933
- "name": "",
934
- "type": "tuple[]"
935
- }
936
- ],
937
- "stateMutability": "view",
938
- "type": "function"
939
- },
940
- {
941
- "inputs": [
942
- {
943
- "internalType": "uint256",
944
- "name": "_l2BlockNumber",
945
- "type": "uint256"
946
- },
947
- {
948
- "internalType": "uint256",
949
- "name": "_l2MessageIndex",
950
- "type": "uint256"
951
- },
952
- {
953
- "internalType": "uint16",
954
- "name": "_l2TxNumberInBlock",
955
- "type": "uint16"
956
- },
957
- {
958
- "internalType": "bytes",
959
- "name": "_message",
960
- "type": "bytes"
961
- },
962
- {
963
- "internalType": "bytes32[]",
964
- "name": "_merkleProof",
965
- "type": "bytes32[]"
966
- }
967
- ],
968
- "name": "finalizeEthWithdrawal",
969
- "outputs": [],
970
- "stateMutability": "nonpayable",
971
- "type": "function"
972
- },
973
- {
974
- "inputs": [],
975
- "name": "freezeDiamond",
976
- "outputs": [],
977
- "stateMutability": "nonpayable",
978
- "type": "function"
979
- },
980
- {
981
- "inputs": [],
982
- "name": "getAllowList",
983
- "outputs": [
984
- {
985
- "internalType": "address",
986
- "name": "",
987
- "type": "address"
988
- }
989
- ],
990
- "stateMutability": "view",
991
- "type": "function"
992
- },
993
- {
994
- "inputs": [],
995
- "name": "getCurrentProposalId",
996
- "outputs": [
997
- {
998
- "internalType": "uint256",
999
- "name": "",
1000
- "type": "uint256"
1001
- }
1002
- ],
1003
- "stateMutability": "view",
1004
- "type": "function"
1005
- },
1006
- {
1007
- "inputs": [],
1008
- "name": "getFirstUnprocessedPriorityTx",
1009
- "outputs": [
1010
- {
1011
- "internalType": "uint256",
1012
- "name": "",
1013
- "type": "uint256"
1014
- }
1015
- ],
1016
- "stateMutability": "view",
1017
- "type": "function"
1018
- },
1019
- {
1020
- "inputs": [],
1021
- "name": "getGovernor",
1022
- "outputs": [
1023
- {
1024
- "internalType": "address",
1025
- "name": "",
1026
- "type": "address"
1027
- }
1028
- ],
1029
- "stateMutability": "view",
1030
- "type": "function"
1031
- },
1032
- {
1033
- "inputs": [],
1034
- "name": "getL2BootloaderBytecodeHash",
1035
- "outputs": [
1036
- {
1037
- "internalType": "bytes32",
1038
- "name": "",
1039
- "type": "bytes32"
1040
- }
1041
- ],
1042
- "stateMutability": "view",
1043
- "type": "function"
1044
- },
1045
- {
1046
- "inputs": [],
1047
- "name": "getL2DefaultAccountBytecodeHash",
1048
- "outputs": [
1049
- {
1050
- "internalType": "bytes32",
1051
- "name": "",
1052
- "type": "bytes32"
1053
- }
1054
- ],
1055
- "stateMutability": "view",
1056
- "type": "function"
1057
- },
1058
- {
1059
- "inputs": [],
1060
- "name": "getPendingGovernor",
1061
- "outputs": [
1062
- {
1063
- "internalType": "address",
1064
- "name": "",
1065
- "type": "address"
1066
- }
1067
- ],
1068
- "stateMutability": "view",
1069
- "type": "function"
1070
- },
1071
- {
1072
- "inputs": [],
1073
- "name": "getPriorityQueueSize",
1074
- "outputs": [
1075
- {
1076
- "internalType": "uint256",
1077
- "name": "",
1078
- "type": "uint256"
1079
- }
1080
- ],
1081
- "stateMutability": "view",
1082
- "type": "function"
1083
- },
1084
- {
1085
- "inputs": [],
1086
- "name": "getPriorityTxMaxGasLimit",
1087
- "outputs": [
1088
- {
1089
- "internalType": "uint256",
1090
- "name": "",
1091
- "type": "uint256"
1092
- }
1093
- ],
1094
- "stateMutability": "view",
1095
- "type": "function"
1096
- },
1097
- {
1098
- "inputs": [],
1099
- "name": "getProposedUpgradeHash",
1100
- "outputs": [
1101
- {
1102
- "internalType": "bytes32",
1103
- "name": "",
1104
- "type": "bytes32"
1105
- }
1106
- ],
1107
- "stateMutability": "view",
1108
- "type": "function"
1109
- },
1110
- {
1111
- "inputs": [],
1112
- "name": "getProposedUpgradeTimestamp",
1113
- "outputs": [
1114
- {
1115
- "internalType": "uint256",
1116
- "name": "",
1117
- "type": "uint256"
1118
- }
1119
- ],
1120
- "stateMutability": "view",
1121
- "type": "function"
1122
- },
1123
- {
1124
- "inputs": [],
1125
- "name": "getSecurityCouncil",
1126
- "outputs": [
1127
- {
1128
- "internalType": "address",
1129
- "name": "",
1130
- "type": "address"
1131
- }
1132
- ],
1133
- "stateMutability": "view",
1134
- "type": "function"
1135
- },
1136
- {
1137
- "inputs": [],
1138
- "name": "getTotalBlocksCommitted",
1139
- "outputs": [
1140
- {
1141
- "internalType": "uint256",
1142
- "name": "",
1143
- "type": "uint256"
1144
- }
1145
- ],
1146
- "stateMutability": "view",
1147
- "type": "function"
1148
- },
1149
- {
1150
- "inputs": [],
1151
- "name": "getTotalBlocksExecuted",
1152
- "outputs": [
1153
- {
1154
- "internalType": "uint256",
1155
- "name": "",
1156
- "type": "uint256"
1157
- }
1158
- ],
1159
- "stateMutability": "view",
1160
- "type": "function"
1161
- },
1162
- {
1163
- "inputs": [],
1164
- "name": "getTotalBlocksVerified",
1165
- "outputs": [
1166
- {
1167
- "internalType": "uint256",
1168
- "name": "",
1169
- "type": "uint256"
1170
- }
1171
- ],
1172
- "stateMutability": "view",
1173
- "type": "function"
1174
- },
1175
- {
1176
- "inputs": [],
1177
- "name": "getTotalPriorityTxs",
1178
- "outputs": [
1179
- {
1180
- "internalType": "uint256",
1181
- "name": "",
1182
- "type": "uint256"
1183
- }
1184
- ],
1185
- "stateMutability": "view",
1186
- "type": "function"
1187
- },
1188
- {
1189
- "inputs": [],
1190
- "name": "getUpgradeProposalState",
1191
- "outputs": [
1192
- {
1193
- "internalType": "enum UpgradeState",
1194
- "name": "",
1195
- "type": "uint8"
1196
- }
1197
- ],
1198
- "stateMutability": "view",
1199
- "type": "function"
1200
- },
1201
- {
1202
- "inputs": [],
1203
- "name": "getVerifier",
1204
- "outputs": [
1205
- {
1206
- "internalType": "address",
1207
- "name": "",
1208
- "type": "address"
1209
- }
1210
- ],
1211
- "stateMutability": "view",
1212
- "type": "function"
1213
- },
1214
- {
1215
- "inputs": [],
1216
- "name": "getVerifierParams",
1217
- "outputs": [
1218
- {
1219
- "components": [
1220
- {
1221
- "internalType": "bytes32",
1222
- "name": "recursionNodeLevelVkHash",
1223
- "type": "bytes32"
1224
- },
1225
- {
1226
- "internalType": "bytes32",
1227
- "name": "recursionLeafLevelVkHash",
1228
- "type": "bytes32"
1229
- },
1230
- {
1231
- "internalType": "bytes32",
1232
- "name": "recursionCircuitsSetVksHash",
1233
- "type": "bytes32"
1234
- }
1235
- ],
1236
- "internalType": "struct VerifierParams",
1237
- "name": "",
1238
- "type": "tuple"
1239
- }
1240
- ],
1241
- "stateMutability": "view",
1242
- "type": "function"
1243
- },
1244
- {
1245
- "inputs": [],
1246
- "name": "isApprovedBySecurityCouncil",
1247
- "outputs": [
1248
- {
1249
- "internalType": "bool",
1250
- "name": "",
1251
- "type": "bool"
1252
- }
1253
- ],
1254
- "stateMutability": "view",
1255
- "type": "function"
1256
- },
1257
- {
1258
- "inputs": [],
1259
- "name": "isDiamondStorageFrozen",
1260
- "outputs": [
1261
- {
1262
- "internalType": "bool",
1263
- "name": "",
1264
- "type": "bool"
1265
- }
1266
- ],
1267
- "stateMutability": "view",
1268
- "type": "function"
1269
- },
1270
- {
1271
- "inputs": [
1272
- {
1273
- "internalType": "uint256",
1274
- "name": "_l2BlockNumber",
1275
- "type": "uint256"
1276
- },
1277
- {
1278
- "internalType": "uint256",
1279
- "name": "_l2MessageIndex",
1280
- "type": "uint256"
1281
- }
1282
- ],
1283
- "name": "isEthWithdrawalFinalized",
1284
- "outputs": [
1285
- {
1286
- "internalType": "bool",
1287
- "name": "",
1288
- "type": "bool"
1289
- }
1290
- ],
1291
- "stateMutability": "view",
1292
- "type": "function"
1293
- },
1294
- {
1295
- "inputs": [
1296
- {
1297
- "internalType": "address",
1298
- "name": "_facet",
1299
- "type": "address"
1300
- }
1301
- ],
1302
- "name": "isFacetFreezable",
1303
- "outputs": [
1304
- {
1305
- "internalType": "bool",
1306
- "name": "isFreezable",
1307
- "type": "bool"
1308
- }
1309
- ],
1310
- "stateMutability": "view",
1311
- "type": "function"
1312
- },
1313
- {
1314
- "inputs": [
1315
- {
1316
- "internalType": "bytes4",
1317
- "name": "_selector",
1318
- "type": "bytes4"
1319
- }
1320
- ],
1321
- "name": "isFunctionFreezable",
1322
- "outputs": [
1323
- {
1324
- "internalType": "bool",
1325
- "name": "",
1326
- "type": "bool"
1327
- }
1328
- ],
1329
- "stateMutability": "view",
1330
- "type": "function"
1331
- },
1332
- {
1333
- "inputs": [
1334
- {
1335
- "internalType": "address",
1336
- "name": "_address",
1337
- "type": "address"
1338
- }
1339
- ],
1340
- "name": "isValidator",
1341
- "outputs": [
1342
- {
1343
- "internalType": "bool",
1344
- "name": "",
1345
- "type": "bool"
1346
- }
1347
- ],
1348
- "stateMutability": "view",
1349
- "type": "function"
1350
- },
1351
- {
1352
- "inputs": [
1353
- {
1354
- "internalType": "uint256",
1355
- "name": "_blockNumber",
1356
- "type": "uint256"
1357
- }
1358
- ],
1359
- "name": "l2LogsRootHash",
1360
- "outputs": [
1361
- {
1362
- "internalType": "bytes32",
1363
- "name": "hash",
1364
- "type": "bytes32"
1365
- }
1366
- ],
1367
- "stateMutability": "view",
1368
- "type": "function"
1369
- },
1370
- {
1371
- "inputs": [
1372
- {
1373
- "internalType": "uint256",
1374
- "name": "_gasPrice",
1375
- "type": "uint256"
1376
- },
1377
- {
1378
- "internalType": "uint256",
1379
- "name": "_l2GasLimit",
1380
- "type": "uint256"
1381
- },
1382
- {
1383
- "internalType": "uint256",
1384
- "name": "_l2GasPerPubdataByteLimit",
1385
- "type": "uint256"
1386
- }
1387
- ],
1388
- "name": "l2TransactionBaseCost",
1389
- "outputs": [
1390
- {
1391
- "internalType": "uint256",
1392
- "name": "",
1393
- "type": "uint256"
1394
- }
1395
- ],
1396
- "stateMutability": "view",
1397
- "type": "function"
1398
- },
1399
- {
1400
- "inputs": [],
1401
- "name": "priorityQueueFrontOperation",
1402
- "outputs": [
1403
- {
1404
- "components": [
1405
- {
1406
- "internalType": "bytes32",
1407
- "name": "canonicalTxHash",
1408
- "type": "bytes32"
1409
- },
1410
- {
1411
- "internalType": "uint64",
1412
- "name": "expirationTimestamp",
1413
- "type": "uint64"
1414
- },
1415
- {
1416
- "internalType": "uint192",
1417
- "name": "layer2Tip",
1418
- "type": "uint192"
1419
- }
1420
- ],
1421
- "internalType": "struct PriorityOperation",
1422
- "name": "",
1423
- "type": "tuple"
1424
- }
1425
- ],
1426
- "stateMutability": "view",
1427
- "type": "function"
1428
- },
1429
- {
1430
- "inputs": [
1431
- {
1432
- "internalType": "bytes32",
1433
- "name": "_proposalHash",
1434
- "type": "bytes32"
1435
- },
1436
- {
1437
- "internalType": "uint40",
1438
- "name": "_proposalId",
1439
- "type": "uint40"
1440
- }
1441
- ],
1442
- "name": "proposeShadowUpgrade",
1443
- "outputs": [],
1444
- "stateMutability": "nonpayable",
1445
- "type": "function"
1446
- },
1447
- {
1448
- "inputs": [
1449
- {
1450
- "components": [
1451
- {
1452
- "components": [
1453
- {
1454
- "internalType": "address",
1455
- "name": "facet",
1456
- "type": "address"
1457
- },
1458
- {
1459
- "internalType": "enum Diamond.Action",
1460
- "name": "action",
1461
- "type": "uint8"
1462
- },
1463
- {
1464
- "internalType": "bool",
1465
- "name": "isFreezable",
1466
- "type": "bool"
1467
- },
1468
- {
1469
- "internalType": "bytes4[]",
1470
- "name": "selectors",
1471
- "type": "bytes4[]"
1472
- }
1473
- ],
1474
- "internalType": "struct Diamond.FacetCut[]",
1475
- "name": "facetCuts",
1476
- "type": "tuple[]"
1477
- },
1478
- {
1479
- "internalType": "address",
1480
- "name": "initAddress",
1481
- "type": "address"
1482
- },
1483
- {
1484
- "internalType": "bytes",
1485
- "name": "initCalldata",
1486
- "type": "bytes"
1487
- }
1488
- ],
1489
- "internalType": "struct Diamond.DiamondCutData",
1490
- "name": "_diamondCut",
1491
- "type": "tuple"
1492
- },
1493
- {
1494
- "internalType": "uint40",
1495
- "name": "_proposalId",
1496
- "type": "uint40"
1497
- }
1498
- ],
1499
- "name": "proposeTransparentUpgrade",
1500
- "outputs": [],
1501
- "stateMutability": "nonpayable",
1502
- "type": "function"
1503
- },
1504
- {
1505
- "inputs": [
1506
- {
1507
- "components": [
1508
- {
1509
- "internalType": "uint64",
1510
- "name": "blockNumber",
1511
- "type": "uint64"
1512
- },
1513
- {
1514
- "internalType": "bytes32",
1515
- "name": "blockHash",
1516
- "type": "bytes32"
1517
- },
1518
- {
1519
- "internalType": "uint64",
1520
- "name": "indexRepeatedStorageChanges",
1521
- "type": "uint64"
1522
- },
1523
- {
1524
- "internalType": "uint256",
1525
- "name": "numberOfLayer1Txs",
1526
- "type": "uint256"
1527
- },
1528
- {
1529
- "internalType": "bytes32",
1530
- "name": "priorityOperationsHash",
1531
- "type": "bytes32"
1532
- },
1533
- {
1534
- "internalType": "bytes32",
1535
- "name": "l2LogsTreeRoot",
1536
- "type": "bytes32"
1537
- },
1538
- {
1539
- "internalType": "uint256",
1540
- "name": "timestamp",
1541
- "type": "uint256"
1542
- },
1543
- {
1544
- "internalType": "bytes32",
1545
- "name": "commitment",
1546
- "type": "bytes32"
1547
- }
1548
- ],
1549
- "internalType": "struct IExecutor.StoredBlockInfo",
1550
- "name": "_prevBlock",
1551
- "type": "tuple"
1552
- },
1553
- {
1554
- "components": [
1555
- {
1556
- "internalType": "uint64",
1557
- "name": "blockNumber",
1558
- "type": "uint64"
1559
- },
1560
- {
1561
- "internalType": "bytes32",
1562
- "name": "blockHash",
1563
- "type": "bytes32"
1564
- },
1565
- {
1566
- "internalType": "uint64",
1567
- "name": "indexRepeatedStorageChanges",
1568
- "type": "uint64"
1569
- },
1570
- {
1571
- "internalType": "uint256",
1572
- "name": "numberOfLayer1Txs",
1573
- "type": "uint256"
1574
- },
1575
- {
1576
- "internalType": "bytes32",
1577
- "name": "priorityOperationsHash",
1578
- "type": "bytes32"
1579
- },
1580
- {
1581
- "internalType": "bytes32",
1582
- "name": "l2LogsTreeRoot",
1583
- "type": "bytes32"
1584
- },
1585
- {
1586
- "internalType": "uint256",
1587
- "name": "timestamp",
1588
- "type": "uint256"
1589
- },
1590
- {
1591
- "internalType": "bytes32",
1592
- "name": "commitment",
1593
- "type": "bytes32"
1594
- }
1595
- ],
1596
- "internalType": "struct IExecutor.StoredBlockInfo[]",
1597
- "name": "_committedBlocks",
1598
- "type": "tuple[]"
1599
- },
1600
- {
1601
- "components": [
1602
- {
1603
- "internalType": "uint256[]",
1604
- "name": "recursiveAggregationInput",
1605
- "type": "uint256[]"
1606
- },
1607
- {
1608
- "internalType": "uint256[]",
1609
- "name": "serializedProof",
1610
- "type": "uint256[]"
1611
- }
1612
- ],
1613
- "internalType": "struct IExecutor.ProofInput",
1614
- "name": "_proof",
1615
- "type": "tuple"
1616
- }
1617
- ],
1618
- "name": "proveBlocks",
1619
- "outputs": [],
1620
- "stateMutability": "nonpayable",
1621
- "type": "function"
1622
- },
1623
- {
1624
- "inputs": [
1625
- {
1626
- "internalType": "bytes32",
1627
- "name": "_l2TxHash",
1628
- "type": "bytes32"
1629
- },
1630
- {
1631
- "internalType": "uint256",
1632
- "name": "_l2BlockNumber",
1633
- "type": "uint256"
1634
- },
1635
- {
1636
- "internalType": "uint256",
1637
- "name": "_l2MessageIndex",
1638
- "type": "uint256"
1639
- },
1640
- {
1641
- "internalType": "uint16",
1642
- "name": "_l2TxNumberInBlock",
1643
- "type": "uint16"
1644
- },
1645
- {
1646
- "internalType": "bytes32[]",
1647
- "name": "_merkleProof",
1648
- "type": "bytes32[]"
1649
- },
1650
- {
1651
- "internalType": "enum TxStatus",
1652
- "name": "_status",
1653
- "type": "uint8"
1654
- }
1655
- ],
1656
- "name": "proveL1ToL2TransactionStatus",
1657
- "outputs": [
1658
- {
1659
- "internalType": "bool",
1660
- "name": "",
1661
- "type": "bool"
1662
- }
1663
- ],
1664
- "stateMutability": "view",
1665
- "type": "function"
1666
- },
1667
- {
1668
- "inputs": [
1669
- {
1670
- "internalType": "uint256",
1671
- "name": "_blockNumber",
1672
- "type": "uint256"
1673
- },
1674
- {
1675
- "internalType": "uint256",
1676
- "name": "_index",
1677
- "type": "uint256"
1678
- },
1679
- {
1680
- "components": [
1681
- {
1682
- "internalType": "uint8",
1683
- "name": "l2ShardId",
1684
- "type": "uint8"
1685
- },
1686
- {
1687
- "internalType": "bool",
1688
- "name": "isService",
1689
- "type": "bool"
1690
- },
1691
- {
1692
- "internalType": "uint16",
1693
- "name": "txNumberInBlock",
1694
- "type": "uint16"
1695
- },
1696
- {
1697
- "internalType": "address",
1698
- "name": "sender",
1699
- "type": "address"
1700
- },
1701
- {
1702
- "internalType": "bytes32",
1703
- "name": "key",
1704
- "type": "bytes32"
1705
- },
1706
- {
1707
- "internalType": "bytes32",
1708
- "name": "value",
1709
- "type": "bytes32"
1710
- }
1711
- ],
1712
- "internalType": "struct L2Log",
1713
- "name": "_log",
1714
- "type": "tuple"
1715
- },
1716
- {
1717
- "internalType": "bytes32[]",
1718
- "name": "_proof",
1719
- "type": "bytes32[]"
1720
- }
1721
- ],
1722
- "name": "proveL2LogInclusion",
1723
- "outputs": [
1724
- {
1725
- "internalType": "bool",
1726
- "name": "",
1727
- "type": "bool"
1728
- }
1729
- ],
1730
- "stateMutability": "view",
1731
- "type": "function"
1732
- },
1733
- {
1734
- "inputs": [
1735
- {
1736
- "internalType": "uint256",
1737
- "name": "_blockNumber",
1738
- "type": "uint256"
1739
- },
1740
- {
1741
- "internalType": "uint256",
1742
- "name": "_index",
1743
- "type": "uint256"
1744
- },
1745
- {
1746
- "components": [
1747
- {
1748
- "internalType": "uint16",
1749
- "name": "txNumberInBlock",
1750
- "type": "uint16"
1751
- },
1752
- {
1753
- "internalType": "address",
1754
- "name": "sender",
1755
- "type": "address"
1756
- },
1757
- {
1758
- "internalType": "bytes",
1759
- "name": "data",
1760
- "type": "bytes"
1761
- }
1762
- ],
1763
- "internalType": "struct L2Message",
1764
- "name": "_message",
1765
- "type": "tuple"
1766
- },
1767
- {
1768
- "internalType": "bytes32[]",
1769
- "name": "_proof",
1770
- "type": "bytes32[]"
1771
- }
1772
- ],
1773
- "name": "proveL2MessageInclusion",
1774
- "outputs": [
1775
- {
1776
- "internalType": "bool",
1777
- "name": "",
1778
- "type": "bool"
1779
- }
1780
- ],
1781
- "stateMutability": "view",
1782
- "type": "function"
1783
- },
1784
- {
1785
- "inputs": [
1786
- {
1787
- "internalType": "address",
1788
- "name": "_contractL2",
1789
- "type": "address"
1790
- },
1791
- {
1792
- "internalType": "uint256",
1793
- "name": "_l2Value",
1794
- "type": "uint256"
1795
- },
1796
- {
1797
- "internalType": "bytes",
1798
- "name": "_calldata",
1799
- "type": "bytes"
1800
- },
1801
- {
1802
- "internalType": "uint256",
1803
- "name": "_l2GasLimit",
1804
- "type": "uint256"
1805
- },
1806
- {
1807
- "internalType": "uint256",
1808
- "name": "_l2GasPerPubdataByteLimit",
1809
- "type": "uint256"
1810
- },
1811
- {
1812
- "internalType": "bytes[]",
1813
- "name": "_factoryDeps",
1814
- "type": "bytes[]"
1815
- },
1816
- {
1817
- "internalType": "address",
1818
- "name": "_refundRecipient",
1819
- "type": "address"
1820
- }
1821
- ],
1822
- "name": "requestL2Transaction",
1823
- "outputs": [
1824
- {
1825
- "internalType": "bytes32",
1826
- "name": "canonicalTxHash",
1827
- "type": "bytes32"
1828
- }
1829
- ],
1830
- "stateMutability": "payable",
1831
- "type": "function"
1832
- },
1833
- {
1834
- "inputs": [
1835
- {
1836
- "internalType": "uint256",
1837
- "name": "_newLastBlock",
1838
- "type": "uint256"
1839
- }
1840
- ],
1841
- "name": "revertBlocks",
1842
- "outputs": [],
1843
- "stateMutability": "nonpayable",
1844
- "type": "function"
1845
- },
1846
- {
1847
- "inputs": [
1848
- {
1849
- "internalType": "bytes32",
1850
- "name": "_upgradeProposalHash",
1851
- "type": "bytes32"
1852
- }
1853
- ],
1854
- "name": "securityCouncilUpgradeApprove",
1855
- "outputs": [],
1856
- "stateMutability": "nonpayable",
1857
- "type": "function"
1858
- },
1859
- {
1860
- "inputs": [
1861
- {
1862
- "internalType": "contract IAllowList",
1863
- "name": "_newAllowList",
1864
- "type": "address"
1865
- }
1866
- ],
1867
- "name": "setAllowList",
1868
- "outputs": [],
1869
- "stateMutability": "nonpayable",
1870
- "type": "function"
1871
- },
1872
- {
1873
- "inputs": [
1874
- {
1875
- "internalType": "bytes32",
1876
- "name": "_l2BootloaderBytecodeHash",
1877
- "type": "bytes32"
1878
- }
1879
- ],
1880
- "name": "setL2BootloaderBytecodeHash",
1881
- "outputs": [],
1882
- "stateMutability": "nonpayable",
1883
- "type": "function"
1884
- },
1885
- {
1886
- "inputs": [
1887
- {
1888
- "internalType": "bytes32",
1889
- "name": "_l2DefaultAccountBytecodeHash",
1890
- "type": "bytes32"
1891
- }
1892
- ],
1893
- "name": "setL2DefaultAccountBytecodeHash",
1894
- "outputs": [],
1895
- "stateMutability": "nonpayable",
1896
- "type": "function"
1897
- },
1898
- {
1899
- "inputs": [
1900
- {
1901
- "internalType": "address",
1902
- "name": "_newPendingGovernor",
1903
- "type": "address"
1904
- }
1905
- ],
1906
- "name": "setPendingGovernor",
1907
- "outputs": [],
1908
- "stateMutability": "nonpayable",
1909
- "type": "function"
1910
- },
1911
- {
1912
- "inputs": [
1913
- {
1914
- "internalType": "bool",
1915
- "name": "_zkPorterIsAvailable",
1916
- "type": "bool"
1917
- }
1918
- ],
1919
- "name": "setPorterAvailability",
1920
- "outputs": [],
1921
- "stateMutability": "nonpayable",
1922
- "type": "function"
1923
- },
1924
- {
1925
- "inputs": [
1926
- {
1927
- "internalType": "uint256",
1928
- "name": "_newPriorityTxMaxGasLimit",
1929
- "type": "uint256"
1930
- }
1931
- ],
1932
- "name": "setPriorityTxMaxGasLimit",
1933
- "outputs": [],
1934
- "stateMutability": "nonpayable",
1935
- "type": "function"
1936
- },
1937
- {
1938
- "inputs": [
1939
- {
1940
- "internalType": "address",
1941
- "name": "_validator",
1942
- "type": "address"
1943
- },
1944
- {
1945
- "internalType": "bool",
1946
- "name": "_active",
1947
- "type": "bool"
1948
- }
1949
- ],
1950
- "name": "setValidator",
1951
- "outputs": [],
1952
- "stateMutability": "nonpayable",
1953
- "type": "function"
1954
- },
1955
- {
1956
- "inputs": [
1957
- {
1958
- "internalType": "contract Verifier",
1959
- "name": "_newVerifier",
1960
- "type": "address"
1961
- }
1962
- ],
1963
- "name": "setVerifier",
1964
- "outputs": [],
1965
- "stateMutability": "nonpayable",
1966
- "type": "function"
1967
- },
1968
- {
1969
- "inputs": [
1970
- {
1971
- "components": [
1972
- {
1973
- "internalType": "bytes32",
1974
- "name": "recursionNodeLevelVkHash",
1975
- "type": "bytes32"
1976
- },
1977
- {
1978
- "internalType": "bytes32",
1979
- "name": "recursionLeafLevelVkHash",
1980
- "type": "bytes32"
1981
- },
1982
- {
1983
- "internalType": "bytes32",
1984
- "name": "recursionCircuitsSetVksHash",
1985
- "type": "bytes32"
1986
- }
1987
- ],
1988
- "internalType": "struct VerifierParams",
1989
- "name": "_newVerifierParams",
1990
- "type": "tuple"
1991
- }
1992
- ],
1993
- "name": "setVerifierParams",
1994
- "outputs": [],
1995
- "stateMutability": "nonpayable",
1996
- "type": "function"
1997
- },
1998
- {
1999
- "inputs": [
2000
- {
2001
- "internalType": "uint256",
2002
- "name": "_blockNumber",
2003
- "type": "uint256"
2004
- }
2005
- ],
2006
- "name": "storedBlockHash",
2007
- "outputs": [
2008
- {
2009
- "internalType": "bytes32",
2010
- "name": "",
2011
- "type": "bytes32"
2012
- }
2013
- ],
2014
- "stateMutability": "view",
2015
- "type": "function"
2016
- },
2017
- {
2018
- "inputs": [],
2019
- "name": "unfreezeDiamond",
2020
- "outputs": [],
2021
- "stateMutability": "nonpayable",
2022
- "type": "function"
2023
- },
2024
- {
2025
- "inputs": [
2026
- {
2027
- "components": [
2028
- {
2029
- "components": [
2030
- {
2031
- "internalType": "address",
2032
- "name": "facet",
2033
- "type": "address"
2034
- },
2035
- {
2036
- "internalType": "enum Diamond.Action",
2037
- "name": "action",
2038
- "type": "uint8"
2039
- },
2040
- {
2041
- "internalType": "bool",
2042
- "name": "isFreezable",
2043
- "type": "bool"
2044
- },
2045
- {
2046
- "internalType": "bytes4[]",
2047
- "name": "selectors",
2048
- "type": "bytes4[]"
2049
- }
2050
- ],
2051
- "internalType": "struct Diamond.FacetCut[]",
2052
- "name": "facetCuts",
2053
- "type": "tuple[]"
2054
- },
2055
- {
2056
- "internalType": "address",
2057
- "name": "initAddress",
2058
- "type": "address"
2059
- },
2060
- {
2061
- "internalType": "bytes",
2062
- "name": "initCalldata",
2063
- "type": "bytes"
2064
- }
2065
- ],
2066
- "internalType": "struct Diamond.DiamondCutData",
2067
- "name": "_diamondCut",
2068
- "type": "tuple"
2069
- },
2070
- {
2071
- "internalType": "uint256",
2072
- "name": "_proposalId",
2073
- "type": "uint256"
2074
- },
2075
- {
2076
- "internalType": "bytes32",
2077
- "name": "_salt",
2078
- "type": "bytes32"
2079
- }
2080
- ],
2081
- "name": "upgradeProposalHash",
2082
- "outputs": [
2083
- {
2084
- "internalType": "bytes32",
2085
- "name": "",
2086
- "type": "bytes32"
2087
- }
2088
- ],
2089
- "stateMutability": "pure",
2090
- "type": "function"
2091
- }
2092
- ]