@aztec/l1-artifacts 2.1.0-rc.9 → 2.1.2

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 (192) hide show
  1. package/dest/CoinIssuerAbi.d.ts +199 -20
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +262 -24
  4. package/dest/CoinIssuerBytecode.d.ts +1 -1
  5. package/dest/CoinIssuerBytecode.d.ts.map +1 -1
  6. package/dest/CoinIssuerBytecode.js +1 -1
  7. package/dest/DateGatedRelayerAbi.d.ts +144 -0
  8. package/dest/DateGatedRelayerAbi.d.ts.map +1 -1
  9. package/dest/DateGatedRelayerAbi.js +193 -0
  10. package/dest/DateGatedRelayerBytecode.d.ts +1 -1
  11. package/dest/DateGatedRelayerBytecode.js +1 -1
  12. package/dest/EmpireBaseAbi.d.ts +128 -0
  13. package/dest/EmpireBaseAbi.d.ts.map +1 -1
  14. package/dest/EmpireBaseAbi.js +172 -0
  15. package/dest/EmpireSlasherDeploymentExtLibAbi.d.ts +160 -0
  16. package/dest/EmpireSlasherDeploymentExtLibAbi.d.ts.map +1 -1
  17. package/dest/EmpireSlasherDeploymentExtLibAbi.js +215 -0
  18. package/dest/EmpireSlasherDeploymentExtLibBytecode.d.ts +1 -1
  19. package/dest/EmpireSlasherDeploymentExtLibBytecode.js +1 -1
  20. package/dest/EmpireSlashingProposerAbi.d.ts +128 -0
  21. package/dest/EmpireSlashingProposerAbi.d.ts.map +1 -1
  22. package/dest/EmpireSlashingProposerAbi.js +172 -0
  23. package/dest/EmpireSlashingProposerBytecode.d.ts +1 -1
  24. package/dest/EmpireSlashingProposerBytecode.js +1 -1
  25. package/dest/ErrorsAbi.d.ts +160 -0
  26. package/dest/ErrorsAbi.d.ts.map +1 -1
  27. package/dest/ErrorsAbi.js +215 -0
  28. package/dest/FeeAssetHandlerAbi.d.ts +144 -0
  29. package/dest/FeeAssetHandlerAbi.d.ts.map +1 -1
  30. package/dest/FeeAssetHandlerAbi.js +193 -0
  31. package/dest/FeeAssetHandlerBytecode.d.ts +1 -1
  32. package/dest/FeeAssetHandlerBytecode.js +1 -1
  33. package/dest/FeeJuicePortalAbi.d.ts +160 -0
  34. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  35. package/dest/FeeJuicePortalAbi.js +215 -0
  36. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  37. package/dest/FeeJuicePortalBytecode.js +1 -1
  38. package/dest/GSEAbi.d.ts +128 -0
  39. package/dest/GSEAbi.d.ts.map +1 -1
  40. package/dest/GSEAbi.js +172 -0
  41. package/dest/GSEBytecode.d.ts +1 -1
  42. package/dest/GSEBytecode.js +1 -1
  43. package/dest/GovernanceAbi.d.ts +144 -0
  44. package/dest/GovernanceAbi.d.ts.map +1 -1
  45. package/dest/GovernanceAbi.js +194 -0
  46. package/dest/GovernanceBytecode.d.ts +1 -1
  47. package/dest/GovernanceBytecode.js +1 -1
  48. package/dest/GovernanceProposerAbi.d.ts +128 -0
  49. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  50. package/dest/GovernanceProposerAbi.js +172 -0
  51. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  52. package/dest/GovernanceProposerBytecode.js +1 -1
  53. package/dest/HonkVerifierAbi.d.ts +160 -0
  54. package/dest/HonkVerifierAbi.d.ts.map +1 -1
  55. package/dest/HonkVerifierAbi.js +215 -0
  56. package/dest/HonkVerifierBytecode.d.ts +1 -1
  57. package/dest/HonkVerifierBytecode.d.ts.map +1 -1
  58. package/dest/HonkVerifierBytecode.js +1 -1
  59. package/dest/IERC20Abi.d.ts +160 -0
  60. package/dest/IERC20Abi.d.ts.map +1 -1
  61. package/dest/IERC20Abi.js +215 -0
  62. package/dest/IVerifierAbi.d.ts +160 -0
  63. package/dest/IVerifierAbi.d.ts.map +1 -1
  64. package/dest/IVerifierAbi.js +215 -0
  65. package/dest/InboxAbi.d.ts +148 -0
  66. package/dest/InboxAbi.d.ts.map +1 -1
  67. package/dest/InboxAbi.js +199 -0
  68. package/dest/InboxBytecode.d.ts +1 -1
  69. package/dest/InboxBytecode.js +1 -1
  70. package/dest/MockVerifierAbi.d.ts +160 -0
  71. package/dest/MockVerifierAbi.d.ts.map +1 -1
  72. package/dest/MockVerifierAbi.js +215 -0
  73. package/dest/MockVerifierBytecode.d.ts +1 -1
  74. package/dest/MockVerifierBytecode.js +1 -1
  75. package/dest/MockZKPassportVerifierAbi.d.ts +204 -33
  76. package/dest/MockZKPassportVerifierAbi.d.ts.map +1 -1
  77. package/dest/MockZKPassportVerifierAbi.js +270 -39
  78. package/dest/MockZKPassportVerifierBytecode.d.ts +1 -1
  79. package/dest/MockZKPassportVerifierBytecode.d.ts.map +1 -1
  80. package/dest/MockZKPassportVerifierBytecode.js +1 -1
  81. package/dest/MultiAdderAbi.d.ts +160 -0
  82. package/dest/MultiAdderAbi.d.ts.map +1 -1
  83. package/dest/MultiAdderAbi.js +215 -0
  84. package/dest/MultiAdderBytecode.d.ts +1 -1
  85. package/dest/MultiAdderBytecode.js +1 -1
  86. package/dest/NewGovernanceProposerPayloadAbi.d.ts +160 -0
  87. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  88. package/dest/NewGovernanceProposerPayloadAbi.js +215 -0
  89. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +1 -1
  90. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  91. package/dest/OutboxAbi.d.ts +160 -0
  92. package/dest/OutboxAbi.d.ts.map +1 -1
  93. package/dest/OutboxAbi.js +215 -0
  94. package/dest/OutboxBytecode.d.ts +1 -1
  95. package/dest/OutboxBytecode.js +1 -1
  96. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +160 -0
  97. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
  98. package/dest/RegisterNewRollupVersionPayloadAbi.js +215 -0
  99. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
  100. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  101. package/dest/RegistryAbi.d.ts +144 -0
  102. package/dest/RegistryAbi.d.ts.map +1 -1
  103. package/dest/RegistryAbi.js +193 -0
  104. package/dest/RegistryBytecode.d.ts +1 -1
  105. package/dest/RegistryBytecode.js +1 -1
  106. package/dest/RewardDistributorAbi.d.ts +160 -0
  107. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  108. package/dest/RewardDistributorAbi.js +215 -0
  109. package/dest/RewardDistributorBytecode.d.ts +1 -1
  110. package/dest/RewardDistributorBytecode.js +1 -1
  111. package/dest/{RewardDeploymentExtLibAbi.d.ts → RewardExtLibAbi.d.ts} +171 -3
  112. package/dest/{RewardDeploymentExtLibAbi.d.ts.map → RewardExtLibAbi.d.ts.map} +1 -1
  113. package/dest/{RewardDeploymentExtLibAbi.js → RewardExtLibAbi.js} +228 -2
  114. package/dest/RewardExtLibBytecode.d.ts +9 -0
  115. package/dest/RewardExtLibBytecode.d.ts.map +1 -0
  116. package/dest/RewardExtLibBytecode.js +6 -0
  117. package/dest/RollupAbi.d.ts +134 -4
  118. package/dest/RollupAbi.d.ts.map +1 -1
  119. package/dest/RollupAbi.js +177 -4
  120. package/dest/RollupBytecode.d.ts +57 -39
  121. package/dest/RollupBytecode.d.ts.map +1 -1
  122. package/dest/RollupBytecode.js +63 -39
  123. package/dest/RollupOperationsExtLibAbi.d.ts +116 -0
  124. package/dest/RollupOperationsExtLibAbi.d.ts.map +1 -1
  125. package/dest/RollupOperationsExtLibAbi.js +156 -0
  126. package/dest/RollupOperationsExtLibBytecode.d.ts +1 -1
  127. package/dest/RollupOperationsExtLibBytecode.d.ts.map +1 -1
  128. package/dest/RollupOperationsExtLibBytecode.js +1 -1
  129. package/dest/RollupStorage.d.ts +2 -9
  130. package/dest/RollupStorage.d.ts.map +1 -1
  131. package/dest/RollupStorage.js +2 -10
  132. package/dest/SlashFactoryAbi.d.ts +160 -0
  133. package/dest/SlashFactoryAbi.d.ts.map +1 -1
  134. package/dest/SlashFactoryAbi.js +215 -0
  135. package/dest/SlashFactoryBytecode.d.ts +1 -1
  136. package/dest/SlashFactoryBytecode.js +1 -1
  137. package/dest/SlasherAbi.d.ts +160 -0
  138. package/dest/SlasherAbi.d.ts.map +1 -1
  139. package/dest/SlasherAbi.js +215 -0
  140. package/dest/SlasherBytecode.d.ts +1 -1
  141. package/dest/SlasherBytecode.js +1 -1
  142. package/dest/StakingAssetHandlerAbi.d.ts +212 -53
  143. package/dest/StakingAssetHandlerAbi.d.ts.map +1 -1
  144. package/dest/StakingAssetHandlerAbi.js +279 -65
  145. package/dest/StakingAssetHandlerBytecode.d.ts +1 -1
  146. package/dest/StakingAssetHandlerBytecode.d.ts.map +1 -1
  147. package/dest/StakingAssetHandlerBytecode.js +1 -1
  148. package/dest/TallySlasherDeploymentExtLibAbi.d.ts +160 -0
  149. package/dest/TallySlasherDeploymentExtLibAbi.d.ts.map +1 -1
  150. package/dest/TallySlasherDeploymentExtLibAbi.js +215 -0
  151. package/dest/TallySlasherDeploymentExtLibBytecode.d.ts +1 -1
  152. package/dest/TallySlasherDeploymentExtLibBytecode.js +1 -1
  153. package/dest/TallySlashingProposerAbi.d.ts +128 -0
  154. package/dest/TallySlashingProposerAbi.d.ts.map +1 -1
  155. package/dest/TallySlashingProposerAbi.js +172 -0
  156. package/dest/TallySlashingProposerBytecode.d.ts +1 -1
  157. package/dest/TallySlashingProposerBytecode.js +1 -1
  158. package/dest/TestERC20Abi.d.ts +80 -0
  159. package/dest/TestERC20Abi.d.ts.map +1 -1
  160. package/dest/TestERC20Abi.js +107 -0
  161. package/dest/TestERC20Bytecode.d.ts +1 -1
  162. package/dest/TestERC20Bytecode.js +1 -1
  163. package/dest/TokenPortalAbi.d.ts +160 -0
  164. package/dest/TokenPortalAbi.d.ts.map +1 -1
  165. package/dest/TokenPortalAbi.js +215 -0
  166. package/dest/TokenPortalBytecode.d.ts +1 -1
  167. package/dest/TokenPortalBytecode.d.ts.map +1 -1
  168. package/dest/TokenPortalBytecode.js +1 -1
  169. package/dest/UniswapPortalAbi.d.ts +160 -0
  170. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  171. package/dest/UniswapPortalAbi.js +215 -0
  172. package/dest/UniswapPortalBytecode.d.ts +1 -1
  173. package/dest/UniswapPortalBytecode.js +1 -1
  174. package/dest/ValidatorOperationsExtLibAbi.d.ts +144 -0
  175. package/dest/ValidatorOperationsExtLibAbi.d.ts.map +1 -1
  176. package/dest/ValidatorOperationsExtLibAbi.js +194 -0
  177. package/dest/ValidatorOperationsExtLibBytecode.d.ts +1 -1
  178. package/dest/ValidatorOperationsExtLibBytecode.js +1 -1
  179. package/dest/ValidatorSelectionLibAbi.d.ts +160 -0
  180. package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
  181. package/dest/ValidatorSelectionLibAbi.js +215 -0
  182. package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
  183. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  184. package/dest/checksum.d.ts +1 -1
  185. package/dest/checksum.js +1 -1
  186. package/dest/index.d.ts +2 -2
  187. package/dest/index.d.ts.map +1 -1
  188. package/dest/index.js +2 -2
  189. package/package.json +1 -1
  190. package/dest/RewardDeploymentExtLibBytecode.d.ts +0 -9
  191. package/dest/RewardDeploymentExtLibBytecode.d.ts.map +0 -1
  192. package/dest/RewardDeploymentExtLibBytecode.js +0 -6
