@aztec/l1-artifacts 1.0.0-nightly.20250805 → 1.0.0-nightly.20250806

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 (152) hide show
  1. package/dest/CoinIssuerAbi.d.ts +40 -0
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +54 -0
  4. package/dest/CoinIssuerBytecode.d.ts +1 -1
  5. package/dest/CoinIssuerBytecode.js +1 -1
  6. package/dest/EmpireBaseAbi.d.ts +40 -0
  7. package/dest/EmpireBaseAbi.d.ts.map +1 -1
  8. package/dest/EmpireBaseAbi.js +54 -0
  9. package/dest/ErrorsAbi.d.ts +40 -0
  10. package/dest/ErrorsAbi.d.ts.map +1 -1
  11. package/dest/ErrorsAbi.js +54 -0
  12. package/dest/ExtRollupLib2Abi.d.ts +140 -0
  13. package/dest/ExtRollupLib2Abi.d.ts.map +1 -1
  14. package/dest/ExtRollupLib2Abi.js +182 -0
  15. package/dest/ExtRollupLib2Bytecode.d.ts +1 -1
  16. package/dest/ExtRollupLib2Bytecode.d.ts.map +1 -1
  17. package/dest/ExtRollupLib2Bytecode.js +1 -1
  18. package/dest/ExtRollupLib3Abi.d.ts +40 -0
  19. package/dest/ExtRollupLib3Abi.d.ts.map +1 -1
  20. package/dest/ExtRollupLib3Abi.js +54 -0
  21. package/dest/ExtRollupLib3Bytecode.d.ts +1 -1
  22. package/dest/ExtRollupLib3Bytecode.js +1 -1
  23. package/dest/ExtRollupLibAbi.d.ts +40 -0
  24. package/dest/ExtRollupLibAbi.d.ts.map +1 -1
  25. package/dest/ExtRollupLibAbi.js +54 -0
  26. package/dest/ExtRollupLibBytecode.d.ts +1 -1
  27. package/dest/ExtRollupLibBytecode.js +1 -1
  28. package/dest/FeeAssetHandlerAbi.d.ts +40 -0
  29. package/dest/FeeAssetHandlerAbi.d.ts.map +1 -1
  30. package/dest/FeeAssetHandlerAbi.js +54 -0
  31. package/dest/FeeJuicePortalAbi.d.ts +40 -0
  32. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  33. package/dest/FeeJuicePortalAbi.js +54 -0
  34. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  35. package/dest/FeeJuicePortalBytecode.js +1 -1
  36. package/dest/GSEAbi.d.ts +221 -16
  37. package/dest/GSEAbi.d.ts.map +1 -1
  38. package/dest/GSEAbi.js +291 -20
  39. package/dest/GSEBytecode.d.ts +1 -1
  40. package/dest/GSEBytecode.d.ts.map +1 -1
  41. package/dest/GSEBytecode.js +1 -1
  42. package/dest/GovernanceAbi.d.ts +40 -0
  43. package/dest/GovernanceAbi.d.ts.map +1 -1
  44. package/dest/GovernanceAbi.js +54 -0
  45. package/dest/GovernanceBytecode.d.ts +1 -1
  46. package/dest/GovernanceBytecode.js +1 -1
  47. package/dest/GovernanceProposerAbi.d.ts +40 -0
  48. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  49. package/dest/GovernanceProposerAbi.js +54 -0
  50. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  51. package/dest/GovernanceProposerBytecode.js +1 -1
  52. package/dest/HonkVerifierAbi.d.ts +40 -0
  53. package/dest/HonkVerifierAbi.d.ts.map +1 -1
  54. package/dest/HonkVerifierAbi.js +54 -0
  55. package/dest/IERC20Abi.d.ts +40 -0
  56. package/dest/IERC20Abi.d.ts.map +1 -1
  57. package/dest/IERC20Abi.js +54 -0
  58. package/dest/IVerifierAbi.d.ts +40 -0
  59. package/dest/IVerifierAbi.d.ts.map +1 -1
  60. package/dest/IVerifierAbi.js +54 -0
  61. package/dest/InboxAbi.d.ts +40 -0
  62. package/dest/InboxAbi.d.ts.map +1 -1
  63. package/dest/InboxAbi.js +54 -0
  64. package/dest/InboxBytecode.d.ts +1 -1
  65. package/dest/InboxBytecode.js +1 -1
  66. package/dest/MockVerifierAbi.d.ts +40 -0
  67. package/dest/MockVerifierAbi.d.ts.map +1 -1
  68. package/dest/MockVerifierAbi.js +54 -0
  69. package/dest/MockZKPassportVerifierAbi.d.ts +40 -0
  70. package/dest/MockZKPassportVerifierAbi.d.ts.map +1 -1
  71. package/dest/MockZKPassportVerifierAbi.js +54 -0
  72. package/dest/MultiAdderAbi.d.ts +87 -0
  73. package/dest/MultiAdderAbi.d.ts.map +1 -1
  74. package/dest/MultiAdderAbi.js +115 -0
  75. package/dest/MultiAdderBytecode.d.ts +1 -1
  76. package/dest/MultiAdderBytecode.d.ts.map +1 -1
  77. package/dest/MultiAdderBytecode.js +1 -1
  78. package/dest/NewGovernanceProposerPayloadAbi.d.ts +41 -1
  79. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  80. package/dest/NewGovernanceProposerPayloadAbi.js +55 -1
  81. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +1 -1
  82. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  83. package/dest/OutboxAbi.d.ts +40 -0
  84. package/dest/OutboxAbi.d.ts.map +1 -1
  85. package/dest/OutboxAbi.js +54 -0
  86. package/dest/OutboxBytecode.d.ts +1 -1
  87. package/dest/OutboxBytecode.js +1 -1
  88. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +41 -1
  89. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
  90. package/dest/RegisterNewRollupVersionPayloadAbi.js +55 -1
  91. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
  92. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  93. package/dest/RegistryAbi.d.ts +40 -0
  94. package/dest/RegistryAbi.d.ts.map +1 -1
  95. package/dest/RegistryAbi.js +54 -0
  96. package/dest/RegistryBytecode.d.ts +1 -1
  97. package/dest/RegistryBytecode.js +1 -1
  98. package/dest/RewardDistributorAbi.d.ts +40 -0
  99. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  100. package/dest/RewardDistributorAbi.js +54 -0
  101. package/dest/RewardDistributorBytecode.d.ts +1 -1
  102. package/dest/RewardDistributorBytecode.js +1 -1
  103. package/dest/RollupAbi.d.ts +213 -0
  104. package/dest/RollupAbi.d.ts.map +1 -1
  105. package/dest/RollupAbi.js +277 -0
  106. package/dest/RollupBytecode.d.ts +27 -27
  107. package/dest/RollupBytecode.d.ts.map +1 -1
  108. package/dest/RollupBytecode.js +27 -27
  109. package/dest/RollupStorage.d.ts +3 -3
  110. package/dest/RollupStorage.js +3 -3
  111. package/dest/SlashFactoryAbi.d.ts +40 -0
  112. package/dest/SlashFactoryAbi.d.ts.map +1 -1
  113. package/dest/SlashFactoryAbi.js +54 -0
  114. package/dest/SlashFactoryBytecode.d.ts +1 -1
  115. package/dest/SlashFactoryBytecode.js +1 -1
  116. package/dest/SlasherAbi.d.ts +40 -0
  117. package/dest/SlasherAbi.d.ts.map +1 -1
  118. package/dest/SlasherAbi.js +54 -0
  119. package/dest/SlasherBytecode.d.ts +1 -1
  120. package/dest/SlasherBytecode.js +1 -1
  121. package/dest/SlashingProposerAbi.d.ts +40 -0
  122. package/dest/SlashingProposerAbi.d.ts.map +1 -1
  123. package/dest/SlashingProposerAbi.js +54 -0
  124. package/dest/SlashingProposerBytecode.d.ts +1 -1
  125. package/dest/SlashingProposerBytecode.js +1 -1
  126. package/dest/StakingAssetHandlerAbi.d.ts +134 -0
  127. package/dest/StakingAssetHandlerAbi.d.ts.map +1 -1
  128. package/dest/StakingAssetHandlerAbi.js +176 -0
  129. package/dest/StakingAssetHandlerBytecode.d.ts +1 -1
  130. package/dest/StakingAssetHandlerBytecode.d.ts.map +1 -1
  131. package/dest/StakingAssetHandlerBytecode.js +1 -1
  132. package/dest/TestERC20Abi.d.ts +40 -0
  133. package/dest/TestERC20Abi.d.ts.map +1 -1
  134. package/dest/TestERC20Abi.js +54 -0
  135. package/dest/TokenPortalAbi.d.ts +40 -0
  136. package/dest/TokenPortalAbi.d.ts.map +1 -1
  137. package/dest/TokenPortalAbi.js +54 -0
  138. package/dest/TokenPortalBytecode.d.ts +1 -1
  139. package/dest/TokenPortalBytecode.js +1 -1
  140. package/dest/UniswapPortalAbi.d.ts +40 -0
  141. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  142. package/dest/UniswapPortalAbi.js +54 -0
  143. package/dest/UniswapPortalBytecode.d.ts +1 -1
  144. package/dest/UniswapPortalBytecode.js +1 -1
  145. package/dest/ValidatorSelectionLibAbi.d.ts +40 -0
  146. package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
  147. package/dest/ValidatorSelectionLibAbi.js +54 -0
  148. package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
  149. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  150. package/dest/checksum.d.ts +1 -1
  151. package/dest/checksum.js +1 -1
  152. package/package.json +1 -1
