viem 2.22.5 → 2.22.7

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 (98) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +8 -2
  3. package/_cjs/chains/definitions/huddle01Mainnet.js +29 -0
  4. package/_cjs/chains/definitions/huddle01Mainnet.js.map +1 -0
  5. package/_cjs/chains/definitions/huddle01Testnet.js +29 -0
  6. package/_cjs/chains/definitions/huddle01Testnet.js.map +1 -0
  7. package/_cjs/chains/definitions/kroma.js +6 -0
  8. package/_cjs/chains/definitions/kroma.js.map +1 -1
  9. package/_cjs/chains/definitions/kromaSepolia.js +6 -0
  10. package/_cjs/chains/definitions/kromaSepolia.js.map +1 -1
  11. package/_cjs/chains/index.js +11 -7
  12. package/_cjs/chains/index.js.map +1 -1
  13. package/_cjs/errors/version.js +1 -1
  14. package/_cjs/experimental/eip7702/actions/prepareAuthorization.js +9 -8
  15. package/_cjs/experimental/eip7702/actions/prepareAuthorization.js.map +1 -1
  16. package/_cjs/zksync/actions/requestExecute.js +112 -0
  17. package/_cjs/zksync/actions/requestExecute.js.map +1 -0
  18. package/_cjs/zksync/constants/abis.js +3039 -1
  19. package/_cjs/zksync/constants/abis.js.map +1 -1
  20. package/_cjs/zksync/constants/number.js +2 -1
  21. package/_cjs/zksync/constants/number.js.map +1 -1
  22. package/_cjs/zksync/decorators/walletL1.js +10 -0
  23. package/_cjs/zksync/decorators/walletL1.js.map +1 -0
  24. package/_cjs/zksync/errors/bridge.js +24 -0
  25. package/_cjs/zksync/errors/bridge.js.map +1 -0
  26. package/_cjs/zksync/index.js +8 -1
  27. package/_cjs/zksync/index.js.map +1 -1
  28. package/_cjs/zksync/utils/bridge/getL2HashFromPriorityOp.js +28 -0
  29. package/_cjs/zksync/utils/bridge/getL2HashFromPriorityOp.js.map +1 -0
  30. package/_esm/chains/definitions/huddle01Mainnet.js +26 -0
  31. package/_esm/chains/definitions/huddle01Mainnet.js.map +1 -0
  32. package/_esm/chains/definitions/huddle01Testnet.js +26 -0
  33. package/_esm/chains/definitions/huddle01Testnet.js.map +1 -0
  34. package/_esm/chains/definitions/kroma.js +6 -0
  35. package/_esm/chains/definitions/kroma.js.map +1 -1
  36. package/_esm/chains/definitions/kromaSepolia.js +6 -0
  37. package/_esm/chains/definitions/kromaSepolia.js.map +1 -1
  38. package/_esm/chains/index.js +4 -1
  39. package/_esm/chains/index.js.map +1 -1
  40. package/_esm/errors/version.js +1 -1
  41. package/_esm/experimental/eip7702/actions/prepareAuthorization.js +9 -8
  42. package/_esm/experimental/eip7702/actions/prepareAuthorization.js.map +1 -1
  43. package/_esm/zksync/actions/requestExecute.js +167 -0
  44. package/_esm/zksync/actions/requestExecute.js.map +1 -0
  45. package/_esm/zksync/constants/abis.js +3038 -0
  46. package/_esm/zksync/constants/abis.js.map +1 -1
  47. package/_esm/zksync/constants/number.js +1 -0
  48. package/_esm/zksync/constants/number.js.map +1 -1
  49. package/_esm/zksync/decorators/walletL1.js +7 -0
  50. package/_esm/zksync/decorators/walletL1.js.map +1 -0
  51. package/_esm/zksync/errors/bridge.js +19 -0
  52. package/_esm/zksync/errors/bridge.js.map +1 -0
  53. package/_esm/zksync/index.js +3 -0
  54. package/_esm/zksync/index.js.map +1 -1
  55. package/_esm/zksync/utils/bridge/getL2HashFromPriorityOp.js +53 -0
  56. package/_esm/zksync/utils/bridge/getL2HashFromPriorityOp.js.map +1 -0
  57. package/_types/chains/definitions/huddle01Mainnet.d.ts +39 -0
  58. package/_types/chains/definitions/huddle01Mainnet.d.ts.map +1 -0
  59. package/_types/chains/definitions/huddle01Testnet.d.ts +39 -0
  60. package/_types/chains/definitions/huddle01Testnet.d.ts.map +1 -0
  61. package/_types/chains/definitions/kroma.d.ts +6 -10
  62. package/_types/chains/definitions/kroma.d.ts.map +1 -1
  63. package/_types/chains/definitions/kromaSepolia.d.ts +6 -10
  64. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
  65. package/_types/chains/index.d.ts +4 -1
  66. package/_types/chains/index.d.ts.map +1 -1
  67. package/_types/errors/version.d.ts +1 -1
  68. package/_types/experimental/eip7702/actions/prepareAuthorization.d.ts +5 -1
  69. package/_types/experimental/eip7702/actions/prepareAuthorization.d.ts.map +1 -1
  70. package/_types/zksync/actions/requestExecute.d.ts +95 -0
  71. package/_types/zksync/actions/requestExecute.d.ts.map +1 -0
  72. package/_types/zksync/constants/abis.d.ts +2356 -0
  73. package/_types/zksync/constants/abis.d.ts.map +1 -1
  74. package/_types/zksync/constants/number.d.ts +1 -0
  75. package/_types/zksync/constants/number.d.ts.map +1 -1
  76. package/_types/zksync/decorators/walletL1.d.ts +41 -0
  77. package/_types/zksync/decorators/walletL1.d.ts.map +1 -0
  78. package/_types/zksync/errors/bridge.d.ts +14 -0
  79. package/_types/zksync/errors/bridge.d.ts.map +1 -0
  80. package/_types/zksync/index.d.ts +3 -0
  81. package/_types/zksync/index.d.ts.map +1 -1
  82. package/_types/zksync/utils/bridge/getL2HashFromPriorityOp.d.ts +34 -0
  83. package/_types/zksync/utils/bridge/getL2HashFromPriorityOp.d.ts.map +1 -0
  84. package/chains/definitions/huddle01Mainnet.ts +27 -0
  85. package/chains/definitions/huddle01Testnet.ts +27 -0
  86. package/chains/definitions/kroma.ts +6 -0
  87. package/chains/definitions/kromaSepolia.ts +6 -0
  88. package/chains/index.ts +4 -1
  89. package/errors/version.ts +1 -1
  90. package/experimental/eip7702/actions/prepareAuthorization.ts +11 -7
  91. package/package.json +1 -1
  92. package/zksync/actions/requestExecute.ts +282 -0
  93. package/zksync/constants/abis.ts +3040 -0
  94. package/zksync/constants/number.ts +1 -0
  95. package/zksync/decorators/walletL1.ts +71 -0
  96. package/zksync/errors/bridge.ts +29 -0
  97. package/zksync/index.ts +15 -0
  98. package/zksync/utils/bridge/getL2HashFromPriorityOp.ts +63 -0
@@ -646,3 +646,3043 @@ export const l2SharedBridgeAbi = [
646
646
  type: 'function',
647
647
  },
648
648
  ] as const