@@ -11,10 +11,32 @@ export declare const CoinIssuerAbi: readonly [{
11
11
  readonly internalType: "contract IMintableERC20";
12
12
  }];
13
13
  readonly stateMutability: "view";
14
+ }, {
15
+ readonly type: "error";
16
+ readonly name: "CheckpointUnorderedInsertion";
17
+ readonly inputs: readonly [];
18
+ }, {
19
+ readonly type: "error";
20
+ readonly name: "CoinIssuer__InvalidConfiguration";
21
+ readonly inputs: readonly [];
22
+ }, {
23
+ readonly type: "function";
24
+ readonly name: "DEPLOYMENT_TIME";
25
+ readonly inputs: readonly [];
26
+ readonly outputs: readonly [{
27
+ readonly name: "";
28
+ readonly type: "uint256";
29
+ readonly internalType: "uint256";
30
+ }];
31
+ readonly stateMutability: "view";
14
32
  }, {
15
33
  readonly type: "error";
16
34
  readonly name: "DevNet__NoPruningAllowed";
17
35
  readonly inputs: readonly [];
36
+ }, {
37
+ readonly type: "error";
38
+ readonly name: "ECDSAInvalidSignature";
39
+ readonly inputs: readonly [];
18
40
  }, {
19
41
  readonly type: "error";
20
42
  readonly name: "EmpireBase__PayloadCannotBeAddressZero";
@@ -139,6 +161,16 @@ export declare const CoinIssuerAbi: readonly [{
139
161
  readonly type: "error";
140
162
  readonly name: "MerkleLib__InvalidIndexForPathLength";
141
163
  readonly inputs: readonly [];
164
+ }, {
165
+ readonly type: "function";
166
+ readonly name: "NOMINAL_ANNUAL_PERCENTAGE_CAP";
167
+ readonly inputs: readonly [];
168
+ readonly outputs: readonly [{
169
+ readonly name: "";
170
+ readonly type: "uint256";
171
+ readonly internalType: "uint256";
172
+ }];
173
+ readonly stateMutability: "view";
142
174
  }, {
143
175
  readonly type: "error";
144
176
  readonly name: "Outbox__InvalidChainId";
@@ -151,16 +183,6 @@ export declare const CoinIssuerAbi: readonly [{
151
183
  readonly type: "error";
152
184
  readonly name: "Outbox__Unauthorized";
153
185
  readonly inputs: readonly [];
154
- }, {
155
- readonly type: "function";
156
- readonly name: "RATE";
157
- readonly inputs: readonly [];
158
- readonly outputs: readonly [{
159
- readonly name: "";
160
- readonly type: "uint256";
161
- readonly internalType: "uint256";
162
- }];
163
- readonly stateMutability: "view";
164
186
  }, {
165
187
  readonly type: "error";
166
188
  readonly name: "Registry__NoRollupsRegistered";
@@ -291,6 +313,26 @@ export declare const CoinIssuerAbi: readonly [{
291
313
  readonly inputs: readonly [];
292
314
  readonly outputs: readonly [];
293
315
  readonly stateMutability: "nonpayable";
316
+ }, {
317
+ readonly type: "function";
318
+ readonly name: "cachedBudget";
319
+ readonly inputs: readonly [];
320
+ readonly outputs: readonly [{
321
+ readonly name: "";
322
+ readonly type: "uint256";
323
+ readonly internalType: "uint256";
324
+ }];
325
+ readonly stateMutability: "view";
326
+ }, {
327
+ readonly type: "function";
328
+ readonly name: "cachedBudgetYear";
329
+ readonly inputs: readonly [];
330
+ readonly outputs: readonly [{
331
+ readonly name: "";
332
+ readonly type: "uint256";
333
+ readonly internalType: "uint256";
334
+ }];
335
+ readonly stateMutability: "view";
294
336
  }, {
295
337
  readonly type: "function";
296
338
  readonly name: "mintAvailable";
@@ -318,18 +360,16 @@ export declare const CoinIssuerAbi: readonly [{
318
360
  readonly outputs: readonly [];
319
361
  readonly stateMutability: "nonpayable";
320
362
  }, {
321
- readonly type: "function";
322
- readonly name: "timeOfLastMint";
323
- readonly inputs: readonly [];
324
- readonly outputs: readonly [{
325
- readonly name: "";
363
+ readonly type: "error";
364
+ readonly name: "AttestationLib__NotASignatureAtIndex";
365
+ readonly inputs: readonly [{
366
+ readonly name: "index";
326
367
  readonly type: "uint256";
327
368
  readonly internalType: "uint256";
328
369
  }];
329
- readonly stateMutability: "view";
330
370
  }, {
331
371
  readonly type: "error";
332
- readonly name: "AttestationLib__NotASignatureAtIndex";
372
+ readonly name: "AttestationLib__NotAnAddressAtIndex";
333
373
  readonly inputs: readonly [{
334
374
  readonly name: "index";
335
375
  readonly type: "uint256";
@@ -337,12 +377,52 @@ export declare const CoinIssuerAbi: readonly [{
337
377
  }];
338
378
  }, {
339
379
  readonly type: "error";
340
- readonly name: "AttestationLib__NotAnAddressAtIndex";
380
+ readonly name: "ECDSAInvalidSignatureLength";
341
381
  readonly inputs: readonly [{
342
- readonly name: "index";
382
+ readonly name: "length";
343
383
  readonly type: "uint256";
344
384
  readonly internalType: "uint256";
345
385
  }];
386
+ }, {
387
+ readonly type: "error";
388
+ readonly name: "ECDSAInvalidSignatureS";
389
+ readonly inputs: readonly [{
390
+ readonly name: "s";
391
+ readonly type: "bytes32";
392
+ readonly internalType: "bytes32";
393
+ }];
394
+ }, {
395
+ readonly type: "error";
396
+ readonly name: "ERC20InvalidApprover";
397
+ readonly inputs: readonly [{
398
+ readonly name: "approver";
399
+ readonly type: "address";
400
+ readonly internalType: "address";
401
+ }];
402
+ }, {
403
+ readonly type: "error";
404
+ readonly name: "ERC20InvalidReceiver";
405
+ readonly inputs: readonly [{
406
+ readonly name: "receiver";
407
+ readonly type: "address";
408
+ readonly internalType: "address";
409
+ }];
410
+ }, {
411
+ readonly type: "error";
412
+ readonly name: "ERC20InvalidSender";
413
+ readonly inputs: readonly [{
414
+ readonly name: "sender";
415
+ readonly type: "address";
416
+ readonly internalType: "address";
417
+ }];
418
+ }, {
419
+ readonly type: "error";
420
+ readonly name: "ERC20InvalidSpender";
421
+ readonly inputs: readonly [{
422
+ readonly name: "spender";
423
+ readonly type: "address";
424
+ readonly internalType: "address";
425
+ }];
346
426
  }, {
347
427
  readonly type: "error";
348
428
  readonly name: "EmpireBase__FailedToSubmitRoundWinner";
@@ -615,6 +695,22 @@ export declare const CoinIssuerAbi: readonly [{
615
695
  readonly type: "bytes32";
616
696
  readonly internalType: "bytes32";
617
697
  }];
698
+ }, {
699
+ readonly type: "error";
700
+ readonly name: "SafeCastOverflowedIntToUint";
701
+ readonly inputs: readonly [{
702
+ readonly name: "value";
703
+ readonly type: "int256";
704
+ readonly internalType: "int256";
705
+ }];
706
+ }, {
707
+ readonly type: "error";
708
+ readonly name: "SafeCastOverflowedUintToInt";
709
+ readonly inputs: readonly [{
710
+ readonly name: "value";
711
+ readonly type: "uint256";
712
+ readonly internalType: "uint256";
713
+ }];
618
714
  }, {
619
715
  readonly type: "error";
620
716
  readonly name: "Staking__AlreadyActive";
@@ -905,6 +1001,21 @@ export declare const CoinIssuerAbi: readonly [{
905
1001
  readonly type: "uint256";
906
1002
  readonly internalType: "uint256";
907
1003
  }];
1004
+ }, {
1005
+ readonly type: "event";
1006
+ readonly name: "BudgetReset";
1007
+ readonly inputs: readonly [{
1008
+ readonly name: "newYear";
1009
+ readonly type: "uint256";
1010
+ readonly indexed: true;
1011
+ readonly internalType: "uint256";
1012
+ }, {
1013
+ readonly name: "newBudget";
1014
+ readonly type: "uint256";
1015
+ readonly indexed: false;
1016
+ readonly internalType: "uint256";
1017
+ }];
1018
+ readonly anonymous: false;
908
1019
  }, {
909
1020
  readonly type: "error";
910
1021
  readonly name: "CoinIssuer__InsufficientMintAvailable";
@@ -1460,6 +1571,42 @@ export declare const CoinIssuerAbi: readonly [{
1460
1571
  readonly type: "uint256";
1461
1572
  readonly internalType: "uint256";
1462
1573
  }];
1574
+ }, {
1575
+ readonly type: "error";
1576
+ readonly name: "Rollup__TooSoonToSetRewardsClaimable";
1577
+ readonly inputs: readonly [{
1578
+ readonly name: "earliestRewardsClaimableTimestamp";
1579
+ readonly type: "uint256";
1580
+ readonly internalType: "uint256";
1581
+ }, {
1582
+ readonly name: "currentTimestamp";
1583
+ readonly type: "uint256";
1584
+ readonly internalType: "uint256";
1585
+ }];
1586
+ }, {
1587
+ readonly type: "error";
1588
+ readonly name: "SafeCastOverflowedIntDowncast";
1589
+ readonly inputs: readonly [{
1590
+ readonly name: "bits";
1591
+ readonly type: "uint8";
1592
+ readonly internalType: "uint8";
1593
+ }, {
1594
+ readonly name: "value";
1595
+ readonly type: "int256";
1596
+ readonly internalType: "int256";
1597
+ }];
1598
+ }, {
1599
+ readonly type: "error";
1600
+ readonly name: "SafeCastOverflowedUintDowncast";
1601
+ readonly inputs: readonly [{
1602
+ readonly name: "bits";
1603
+ readonly type: "uint8";
1604
+ readonly internalType: "uint8";
1605
+ }, {
1606
+ readonly name: "value";
1607
+ readonly type: "uint256";
1608
+ readonly internalType: "uint256";
1609
+ }];
1463
1610
  }, {
1464
1611
  readonly type: "error";
1465
1612
  readonly name: "SampleLib__IndexOutOfBounds";
@@ -1841,7 +1988,7 @@ export declare const CoinIssuerAbi: readonly [{
1841
1988
  readonly type: "address";
1842
1989
  readonly internalType: "contract IMintableERC20";
1843
1990
  }, {
1844
- readonly name: "_rate";
1991
+ readonly name: "_annualPercentage";
1845
1992
  readonly type: "uint256";
1846
1993
  readonly internalType: "uint256";
1847
1994
  }, {
@@ -1866,6 +2013,38 @@ export declare const CoinIssuerAbi: readonly [{
1866
2013
  readonly type: "uint256";
1867
2014
  readonly internalType: "uint256";
1868
2015
  }];
2016
+ }, {
2017
+ readonly type: "error";
2018
+ readonly name: "ERC20InsufficientAllowance";
2019
+ readonly inputs: readonly [{
2020
+ readonly name: "spender";
2021
+ readonly type: "address";
2022
+ readonly internalType: "address";
2023
+ }, {
2024
+ readonly name: "allowance";
2025
+ readonly type: "uint256";
2026
+ readonly internalType: "uint256";
2027
+ }, {
2028
+ readonly name: "needed";
2029
+ readonly type: "uint256";
2030
+ readonly internalType: "uint256";
2031
+ }];
2032
+ }, {
2033
+ readonly type: "error";
2034
+ readonly name: "ERC20InsufficientBalance";
2035
+ readonly inputs: readonly [{
2036
+ readonly name: "sender";
2037
+ readonly type: "address";
2038
+ readonly internalType: "address";
2039
+ }, {
2040
+ readonly name: "balance";
2041
+ readonly type: "uint256";
2042
+ readonly internalType: "uint256";
2043
+ }, {
2044
+ readonly name: "needed";
2045
+ readonly type: "uint256";
2046
+ readonly internalType: "uint256";
2047
+ }];
1869
2048
  }, {
1870
2049
  readonly type: "error";
1871
2050
  readonly name: "Governance__CheckpointedUintLib__InsufficientValue";
@@ -1 +1 @@
1
- {"version":3,"file":"CoinIssuerAbi.d.ts","sourceRoot":"","sources":["../src/CoinIssuerAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
+ "inputs": []
21
+ },
22
+ {
23
+ "type": "error",
24
+ "name": "CoinIssuer__InvalidConfiguration",
25
+ "inputs": []
26
+ },
27
+ {
28
+ "type": "function",
29
+ "name": "DEPLOYMENT_TIME",
30
+ "inputs": [],
31
+ "outputs": [
32
+ {
33
+ "name": "",
34
+ "type": "uint256",
35
+ "internalType": "uint256"
36
+ }
37
+ ],
38
+ "stateMutability": "view"
39
+ },
17
40
  {
18
41
  "type": "error",
19
42
  "name": "DevNet__NoPruningAllowed",
20
43
  "inputs": []
21
44
  },
45
+ {
46
+ "type": "error",
47
+ "name": "ECDSAInvalidSignature",
48
+ "inputs": []
49
+ },
22
50
  {
23
51
  "type": "error",
24
52
  "name": "EmpireBase__PayloadCannotBeAddressZero",
@@ -174,6 +202,19 @@
174
202
  "name": "MerkleLib__InvalidIndexForPathLength",
175
203
  "inputs": []
176
204
  },
205
+ {
206
+ "type": "function",
207
+ "name": "NOMINAL_ANNUAL_PERCENTAGE_CAP",
208
+ "inputs": [],
209
+ "outputs": [
210
+ {
211
+ "name": "",
212
+ "type": "uint256",
213
+ "internalType": "uint256"
214
+ }
215
+ ],
216
+ "stateMutability": "view"
217
+ },
177
218
  {
178
219
  "type": "error",
179
220
  "name": "Outbox__InvalidChainId",
@@ -189,19 +230,6 @@
189
230
  "name": "Outbox__Unauthorized",
190
231
  "inputs": []
191
232
  },
192
- {
193
- "type": "function",
194
- "name": "RATE",
195
- "inputs": [],
196
- "outputs": [
197
- {
198
- "name": "",
199
- "type": "uint256",
200
- "internalType": "uint256"
201
- }
202
- ],
203
- "stateMutability": "view"
204
- },
205
233
  {
206
234
  "type": "error",
207
235
  "name": "Registry__NoRollupsRegistered",
@@ -366,7 +394,7 @@
366
394
  },
367
395
  {
368
396
  "type": "function",
369
- "name": "mintAvailable",
397
+ "name": "cachedBudget",
370
398
  "inputs": [],
371
399
  "outputs": [
372
400
  {
@@ -379,37 +407,50 @@
379
407
  },
380
408
  {
381
409
  "type": "function",
382
- "name": "owner",
410
+ "name": "cachedBudgetYear",
383
411
  "inputs": [],
384
412
  "outputs": [
385
413
  {
386
414
  "name": "",
387
- "type": "address",
388
- "internalType": "address"
415
+ "type": "uint256",
416
+ "internalType": "uint256"
389
417
  }
390
418
  ],
391
419
  "stateMutability": "view"
392
420
  },
393
421
  {
394
422
  "type": "function",
395
- "name": "renounceOwnership",
423
+ "name": "mintAvailable",
396
424
  "inputs": [],
397
- "outputs": [],
398
- "stateMutability": "nonpayable"
425
+ "outputs": [
426
+ {
427
+ "name": "",
428
+ "type": "uint256",
429
+ "internalType": "uint256"
430
+ }
431
+ ],
432
+ "stateMutability": "view"
399
433
  },
400
434
  {
401
435
  "type": "function",
402
- "name": "timeOfLastMint",
436
+ "name": "owner",
403
437
  "inputs": [],
404
438
  "outputs": [
405
439
  {
406
440
  "name": "",
407
- "type": "uint256",
408
- "internalType": "uint256"
441
+ "type": "address",
442
+ "internalType": "address"
409
443
  }
410
444
  ],
411
445
  "stateMutability": "view"
412
446
  },
447
+ {
448
+ "type": "function",
449
+ "name": "renounceOwnership",
450
+ "inputs": [],
451
+ "outputs": [],
452
+ "stateMutability": "nonpayable"
453
+ },
413
454
  {
414
455
  "type": "error",
415
456
  "name": "AttestationLib__NotASignatureAtIndex",
@@ -432,6 +473,72 @@
432
473
  }
433
474
  ]
434
475
  },
476
+ {
477
+ "type": "error",
478
+ "name": "ECDSAInvalidSignatureLength",
479
+ "inputs": [
480
+ {
481
+ "name": "length",
482
+ "type": "uint256",
483
+ "internalType": "uint256"
484
+ }
485
+ ]
486
+ },
487
+ {
488
+ "type": "error",
489
+ "name": "ECDSAInvalidSignatureS",
490
+ "inputs": [
491
+ {
492
+ "name": "s",
493
+ "type": "bytes32",
494
+ "internalType": "bytes32"
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "type": "error",
500
+ "name": "ERC20InvalidApprover",
501
+ "inputs": [
502
+ {
503
+ "name": "approver",
504
+ "type": "address",
505
+ "internalType": "address"
506
+ }
507
+ ]
508
+ },
509
+ {
510
+ "type": "error",
511
+ "name": "ERC20InvalidReceiver",
512
+ "inputs": [
513
+ {
514
+ "name": "receiver",
515
+ "type": "address",
516
+ "internalType": "address"
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "type": "error",
522
+ "name": "ERC20InvalidSender",
523
+ "inputs": [
524
+ {
525
+ "name": "sender",
526
+ "type": "address",
527
+ "internalType": "address"
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ "type": "error",
533
+ "name": "ERC20InvalidSpender",
534
+ "inputs": [
535
+ {
536
+ "name": "spender",
537
+ "type": "address",
538
+ "internalType": "address"
539
+ }
540
+ ]
541
+ },
435
542
  {
436
543
  "type": "error",
437
544
  "name": "EmpireBase__FailedToSubmitRoundWinner",
@@ -806,6 +913,28 @@
806
913
  }
807
914
  ]
808
915
  },
916
+ {
917
+ "type": "error",
918
+ "name": "SafeCastOverflowedIntToUint",
919
+ "inputs": [
920
+ {
921
+ "name": "value",
922
+ "type": "int256",
923
+ "internalType": "int256"
924
+ }
925
+ ]
926
+ },
927
+ {
928
+ "type": "error",
929
+ "name": "SafeCastOverflowedUintToInt",
930
+ "inputs": [
931
+ {
932
+ "name": "value",
933
+ "type": "uint256",
934
+ "internalType": "uint256"
935
+ }
936
+ ]
937
+ },
809
938
  {
810
939
  "type": "error",
811
940
  "name": "Staking__AlreadyActive",
@@ -1202,6 +1331,25 @@
1202
1331
  }
1203
1332
  ]
1204
1333
  },
1334
+ {
1335
+ "type": "event",
1336
+ "name": "BudgetReset",
1337
+ "inputs": [
1338
+ {
1339
+ "name": "newYear",
1340
+ "type": "uint256",
1341
+ "indexed": true,
1342
+ "internalType": "uint256"
1343
+ },
1344
+ {
1345
+ "name": "newBudget",
1346
+ "type": "uint256",
1347
+ "indexed": false,
1348
+ "internalType": "uint256"
1349
+ }
1350
+ ],
1351
+ "anonymous": false
1352
+ },
1205
1353
  {
1206
1354
  "type": "error",
1207
1355
  "name": "CoinIssuer__InsufficientMintAvailable",
@@ -1941,6 +2089,54 @@
1941
2089
  }
1942
2090
  ]
1943
2091
  },
2092
+ {
2093
+ "type": "error",
2094
+ "name": "Rollup__TooSoonToSetRewardsClaimable",
2095
+ "inputs": [
2096
+ {
2097
+ "name": "earliestRewardsClaimableTimestamp",
2098
+ "type": "uint256",
2099
+ "internalType": "uint256"
2100
+ },
2101
+ {
2102
+ "name": "currentTimestamp",
2103
+ "type": "uint256",
2104
+ "internalType": "uint256"
2105
+ }
2106
+ ]
2107
+ },
2108
+ {
2109
+ "type": "error",
2110
+ "name": "SafeCastOverflowedIntDowncast",
2111
+ "inputs": [
2112
+ {
2113
+ "name": "bits",
2114
+ "type": "uint8",
2115
+ "internalType": "uint8"
2116
+ },
2117
+ {
2118
+ "name": "value",
2119
+ "type": "int256",
2120
+ "internalType": "int256"
2121
+ }
2122
+ ]
2123
+ },
2124
+ {
2125
+ "type": "error",
2126
+ "name": "SafeCastOverflowedUintDowncast",
2127
+ "inputs": [
2128
+ {
2129
+ "name": "bits",
2130
+ "type": "uint8",
2131
+ "internalType": "uint8"
2132
+ },
2133
+ {
2134
+ "name": "value",
2135
+ "type": "uint256",
2136
+ "internalType": "uint256"
2137
+ }
2138
+ ]
2139
+ },
1944
2140
  {
1945
2141
  "type": "error",
1946
2142
  "name": "SampleLib__IndexOutOfBounds",
@@ -2448,7 +2644,7 @@
2448
2644
  "internalType": "contract IMintableERC20"
2449
2645
  },
2450
2646
  {
2451
- "name": "_rate",
2647
+ "name": "_annualPercentage",
2452
2648
  "type": "uint256",
2453
2649
  "internalType": "uint256"
2454
2650
  },
@@ -2481,6 +2677,48 @@
2481
2677
  }
2482
2678
  ]
2483
2679
  },
2680
+ {
2681
+ "type": "error",
2682
+ "name": "ERC20InsufficientAllowance",
2683
+ "inputs": [
2684
+ {
2685
+ "name": "spender",
2686
+ "type": "address",
2687
+ "internalType": "address"
2688
+ },
2689
+ {
2690
+ "name": "allowance",
2691
+ "type": "uint256",
2692
+ "internalType": "uint256"
2693
+ },
2694
+ {
2695
+ "name": "needed",
2696
+ "type": "uint256",
2697
+ "internalType": "uint256"
2698
+ }
2699
+ ]
2700
+ },
2701
+ {
2702
+ "type": "error",
2703
+ "name": "ERC20InsufficientBalance",
2704
+ "inputs": [
2705
+ {
2706
+ "name": "sender",
2707
+ "type": "address",
2708
+ "internalType": "address"
2709
+ },
2710
+ {
2711
+ "name": "balance",
2712
+ "type": "uint256",
2713
+ "internalType": "uint256"
2714
+ },
2715
+ {
2716
+ "name": "needed",
2717
+ "type": "uint256",
2718
+ "internalType": "uint256"
2719
+ }
2720
+ ]
2721
+ },
2484
2722
  {
2485
2723
  "type": "error",
2486
2724
  "name": "Governance__CheckpointedUintLib__InsufficientValue",