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