@@ -77,6 +77,18 @@ export declare const MockZKPassportVerifierAbi: readonly [{
77
77
  readonly type: "address";
78
78
  readonly internalType: "address";
79
79
  }];
80
+ }, {
81
+ readonly type: "error";
82
+ readonly name: "GSE__CannotChangePublicKeys";
83
+ readonly inputs: readonly [{
84
+ readonly name: "existingPk1x";
85
+ readonly type: "uint256";
86
+ readonly internalType: "uint256";
87
+ }, {
88
+ readonly name: "existingPk1y";
89
+ readonly type: "uint256";
90
+ readonly internalType: "uint256";
91
+ }];
80
92
  }, {
81
93
  readonly type: "error";
82
94
  readonly name: "GSE__FailedToRemove";
@@ -117,6 +129,10 @@ export declare const MockZKPassportVerifierAbi: readonly [{
117
129
  readonly type: "uint256";
118
130
  readonly internalType: "uint256";
119
131
  }];
132
+ }, {
133
+ readonly type: "error";
134
+ readonly name: "GSE__InvalidProofOfPossession";
135
+ readonly inputs: readonly [];
120
136
  }, {
121
137
  readonly type: "error";
122
138
  readonly name: "GSE__InvalidRollupAddress";
@@ -173,6 +189,14 @@ export declare const MockZKPassportVerifierAbi: readonly [{
173
189
  readonly type: "uint256";
174
190
  readonly internalType: "uint256";
175
191
  }];
192
+ }, {
193
+ readonly type: "error";
194
+ readonly name: "GSE__ProofOfPossessionAlreadySeen";
195
+ readonly inputs: readonly [{
196
+ readonly name: "hashedPK1";
197
+ readonly type: "bytes32";
198
+ readonly internalType: "bytes32";
199
+ }];
176
200
  }, {
177
201
  readonly type: "error";
178
202
  readonly name: "GSE__RollupAlreadyRegistered";
@@ -313,6 +337,22 @@ export declare const MockZKPassportVerifierAbi: readonly [{
313
337
  readonly type: "uint256";
314
338
  readonly internalType: "Slot";
315
339
  }];
340
+ }, {
341
+ readonly type: "error";
342
+ readonly name: "Governance__BlsKeyInvalidG1Point";
343
+ readonly inputs: readonly [{
344
+ readonly name: "";
345
+ readonly type: "uint256[2]";
346
+ readonly internalType: "uint256[2]";
347
+ }];
348
+ }, {
349
+ readonly type: "error";
350
+ readonly name: "Governance__BlsKeyInvalidG2Point";
351
+ readonly inputs: readonly [{
352
+ readonly name: "";
353
+ readonly type: "uint256[4]";
354
+ readonly internalType: "uint256[4]";
355
+ }];
316
356
  }, {
317
357
  readonly type: "error";
318
358
  readonly name: "Governance__CallFailed";
@@ -1 +1 @@
1
- {"version":3,"file":"MockZKPassportVerifierAbi.d.ts","sourceRoot":"","sources":["../src/MockZKPassportVerifierAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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": "existingPk1x",
109
+ "type": "uint256",
110
+ "internalType": "uint256"
111
+ },
112
+ {
113
+ "name": "existingPk1y",
114
+ "type": "uint256",
115
+ "internalType": "uint256"
116
+ }
117
+ ]
118
+ },
103
119
  {
104
120
  "type": "error",
105
121
  "name": "GSE__FailedToRemove",
@@ -154,6 +170,11 @@
154
170
  }