649
+
650
+ export const bridgehubAbi = [
651
+ {
652
+ anonymous: false,
653
+ inputs: [
654
+ {
655
+ indexed: true,
656
+ internalType: 'address',
657
+ name: 'oldAdmin',
658
+ type: 'address',
659
+ },
660
+ {
661
+ indexed: true,
662
+ internalType: 'address',
663
+ name: 'newAdmin',
664
+ type: 'address',
665
+ },
666
+ ],
667
+ name: 'NewAdmin',
668
+ type: 'event',
669
+ },
670
+ {
671
+ anonymous: false,
672
+ inputs: [
673
+ {
674
+ indexed: true,
675
+ internalType: 'uint256',
676
+ name: 'chainId',
677
+ type: 'uint256',
678
+ },
679
+ {
680
+ indexed: false,
681
+ internalType: 'address',
682
+ name: 'stateTransitionManager',
683
+ type: 'address',
684
+ },
685
+ {
686
+ indexed: true,
687
+ internalType: 'address',
688
+ name: 'chainGovernance',
689
+ type: 'address',
690
+ },
691
+ ],
692
+ name: 'NewChain',
693
+ type: 'event',
694
+ },
695
+ {
696
+ anonymous: false,
697
+ inputs: [
698
+ {
699
+ indexed: true,
700
+ internalType: 'address',
701
+ name: 'oldPendingAdmin',
702
+ type: 'address',
703
+ },
704
+ {
705
+ indexed: true,
706
+ internalType: 'address',
707
+ name: 'newPendingAdmin',
708
+ type: 'address',
709
+ },
710
+ ],
711
+ name: 'NewPendingAdmin',
712
+ type: 'event',
713
+ },
714
+ {
715
+ inputs: [],
716
+ name: 'acceptAdmin',
717
+ outputs: [],
718
+ stateMutability: 'nonpayable',
719
+ type: 'function',
720
+ },
721
+ {
722
+ inputs: [
723
+ {
724
+ internalType: 'address',
725
+ name: '_stateTransitionManager',
726
+ type: 'address',
727
+ },
728
+ ],
729
+ name: 'addStateTransitionManager',
730
+ outputs: [],
731
+ stateMutability: 'nonpayable',
732
+ type: 'function',
733
+ },
734
+ {
735
+ inputs: [
736
+ {
737
+ internalType: 'address',
738
+ name: '_token',
739
+ type: 'address',
740
+ },
741
+ ],
742
+ name: 'addToken',
743
+ outputs: [],
744
+ stateMutability: 'nonpayable',
745
+ type: 'function',
746
+ },
747
+ {
748
+ inputs: [
749
+ {
750
+ internalType: 'uint256',
751
+ name: '_chainId',
752
+ type: 'uint256',
753
+ },
754
+ ],
755
+ name: 'baseToken',
756
+ outputs: [
757
+ {
758
+ internalType: 'address',
759
+ name: '',
760
+ type: 'address',
761
+ },
762
+ ],
763
+ stateMutability: 'view',
764
+ type: 'function',
765
+ },
766
+ {
767
+ inputs: [
768
+ {
769
+ internalType: 'uint256',
770
+ name: '_chainId',
771
+ type: 'uint256',
772
+ },
773
+ {
774
+ internalType: 'address',
775
+ name: '_stateTransitionManager',
776
+ type: 'address',
777
+ },
778
+ {
779
+ internalType: 'address',
780
+ name: '_baseToken',
781
+ type: 'address',
782
+ },
783
+ {
784
+ internalType: 'uint256',
785
+ name: '_salt',
786
+ type: 'uint256',
787
+ },
788
+ {
789
+ internalType: 'address',
790
+ name: '_admin',
791
+ type: 'address',
792
+ },
793
+ {
794
+ internalType: 'bytes',
795
+ name: '_initData',
796
+ type: 'bytes',
797
+ },
798
+ ],
799
+ name: 'createNewChain',
800
+ outputs: [
801
+ {
802
+ internalType: 'uint256',
803
+ name: 'chainId',
804
+ type: 'uint256',
805
+ },
806
+ ],
807
+ stateMutability: 'nonpayable',
808
+ type: 'function',
809
+ },
810
+ {
811
+ inputs: [
812
+ {
813
+ internalType: 'uint256',
814
+ name: '_chainId',
815
+ type: 'uint256',
816
+ },
817
+ ],
818
+ name: 'getHyperchain',
819
+ outputs: [
820
+ {
821
+ internalType: 'address',
822
+ name: '',
823
+ type: 'address',
824
+ },
825
+ ],
826
+ stateMutability: 'view',
827
+ type: 'function',
828
+ },
829
+ {
830
+ inputs: [
831
+ {
832
+ internalType: 'uint256',
833
+ name: '_chainId',
834
+ type: 'uint256',
835
+ },
836
+ {
837
+ internalType: 'uint256',
838
+ name: '_gasPrice',
839
+ type: 'uint256',
840
+ },
841
+ {
842
+ internalType: 'uint256',
843
+ name: '_l2GasLimit',
844
+ type: 'uint256',
845
+ },
846
+ {
847
+ internalType: 'uint256',
848
+ name: '_l2GasPerPubdataByteLimit',
849
+ type: 'uint256',
850
+ },
851
+ ],
852
+ name: 'l2TransactionBaseCost',
853
+ outputs: [
854
+ {
855
+ internalType: 'uint256',
856
+ name: '',
857
+ type: 'uint256',
858
+ },
859
+ ],
860
+ stateMutability: 'view',
861
+ type: 'function',
862
+ },
863
+ {
864
+ inputs: [
865
+ {
866
+ internalType: 'uint256',
867
+ name: '_chainId',
868
+ type: 'uint256',
869
+ },
870
+ {
871
+ internalType: 'bytes32',
872
+ name: '_l2TxHash',
873
+ type: 'bytes32',
874
+ },
875
+ {
876
+ internalType: 'uint256',
877
+ name: '_l2BatchNumber',
878
+ type: 'uint256',
879
+ },
880
+ {
881
+ internalType: 'uint256',
882
+ name: '_l2MessageIndex',
883
+ type: 'uint256',
884
+ },
885
+ {
886
+ internalType: 'uint16',
887
+ name: '_l2TxNumberInBatch',
888
+ type: 'uint16',
889
+ },
890
+ {
891
+ internalType: 'bytes32[]',
892
+ name: '_merkleProof',
893
+ type: 'bytes32[]',
894
+ },
895
+ {
896
+ internalType: 'enum TxStatus',
897
+ name: '_status',
898
+ type: 'uint8',
899
+ },
900
+ ],
901
+ name: 'proveL1ToL2TransactionStatus',
902
+ outputs: [
903
+ {
904
+ internalType: 'bool',
905
+ name: '',
906
+ type: 'bool',
907
+ },
908
+ ],
909
+ stateMutability: 'view',
910
+ type: 'function',
911
+ },
912
+ {
913
+ inputs: [
914
+ {
915
+ internalType: 'uint256',
916
+ name: '_chainId',
917
+ type: 'uint256',
918
+ },
919
+ {
920
+ internalType: 'uint256',
921
+ name: '_batchNumber',
922
+ type: 'uint256',
923
+ },
924
+ {
925
+ internalType: 'uint256',
926
+ name: '_index',
927
+ type: 'uint256',
928
+ },
929
+ {
930
+ components: [
931
+ {
932
+ internalType: 'uint8',
933
+ name: 'l2ShardId',
934
+ type: 'uint8',
935
+ },
936
+ {
937
+ internalType: 'bool',
938
+ name: 'isService',
939
+ type: 'bool',
940
+ },
941
+ {
942
+ internalType: 'uint16',
943
+ name: 'txNumberInBatch',
944
+ type: 'uint16',
945
+ },
946
+ {
947
+ internalType: 'address',
948
+ name: 'sender',
949
+ type: 'address',
950
+ },
951
+ {
952
+ internalType: 'bytes32',
953
+ name: 'key',
954
+ type: 'bytes32',
955
+ },
956
+ {
957
+ internalType: 'bytes32',
958
+ name: 'value',
959
+ type: 'bytes32',
960
+ },
961
+ ],
962
+ internalType: 'struct L2Log',
963
+ name: '_log',
964
+ type: 'tuple',
965
+ },
966
+ {
967
+ internalType: 'bytes32[]',
968
+ name: '_proof',
969
+ type: 'bytes32[]',
970
+ },
971
+ ],
972
+ name: 'proveL2LogInclusion',
973
+ outputs: [
974
+ {
975
+ internalType: 'bool',
976
+ name: '',
977
+ type: 'bool',
978
+ },
979
+ ],
980
+ stateMutability: 'view',
981
+ type: 'function',
982
+ },
983
+ {
984
+ inputs: [
985
+ {
986
+ internalType: 'uint256',
987
+ name: '_chainId',
988
+ type: 'uint256',
989
+ },
990
+ {
991
+ internalType: 'uint256',
992
+ name: '_batchNumber',
993
+ type: 'uint256',
994
+ },
995
+ {
996
+ internalType: 'uint256',
997
+ name: '_index',
998
+ type: 'uint256',
999
+ },
1000
+ {
1001
+ components: [
1002
+ {
1003
+ internalType: 'uint16',
1004
+ name: 'txNumberInBatch',
1005
+ type: 'uint16',
1006
+ },
1007
+ {
1008
+ internalType: 'address',
1009
+ name: 'sender',
1010
+ type: 'address',
1011
+ },
1012
+ {
1013
+ internalType: 'bytes',
1014
+ name: 'data',
1015
+ type: 'bytes',
1016
+ },
1017
+ ],
1018
+ internalType: 'struct L2Message',
1019
+ name: '_message',
1020
+ type: 'tuple',
1021
+ },
1022
+ {
1023
+ internalType: 'bytes32[]',
1024
+ name: '_proof',
1025
+ type: 'bytes32[]',
1026
+ },
1027
+ ],
1028
+ name: 'proveL2MessageInclusion',
1029
+ outputs: [
1030
+ {
1031
+ internalType: 'bool',
1032
+ name: '',
1033
+ type: 'bool',
1034
+ },
1035
+ ],
1036
+ stateMutability: 'view',
1037
+ type: 'function',
1038
+ },
1039
+ {
1040
+ inputs: [
1041
+ {
1042
+ internalType: 'address',
1043
+ name: '_stateTransitionManager',
1044
+ type: 'address',
1045
+ },
1046
+ ],
1047
+ name: 'removeStateTransitionManager',
1048
+ outputs: [],
1049
+ stateMutability: 'nonpayable',
1050
+ type: 'function',
1051
+ },
1052
+ {
1053
+ inputs: [
1054
+ {
1055
+ components: [
1056
+ {
1057
+ internalType: 'uint256',
1058
+ name: 'chainId',
1059
+ type: 'uint256',
1060
+ },
1061
+ {
1062
+ internalType: 'uint256',
1063
+ name: 'mintValue',
1064
+ type: 'uint256',
1065
+ },
1066
+ {
1067
+ internalType: 'address',
1068
+ name: 'l2Contract',
1069
+ type: 'address',
1070
+ },
1071
+ {
1072
+ internalType: 'uint256',
1073
+ name: 'l2Value',
1074
+ type: 'uint256',
1075
+ },
1076
+ {
1077
+ internalType: 'bytes',
1078
+ name: 'l2Calldata',
1079
+ type: 'bytes',
1080
+ },
1081
+ {
1082
+ internalType: 'uint256',
1083
+ name: 'l2GasLimit',
1084
+ type: 'uint256',
1085
+ },
1086
+ {
1087
+ internalType: 'uint256',
1088
+ name: 'l2GasPerPubdataByteLimit',
1089
+ type: 'uint256',
1090
+ },
1091
+ {
1092
+ internalType: 'bytes[]',
1093
+ name: 'factoryDeps',
1094
+ type: 'bytes[]',
1095
+ },
1096
+ {
1097
+ internalType: 'address',
1098
+ name: 'refundRecipient',
1099
+ type: 'address',
1100
+ },
1101
+ ],
1102
+ internalType: 'struct L2TransactionRequestDirect',
1103
+ name: '_request',
1104
+ type: 'tuple',
1105
+ },
1106
+ ],
1107
+ name: 'requestL2TransactionDirect',
1108
+ outputs: [
1109
+ {
1110
+ internalType: 'bytes32',
1111
+ name: 'canonicalTxHash',
1112
+ type: 'bytes32',
1113
+ },
1114
+ ],
1115
+ stateMutability: 'payable',
1116
+ type: 'function',
1117
+ },
1118
+ {
1119
+ inputs: [
1120
+ {
1121
+ components: [
1122
+ {
1123
+ internalType: 'uint256',
1124
+ name: 'chainId',
1125
+ type: 'uint256',
1126
+ },
1127
+ {
1128
+ internalType: 'uint256',
1129
+ name: 'mintValue',
1130
+ type: 'uint256',
1131
+ },
1132
+ {
1133
+ internalType: 'uint256',
1134
+ name: 'l2Value',
1135
+ type: 'uint256',
1136
+ },
1137
+ {
1138
+ internalType: 'uint256',
1139
+ name: 'l2GasLimit',
1140
+ type: 'uint256',
1141
+ },
1142
+ {
1143
+ internalType: 'uint256',
1144
+ name: 'l2GasPerPubdataByteLimit',
1145
+ type: 'uint256',
1146
+ },
1147
+ {
1148
+ internalType: 'address',
1149
+ name: 'refundRecipient',
1150
+ type: 'address',
1151
+ },
1152
+ {
1153
+ internalType: 'address',
1154
+ name: 'secondBridgeAddress',
1155
+ type: 'address',
1156
+ },
1157
+ {
1158
+ internalType: 'uint256',
1159
+ name: 'secondBridgeValue',
1160
+ type: 'uint256',
1161
+ },
1162
+ {
1163
+ internalType: 'bytes',
1164
+ name: 'secondBridgeCalldata',
1165
+ type: 'bytes',
1166
+ },
1167
+ ],
1168
+ internalType: 'struct L2TransactionRequestTwoBridgesOuter',
1169
+ name: '_request',
1170
+ type: 'tuple',
1171
+ },
1172
+ ],
1173
+ name: 'requestL2TransactionTwoBridges',
1174
+ outputs: [
1175
+ {
1176
+ internalType: 'bytes32',
1177
+ name: 'canonicalTxHash',
1178
+ type: 'bytes32',
1179
+ },
1180
+ ],
1181
+ stateMutability: 'payable',
1182
+ type: 'function',
1183
+ },
1184
+ {
1185
+ inputs: [
1186
+ {
1187
+ internalType: 'address',
1188
+ name: '_newPendingAdmin',
1189
+ type: 'address',
1190
+ },
1191
+ ],
1192
+ name: 'setPendingAdmin',
1193
+ outputs: [],
1194
+ stateMutability: 'nonpayable',
1195
+ type: 'function',
1196
+ },
1197
+ {
1198
+ inputs: [
1199
+ {
1200
+ internalType: 'address',
1201
+ name: '_sharedBridge',
1202
+ type: 'address',
1203
+ },
1204
+ ],
1205
+ name: 'setSharedBridge',
1206
+ outputs: [],
1207
+ stateMutability: 'nonpayable',
1208
+ type: 'function',
1209
+ },
1210
+ {
1211
+ inputs: [],
1212
+ name: 'sharedBridge',
1213
+ outputs: [
1214
+ {
1215
+ internalType: 'contract IL1SharedBridge',
1216
+ name: '',
1217
+ type: 'address',
1218
+ },
1219
+ ],
1220
+ stateMutability: 'view',
1221
+ type: 'function',
1222
+ },
1223
+ {
1224
+ inputs: [
1225
+ {
1226
+ internalType: 'uint256',
1227
+ name: '_chainId',
1228
+ type: 'uint256',
1229
+ },
1230
+ ],
1231
+ name: 'stateTransitionManager',
1232
+ outputs: [
1233
+ {
1234
+ internalType: 'address',
1235
+ name: '',
1236
+ type: 'address',
1237
+ },
1238
+ ],
1239
+ stateMutability: 'view',
1240
+ type: 'function',
1241
+ },
1242
+ {
1243
+ inputs: [
1244
+ {
1245
+ internalType: 'address',
1246
+ name: '_stateTransitionManager',
1247
+ type: 'address',
1248
+ },
1249
+ ],
1250
+ name: 'stateTransitionManagerIsRegistered',
1251
+ outputs: [
1252
+ {
1253
+ internalType: 'bool',
1254
+ name: '',
1255
+ type: 'bool',
1256
+ },
1257
+ ],
1258
+ stateMutability: 'view',
1259
+ type: 'function',
1260
+ },
1261
+ {
1262
+ inputs: [
1263
+ {
1264
+ internalType: 'address',
1265
+ name: '_baseToken',
1266
+ type: 'address',
1267
+ },
1268
+ ],
1269
+ name: 'tokenIsRegistered',
1270
+ outputs: [
1271
+ {
1272
+ internalType: 'bool',
1273
+ name: '',
1274
+ type: 'bool',
1275
+ },
1276
+ ],
1277
+ stateMutability: 'view',
1278
+ type: 'function',
1279
+ },
1280
+ ] as const
1281
+
1282
+ export const zksyncAbi = [
1283
+ {
1284
+ anonymous: false,
1285
+ inputs: [
1286
+ {
1287
+ indexed: true,
1288
+ internalType: 'uint256',
1289
+ name: 'batchNumber',
1290
+ type: 'uint256',
1291
+ },
1292
+ {
1293
+ indexed: true,
1294
+ internalType: 'bytes32',
1295
+ name: 'batchHash',
1296
+ type: 'bytes32',
1297
+ },
1298
+ {
1299
+ indexed: true,
1300
+ internalType: 'bytes32',
1301
+ name: 'commitment',
1302
+ type: 'bytes32',
1303
+ },
1304
+ ],
1305
+ name: 'BlockCommit',
1306
+ type: 'event',
1307
+ },
1308
+ {
1309
+ anonymous: false,
1310
+ inputs: [
1311
+ {
1312
+ indexed: true,
1313
+ internalType: 'uint256',
1314
+ name: 'batchNumber',
1315
+ type: 'uint256',
1316
+ },
1317
+ {
1318
+ indexed: true,
1319
+ internalType: 'bytes32',
1320
+ name: 'batchHash',
1321
+ type: 'bytes32',
1322
+ },
1323
+ {
1324
+ indexed: true,
1325
+ internalType: 'bytes32',
1326
+ name: 'commitment',
1327
+ type: 'bytes32',
1328
+ },
1329
+ ],
1330
+ name: 'BlockExecution',
1331
+ type: 'event',
1332
+ },
1333
+ {
1334
+ anonymous: false,
1335
+ inputs: [
1336
+ {
1337
+ indexed: false,
1338
+ internalType: 'uint256',
1339
+ name: 'totalBatchesCommitted',
1340
+ type: 'uint256',
1341
+ },
1342
+ {
1343
+ indexed: false,
1344
+ internalType: 'uint256',
1345
+ name: 'totalBatchesVerified',
1346
+ type: 'uint256',
1347
+ },
1348
+ {
1349
+ indexed: false,
1350
+ internalType: 'uint256',
1351
+ name: 'totalBatchesExecuted',
1352
+ type: 'uint256',
1353
+ },
1354
+ ],
1355
+ name: 'BlocksRevert',
1356
+ type: 'event',
1357
+ },
1358
+ {
1359
+ anonymous: false,
1360
+ inputs: [
1361
+ {
1362
+ indexed: true,
1363
+ internalType: 'uint256',
1364
+ name: 'previousLastVerifiedBatch',
1365
+ type: 'uint256',
1366
+ },
1367
+ {
1368
+ indexed: true,
1369
+ internalType: 'uint256',
1370
+ name: 'currentLastVerifiedBatch',
1371
+ type: 'uint256',
1372
+ },
1373
+ ],
1374
+ name: 'BlocksVerification',
1375
+ type: 'event',
1376
+ },
1377
+ {
1378
+ anonymous: false,
1379
+ inputs: [
1380
+ {
1381
+ components: [
1382
+ {
1383
+ components: [
1384
+ {
1385
+ internalType: 'address',
1386
+ name: 'facet',
1387
+ type: 'address',
1388
+ },
1389
+ {
1390
+ internalType: 'enum Diamond.Action',
1391
+ name: 'action',
1392
+ type: 'uint8',
1393
+ },
1394
+ {
1395
+ internalType: 'bool',
1396
+ name: 'isFreezable',
1397
+ type: 'bool',
1398
+ },
1399
+ {
1400
+ internalType: 'bytes4[]',
1401
+ name: 'selectors',
1402
+ type: 'bytes4[]',
1403
+ },
1404
+ ],
1405
+ internalType: 'struct Diamond.FacetCut[]',
1406
+ name: 'facetCuts',
1407
+ type: 'tuple[]',
1408
+ },
1409
+ {
1410
+ internalType: 'address',
1411
+ name: 'initAddress',
1412
+ type: 'address',
1413
+ },
1414
+ {
1415
+ internalType: 'bytes',
1416
+ name: 'initCalldata',
1417
+ type: 'bytes',
1418
+ },
1419
+ ],
1420
+ indexed: false,
1421
+ internalType: 'struct Diamond.DiamondCutData',
1422
+ name: 'diamondCut',
1423
+ type: 'tuple',
1424
+ },
1425
+ ],
1426
+ name: 'ExecuteUpgrade',
1427
+ type: 'event',
1428
+ },
1429
+ {
1430
+ anonymous: false,
1431
+ inputs: [],
1432
+ name: 'Freeze',
1433
+ type: 'event',
1434
+ },
1435
+ {
1436
+ anonymous: false,
1437
+ inputs: [
1438
+ {
1439
+ indexed: false,
1440
+ internalType: 'bool',
1441
+ name: 'isPorterAvailable',
1442
+ type: 'bool',
1443
+ },
1444
+ ],
1445
+ name: 'IsPorterAvailableStatusUpdate',
1446
+ type: 'event',
1447
+ },
1448
+ {
1449
+ anonymous: false,
1450
+ inputs: [
1451
+ {
1452
+ indexed: true,
1453
+ internalType: 'address',
1454
+ name: 'oldAdmin',
1455
+ type: 'address',
1456
+ },
1457
+ {
1458
+ indexed: true,
1459
+ internalType: 'address',
1460
+ name: 'newAdmin',
1461
+ type: 'address',
1462
+ },
1463
+ ],
1464
+ name: 'NewAdmin',
1465
+ type: 'event',
1466
+ },
1467
+ {
1468
+ anonymous: false,
1469
+ inputs: [
1470
+ {
1471
+ indexed: false,
1472
+ internalType: 'uint128',
1473
+ name: 'oldNominator',
1474
+ type: 'uint128',
1475
+ },
1476
+ {
1477
+ indexed: false,
1478
+ internalType: 'uint128',
1479
+ name: 'oldDenominator',
1480
+ type: 'uint128',
1481
+ },
1482
+ {
1483
+ indexed: false,
1484
+ internalType: 'uint128',
1485
+ name: 'newNominator',
1486
+ type: 'uint128',
1487
+ },
1488
+ {
1489
+ indexed: false,
1490
+ internalType: 'uint128',
1491
+ name: 'newDenominator',
1492
+ type: 'uint128',
1493
+ },
1494
+ ],
1495
+ name: 'NewBaseTokenMultiplier',
1496
+ type: 'event',
1497
+ },
1498
+ {
1499
+ anonymous: false,
1500
+ inputs: [
1501
+ {
1502
+ components: [
1503
+ {
1504
+ internalType: 'enum PubdataPricingMode',
1505
+ name: 'pubdataPricingMode',
1506
+ type: 'uint8',
1507
+ },
1508
+ {
1509
+ internalType: 'uint32',
1510
+ name: 'batchOverheadL1Gas',
1511
+ type: 'uint32',
1512
+ },
1513
+ {
1514
+ internalType: 'uint32',
1515
+ name: 'maxPubdataPerBatch',
1516
+ type: 'uint32',
1517
+ },
1518
+ {
1519
+ internalType: 'uint32',
1520
+ name: 'maxL2GasPerBatch',
1521
+ type: 'uint32',
1522
+ },
1523
+ {
1524
+ internalType: 'uint32',
1525
+ name: 'priorityTxMaxPubdata',
1526
+ type: 'uint32',
1527
+ },
1528
+ {
1529
+ internalType: 'uint64',
1530
+ name: 'minimalL2GasPrice',
1531
+ type: 'uint64',
1532
+ },
1533
+ ],
1534
+ indexed: false,
1535
+ internalType: 'struct FeeParams',
1536
+ name: 'oldFeeParams',
1537
+ type: 'tuple',
1538
+ },
1539
+ {
1540
+ components: [
1541
+ {
1542
+ internalType: 'enum PubdataPricingMode',
1543
+ name: 'pubdataPricingMode',
1544
+ type: 'uint8',
1545
+ },
1546
+ {
1547
+ internalType: 'uint32',
1548
+ name: 'batchOverheadL1Gas',
1549
+ type: 'uint32',
1550
+ },
1551
+ {
1552
+ internalType: 'uint32',
1553
+ name: 'maxPubdataPerBatch',
1554
+ type: 'uint32',
1555
+ },
1556
+ {
1557
+ internalType: 'uint32',
1558
+ name: 'maxL2GasPerBatch',
1559
+ type: 'uint32',
1560
+ },
1561
+ {
1562
+ internalType: 'uint32',
1563
+ name: 'priorityTxMaxPubdata',
1564
+ type: 'uint32',
1565
+ },
1566
+ {
1567
+ internalType: 'uint64',
1568
+ name: 'minimalL2GasPrice',
1569
+ type: 'uint64',
1570
+ },
1571
+ ],
1572
+ indexed: false,
1573
+ internalType: 'struct FeeParams',
1574
+ name: 'newFeeParams',
1575
+ type: 'tuple',
1576
+ },
1577
+ ],
1578
+ name: 'NewFeeParams',
1579
+ type: 'event',
1580
+ },
1581
+ {
1582
+ anonymous: false,
1583
+ inputs: [
1584
+ {
1585
+ indexed: true,
1586
+ internalType: 'address',
1587
+ name: 'oldPendingAdmin',
1588
+ type: 'address',
1589
+ },
1590
+ {
1591
+ indexed: true,
1592
+ internalType: 'address',
1593
+ name: 'newPendingAdmin',
1594
+ type: 'address',
1595
+ },
1596
+ ],
1597
+ name: 'NewPendingAdmin',
1598
+ type: 'event',
1599
+ },
1600
+ {
1601
+ anonymous: false,
1602
+ inputs: [
1603
+ {
1604
+ indexed: false,
1605
+ internalType: 'uint256',
1606
+ name: 'txId',
1607
+ type: 'uint256',
1608
+ },
1609
+ {
1610
+ indexed: false,
1611
+ internalType: 'bytes32',
1612
+ name: 'txHash',
1613
+ type: 'bytes32',
1614
+ },
1615
+ {
1616
+ indexed: false,
1617
+ internalType: 'uint64',
1618
+ name: 'expirationTimestamp',
1619
+ type: 'uint64',
1620
+ },
1621
+ {
1622
+ components: [
1623
+ {
1624
+ internalType: 'uint256',
1625
+ name: 'txType',
1626
+ type: 'uint256',
1627
+ },
1628
+ {
1629
+ internalType: 'uint256',
1630
+ name: 'from',
1631
+ type: 'uint256',
1632
+ },
1633
+ {
1634
+ internalType: 'uint256',
1635
+ name: 'to',
1636
+ type: 'uint256',
1637
+ },
1638
+ {
1639
+ internalType: 'uint256',
1640
+ name: 'gasLimit',
1641
+ type: 'uint256',
1642
+ },
1643
+ {
1644
+ internalType: 'uint256',
1645
+ name: 'gasPerPubdataByteLimit',
1646
+ type: 'uint256',
1647
+ },
1648
+ {
1649
+ internalType: 'uint256',
1650
+ name: 'maxFeePerGas',
1651
+ type: 'uint256',
1652
+ },
1653
+ {
1654
+ internalType: 'uint256',
1655
+ name: 'maxPriorityFeePerGas',
1656
+ type: 'uint256',
1657
+ },
1658
+ {
1659
+ internalType: 'uint256',
1660
+ name: 'paymaster',
1661
+ type: 'uint256',
1662
+ },
1663
+ {
1664
+ internalType: 'uint256',
1665
+ name: 'nonce',
1666
+ type: 'uint256',
1667
+ },
1668
+ {
1669
+ internalType: 'uint256',
1670
+ name: 'value',
1671
+ type: 'uint256',
1672
+ },
1673
+ {
1674
+ internalType: 'uint256[4]',
1675
+ name: 'reserved',
1676
+ type: 'uint256[4]',
1677
+ },
1678
+ {
1679
+ internalType: 'bytes',
1680
+ name: 'data',
1681
+ type: 'bytes',
1682
+ },
1683
+ {
1684
+ internalType: 'bytes',
1685
+ name: 'signature',
1686
+ type: 'bytes',
1687
+ },
1688
+ {
1689
+ internalType: 'uint256[]',
1690
+ name: 'factoryDeps',
1691
+ type: 'uint256[]',
1692
+ },
1693
+ {
1694
+ internalType: 'bytes',
1695
+ name: 'paymasterInput',
1696
+ type: 'bytes',
1697
+ },
1698
+ {
1699
+ internalType: 'bytes',
1700
+ name: 'reservedDynamic',
1701
+ type: 'bytes',
1702
+ },
1703
+ ],
1704
+ indexed: false,
1705
+ internalType: 'struct L2CanonicalTransaction',
1706
+ name: 'transaction',
1707
+ type: 'tuple',
1708
+ },
1709
+ {
1710
+ indexed: false,
1711
+ internalType: 'bytes[]',
1712
+ name: 'factoryDeps',
1713
+ type: 'bytes[]',
1714
+ },
1715
+ ],
1716
+ name: 'NewPriorityRequest',
1717
+ type: 'event',
1718
+ },
1719
+ {
1720
+ anonymous: false,
1721
+ inputs: [
1722
+ {
1723
+ indexed: false,
1724
+ internalType: 'uint256',
1725
+ name: 'oldPriorityTxMaxGasLimit',
1726
+ type: 'uint256',
1727
+ },
1728
+ {
1729
+ indexed: false,
1730
+ internalType: 'uint256',
1731
+ name: 'newPriorityTxMaxGasLimit',
1732
+ type: 'uint256',
1733
+ },
1734
+ ],
1735
+ name: 'NewPriorityTxMaxGasLimit',
1736
+ type: 'event',
1737
+ },
1738
+ {
1739
+ anonymous: false,
1740
+ inputs: [
1741
+ {
1742
+ indexed: false,
1743
+ internalType: 'address',
1744
+ name: 'oldTransactionFilterer',
1745
+ type: 'address',
1746
+ },
1747
+ {
1748
+ indexed: false,
1749
+ internalType: 'address',
1750
+ name: 'newTransactionFilterer',
1751
+ type: 'address',
1752
+ },
1753
+ ],
1754
+ name: 'NewTransactionFilterer',
1755
+ type: 'event',
1756
+ },
1757
+ {
1758
+ anonymous: false,
1759
+ inputs: [
1760
+ {
1761
+ components: [
1762
+ {
1763
+ components: [
1764
+ {
1765
+ internalType: 'address',
1766
+ name: 'facet',
1767
+ type: 'address',
1768
+ },
1769
+ {
1770
+ internalType: 'enum Diamond.Action',
1771
+ name: 'action',
1772
+ type: 'uint8',
1773
+ },
1774
+ {
1775
+ internalType: 'bool',
1776
+ name: 'isFreezable',
1777
+ type: 'bool',
1778
+ },
1779
+ {
1780
+ internalType: 'bytes4[]',
1781
+ name: 'selectors',
1782
+ type: 'bytes4[]',
1783
+ },
1784
+ ],
1785
+ internalType: 'struct Diamond.FacetCut[]',
1786
+ name: 'facetCuts',
1787
+ type: 'tuple[]',
1788
+ },
1789
+ {
1790
+ internalType: 'address',
1791
+ name: 'initAddress',
1792
+ type: 'address',
1793
+ },
1794
+ {
1795
+ internalType: 'bytes',
1796
+ name: 'initCalldata',
1797
+ type: 'bytes',
1798
+ },
1799
+ ],
1800
+ indexed: false,
1801
+ internalType: 'struct Diamond.DiamondCutData',
1802
+ name: 'diamondCut',
1803
+ type: 'tuple',
1804
+ },
1805
+ {
1806
+ indexed: true,
1807
+ internalType: 'uint256',
1808
+ name: 'proposalId',
1809
+ type: 'uint256',
1810
+ },
1811
+ {
1812
+ indexed: false,
1813
+ internalType: 'bytes32',
1814
+ name: 'proposalSalt',
1815
+ type: 'bytes32',
1816
+ },
1817
+ ],
1818
+ name: 'ProposeTransparentUpgrade',
1819
+ type: 'event',
1820
+ },
1821
+ {
1822
+ anonymous: false,
1823
+ inputs: [],
1824
+ name: 'Unfreeze',
1825
+ type: 'event',
1826
+ },
1827
+ {
1828
+ anonymous: false,
1829
+ inputs: [
1830
+ {
1831
+ indexed: true,
1832
+ internalType: 'address',
1833
+ name: 'validatorAddress',
1834
+ type: 'address',
1835
+ },
1836
+ {
1837
+ indexed: false,
1838
+ internalType: 'bool',
1839
+ name: 'isActive',
1840
+ type: 'bool',
1841
+ },
1842
+ ],
1843
+ name: 'ValidatorStatusUpdate',
1844
+ type: 'event',
1845
+ },
1846
+ {
1847
+ anonymous: false,
1848
+ inputs: [
1849
+ {
1850
+ indexed: false,
1851
+ internalType: 'enum PubdataPricingMode',
1852
+ name: 'validiumMode',
1853
+ type: 'uint8',
1854
+ },
1855
+ ],
1856
+ name: 'ValidiumModeStatusUpdate',
1857
+ type: 'event',
1858
+ },
1859
+ {
1860
+ inputs: [],
1861
+ name: 'acceptAdmin',
1862
+ outputs: [],
1863
+ stateMutability: 'nonpayable',
1864
+ type: 'function',
1865
+ },
1866
+ {
1867
+ inputs: [],
1868
+ name: 'baseTokenGasPriceMultiplierDenominator',
1869
+ outputs: [
1870
+ {
1871
+ internalType: 'uint128',
1872
+ name: '',
1873
+ type: 'uint128',
1874
+ },
1875
+ ],
1876
+ stateMutability: 'view',
1877
+ type: 'function',
1878
+ },
1879
+ {
1880
+ inputs: [],
1881
+ name: 'baseTokenGasPriceMultiplierNominator',
1882
+ outputs: [
1883
+ {
1884
+ internalType: 'uint128',
1885
+ name: '',
1886
+ type: 'uint128',
1887
+ },
1888
+ ],
1889
+ stateMutability: 'view',
1890
+ type: 'function',
1891
+ },
1892
+ {
1893
+ inputs: [
1894
+ {
1895
+ components: [
1896
+ {
1897
+ internalType: 'address',
1898
+ name: 'sender',
1899
+ type: 'address',
1900
+ },
1901
+ {
1902
+ internalType: 'address',
1903
+ name: 'contractL2',
1904
+ type: 'address',
1905
+ },
1906
+ {
1907
+ internalType: 'uint256',
1908
+ name: 'mintValue',
1909
+ type: 'uint256',
1910
+ },
1911
+ {
1912
+ internalType: 'uint256',
1913
+ name: 'l2Value',
1914
+ type: 'uint256',
1915
+ },
1916
+ {
1917
+ internalType: 'bytes',
1918
+ name: 'l2Calldata',
1919
+ type: 'bytes',
1920
+ },
1921
+ {
1922
+ internalType: 'uint256',
1923
+ name: 'l2GasLimit',
1924
+ type: 'uint256',
1925
+ },
1926
+ {
1927
+ internalType: 'uint256',
1928
+ name: 'l2GasPerPubdataByteLimit',
1929
+ type: 'uint256',
1930
+ },
1931
+ {
1932
+ internalType: 'bytes[]',
1933
+ name: 'factoryDeps',
1934
+ type: 'bytes[]',
1935
+ },
1936
+ {
1937
+ internalType: 'address',
1938
+ name: 'refundRecipient',
1939
+ type: 'address',
1940
+ },
1941
+ ],
1942
+ internalType: 'struct BridgehubL2TransactionRequest',
1943
+ name: '_request',
1944
+ type: 'tuple',
1945
+ },
1946
+ ],
1947
+ name: 'bridgehubRequestL2Transaction',
1948
+ outputs: [
1949
+ {
1950
+ internalType: 'bytes32',
1951
+ name: 'canonicalTxHash',
1952
+ type: 'bytes32',
1953
+ },
1954
+ ],
1955
+ stateMutability: 'nonpayable',
1956
+ type: 'function',
1957
+ },
1958
+ {
1959
+ inputs: [
1960
+ {
1961
+ components: [
1962
+ {
1963
+ internalType: 'enum PubdataPricingMode',
1964
+ name: 'pubdataPricingMode',
1965
+ type: 'uint8',
1966
+ },
1967
+ {
1968
+ internalType: 'uint32',
1969
+ name: 'batchOverheadL1Gas',
1970
+ type: 'uint32',
1971
+ },
1972
+ {
1973
+ internalType: 'uint32',
1974
+ name: 'maxPubdataPerBatch',
1975
+ type: 'uint32',
1976
+ },
1977
+ {
1978
+ internalType: 'uint32',
1979
+ name: 'maxL2GasPerBatch',
1980
+ type: 'uint32',
1981
+ },
1982
+ {
1983
+ internalType: 'uint32',
1984
+ name: 'priorityTxMaxPubdata',
1985
+ type: 'uint32',
1986
+ },
1987
+ {
1988
+ internalType: 'uint64',
1989
+ name: 'minimalL2GasPrice',
1990
+ type: 'uint64',
1991
+ },
1992
+ ],
1993
+ internalType: 'struct FeeParams',
1994
+ name: '_newFeeParams',
1995
+ type: 'tuple',
1996
+ },
1997
+ ],
1998
+ name: 'changeFeeParams',
1999
+ outputs: [],
2000
+ stateMutability: 'nonpayable',
2001
+ type: 'function',
2002
+ },
2003
+ {
2004
+ inputs: [
2005
+ {
2006
+ components: [
2007
+ {
2008
+ internalType: 'uint64',
2009
+ name: 'batchNumber',
2010
+ type: 'uint64',
2011
+ },
2012
+ {
2013
+ internalType: 'bytes32',
2014
+ name: 'batchHash',
2015
+ type: 'bytes32',
2016
+ },
2017
+ {
2018
+ internalType: 'uint64',
2019
+ name: 'indexRepeatedStorageChanges',
2020
+ type: 'uint64',
2021
+ },
2022
+ {
2023
+ internalType: 'uint256',
2024
+ name: 'numberOfLayer1Txs',
2025
+ type: 'uint256',
2026
+ },
2027
+ {
2028
+ internalType: 'bytes32',
2029
+ name: 'priorityOperationsHash',
2030
+ type: 'bytes32',
2031
+ },
2032
+ {
2033
+ internalType: 'bytes32',
2034
+ name: 'l2LogsTreeRoot',
2035
+ type: 'bytes32',
2036
+ },
2037
+ {
2038
+ internalType: 'uint256',
2039
+ name: 'timestamp',
2040
+ type: 'uint256',
2041
+ },
2042
+ {
2043
+ internalType: 'bytes32',
2044
+ name: 'commitment',
2045
+ type: 'bytes32',
2046
+ },
2047
+ ],
2048
+ internalType: 'struct IExecutor.StoredBatchInfo',
2049
+ name: '_lastCommittedBatchData',
2050
+ type: 'tuple',
2051
+ },
2052
+ {
2053
+ components: [
2054
+ {
2055
+ internalType: 'uint64',
2056
+ name: 'batchNumber',
2057
+ type: 'uint64',
2058
+ },
2059
+ {
2060
+ internalType: 'uint64',
2061
+ name: 'timestamp',
2062
+ type: 'uint64',
2063
+ },
2064
+ {
2065
+ internalType: 'uint64',
2066
+ name: 'indexRepeatedStorageChanges',
2067
+ type: 'uint64',
2068
+ },
2069
+ {
2070
+ internalType: 'bytes32',
2071
+ name: 'newStateRoot',
2072
+ type: 'bytes32',
2073
+ },
2074
+ {
2075
+ internalType: 'uint256',
2076
+ name: 'numberOfLayer1Txs',
2077
+ type: 'uint256',
2078
+ },
2079
+ {
2080
+ internalType: 'bytes32',
2081
+ name: 'priorityOperationsHash',
2082
+ type: 'bytes32',
2083
+ },
2084
+ {
2085
+ internalType: 'bytes32',
2086
+ name: 'bootloaderHeapInitialContentsHash',
2087
+ type: 'bytes32',
2088
+ },
2089
+ {
2090
+ internalType: 'bytes32',
2091
+ name: 'eventsQueueStateHash',
2092
+ type: 'bytes32',
2093
+ },
2094
+ {
2095
+ internalType: 'bytes',
2096
+ name: 'systemLogs',
2097
+ type: 'bytes',
2098
+ },
2099
+ {
2100
+ internalType: 'bytes',
2101
+ name: 'pubdataCommitments',
2102
+ type: 'bytes',
2103
+ },
2104
+ ],
2105
+ internalType: 'struct IExecutor.CommitBatchInfo[]',
2106
+ name: '_newBatchesData',
2107
+ type: 'tuple[]',
2108
+ },
2109
+ ],
2110
+ name: 'commitBatches',
2111
+ outputs: [],
2112
+ stateMutability: 'nonpayable',
2113
+ type: 'function',
2114
+ },
2115
+ {
2116
+ inputs: [
2117
+ {
2118
+ internalType: 'uint256',
2119
+ name: '_chainId',
2120
+ type: 'uint256',
2121
+ },
2122
+ {
2123
+ components: [
2124
+ {
2125
+ internalType: 'uint64',
2126
+ name: 'batchNumber',
2127
+ type: 'uint64',
2128
+ },
2129
+ {
2130
+ internalType: 'bytes32',
2131
+ name: 'batchHash',
2132
+ type: 'bytes32',
2133
+ },
2134
+ {
2135
+ internalType: 'uint64',
2136
+ name: 'indexRepeatedStorageChanges',
2137
+ type: 'uint64',
2138
+ },
2139
+ {
2140
+ internalType: 'uint256',
2141
+ name: 'numberOfLayer1Txs',
2142
+ type: 'uint256',
2143
+ },
2144
+ {
2145
+ internalType: 'bytes32',
2146
+ name: 'priorityOperationsHash',
2147
+ type: 'bytes32',
2148
+ },
2149
+ {
2150
+ internalType: 'bytes32',
2151
+ name: 'l2LogsTreeRoot',
2152
+ type: 'bytes32',
2153
+ },
2154
+ {
2155
+ internalType: 'uint256',
2156
+ name: 'timestamp',
2157
+ type: 'uint256',
2158
+ },
2159
+ {
2160
+ internalType: 'bytes32',
2161
+ name: 'commitment',
2162
+ type: 'bytes32',
2163
+ },
2164
+ ],
2165
+ internalType: 'struct IExecutor.StoredBatchInfo',
2166
+ name: '_lastCommittedBatchData',
2167
+ type: 'tuple',
2168
+ },
2169
+ {
2170
+ components: [
2171
+ {
2172
+ internalType: 'uint64',
2173
+ name: 'batchNumber',
2174
+ type: 'uint64',
2175
+ },
2176
+ {
2177
+ internalType: 'uint64',
2178
+ name: 'timestamp',
2179
+ type: 'uint64',
2180
+ },
2181
+ {
2182
+ internalType: 'uint64',
2183
+ name: 'indexRepeatedStorageChanges',
2184
+ type: 'uint64',
2185
+ },
2186
+ {
2187
+ internalType: 'bytes32',
2188
+ name: 'newStateRoot',
2189
+ type: 'bytes32',
2190
+ },
2191
+ {
2192
+ internalType: 'uint256',
2193
+ name: 'numberOfLayer1Txs',
2194
+ type: 'uint256',
2195
+ },
2196
+ {
2197
+ internalType: 'bytes32',
2198
+ name: 'priorityOperationsHash',
2199
+ type: 'bytes32',
2200
+ },
2201
+ {
2202
+ internalType: 'bytes32',
2203
+ name: 'bootloaderHeapInitialContentsHash',
2204
+ type: 'bytes32',
2205
+ },
2206
+ {
2207
+ internalType: 'bytes32',
2208
+ name: 'eventsQueueStateHash',
2209
+ type: 'bytes32',
2210
+ },
2211
+ {
2212
+ internalType: 'bytes',
2213
+ name: 'systemLogs',
2214
+ type: 'bytes',
2215
+ },
2216
+ {
2217
+ internalType: 'bytes',
2218
+ name: 'pubdataCommitments',
2219
+ type: 'bytes',
2220
+ },
2221
+ ],
2222
+ internalType: 'struct IExecutor.CommitBatchInfo[]',
2223
+ name: '_newBatchesData',
2224
+ type: 'tuple[]',
2225
+ },
2226
+ ],
2227
+ name: 'commitBatchesSharedBridge',
2228
+ outputs: [],
2229
+ stateMutability: 'nonpayable',
2230
+ type: 'function',
2231
+ },
2232
+ {
2233
+ inputs: [
2234
+ {
2235
+ components: [
2236
+ {
2237
+ internalType: 'uint64',
2238
+ name: 'batchNumber',
2239
+ type: 'uint64',
2240
+ },
2241
+ {
2242
+ internalType: 'bytes32',
2243
+ name: 'batchHash',
2244
+ type: 'bytes32',
2245
+ },
2246
+ {
2247
+ internalType: 'uint64',
2248
+ name: 'indexRepeatedStorageChanges',
2249
+ type: 'uint64',
2250
+ },
2251
+ {
2252
+ internalType: 'uint256',
2253
+ name: 'numberOfLayer1Txs',
2254
+ type: 'uint256',
2255
+ },
2256
+ {
2257
+ internalType: 'bytes32',
2258
+ name: 'priorityOperationsHash',
2259
+ type: 'bytes32',
2260
+ },
2261
+ {
2262
+ internalType: 'bytes32',
2263
+ name: 'l2LogsTreeRoot',
2264
+ type: 'bytes32',
2265
+ },
2266
+ {
2267
+ internalType: 'uint256',
2268
+ name: 'timestamp',
2269
+ type: 'uint256',
2270
+ },
2271
+ {
2272
+ internalType: 'bytes32',
2273
+ name: 'commitment',
2274
+ type: 'bytes32',
2275
+ },
2276
+ ],
2277
+ internalType: 'struct IExecutor.StoredBatchInfo[]',
2278
+ name: '_batchesData',
2279
+ type: 'tuple[]',
2280
+ },
2281
+ ],
2282
+ name: 'executeBatches',
2283
+ outputs: [],
2284
+ stateMutability: 'nonpayable',
2285
+ type: 'function',
2286
+ },
2287
+ {
2288
+ inputs: [
2289
+ {
2290
+ internalType: 'uint256',
2291
+ name: '_chainId',
2292
+ type: 'uint256',
2293
+ },
2294
+ {
2295
+ components: [
2296
+ {
2297
+ internalType: 'uint64',
2298
+ name: 'batchNumber',
2299
+ type: 'uint64',
2300
+ },
2301
+ {
2302
+ internalType: 'bytes32',
2303
+ name: 'batchHash',
2304
+ type: 'bytes32',
2305
+ },
2306
+ {
2307
+ internalType: 'uint64',
2308
+ name: 'indexRepeatedStorageChanges',
2309
+ type: 'uint64',
2310
+ },
2311
+ {
2312
+ internalType: 'uint256',
2313
+ name: 'numberOfLayer1Txs',
2314
+ type: 'uint256',
2315
+ },
2316
+ {
2317
+ internalType: 'bytes32',
2318
+ name: 'priorityOperationsHash',
2319
+ type: 'bytes32',
2320
+ },
2321
+ {
2322
+ internalType: 'bytes32',
2323
+ name: 'l2LogsTreeRoot',
2324
+ type: 'bytes32',
2325
+ },
2326
+ {
2327
+ internalType: 'uint256',
2328
+ name: 'timestamp',
2329
+ type: 'uint256',
2330
+ },
2331
+ {
2332
+ internalType: 'bytes32',
2333
+ name: 'commitment',
2334
+ type: 'bytes32',
2335
+ },
2336
+ ],
2337
+ internalType: 'struct IExecutor.StoredBatchInfo[]',
2338
+ name: '_batchesData',
2339
+ type: 'tuple[]',
2340
+ },
2341
+ ],
2342
+ name: 'executeBatchesSharedBridge',
2343
+ outputs: [],
2344
+ stateMutability: 'nonpayable',
2345
+ type: 'function',
2346
+ },
2347
+ {
2348
+ inputs: [
2349
+ {
2350
+ components: [
2351
+ {
2352
+ components: [
2353
+ {
2354
+ internalType: 'address',
2355
+ name: 'facet',
2356
+ type: 'address',
2357
+ },
2358
+ {
2359
+ internalType: 'enum Diamond.Action',
2360
+ name: 'action',
2361
+ type: 'uint8',
2362
+ },
2363
+ {
2364
+ internalType: 'bool',
2365
+ name: 'isFreezable',
2366
+ type: 'bool',
2367
+ },
2368
+ {
2369
+ internalType: 'bytes4[]',
2370
+ name: 'selectors',
2371
+ type: 'bytes4[]',
2372
+ },
2373
+ ],
2374
+ internalType: 'struct Diamond.FacetCut[]',
2375
+ name: 'facetCuts',
2376
+ type: 'tuple[]',
2377
+ },
2378
+ {
2379
+ internalType: 'address',
2380
+ name: 'initAddress',
2381
+ type: 'address',
2382
+ },
2383
+ {
2384
+ internalType: 'bytes',
2385
+ name: 'initCalldata',
2386
+ type: 'bytes',
2387
+ },
2388
+ ],
2389
+ internalType: 'struct Diamond.DiamondCutData',
2390
+ name: '_diamondCut',
2391
+ type: 'tuple',
2392
+ },
2393
+ ],
2394
+ name: 'executeUpgrade',
2395
+ outputs: [],
2396
+ stateMutability: 'nonpayable',
2397
+ type: 'function',
2398
+ },
2399
+ {
2400
+ inputs: [
2401
+ {
2402
+ internalType: 'bytes4',
2403
+ name: '_selector',
2404
+ type: 'bytes4',
2405
+ },
2406
+ ],
2407
+ name: 'facetAddress',
2408
+ outputs: [
2409
+ {
2410
+ internalType: 'address',
2411
+ name: 'facet',
2412
+ type: 'address',
2413
+ },
2414
+ ],
2415
+ stateMutability: 'view',
2416
+ type: 'function',
2417
+ },
2418
+ {
2419
+ inputs: [],
2420
+ name: 'facetAddresses',
2421
+ outputs: [
2422
+ {
2423
+ internalType: 'address[]',
2424
+ name: 'facets',
2425
+ type: 'address[]',
2426
+ },
2427
+ ],
2428
+ stateMutability: 'view',
2429
+ type: 'function',
2430
+ },
2431
+ {
2432
+ inputs: [
2433
+ {
2434
+ internalType: 'address',
2435
+ name: '_facet',
2436
+ type: 'address',
2437
+ },
2438
+ ],
2439
+ name: 'facetFunctionSelectors',
2440
+ outputs: [
2441
+ {
2442
+ internalType: 'bytes4[]',
2443
+ name: '',
2444
+ type: 'bytes4[]',
2445
+ },
2446
+ ],
2447
+ stateMutability: 'view',
2448
+ type: 'function',
2449
+ },
2450
+ {
2451
+ inputs: [],
2452
+ name: 'facets',
2453
+ outputs: [
2454
+ {
2455
+ components: [
2456
+ {
2457
+ internalType: 'address',
2458
+ name: 'addr',
2459
+ type: 'address',
2460
+ },
2461
+ {
2462
+ internalType: 'bytes4[]',
2463
+ name: 'selectors',
2464
+ type: 'bytes4[]',
2465
+ },
2466
+ ],
2467
+ internalType: 'struct IGetters.Facet[]',
2468
+ name: '',
2469
+ type: 'tuple[]',
2470
+ },
2471
+ ],
2472
+ stateMutability: 'view',
2473
+ type: 'function',
2474
+ },
2475
+ {
2476
+ inputs: [
2477
+ {
2478
+ internalType: 'uint256',
2479
+ name: '_l2BatchNumber',
2480
+ type: 'uint256',
2481
+ },
2482
+ {
2483
+ internalType: 'uint256',
2484
+ name: '_l2MessageIndex',
2485
+ type: 'uint256',
2486
+ },
2487
+ {
2488
+ internalType: 'uint16',
2489
+ name: '_l2TxNumberInBatch',
2490
+ type: 'uint16',
2491
+ },
2492
+ {
2493
+ internalType: 'bytes',
2494
+ name: '_message',
2495
+ type: 'bytes',
2496
+ },
2497
+ {
2498
+ internalType: 'bytes32[]',
2499
+ name: '_merkleProof',
2500
+ type: 'bytes32[]',
2501
+ },
2502
+ ],
2503
+ name: 'finalizeEthWithdrawal',
2504
+ outputs: [],
2505
+ stateMutability: 'nonpayable',
2506
+ type: 'function',
2507
+ },
2508
+ {
2509
+ inputs: [],
2510
+ name: 'freezeDiamond',
2511
+ outputs: [],
2512
+ stateMutability: 'nonpayable',
2513
+ type: 'function',
2514
+ },
2515
+ {
2516
+ inputs: [],
2517
+ name: 'getAdmin',
2518
+ outputs: [
2519
+ {
2520
+ internalType: 'address',
2521
+ name: '',
2522
+ type: 'address',
2523
+ },
2524
+ ],
2525
+ stateMutability: 'view',
2526
+ type: 'function',
2527
+ },
2528
+ {
2529
+ inputs: [],
2530
+ name: 'getBaseToken',
2531
+ outputs: [
2532
+ {
2533
+ internalType: 'address',
2534
+ name: '',
2535
+ type: 'address',
2536
+ },
2537
+ ],
2538
+ stateMutability: 'view',
2539
+ type: 'function',
2540
+ },
2541
+ {
2542
+ inputs: [],
2543
+ name: 'getBaseTokenBridge',
2544
+ outputs: [
2545
+ {
2546
+ internalType: 'address',
2547
+ name: '',
2548
+ type: 'address',
2549
+ },
2550
+ ],
2551
+ stateMutability: 'view',
2552
+ type: 'function',
2553
+ },
2554
+ {
2555
+ inputs: [],
2556
+ name: 'getBridgehub',
2557
+ outputs: [
2558
+ {
2559
+ internalType: 'address',
2560
+ name: '',
2561
+ type: 'address',
2562
+ },
2563
+ ],
2564
+ stateMutability: 'view',
2565
+ type: 'function',
2566
+ },
2567
+ {
2568
+ inputs: [],
2569
+ name: 'getFirstUnprocessedPriorityTx',
2570
+ outputs: [
2571
+ {
2572
+ internalType: 'uint256',
2573
+ name: '',
2574
+ type: 'uint256',
2575
+ },
2576
+ ],
2577
+ stateMutability: 'view',
2578
+ type: 'function',
2579
+ },
2580
+ {
2581
+ inputs: [],
2582
+ name: 'getL2BootloaderBytecodeHash',
2583
+ outputs: [
2584
+ {
2585
+ internalType: 'bytes32',
2586
+ name: '',
2587
+ type: 'bytes32',
2588
+ },
2589
+ ],
2590
+ stateMutability: 'view',
2591
+ type: 'function',
2592
+ },
2593
+ {
2594
+ inputs: [],
2595
+ name: 'getL2DefaultAccountBytecodeHash',
2596
+ outputs: [
2597
+ {
2598
+ internalType: 'bytes32',
2599
+ name: '',
2600
+ type: 'bytes32',
2601
+ },
2602
+ ],
2603
+ stateMutability: 'view',
2604
+ type: 'function',
2605
+ },
2606
+ {
2607
+ inputs: [],
2608
+ name: 'getL2SystemContractsUpgradeBatchNumber',
2609
+ outputs: [
2610
+ {
2611
+ internalType: 'uint256',
2612
+ name: '',
2613
+ type: 'uint256',
2614
+ },
2615
+ ],
2616
+ stateMutability: 'view',
2617
+ type: 'function',
2618
+ },
2619
+ {
2620
+ inputs: [],
2621
+ name: 'getL2SystemContractsUpgradeTxHash',
2622
+ outputs: [
2623
+ {
2624
+ internalType: 'bytes32',
2625
+ name: '',
2626
+ type: 'bytes32',
2627
+ },
2628
+ ],
2629
+ stateMutability: 'view',
2630
+ type: 'function',
2631
+ },
2632
+ {
2633
+ inputs: [],
2634
+ name: 'getName',
2635
+ outputs: [
2636
+ {
2637
+ internalType: 'string',
2638
+ name: '',
2639
+ type: 'string',
2640
+ },
2641
+ ],
2642
+ stateMutability: 'view',
2643
+ type: 'function',
2644
+ },
2645
+ {
2646
+ inputs: [],
2647
+ name: 'getPendingAdmin',
2648
+ outputs: [
2649
+ {
2650
+ internalType: 'address',
2651
+ name: '',
2652
+ type: 'address',
2653
+ },
2654
+ ],
2655
+ stateMutability: 'view',
2656
+ type: 'function',
2657
+ },
2658
+ {
2659
+ inputs: [],
2660
+ name: 'getPriorityQueueSize',
2661
+ outputs: [
2662
+ {
2663
+ internalType: 'uint256',
2664
+ name: '',
2665
+ type: 'uint256',
2666
+ },
2667
+ ],
2668
+ stateMutability: 'view',
2669
+ type: 'function',
2670
+ },
2671
+ {
2672
+ inputs: [],
2673
+ name: 'getPriorityTxMaxGasLimit',
2674
+ outputs: [
2675
+ {
2676
+ internalType: 'uint256',
2677
+ name: '',
2678
+ type: 'uint256',
2679
+ },
2680
+ ],
2681
+ stateMutability: 'view',
2682
+ type: 'function',
2683
+ },
2684
+ {
2685
+ inputs: [],
2686
+ name: 'getProtocolVersion',
2687
+ outputs: [
2688
+ {
2689
+ internalType: 'uint256',
2690
+ name: '',
2691
+ type: 'uint256',
2692
+ },
2693
+ ],
2694
+ stateMutability: 'view',
2695
+ type: 'function',
2696
+ },
2697
+ {
2698
+ inputs: [],
2699
+ name: 'getPubdataPricingMode',
2700
+ outputs: [
2701
+ {
2702
+ internalType: 'enum PubdataPricingMode',
2703
+ name: '',
2704
+ type: 'uint8',
2705
+ },
2706
+ ],
2707
+ stateMutability: 'view',
2708
+ type: 'function',
2709
+ },
2710
+ {
2711
+ inputs: [],
2712
+ name: 'getSemverProtocolVersion',
2713
+ outputs: [
2714
+ {
2715
+ internalType: 'uint32',
2716
+ name: '',
2717
+ type: 'uint32',
2718
+ },
2719
+ {
2720
+ internalType: 'uint32',
2721
+ name: '',
2722
+ type: 'uint32',
2723
+ },
2724
+ {
2725
+ internalType: 'uint32',
2726
+ name: '',
2727
+ type: 'uint32',
2728
+ },
2729
+ ],
2730
+ stateMutability: 'view',
2731
+ type: 'function',
2732
+ },
2733
+ {
2734
+ inputs: [],
2735
+ name: 'getStateTransitionManager',
2736
+ outputs: [
2737
+ {
2738
+ internalType: 'address',
2739
+ name: '',
2740
+ type: 'address',
2741
+ },
2742
+ ],
2743
+ stateMutability: 'view',
2744
+ type: 'function',
2745
+ },
2746
+ {
2747
+ inputs: [],
2748
+ name: 'getTotalBatchesCommitted',
2749
+ outputs: [
2750
+ {
2751
+ internalType: 'uint256',
2752
+ name: '',
2753
+ type: 'uint256',
2754
+ },
2755
+ ],
2756
+ stateMutability: 'view',
2757
+ type: 'function',
2758
+ },
2759
+ {
2760
+ inputs: [],
2761
+ name: 'getTotalBatchesExecuted',
2762
+ outputs: [
2763
+ {
2764
+ internalType: 'uint256',
2765
+ name: '',
2766
+ type: 'uint256',
2767
+ },
2768
+ ],
2769
+ stateMutability: 'view',
2770
+ type: 'function',
2771
+ },
2772
+ {
2773
+ inputs: [],
2774
+ name: 'getTotalBatchesVerified',
2775
+ outputs: [
2776
+ {
2777
+ internalType: 'uint256',
2778
+ name: '',
2779
+ type: 'uint256',
2780
+ },
2781
+ ],
2782
+ stateMutability: 'view',
2783
+ type: 'function',
2784
+ },
2785
+ {
2786
+ inputs: [],
2787
+ name: 'getTotalPriorityTxs',
2788
+ outputs: [
2789
+ {
2790
+ internalType: 'uint256',
2791
+ name: '',
2792
+ type: 'uint256',
2793
+ },
2794
+ ],
2795
+ stateMutability: 'view',
2796
+ type: 'function',
2797
+ },
2798
+ {
2799
+ inputs: [],
2800
+ name: 'getVerifier',
2801
+ outputs: [
2802
+ {
2803
+ internalType: 'address',
2804
+ name: '',
2805
+ type: 'address',
2806
+ },
2807
+ ],
2808
+ stateMutability: 'view',
2809
+ type: 'function',
2810
+ },
2811
+ {
2812
+ inputs: [],
2813
+ name: 'getVerifierParams',
2814
+ outputs: [
2815
+ {
2816
+ components: [
2817
+ {
2818
+ internalType: 'bytes32',
2819
+ name: 'recursionNodeLevelVkHash',
2820
+ type: 'bytes32',
2821
+ },
2822
+ {
2823
+ internalType: 'bytes32',
2824
+ name: 'recursionLeafLevelVkHash',
2825
+ type: 'bytes32',
2826
+ },
2827
+ {
2828
+ internalType: 'bytes32',
2829
+ name: 'recursionCircuitsSetVksHash',
2830
+ type: 'bytes32',
2831
+ },
2832
+ ],
2833
+ internalType: 'struct VerifierParams',
2834
+ name: '',
2835
+ type: 'tuple',
2836
+ },
2837
+ ],
2838
+ stateMutability: 'view',
2839
+ type: 'function',
2840
+ },
2841
+ {
2842
+ inputs: [],
2843
+ name: 'isDiamondStorageFrozen',
2844
+ outputs: [
2845
+ {
2846
+ internalType: 'bool',
2847
+ name: '',
2848
+ type: 'bool',
2849
+ },
2850
+ ],
2851
+ stateMutability: 'view',
2852
+ type: 'function',
2853
+ },
2854
+ {
2855
+ inputs: [
2856
+ {
2857
+ internalType: 'uint256',
2858
+ name: '_l2BatchNumber',
2859
+ type: 'uint256',
2860
+ },
2861
+ {
2862
+ internalType: 'uint256',
2863
+ name: '_l2MessageIndex',
2864
+ type: 'uint256',
2865
+ },
2866
+ ],
2867
+ name: 'isEthWithdrawalFinalized',
2868
+ outputs: [
2869
+ {
2870
+ internalType: 'bool',
2871
+ name: '',
2872
+ type: 'bool',
2873
+ },
2874
+ ],
2875
+ stateMutability: 'view',
2876
+ type: 'function',
2877
+ },
2878
+ {
2879
+ inputs: [
2880
+ {
2881
+ internalType: 'address',
2882
+ name: '_facet',
2883
+ type: 'address',
2884
+ },
2885
+ ],
2886
+ name: 'isFacetFreezable',
2887
+ outputs: [
2888
+ {
2889
+ internalType: 'bool',
2890
+ name: 'isFreezable',
2891
+ type: 'bool',
2892
+ },
2893
+ ],
2894
+ stateMutability: 'view',
2895
+ type: 'function',
2896
+ },
2897
+ {
2898
+ inputs: [
2899
+ {
2900
+ internalType: 'bytes4',
2901
+ name: '_selector',
2902
+ type: 'bytes4',
2903
+ },
2904
+ ],
2905
+ name: 'isFunctionFreezable',
2906
+ outputs: [
2907
+ {
2908
+ internalType: 'bool',
2909
+ name: '',
2910
+ type: 'bool',
2911
+ },
2912
+ ],
2913
+ stateMutability: 'view',
2914
+ type: 'function',
2915
+ },
2916
+ {
2917
+ inputs: [
2918
+ {
2919
+ internalType: 'address',
2920
+ name: '_address',
2921
+ type: 'address',
2922
+ },
2923
+ ],
2924
+ name: 'isValidator',
2925
+ outputs: [
2926
+ {
2927
+ internalType: 'bool',
2928
+ name: '',
2929
+ type: 'bool',
2930
+ },
2931
+ ],
2932
+ stateMutability: 'view',
2933
+ type: 'function',
2934
+ },
2935
+ {
2936
+ inputs: [
2937
+ {
2938
+ internalType: 'uint256',
2939
+ name: '_batchNumber',
2940
+ type: 'uint256',
2941
+ },
2942
+ ],
2943
+ name: 'l2LogsRootHash',
2944
+ outputs: [
2945
+ {
2946
+ internalType: 'bytes32',
2947
+ name: 'merkleRoot',
2948
+ type: 'bytes32',
2949
+ },
2950
+ ],
2951
+ stateMutability: 'view',
2952
+ type: 'function',
2953
+ },
2954
+ {
2955
+ inputs: [
2956
+ {
2957
+ internalType: 'uint256',
2958
+ name: '_gasPrice',
2959
+ type: 'uint256',
2960
+ },
2961
+ {
2962
+ internalType: 'uint256',
2963
+ name: '_l2GasLimit',
2964
+ type: 'uint256',
2965
+ },
2966
+ {
2967
+ internalType: 'uint256',
2968
+ name: '_l2GasPerPubdataByteLimit',
2969
+ type: 'uint256',
2970
+ },
2971
+ ],
2972
+ name: 'l2TransactionBaseCost',
2973
+ outputs: [
2974
+ {
2975
+ internalType: 'uint256',
2976
+ name: '',
2977
+ type: 'uint256',
2978
+ },
2979
+ ],
2980
+ stateMutability: 'view',
2981
+ type: 'function',
2982
+ },
2983
+ {
2984
+ inputs: [],
2985
+ name: 'priorityQueueFrontOperation',
2986
+ outputs: [
2987
+ {
2988
+ components: [
2989
+ {
2990
+ internalType: 'bytes32',
2991
+ name: 'canonicalTxHash',
2992
+ type: 'bytes32',
2993
+ },
2994
+ {
2995
+ internalType: 'uint64',
2996
+ name: 'expirationTimestamp',
2997
+ type: 'uint64',
2998
+ },
2999
+ {
3000
+ internalType: 'uint192',
3001
+ name: 'layer2Tip',
3002
+ type: 'uint192',
3003
+ },
3004
+ ],
3005
+ internalType: 'struct PriorityOperation',
3006
+ name: '',
3007
+ type: 'tuple',
3008
+ },
3009
+ ],
3010
+ stateMutability: 'view',
3011
+ type: 'function',
3012
+ },
3013
+ {
3014
+ inputs: [
3015
+ {
3016
+ components: [
3017
+ {
3018
+ internalType: 'uint64',
3019
+ name: 'batchNumber',
3020
+ type: 'uint64',
3021
+ },
3022
+ {
3023
+ internalType: 'bytes32',
3024
+ name: 'batchHash',
3025
+ type: 'bytes32',
3026
+ },
3027
+ {
3028
+ internalType: 'uint64',
3029
+ name: 'indexRepeatedStorageChanges',
3030
+ type: 'uint64',
3031
+ },
3032
+ {
3033
+ internalType: 'uint256',
3034
+ name: 'numberOfLayer1Txs',
3035
+ type: 'uint256',
3036
+ },
3037
+ {
3038
+ internalType: 'bytes32',
3039
+ name: 'priorityOperationsHash',
3040
+ type: 'bytes32',
3041
+ },
3042
+ {
3043
+ internalType: 'bytes32',
3044
+ name: 'l2LogsTreeRoot',
3045
+ type: 'bytes32',
3046
+ },
3047
+ {
3048
+ internalType: 'uint256',
3049
+ name: 'timestamp',
3050
+ type: 'uint256',
3051
+ },
3052
+ {
3053
+ internalType: 'bytes32',
3054
+ name: 'commitment',
3055
+ type: 'bytes32',
3056
+ },
3057
+ ],
3058
+ internalType: 'struct IExecutor.StoredBatchInfo',
3059
+ name: '_prevBatch',
3060
+ type: 'tuple',
3061
+ },
3062
+ {
3063
+ components: [
3064
+ {
3065
+ internalType: 'uint64',
3066
+ name: 'batchNumber',
3067
+ type: 'uint64',
3068
+ },
3069
+ {
3070
+ internalType: 'bytes32',
3071
+ name: 'batchHash',
3072
+ type: 'bytes32',
3073
+ },
3074
+ {
3075
+ internalType: 'uint64',
3076
+ name: 'indexRepeatedStorageChanges',
3077
+ type: 'uint64',
3078
+ },
3079
+ {
3080
+ internalType: 'uint256',
3081
+ name: 'numberOfLayer1Txs',
3082
+ type: 'uint256',
3083
+ },
3084
+ {
3085
+ internalType: 'bytes32',
3086
+ name: 'priorityOperationsHash',
3087
+ type: 'bytes32',
3088
+ },
3089
+ {
3090
+ internalType: 'bytes32',
3091
+ name: 'l2LogsTreeRoot',
3092
+ type: 'bytes32',
3093
+ },
3094
+ {
3095
+ internalType: 'uint256',
3096
+ name: 'timestamp',
3097
+ type: 'uint256',
3098
+ },
3099
+ {
3100
+ internalType: 'bytes32',
3101
+ name: 'commitment',
3102
+ type: 'bytes32',
3103
+ },
3104
+ ],
3105
+ internalType: 'struct IExecutor.StoredBatchInfo[]',
3106
+ name: '_committedBatches',
3107
+ type: 'tuple[]',
3108
+ },
3109
+ {
3110
+ components: [
3111
+ {
3112
+ internalType: 'uint256[]',
3113
+ name: 'recursiveAggregationInput',
3114
+ type: 'uint256[]',
3115
+ },
3116
+ {
3117
+ internalType: 'uint256[]',
3118
+ name: 'serializedProof',
3119
+ type: 'uint256[]',
3120
+ },
3121
+ ],
3122
+ internalType: 'struct IExecutor.ProofInput',
3123
+ name: '_proof',
3124
+ type: 'tuple',
3125
+ },
3126
+ ],
3127
+ name: 'proveBatches',
3128
+ outputs: [],
3129
+ stateMutability: 'nonpayable',
3130
+ type: 'function',
3131
+ },
3132
+ {
3133
+ inputs: [
3134
+ {
3135
+ internalType: 'uint256',
3136
+ name: '_chainId',
3137
+ type: 'uint256',
3138
+ },
3139
+ {
3140
+ components: [
3141
+ {
3142
+ internalType: 'uint64',
3143
+ name: 'batchNumber',
3144
+ type: 'uint64',
3145
+ },
3146
+ {
3147
+ internalType: 'bytes32',
3148
+ name: 'batchHash',
3149
+ type: 'bytes32',
3150
+ },
3151
+ {
3152
+ internalType: 'uint64',
3153
+ name: 'indexRepeatedStorageChanges',
3154
+ type: 'uint64',
3155
+ },
3156
+ {
3157
+ internalType: 'uint256',
3158
+ name: 'numberOfLayer1Txs',
3159
+ type: 'uint256',
3160
+ },
3161
+ {
3162
+ internalType: 'bytes32',
3163
+ name: 'priorityOperationsHash',
3164
+ type: 'bytes32',
3165
+ },
3166
+ {
3167
+ internalType: 'bytes32',
3168
+ name: 'l2LogsTreeRoot',
3169
+ type: 'bytes32',
3170
+ },
3171
+ {
3172
+ internalType: 'uint256',
3173
+ name: 'timestamp',
3174
+ type: 'uint256',
3175
+ },
3176
+ {
3177
+ internalType: 'bytes32',
3178
+ name: 'commitment',
3179
+ type: 'bytes32',
3180
+ },
3181
+ ],
3182
+ internalType: 'struct IExecutor.StoredBatchInfo',
3183
+ name: '_prevBatch',
3184
+ type: 'tuple',
3185
+ },
3186
+ {
3187
+ components: [
3188
+ {
3189
+ internalType: 'uint64',
3190
+ name: 'batchNumber',
3191
+ type: 'uint64',
3192
+ },
3193
+ {
3194
+ internalType: 'bytes32',
3195
+ name: 'batchHash',
3196
+ type: 'bytes32',
3197
+ },
3198
+ {
3199
+ internalType: 'uint64',
3200
+ name: 'indexRepeatedStorageChanges',
3201
+ type: 'uint64',
3202
+ },
3203
+ {
3204
+ internalType: 'uint256',
3205
+ name: 'numberOfLayer1Txs',
3206
+ type: 'uint256',
3207
+ },
3208
+ {
3209
+ internalType: 'bytes32',
3210
+ name: 'priorityOperationsHash',
3211
+ type: 'bytes32',
3212
+ },
3213
+ {
3214
+ internalType: 'bytes32',
3215
+ name: 'l2LogsTreeRoot',
3216
+ type: 'bytes32',
3217
+ },
3218
+ {
3219
+ internalType: 'uint256',
3220
+ name: 'timestamp',
3221
+ type: 'uint256',
3222
+ },
3223
+ {
3224
+ internalType: 'bytes32',
3225
+ name: 'commitment',
3226
+ type: 'bytes32',
3227
+ },
3228
+ ],
3229
+ internalType: 'struct IExecutor.StoredBatchInfo[]',
3230
+ name: '_committedBatches',
3231
+ type: 'tuple[]',
3232
+ },
3233
+ {
3234
+ components: [
3235
+ {
3236
+ internalType: 'uint256[]',
3237
+ name: 'recursiveAggregationInput',
3238
+ type: 'uint256[]',
3239
+ },
3240
+ {
3241
+ internalType: 'uint256[]',
3242
+ name: 'serializedProof',
3243
+ type: 'uint256[]',
3244
+ },
3245
+ ],
3246
+ internalType: 'struct IExecutor.ProofInput',
3247
+ name: '_proof',
3248
+ type: 'tuple',
3249
+ },
3250
+ ],
3251
+ name: 'proveBatchesSharedBridge',
3252
+ outputs: [],
3253
+ stateMutability: 'nonpayable',
3254
+ type: 'function',
3255
+ },
3256
+ {
3257
+ inputs: [
3258
+ {
3259
+ internalType: 'bytes32',
3260
+ name: '_l2TxHash',
3261
+ type: 'bytes32',
3262
+ },
3263
+ {
3264
+ internalType: 'uint256',
3265
+ name: '_l2BatchNumber',
3266
+ type: 'uint256',
3267
+ },
3268
+ {
3269
+ internalType: 'uint256',
3270
+ name: '_l2MessageIndex',
3271
+ type: 'uint256',
3272
+ },
3273
+ {
3274
+ internalType: 'uint16',
3275
+ name: '_l2TxNumberInBatch',
3276
+ type: 'uint16',
3277
+ },
3278
+ {
3279
+ internalType: 'bytes32[]',
3280
+ name: '_merkleProof',
3281
+ type: 'bytes32[]',
3282
+ },
3283
+ {
3284
+ internalType: 'enum TxStatus',
3285
+ name: '_status',
3286
+ type: 'uint8',
3287
+ },
3288
+ ],
3289
+ name: 'proveL1ToL2TransactionStatus',
3290
+ outputs: [
3291
+ {
3292
+ internalType: 'bool',
3293
+ name: '',
3294
+ type: 'bool',
3295
+ },
3296
+ ],
3297
+ stateMutability: 'view',
3298
+ type: 'function',
3299
+ },
3300
+ {
3301
+ inputs: [
3302
+ {
3303
+ internalType: 'uint256',
3304
+ name: '_batchNumber',
3305
+ type: 'uint256',
3306
+ },
3307
+ {
3308
+ internalType: 'uint256',
3309
+ name: '_index',
3310
+ type: 'uint256',
3311
+ },
3312
+ {
3313
+ components: [
3314
+ {
3315
+ internalType: 'uint8',
3316
+ name: 'l2ShardId',
3317
+ type: 'uint8',
3318
+ },
3319
+ {
3320
+ internalType: 'bool',
3321
+ name: 'isService',
3322
+ type: 'bool',
3323
+ },
3324
+ {
3325
+ internalType: 'uint16',
3326
+ name: 'txNumberInBatch',
3327
+ type: 'uint16',
3328
+ },
3329
+ {
3330
+ internalType: 'address',
3331
+ name: 'sender',
3332
+ type: 'address',
3333
+ },
3334
+ {
3335
+ internalType: 'bytes32',
3336
+ name: 'key',
3337
+ type: 'bytes32',
3338
+ },
3339
+ {
3340
+ internalType: 'bytes32',
3341
+ name: 'value',
3342
+ type: 'bytes32',
3343
+ },
3344
+ ],
3345
+ internalType: 'struct L2Log',
3346
+ name: '_log',
3347
+ type: 'tuple',
3348
+ },
3349
+ {
3350
+ internalType: 'bytes32[]',
3351
+ name: '_proof',
3352
+ type: 'bytes32[]',
3353
+ },
3354
+ ],
3355
+ name: 'proveL2LogInclusion',
3356
+ outputs: [
3357
+ {
3358
+ internalType: 'bool',
3359
+ name: '',
3360
+ type: 'bool',
3361
+ },
3362
+ ],
3363
+ stateMutability: 'view',
3364
+ type: 'function',
3365
+ },
3366
+ {
3367
+ inputs: [
3368
+ {
3369
+ internalType: 'uint256',
3370
+ name: '_batchNumber',
3371
+ type: 'uint256',
3372
+ },
3373
+ {
3374
+ internalType: 'uint256',
3375
+ name: '_index',
3376
+ type: 'uint256',
3377
+ },
3378
+ {
3379
+ components: [
3380
+ {
3381
+ internalType: 'uint16',
3382
+ name: 'txNumberInBatch',
3383
+ type: 'uint16',
3384
+ },
3385
+ {
3386
+ internalType: 'address',
3387
+ name: 'sender',
3388
+ type: 'address',
3389
+ },
3390
+ {
3391
+ internalType: 'bytes',
3392
+ name: 'data',
3393
+ type: 'bytes',
3394
+ },
3395
+ ],
3396
+ internalType: 'struct L2Message',
3397
+ name: '_message',
3398
+ type: 'tuple',
3399
+ },
3400
+ {
3401
+ internalType: 'bytes32[]',
3402
+ name: '_proof',
3403
+ type: 'bytes32[]',
3404
+ },
3405
+ ],
3406
+ name: 'proveL2MessageInclusion',
3407
+ outputs: [
3408
+ {
3409
+ internalType: 'bool',
3410
+ name: '',
3411
+ type: 'bool',
3412
+ },
3413
+ ],
3414
+ stateMutability: 'view',
3415
+ type: 'function',
3416
+ },
3417
+ {
3418
+ inputs: [
3419
+ {
3420
+ internalType: 'address',
3421
+ name: '_contractL2',
3422
+ type: 'address',
3423
+ },
3424
+ {
3425
+ internalType: 'uint256',
3426
+ name: '_l2Value',
3427
+ type: 'uint256',
3428
+ },
3429
+ {
3430
+ internalType: 'bytes',
3431
+ name: '_calldata',
3432
+ type: 'bytes',
3433
+ },
3434
+ {
3435
+ internalType: 'uint256',
3436
+ name: '_l2GasLimit',
3437
+ type: 'uint256',
3438
+ },
3439
+ {
3440
+ internalType: 'uint256',
3441
+ name: '_l2GasPerPubdataByteLimit',
3442
+ type: 'uint256',
3443
+ },
3444
+ {
3445
+ internalType: 'bytes[]',
3446
+ name: '_factoryDeps',
3447
+ type: 'bytes[]',
3448
+ },
3449
+ {
3450
+ internalType: 'address',
3451
+ name: '_refundRecipient',
3452
+ type: 'address',
3453
+ },
3454
+ ],
3455
+ name: 'requestL2Transaction',
3456
+ outputs: [
3457
+ {
3458
+ internalType: 'bytes32',
3459
+ name: 'canonicalTxHash',
3460
+ type: 'bytes32',
3461
+ },
3462
+ ],
3463
+ stateMutability: 'payable',
3464
+ type: 'function',
3465
+ },
3466
+ {
3467
+ inputs: [
3468
+ {
3469
+ internalType: 'uint256',
3470
+ name: '_newLastBatch',
3471
+ type: 'uint256',
3472
+ },
3473
+ ],
3474
+ name: 'revertBatches',
3475
+ outputs: [],
3476
+ stateMutability: 'nonpayable',
3477
+ type: 'function',
3478
+ },
3479
+ {
3480
+ inputs: [
3481
+ {
3482
+ internalType: 'uint256',
3483
+ name: '_chainId',
3484
+ type: 'uint256',
3485
+ },
3486
+ {
3487
+ internalType: 'uint256',
3488
+ name: '_newLastBatch',
3489
+ type: 'uint256',
3490
+ },
3491
+ ],
3492
+ name: 'revertBatchesSharedBridge',
3493
+ outputs: [],
3494
+ stateMutability: 'nonpayable',
3495
+ type: 'function',
3496
+ },
3497
+ {
3498
+ inputs: [
3499
+ {
3500
+ internalType: 'address',
3501
+ name: '_newPendingAdmin',
3502
+ type: 'address',
3503
+ },
3504
+ ],
3505
+ name: 'setPendingAdmin',
3506
+ outputs: [],
3507
+ stateMutability: 'nonpayable',
3508
+ type: 'function',
3509
+ },
3510
+ {
3511
+ inputs: [
3512
+ {
3513
+ internalType: 'bool',
3514
+ name: '_zkPorterIsAvailable',
3515
+ type: 'bool',
3516
+ },
3517
+ ],
3518
+ name: 'setPorterAvailability',
3519
+ outputs: [],
3520
+ stateMutability: 'nonpayable',
3521
+ type: 'function',
3522
+ },
3523
+ {
3524
+ inputs: [
3525
+ {
3526
+ internalType: 'uint256',
3527
+ name: '_newPriorityTxMaxGasLimit',
3528
+ type: 'uint256',
3529
+ },
3530
+ ],
3531
+ name: 'setPriorityTxMaxGasLimit',
3532
+ outputs: [],
3533
+ stateMutability: 'nonpayable',
3534
+ type: 'function',
3535
+ },
3536
+ {
3537
+ inputs: [
3538
+ {
3539
+ internalType: 'enum PubdataPricingMode',
3540
+ name: '_pricingMode',
3541
+ type: 'uint8',
3542
+ },
3543
+ ],
3544
+ name: 'setPubdataPricingMode',
3545
+ outputs: [],
3546
+ stateMutability: 'nonpayable',
3547
+ type: 'function',
3548
+ },
3549
+ {
3550
+ inputs: [
3551
+ {
3552
+ internalType: 'uint128',
3553
+ name: '_nominator',
3554
+ type: 'uint128',
3555
+ },
3556
+ {
3557
+ internalType: 'uint128',
3558
+ name: '_denominator',
3559
+ type: 'uint128',
3560
+ },
3561
+ ],
3562
+ name: 'setTokenMultiplier',
3563
+ outputs: [],
3564
+ stateMutability: 'nonpayable',
3565
+ type: 'function',
3566
+ },
3567
+ {
3568
+ inputs: [
3569
+ {
3570
+ internalType: 'address',
3571
+ name: '_transactionFilterer',
3572
+ type: 'address',
3573
+ },
3574
+ ],
3575
+ name: 'setTransactionFilterer',
3576
+ outputs: [],
3577
+ stateMutability: 'nonpayable',
3578
+ type: 'function',
3579
+ },
3580
+ {
3581
+ inputs: [
3582
+ {
3583
+ internalType: 'address',
3584
+ name: '_validator',
3585
+ type: 'address',
3586
+ },
3587
+ {
3588
+ internalType: 'bool',
3589
+ name: '_active',
3590
+ type: 'bool',
3591
+ },
3592
+ ],
3593
+ name: 'setValidator',
3594
+ outputs: [],
3595
+ stateMutability: 'nonpayable',
3596
+ type: 'function',
3597
+ },
3598
+ {
3599
+ inputs: [
3600
+ {
3601
+ internalType: 'uint256',
3602
+ name: '_batchNumber',
3603
+ type: 'uint256',
3604
+ },
3605
+ ],
3606
+ name: 'storedBatchHash',
3607
+ outputs: [
3608
+ {
3609
+ internalType: 'bytes32',
3610
+ name: '',
3611
+ type: 'bytes32',
3612
+ },
3613
+ ],
3614
+ stateMutability: 'view',
3615
+ type: 'function',
3616
+ },
3617
+ {
3618
+ inputs: [],
3619
+ name: 'transferEthToSharedBridge',
3620
+ outputs: [],
3621
+ stateMutability: 'nonpayable',
3622
+ type: 'function',
3623
+ },
3624
+ {
3625
+ inputs: [],
3626
+ name: 'unfreezeDiamond',
3627
+ outputs: [],
3628
+ stateMutability: 'nonpayable',
3629
+ type: 'function',
3630
+ },
3631
+ {
3632
+ inputs: [
3633
+ {
3634
+ internalType: 'uint256',
3635
+ name: '_protocolVersion',
3636
+ type: 'uint256',
3637
+ },
3638
+ {
3639
+ components: [
3640
+ {
3641
+ components: [
3642
+ {
3643
+ internalType: 'address',
3644
+ name: 'facet',
3645
+ type: 'address',
3646
+ },
3647
+ {
3648
+ internalType: 'enum Diamond.Action',
3649
+ name: 'action',
3650
+ type: 'uint8',
3651
+ },
3652
+ {
3653
+ internalType: 'bool',
3654
+ name: 'isFreezable',
3655
+ type: 'bool',
3656
+ },
3657
+ {
3658
+ internalType: 'bytes4[]',
3659
+ name: 'selectors',
3660
+ type: 'bytes4[]',
3661
+ },
3662
+ ],
3663
+ internalType: 'struct Diamond.FacetCut[]',
3664
+ name: 'facetCuts',
3665
+ type: 'tuple[]',
3666
+ },
3667
+ {
3668
+ internalType: 'address',
3669
+ name: 'initAddress',
3670
+ type: 'address',
3671
+ },
3672
+ {
3673
+ internalType: 'bytes',
3674
+ name: 'initCalldata',
3675
+ type: 'bytes',
3676
+ },
3677
+ ],
3678
+ internalType: 'struct Diamond.DiamondCutData',
3679
+ name: '_cutData',
3680
+ type: 'tuple',
3681
+ },
3682
+ ],
3683
+ name: 'upgradeChainFromVersion',
3684
+ outputs: [],
3685
+ stateMutability: 'nonpayable',
3686
+ type: 'function',
3687
+ },
3688
+ ] as const