155
171
  ]
156
172
  },
173
+ {
174
+ "type": "error",
175
+ "name": "GSE__InvalidProofOfPossession",
176
+ "inputs": []
177
+ },
157
178
  {
158
179
  "type": "error",
159
180
  "name": "GSE__InvalidRollupAddress",
@@ -230,6 +251,17 @@
230
251
  }
231
252
  ]
232
253
  },
254
+ {
255
+ "type": "error",
256
+ "name": "GSE__ProofOfPossessionAlreadySeen",
257
+ "inputs": [
258
+ {
259
+ "name": "hashedPK1",
260
+ "type": "bytes32",
261
+ "internalType": "bytes32"
262
+ }
263
+ ]
264
+ },
233
265
  {
234
266
  "type": "error",
235
267
  "name": "GSE__RollupAlreadyRegistered",
@@ -418,6 +450,28 @@
418
450
  }
419
451
  ]
420
452
  },
453
+ {
454
+ "type": "error",
455
+ "name": "Governance__BlsKeyInvalidG1Point",
456
+ "inputs": [
457
+ {
458
+ "name": "",
459
+ "type": "uint256[2]",
460
+ "internalType": "uint256[2]"
461
+ }
462
+ ]
463
+ },
464
+ {
465
+ "type": "error",
466
+ "name": "Governance__BlsKeyInvalidG2Point",
467
+ "inputs": [
468
+ {
469
+ "name": "",
470
+ "type": "uint256[4]",
471
+ "internalType": "uint256[4]"
472
+ }
473
+ ]
474
+ },
421
475
  {
422
476
  "type": "error",
423
477
  "name": "Governance__CallFailed",
@@ -89,6 +89,18 @@ export declare const MultiAdderAbi: readonly [{
89
89
  readonly type: "address";
90
90
  readonly internalType: "address";
91
91
  }];
92
+ }, {
93
+ readonly type: "error";
94
+ readonly name: "GSE__CannotChangePublicKeys";
95
+ readonly inputs: readonly [{
96
+ readonly name: "existingPk1x";
97
+ readonly type: "uint256";
98
+ readonly internalType: "uint256";
99
+ }, {
100
+ readonly name: "existingPk1y";
101
+ readonly type: "uint256";
102
+ readonly internalType: "uint256";
103
+ }];
92
104
  }, {
93
105
  readonly type: "error";
94
106
  readonly name: "GSE__FailedToRemove";
@@ -129,6 +141,10 @@ export declare const MultiAdderAbi: readonly [{
129
141
  readonly type: "uint256";
130
142
  readonly internalType: "uint256";
131
143
  }];
144
+ }, {
145
+ readonly type: "error";
146
+ readonly name: "GSE__InvalidProofOfPossession";
147
+ readonly inputs: readonly [];
132
148
  }, {
133
149
  readonly type: "error";
134
150
  readonly name: "GSE__InvalidRollupAddress";
@@ -185,6 +201,14 @@ export declare const MultiAdderAbi: readonly [{
185
201
  readonly type: "uint256";
186
202
  readonly internalType: "uint256";
187
203
  }];
204
+ }, {
205
+ readonly type: "error";
206
+ readonly name: "GSE__ProofOfPossessionAlreadySeen";
207
+ readonly inputs: readonly [{
208
+ readonly name: "hashedPK1";
209
+ readonly type: "bytes32";
210
+ readonly internalType: "bytes32";
211
+ }];
188
212
  }, {
189
213
  readonly type: "error";
190
214
  readonly name: "GSE__RollupAlreadyRegistered";
@@ -325,6 +349,22 @@ export declare const MultiAdderAbi: readonly [{
325
349
  readonly type: "uint256";
326
350
  readonly internalType: "Slot";
327
351
  }];
352
+ }, {
353
+ readonly type: "error";
354
+ readonly name: "Governance__BlsKeyInvalidG1Point";
355
+ readonly inputs: readonly [{
356
+ readonly name: "";
357
+ readonly type: "uint256[2]";
358
+ readonly internalType: "uint256[2]";
359
+ }];
360
+ }, {
361
+ readonly type: "error";
362
+ readonly name: "Governance__BlsKeyInvalidG2Point";
363
+ readonly inputs: readonly [{
364
+ readonly name: "";
365
+ readonly type: "uint256[4]";
366
+ readonly internalType: "uint256[4]";
367
+ }];
328
368
  }, {
329
369
  readonly type: "error";
330
370
  readonly name: "Governance__CallFailed";
@@ -1556,6 +1596,53 @@ export declare const MultiAdderAbi: readonly [{
1556
1596
  readonly name: "withdrawer";
1557
1597
  readonly type: "address";
1558
1598
  readonly internalType: "address";
1599
+ }, {
1600
+ readonly name: "publicKeyInG1";
1601
+ readonly type: "tuple";
1602
+ readonly internalType: "struct G1Point";
1603
+ readonly components: readonly [{
1604
+ readonly name: "x";
1605
+ readonly type: "uint256";
1606
+ readonly internalType: "uint256";
1607
+ }, {
1608
+ readonly name: "y";
1609
+ readonly type: "uint256";
1610
+ readonly internalType: "uint256";
1611
+ }];
1612
+ }, {
1613
+ readonly name: "publicKeyInG2";
1614
+ readonly type: "tuple";
1615
+ readonly internalType: "struct G2Point";
1616
+ readonly components: readonly [{
1617
+ readonly name: "x0";
1618
+ readonly type: "uint256";
1619
+ readonly internalType: "uint256";
1620
+ }, {
1621
+ readonly name: "x1";
1622
+ readonly type: "uint256";
1623
+ readonly internalType: "uint256";
1624
+ }, {
1625
+ readonly name: "y0";
1626
+ readonly type: "uint256";
1627
+ readonly internalType: "uint256";
1628
+ }, {
1629
+ readonly name: "y1";
1630
+ readonly type: "uint256";
1631
+ readonly internalType: "uint256";
1632
+ }];
1633
+ }, {
1634
+ readonly name: "proofOfPossession";
1635
+ readonly type: "tuple";
1636
+ readonly internalType: "struct G1Point";
1637
+ readonly components: readonly [{
1638
+ readonly name: "x";
1639
+ readonly type: "uint256";
1640
+ readonly internalType: "uint256";
1641
+ }, {
1642
+ readonly name: "y";
1643
+ readonly type: "uint256";
1644
+ readonly internalType: "uint256";
1645
+ }];
1559
1646
  }];
1560
1647
  }];
1561
1648
  readonly outputs: readonly [];
@@ -1 +1 @@
1
- {"version":3,"file":"MultiAdderAbi.d.ts","sourceRoot":"","sources":["../src/MultiAdderAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2oEhB,CAAC"}
@@ -116,6 +116,22 @@
116
116
  }
117
117
  ]
118
118
  },
119
+ {
120
+ "type": "error",
121
+ "name": "GSE__CannotChangePublicKeys",
122
+ "inputs": [
123
+ {
124
+ "name": "existingPk1x",
125
+ "type": "uint256",
126
+ "internalType": "uint256"
127
+ },
128
+ {
129
+ "name": "existingPk1y",
130
+ "type": "uint256",
131
+ "internalType": "uint256"
132
+ }
133
+ ]
134
+ },
119
135
  {
120
136
  "type": "error",
121
137
  "name": "GSE__FailedToRemove",
@@ -170,6 +186,11 @@
170
186
  }
171
187
  ]
172
188
  },
189
+ {
190
+ "type": "error",
191
+ "name": "GSE__InvalidProofOfPossession",
192
+ "inputs": []
193
+ },
173
194
  {
174
195
  "type": "error",
175
196
  "name": "GSE__InvalidRollupAddress",
@@ -246,6 +267,17 @@
246
267
  }
247
268
  ]
248
269
  },
270
+ {
271
+ "type": "error",
272
+ "name": "GSE__ProofOfPossessionAlreadySeen",
273
+ "inputs": [
274
+ {
275
+ "name": "hashedPK1",
276
+ "type": "bytes32",
277
+ "internalType": "bytes32"
278
+ }
279
+ ]
280
+ },
249
281
  {
250
282
  "type": "error",
251
283
  "name": "GSE__RollupAlreadyRegistered",
@@ -434,6 +466,28 @@
434
466
  }
435
467
  ]
436
468
  },
469
+ {
470
+ "type": "error",
471
+ "name": "Governance__BlsKeyInvalidG1Point",
472
+ "inputs": [
473
+ {
474
+ "name": "",
475
+ "type": "uint256[2]",
476
+ "internalType": "uint256[2]"
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "type": "error",
482
+ "name": "Governance__BlsKeyInvalidG2Point",
483
+ "inputs": [
484
+ {
485
+ "name": "",
486
+ "type": "uint256[4]",
487
+ "internalType": "uint256[4]"
488
+ }
489
+ ]
490
+ },
437
491
  {
438
492
  "type": "error",
439
493
  "name": "Governance__CallFailed",
@@ -2065,6 +2119,67 @@
2065
2119
  "name": "withdrawer",
2066
2120
  "type": "address",
2067
2121
  "internalType": "address"
2122
+ },
2123
+ {
2124
+ "name": "publicKeyInG1",
2125
+ "type": "tuple",
2126
+ "internalType": "struct G1Point",
2127
+ "components": [
2128
+ {
2129
+ "name": "x",
2130
+ "type": "uint256",
2131
+ "internalType": "uint256"
2132
+ },
2133
+ {
2134
+ "name": "y",
2135
+ "type": "uint256",
2136
+ "internalType": "uint256"
2137
+ }
2138
+ ]
2139
+ },
2140
+ {
2141
+ "name": "publicKeyInG2",
2142
+ "type": "tuple",
2143
+ "internalType": "struct G2Point",
2144
+ "components": [
2145
+ {
2146
+ "name": "x0",
2147
+ "type": "uint256",
2148
+ "internalType": "uint256"
2149
+ },
2150
+ {
2151
+ "name": "x1",
2152
+ "type": "uint256",
2153
+ "internalType": "uint256"
2154
+ },
2155
+ {
2156
+ "name": "y0",
2157
+ "type": "uint256",
2158
+ "internalType": "uint256"
2159
+ },
2160
+ {
2161
+ "name": "y1",
2162
+ "type": "uint256",
2163
+ "internalType": "uint256"
2164
+ }
2165
+ ]
2166
+ },
2167
+ {
2168
+ "name": "proofOfPossession",
2169
+ "type": "tuple",
2170
+ "internalType": "struct G1Point",
2171
+ "components": [
2172
+ {
2173
+ "name": "x",
2174
+ "type": "uint256",
2175
+ "internalType": "uint256"
2176
+ },
2177
+ {
2178
+ "name": "y",
2179
+ "type": "uint256",
2180
+ "internalType": "uint256"
2181
+ }
2182
+ ]
2068
2183
  }
2069
2184
  ]
2070
2185
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * MultiAdder bytecode.
3
3
  */
4
- export declare const MultiAdderBytecode = "0x60c060405234801561000f575f5ffd5b506040516105fa3803806105fa83398101604081905261002e91610138565b6001600160a01b03808216608052821660a08190526040805163a011f6a960e01b815290515f929163a011f6a99160048083019260209291908290030181865afa15801561007e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a29190610170565b60a05160405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291925082169063095ea7b3906044016020604051808303815f875af11580156100f4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101189190610192565b505050506101b1565b6001600160a01b0381168114610135575f5ffd5b50565b5f5f60408385031215610149575f5ffd5b825161015481610121565b602084015190925061016581610121565b809150509250929050565b5f60208284031215610180575f5ffd5b815161018b81610121565b9392505050565b5f602082840312156101a2575f5ffd5b8151801515811461018b575f5ffd5b60805160a0516104166101e45f395f8181608b0152818161011801526101f301525f81816048015260cd01526104165ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c8063117803e31461004357806397610f3014610086578063df193437146100ad575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6100c06100bb3660046102eb565b6100c2565b005b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461010b576040516330cd747160e01b815260040160405180910390fd5b5f5b81518110156101f0577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630808ee6e838381518110610157576101576103cc565b60200260200101515f0151848481518110610174576101746103cc565b60209081029190910181015101516040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152600160448201526064015f604051808303815f87803b1580156101ce575f5ffd5b505af11580156101e0573d5f5f3e3d5ffd5b50506001909201915061010d9050565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631d9349756040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610249575f5ffd5b505af115801561025b573d5f5f3e3d5ffd5b5050505050565b634e487b7160e01b5f52604160045260245ffd5b6040805190810167ffffffffffffffff8111828210171561029957610299610262565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156102c8576102c8610262565b604052919050565b80356001600160a01b03811681146102e6575f5ffd5b919050565b5f602082840312156102fb575f5ffd5b813567ffffffffffffffff811115610311575f5ffd5b8201601f81018413610321575f5ffd5b803567ffffffffffffffff81111561033b5761033b610262565b61034a60208260051b0161029f565b8082825260208201915060208360061b85010192508683111561036b575f5ffd5b6020840193505b828410156103c25760408488031215610389575f5ffd5b610391610276565b61039a856102d0565b81526103a8602086016102d0565b602082015280835250602082019150604084019350610372565b9695505050505050565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122010bc44f1e2e56daaaacf7b63f9535e3f113cdf76c75e1f6511fa104a9828564364736f6c634300081b0033";
4
+ export declare const MultiAdderBytecode = "0x60c060405234801561000f575f5ffd5b5060405161079d38038061079d83398101604081905261002e91610138565b6001600160a01b03808216608052821660a08190526040805163a011f6a960e01b815290515f929163a011f6a99160048083019260209291908290030181865afa15801561007e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a29190610170565b60a05160405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291925082169063095ea7b3906044016020604051808303815f875af11580156100f4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101189190610192565b505050506101b1565b6001600160a01b0381168114610135575f5ffd5b50565b5f5f60408385031215610149575f5ffd5b825161015481610121565b602084015190925061016581610121565b809150509250929050565b5f60208284031215610180575f5ffd5b815161018b81610121565b9392505050565b5f602082840312156101a2575f5ffd5b8151801515811461018b575f5ffd5b60805160a0516105b96101e45f395f818160a001528181610118015261023901525f81816048015260cd01526105b95ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c8063117803e3146100435780632ca751c81461008657806397610f301461009b575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b6100996100943660046103a1565b6100c2565b005b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461010b576040516330cd747160e01b815260040160405180910390fd5b5f5b8151811015610236577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636902c67b838381518110610157576101576104f4565b60200260200101515f0151848481518110610174576101746104f4565b602002602001015160200151858581518110610192576101926104f4565b6020026020010151604001518686815181106101b0576101b06104f4565b6020026020010151606001518787815181106101ce576101ce6104f4565b60200260200101516080015160016040518763ffffffff1660e01b81526004016101fd96959493929190610508565b5f604051808303815f87803b158015610214575f5ffd5b505af1158015610226573d5f5f3e3d5ffd5b50506001909201915061010d9050565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631d9349756040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561028f575f5ffd5b505af11580156102a1573d5f5f3e3d5ffd5b5050505050565b634e487b7160e01b5f52604160045260245ffd5b60405160a0810167ffffffffffffffff811182821017156102df576102df6102a8565b60405290565b6040516080810167ffffffffffffffff811182821017156102df576102df6102a8565b604051601f8201601f1916810167ffffffffffffffff81118282101715610331576103316102a8565b604052919050565b80356001600160a01b038116811461034f575f5ffd5b919050565b5f60408284031215610364575f5ffd5b6040805190810167ffffffffffffffff81118282101715610387576103876102a8565b604052823581526020928301359281019290925250919050565b5f602082840312156103b1575f5ffd5b813567ffffffffffffffff8111156103c7575f5ffd5b8201601f810184136103d7575f5ffd5b803567ffffffffffffffff8111156103f1576103f16102a8565b61040060208260051b01610308565b8082825260208201915060206101408402850101925086831115610422575f5ffd5b6020840193505b828410156104ea57838703610140811215610442575f5ffd5b61044a6102bc565b61045386610339565b815261046160208701610339565b60208201526104738960408801610354565b60408201526080607f1983011215610489575f5ffd5b6104916102e5565b6080870135815260a0870135602082015260c0870135604082015260e0870135606080830191909152820181905291506104cf896101008801610354565b60808201528352506101409390930192602090910190610429565b9695505050505050565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b038781168252861660208201526101608101610538604083018780518252602090810151910152565b8451608083015260208086015160a0840152604086015160c0840152606086015160e0840152845161010084015284015161012083015282151561014083015297965050505050505056fea26469706673582212203bfe74b27d5b59039652b21e63811602d442a59db6c809e9c4cdcac981cab71664736f6c634300081b0033";
5
5
  /**
6
6
  * MultiAdder link references.
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"MultiAdderBytecode.d.ts","sourceRoot":"","sources":["../src/MultiAdderBytecode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kBAAkB,2/FAA2/F,CAAC;AAC3hG;;GAEG;AACH,eAAO,MAAM,wBAAwB,IAAc,CAAC"}
1
+ {"version":3,"file":"MultiAdderBytecode.d.ts","sourceRoot":"","sources":["../src/MultiAdderBytecode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,kBAAkB,i0HAAi0H,CAAC;AACj2H;;GAEG;AACH,eAAO,MAAM,wBAAwB,IAAc,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * MultiAdder bytecode.
3
- */ export const MultiAdderBytecode = "0x60c060405234801561000f575f5ffd5b506040516105fa3803806105fa83398101604081905261002e91610138565b6001600160a01b03808216608052821660a08190526040805163a011f6a960e01b815290515f929163a011f6a99160048083019260209291908290030181865afa15801561007e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a29190610170565b60a05160405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291925082169063095ea7b3906044016020604051808303815f875af11580156100f4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101189190610192565b505050506101b1565b6001600160a01b0381168114610135575f5ffd5b50565b5f5f60408385031215610149575f5ffd5b825161015481610121565b602084015190925061016581610121565b809150509250929050565b5f60208284031215610180575f5ffd5b815161018b81610121565b9392505050565b5f602082840312156101a2575f5ffd5b8151801515811461018b575f5ffd5b60805160a0516104166101e45f395f8181608b0152818161011801526101f301525f81816048015260cd01526104165ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c8063117803e31461004357806397610f3014610086578063df193437146100ad575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6100c06100bb3660046102eb565b6100c2565b005b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461010b576040516330cd747160e01b815260040160405180910390fd5b5f5b81518110156101f0577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630808ee6e838381518110610157576101576103cc565b60200260200101515f0151848481518110610174576101746103cc565b60209081029190910181015101516040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152600160448201526064015f604051808303815f87803b1580156101ce575f5ffd5b505af11580156101e0573d5f5f3e3d5ffd5b50506001909201915061010d9050565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631d9349756040518163ffffffff1660e01b81526004015f604051808303815f87803b158015610249575f5ffd5b505af115801561025b573d5f5f3e3d5ffd5b5050505050565b634e487b7160e01b5f52604160045260245ffd5b6040805190810167ffffffffffffffff8111828210171561029957610299610262565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156102c8576102c8610262565b604052919050565b80356001600160a01b03811681146102e6575f5ffd5b919050565b5f602082840312156102fb575f5ffd5b813567ffffffffffffffff811115610311575f5ffd5b8201601f81018413610321575f5ffd5b803567ffffffffffffffff81111561033b5761033b610262565b61034a60208260051b0161029f565b8082825260208201915060208360061b85010192508683111561036b575f5ffd5b6020840193505b828410156103c25760408488031215610389575f5ffd5b610391610276565b61039a856102d0565b81526103a8602086016102d0565b602082015280835250602082019150604084019350610372565b9695505050505050565b634e487b7160e01b5f52603260045260245ffdfea264697066735822122010bc44f1e2e56daaaacf7b63f9535e3f113cdf76c75e1f6511fa104a9828564364736f6c634300081b0033";
3
+ */ export const MultiAdderBytecode = "0x60c060405234801561000f575f5ffd5b5060405161079d38038061079d83398101604081905261002e91610138565b6001600160a01b03808216608052821660a08190526040805163a011f6a960e01b815290515f929163a011f6a99160048083019260209291908290030181865afa15801561007e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a29190610170565b60a05160405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291925082169063095ea7b3906044016020604051808303815f875af11580156100f4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101189190610192565b505050506101b1565b6001600160a01b0381168114610135575f5ffd5b50565b5f5f60408385031215610149575f5ffd5b825161015481610121565b602084015190925061016581610121565b809150509250929050565b5f60208284031215610180575f5ffd5b815161018b81610121565b9392505050565b5f602082840312156101a2575f5ffd5b8151801515811461018b575f5ffd5b60805160a0516105b96101e45f395f818160a001528181610118015261023901525f81816048015260cd01526105b95ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c8063117803e3146100435780632ca751c81461008657806397610f301461009b575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b6100996100943660046103a1565b6100c2565b005b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461010b576040516330cd747160e01b815260040160405180910390fd5b5f5b8151811015610236577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636902c67b838381518110610157576101576104f4565b60200260200101515f0151848481518110610174576101746104f4565b602002602001015160200151858581518110610192576101926104f4565b6020026020010151604001518686815181106101b0576101b06104f4565b6020026020010151606001518787815181106101ce576101ce6104f4565b60200260200101516080015160016040518763ffffffff1660e01b81526004016101fd96959493929190610508565b5f604051808303815f87803b158015610214575f5ffd5b505af1158015610226573d5f5f3e3d5ffd5b50506001909201915061010d9050565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631d9349756040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561028f575f5ffd5b505af11580156102a1573d5f5f3e3d5ffd5b5050505050565b634e487b7160e01b5f52604160045260245ffd5b60405160a0810167ffffffffffffffff811182821017156102df576102df6102a8565b60405290565b6040516080810167ffffffffffffffff811182821017156102df576102df6102a8565b604051601f8201601f1916810167ffffffffffffffff81118282101715610331576103316102a8565b604052919050565b80356001600160a01b038116811461034f575f5ffd5b919050565b5f60408284031215610364575f5ffd5b6040805190810167ffffffffffffffff81118282101715610387576103876102a8565b604052823581526020928301359281019290925250919050565b5f602082840312156103b1575f5ffd5b813567ffffffffffffffff8111156103c7575f5ffd5b8201601f810184136103d7575f5ffd5b803567ffffffffffffffff8111156103f1576103f16102a8565b61040060208260051b01610308565b8082825260208201915060206101408402850101925086831115610422575f5ffd5b6020840193505b828410156104ea57838703610140811215610442575f5ffd5b61044a6102bc565b61045386610339565b815261046160208701610339565b60208201526104738960408801610354565b60408201526080607f1983011215610489575f5ffd5b6104916102e5565b6080870135815260a0870135602082015260c0870135604082015260e0870135606080830191909152820181905291506104cf896101008801610354565b60808201528352506101409390930192602090910190610429565b9695505050505050565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b038781168252861660208201526101608101610538604083018780518252602090810151910152565b8451608083015260208086015160a0840152604086015160c0840152606086015160e0840152845161010084015284015161012083015282151561014083015297965050505050505056fea26469706673582212203bfe74b27d5b59039652b21e63811602d442a59db6c809e9c4cdcac981cab71664736f6c634300081b0033";
4
4
  /**
5
5
  * MultiAdder link references.
6
6
  */ export const MultiAdderLinkReferences = {};
@@ -89,6 +89,18 @@ export declare const NewGovernanceProposerPayloadAbi: readonly [{
89
89
  readonly type: "address";
90
90
  readonly internalType: "address";
91
91
  }];
92
+ }, {
93
+ readonly type: "error";
94
+ readonly name: "GSE__CannotChangePublicKeys";
95
+ readonly inputs: readonly [{
96
+ readonly name: "existingPk1x";
97
+ readonly type: "uint256";
98
+ readonly internalType: "uint256";
99
+ }, {
100
+ readonly name: "existingPk1y";
101
+ readonly type: "uint256";
102
+ readonly internalType: "uint256";
103
+ }];
92
104
  }, {
93
105
  readonly type: "error";
94
106
  readonly name: "GSE__FailedToRemove";
@@ -129,6 +141,10 @@ export declare const NewGovernanceProposerPayloadAbi: readonly [{
129
141
  readonly type: "uint256";
130
142
  readonly internalType: "uint256";
131
143
  }];
144
+ }, {
145
+ readonly type: "error";
146
+ readonly name: "GSE__InvalidProofOfPossession";
147
+ readonly inputs: readonly [];
132
148
  }, {
133
149
  readonly type: "error";
134
150
  readonly name: "GSE__InvalidRollupAddress";
@@ -185,6 +201,14 @@ export declare const NewGovernanceProposerPayloadAbi: readonly [{
185
201
  readonly type: "uint256";
186
202
  readonly internalType: "uint256";
187
203
  }];
204
+ }, {
205
+ readonly type: "error";
206
+ readonly name: "GSE__ProofOfPossessionAlreadySeen";
207
+ readonly inputs: readonly [{
208
+ readonly name: "hashedPK1";
209
+ readonly type: "bytes32";
210
+ readonly internalType: "bytes32";
211
+ }];
188
212
  }, {
189
213
  readonly type: "error";
190
214
  readonly name: "GSE__RollupAlreadyRegistered";
@@ -325,6 +349,22 @@ export declare const NewGovernanceProposerPayloadAbi: readonly [{
325
349
  readonly type: "uint256";
326
350
  readonly internalType: "Slot";
327
351
  }];
352
+ }, {
353
+ readonly type: "error";
354
+ readonly name: "Governance__BlsKeyInvalidG1Point";
355
+ readonly inputs: readonly [{
356
+ readonly name: "";
357
+ readonly type: "uint256[2]";
358
+ readonly internalType: "uint256[2]";
359
+ }];
360
+ }, {
361
+ readonly type: "error";
362
+ readonly name: "Governance__BlsKeyInvalidG2Point";
363
+ readonly inputs: readonly [{
364
+ readonly name: "";
365
+ readonly type: "uint256[4]";
366
+ readonly internalType: "uint256[4]";
367
+ }];
328
368
  }, {
329
369
  readonly type: "error";
330
370
  readonly name: "Governance__CallFailed";
@@ -1565,6 +1605,6 @@ export declare const NewGovernanceProposerPayloadAbi: readonly [{
1565
1605
  readonly type: "string";
1566
1606
  readonly internalType: "string";
1567
1607
  }];
1568
- readonly stateMutability: "view";
1608
+ readonly stateMutability: "pure";
1569
1609
  }];
1570
1610
  //# sourceMappingURL=NewGovernanceProposerPayloadAbi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NewGovernanceProposerPayloadAbi.d.ts","sourceRoot":"","sources":["../src/NewGovernanceProposerPayloadAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAslElC,CAAC"}
@@ -116,6 +116,22 @@
116
116
  }
117
117
  ]
118
118
  },
119
+ {
120
+ "type": "error",
121
+ "name": "GSE__CannotChangePublicKeys",
122
+ "inputs": [
123
+ {
124
+ "name": "existingPk1x",
125
+ "type": "uint256",
126
+ "internalType": "uint256"
127
+ },
128
+ {
129
+ "name": "existingPk1y",
130
+ "type": "uint256",
131
+ "internalType": "uint256"
132
+ }
133
+ ]
134
+ },
119
135
  {
120
136
  "type": "error",
121
137
  "name": "GSE__FailedToRemove",
@@ -170,6 +186,11 @@
170
186
  }
171
187
  ]
172
188
  },
189
+ {
190
+ "type": "error",
191
+ "name": "GSE__InvalidProofOfPossession",
192
+ "inputs": []
193
+ },
173
194
  {
174
195
  "type": "error",
175
196
  "name": "GSE__InvalidRollupAddress",
@@ -246,6 +267,17 @@
246
267
  }
247
268
  ]
248
269
  },
270
+ {
271
+ "type": "error",
272
+ "name": "GSE__ProofOfPossessionAlreadySeen",
273
+ "inputs": [
274
+ {
275
+ "name": "hashedPK1",
276
+ "type": "bytes32",
277
+ "internalType": "bytes32"
278
+ }
279
+ ]
280
+ },
249
281
  {
250
282
  "type": "error",
251
283
  "name": "GSE__RollupAlreadyRegistered",
@@ -434,6 +466,28 @@
434
466
  }
435
467
  ]
436
468
  },
469
+ {
470
+ "type": "error",
471
+ "name": "Governance__BlsKeyInvalidG1Point",
472
+ "inputs": [
473
+ {
474
+ "name": "",
475
+ "type": "uint256[2]",
476
+ "internalType": "uint256[2]"
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "type": "error",
482
+ "name": "Governance__BlsKeyInvalidG2Point",
483
+ "inputs": [
484
+ {
485
+ "name": "",
486
+ "type": "uint256[4]",
487
+ "internalType": "uint256[4]"
488
+ }
489
+ ]
490
+ },
437
491
  {
438
492
  "type": "error",
439
493
  "name": "Governance__CallFailed",
@@ -2078,6 +2132,6 @@
2078
2132
  "internalType": "string"
2079
2133
  }
2080
2134
  ],
2081
- "stateMutability": "view"
2135
+ "stateMutability": "pure"
2082
2136
  }
2083
2137
  ];