@aztec/l1-artifacts 1.0.0-nightly.20250618 → 1.0.0-nightly.20250620

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 (154) hide show
  1. package/dest/CoinIssuerAbi.d.ts +6 -26
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +6 -32
  4. package/dest/CoinIssuerBytecode.d.ts +1 -1
  5. package/dest/CoinIssuerBytecode.js +1 -1
  6. package/dest/EmpireBaseAbi.d.ts +58 -14
  7. package/dest/EmpireBaseAbi.d.ts.map +1 -1
  8. package/dest/EmpireBaseAbi.js +76 -16
  9. package/dest/ErrorsAbi.d.ts +6 -26
  10. package/dest/ErrorsAbi.d.ts.map +1 -1
  11. package/dest/ErrorsAbi.js +6 -32
  12. package/dest/ExtRollupLib2Abi.d.ts +6 -26
  13. package/dest/ExtRollupLib2Abi.d.ts.map +1 -1
  14. package/dest/ExtRollupLib2Abi.js +6 -32
  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/ExtRollupLibAbi.d.ts +6 -26
  19. package/dest/ExtRollupLibAbi.d.ts.map +1 -1
  20. package/dest/ExtRollupLibAbi.js +6 -32
  21. package/dest/ExtRollupLibBytecode.d.ts +1 -1
  22. package/dest/ExtRollupLibBytecode.d.ts.map +1 -1
  23. package/dest/ExtRollupLibBytecode.js +1 -1
  24. package/dest/FeeAssetHandlerAbi.d.ts +6 -26
  25. package/dest/FeeAssetHandlerAbi.d.ts.map +1 -1
  26. package/dest/FeeAssetHandlerAbi.js +6 -32
  27. package/dest/FeeJuicePortalAbi.d.ts +6 -26
  28. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  29. package/dest/FeeJuicePortalAbi.js +6 -32
  30. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  31. package/dest/FeeJuicePortalBytecode.js +1 -1
  32. package/dest/GSEAbi.d.ts +34 -62
  33. package/dest/GSEAbi.d.ts.map +1 -1
  34. package/dest/GSEAbi.js +43 -80
  35. package/dest/GSEBytecode.d.ts +1 -1
  36. package/dest/GSEBytecode.d.ts.map +1 -1
  37. package/dest/GSEBytecode.js +1 -1
  38. package/dest/GovernanceAbi.d.ts +6 -26
  39. package/dest/GovernanceAbi.d.ts.map +1 -1
  40. package/dest/GovernanceAbi.js +6 -32
  41. package/dest/GovernanceBytecode.d.ts +1 -1
  42. package/dest/GovernanceBytecode.js +1 -1
  43. package/dest/GovernanceProposerAbi.d.ts +58 -14
  44. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  45. package/dest/GovernanceProposerAbi.js +76 -16
  46. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  47. package/dest/GovernanceProposerBytecode.d.ts.map +1 -1
  48. package/dest/GovernanceProposerBytecode.js +1 -1
  49. package/dest/HonkVerifierAbi.d.ts +6 -26
  50. package/dest/HonkVerifierAbi.d.ts.map +1 -1
  51. package/dest/HonkVerifierAbi.js +6 -32
  52. package/dest/HonkVerifierBytecode.d.ts +1 -1
  53. package/dest/HonkVerifierBytecode.d.ts.map +1 -1
  54. package/dest/HonkVerifierBytecode.js +1 -1
  55. package/dest/IERC20Abi.d.ts +6 -26
  56. package/dest/IERC20Abi.d.ts.map +1 -1
  57. package/dest/IERC20Abi.js +6 -32
  58. package/dest/IVerifierAbi.d.ts +6 -26
  59. package/dest/IVerifierAbi.d.ts.map +1 -1
  60. package/dest/IVerifierAbi.js +6 -32
  61. package/dest/InboxAbi.d.ts +6 -26
  62. package/dest/InboxAbi.d.ts.map +1 -1
  63. package/dest/InboxAbi.js +6 -32
  64. package/dest/InboxBytecode.d.ts +1 -1
  65. package/dest/InboxBytecode.d.ts.map +1 -1
  66. package/dest/InboxBytecode.js +1 -1
  67. package/dest/MockVerifierAbi.d.ts +6 -26
  68. package/dest/MockVerifierAbi.d.ts.map +1 -1
  69. package/dest/MockVerifierAbi.js +6 -32
  70. package/dest/MockZKPassportVerifierAbi.d.ts +6 -26
  71. package/dest/MockZKPassportVerifierAbi.d.ts.map +1 -1
  72. package/dest/MockZKPassportVerifierAbi.js +6 -32
  73. package/dest/MultiAdderAbi.d.ts +6 -26
  74. package/dest/MultiAdderAbi.d.ts.map +1 -1
  75. package/dest/MultiAdderAbi.js +6 -32
  76. package/dest/MultiAdderBytecode.d.ts +1 -1
  77. package/dest/MultiAdderBytecode.js +1 -1
  78. package/dest/NewGovernanceProposerPayloadAbi.d.ts +6 -26
  79. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  80. package/dest/NewGovernanceProposerPayloadAbi.js +6 -32
  81. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +1 -1
  82. package/dest/NewGovernanceProposerPayloadBytecode.d.ts.map +1 -1
  83. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  84. package/dest/OutboxAbi.d.ts +6 -26
  85. package/dest/OutboxAbi.d.ts.map +1 -1
  86. package/dest/OutboxAbi.js +6 -32
  87. package/dest/OutboxBytecode.d.ts +1 -1
  88. package/dest/OutboxBytecode.js +1 -1
  89. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +6 -26
  90. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
  91. package/dest/RegisterNewRollupVersionPayloadAbi.js +6 -32
  92. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
  93. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  94. package/dest/RegistryAbi.d.ts +6 -26
  95. package/dest/RegistryAbi.d.ts.map +1 -1
  96. package/dest/RegistryAbi.js +6 -32
  97. package/dest/RegistryBytecode.d.ts +1 -1
  98. package/dest/RegistryBytecode.js +1 -1
  99. package/dest/RewardDistributorAbi.d.ts +6 -26
  100. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  101. package/dest/RewardDistributorAbi.js +6 -32
  102. package/dest/RewardDistributorBytecode.d.ts +1 -1
  103. package/dest/RewardDistributorBytecode.js +1 -1
  104. package/dest/RollupAbi.d.ts +8 -32
  105. package/dest/RollupAbi.d.ts.map +1 -1
  106. package/dest/RollupAbi.js +8 -39
  107. package/dest/RollupBytecode.d.ts +21 -21
  108. package/dest/RollupBytecode.d.ts.map +1 -1
  109. package/dest/RollupBytecode.js +21 -21
  110. package/dest/RollupStorage.d.ts +5 -5
  111. package/dest/RollupStorage.js +5 -5
  112. package/dest/SlashFactoryAbi.d.ts +6 -26
  113. package/dest/SlashFactoryAbi.d.ts.map +1 -1
  114. package/dest/SlashFactoryAbi.js +6 -32
  115. package/dest/SlashFactoryBytecode.d.ts +1 -1
  116. package/dest/SlashFactoryBytecode.js +1 -1
  117. package/dest/SlasherAbi.d.ts +6 -26
  118. package/dest/SlasherAbi.d.ts.map +1 -1
  119. package/dest/SlasherAbi.js +6 -32
  120. package/dest/SlasherBytecode.d.ts +1 -1
  121. package/dest/SlasherBytecode.d.ts.map +1 -1
  122. package/dest/SlasherBytecode.js +1 -1
  123. package/dest/SlashingProposerAbi.d.ts +58 -14
  124. package/dest/SlashingProposerAbi.d.ts.map +1 -1
  125. package/dest/SlashingProposerAbi.js +76 -16
  126. package/dest/SlashingProposerBytecode.d.ts +1 -1
  127. package/dest/SlashingProposerBytecode.d.ts.map +1 -1
  128. package/dest/SlashingProposerBytecode.js +1 -1
  129. package/dest/StakingAssetHandlerAbi.d.ts +6 -26
  130. package/dest/StakingAssetHandlerAbi.d.ts.map +1 -1
  131. package/dest/StakingAssetHandlerAbi.js +6 -32
  132. package/dest/StakingAssetHandlerBytecode.d.ts +1 -1
  133. package/dest/StakingAssetHandlerBytecode.js +1 -1
  134. package/dest/TestERC20Abi.d.ts +6 -26
  135. package/dest/TestERC20Abi.d.ts.map +1 -1
  136. package/dest/TestERC20Abi.js +6 -32
  137. package/dest/TokenPortalAbi.d.ts +6 -26
  138. package/dest/TokenPortalAbi.d.ts.map +1 -1
  139. package/dest/TokenPortalAbi.js +6 -32
  140. package/dest/TokenPortalBytecode.d.ts +1 -1
  141. package/dest/TokenPortalBytecode.js +1 -1
  142. package/dest/UniswapPortalAbi.d.ts +6 -26
  143. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  144. package/dest/UniswapPortalAbi.js +6 -32
  145. package/dest/UniswapPortalBytecode.d.ts +1 -1
  146. package/dest/UniswapPortalBytecode.js +1 -1
  147. package/dest/ValidatorSelectionLibAbi.d.ts +6 -26
  148. package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
  149. package/dest/ValidatorSelectionLibAbi.js +6 -32
  150. package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
  151. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  152. package/dest/checksum.d.ts +1 -1
  153. package/dest/checksum.js +1 -1
  154. package/package.json +1 -1
@@ -99,10 +99,6 @@ export declare const CoinIssuerAbi: readonly [{
99
99
  readonly type: "address";
100
100
  readonly internalType: "address";
101
101
  }];
102
- }, {
103
- readonly type: "error";
104
- readonly name: "GSE__EmptyVoter";
105
- readonly inputs: readonly [];
106
102
  }, {
107
103
  readonly type: "error";
108
104
  readonly name: "GSE__FailedToRemove";
@@ -982,11 +978,11 @@ export declare const CoinIssuerAbi: readonly [{
982
978
  readonly inputs: readonly [{
983
979
  readonly name: "deadline";
984
980
  readonly type: "uint256";
985
- readonly internalType: "Slot";
981
+ readonly internalType: "Epoch";
986
982
  }, {
987
- readonly name: "currentSlot";
983
+ readonly name: "currentEpoch";
988
984
  readonly type: "uint256";
989
- readonly internalType: "Slot";
985
+ readonly internalType: "Epoch";
990
986
  }];
991
987
  }, {
992
988
  readonly type: "error";
@@ -998,11 +994,11 @@ export declare const CoinIssuerAbi: readonly [{
998
994
  readonly inputs: readonly [{
999
995
  readonly name: "deadline";
1000
996
  readonly type: "uint256";
1001
- readonly internalType: "Slot";
997
+ readonly internalType: "Epoch";
1002
998
  }, {
1003
- readonly name: "currentSlot";
999
+ readonly name: "currentEpoch";
1004
1000
  readonly type: "uint256";
1005
- readonly internalType: "Slot";
1001
+ readonly internalType: "Epoch";
1006
1002
  }];
1007
1003
  }, {
1008
1004
  readonly type: "error";
@@ -1116,22 +1112,6 @@ export declare const CoinIssuerAbi: readonly [{
1116
1112
  readonly type: "uint256";
1117
1113
  readonly internalType: "uint256";
1118
1114
  }];
1119
- }, {
1120
- readonly type: "error";
1121
- readonly name: "SignatureLib__CannotVerifyEmpty";
1122
- readonly inputs: readonly [];
1123
- }, {
1124
- readonly type: "error";
1125
- readonly name: "SignatureLib__InvalidSignature";
1126
- readonly inputs: readonly [{
1127
- readonly name: "expected";
1128
- readonly type: "address";
1129
- readonly internalType: "address";
1130
- }, {
1131
- readonly name: "recovered";
1132
- readonly type: "address";
1133
- readonly internalType: "address";
1134
- }];
1135
1115
  }, {
1136
1116
  readonly type: "error";
1137
1117
  readonly name: "Staking__AlreadyActive";
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA49DhB,CAAC"}
@@ -129,11 +129,6 @@
129
129
  }
130
130
  ]
131
131
  },
132
- {
133
- "type": "error",
134
- "name": "GSE__EmptyVoter",
135
- "inputs": []
136
- },
137
132
  {
138
133
  "type": "error",
139
134
  "name": "GSE__FailedToRemove",
@@ -1299,12 +1294,12 @@
1299
1294
  {
1300
1295
  "name": "deadline",
1301
1296
  "type": "uint256",
1302
- "internalType": "Slot"
1297
+ "internalType": "Epoch"
1303
1298
  },
1304
1299
  {
1305
- "name": "currentSlot",
1300
+ "name": "currentEpoch",
1306
1301
  "type": "uint256",
1307
- "internalType": "Slot"
1302
+ "internalType": "Epoch"
1308
1303
  }
1309
1304
  ]
1310
1305
  },
@@ -1320,12 +1315,12 @@
1320
1315
  {
1321
1316
  "name": "deadline",
1322
1317
  "type": "uint256",
1323
- "internalType": "Slot"
1318
+ "internalType": "Epoch"
1324
1319
  },
1325
1320
  {
1326
- "name": "currentSlot",
1321
+ "name": "currentEpoch",
1327
1322
  "type": "uint256",
1328
- "internalType": "Slot"
1323
+ "internalType": "Epoch"
1329
1324
  }
1330
1325
  ]
1331
1326
  },
@@ -1477,27 +1472,6 @@
1477
1472
  }
1478
1473
  ]
1479
1474
  },
1480
- {
1481
- "type": "error",
1482
- "name": "SignatureLib__CannotVerifyEmpty",
1483
- "inputs": []
1484
- },
1485
- {
1486
- "type": "error",
1487
- "name": "SignatureLib__InvalidSignature",
1488
- "inputs": [
1489
- {
1490
- "name": "expected",
1491
- "type": "address",
1492
- "internalType": "address"
1493
- },
1494
- {
1495
- "name": "recovered",
1496
- "type": "address",
1497
- "internalType": "address"
1498
- }
1499
- ]
1500
- },
1501
1475
  {
1502
1476
  "type": "error",
1503
1477
  "name": "Staking__AlreadyActive",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * CoinIssuer bytecode.
3
3
  */
4
- export declare const CoinIssuerBytecode = "0x60c060405234801561000f575f5ffd5b5060405161055938038061055983398101604081905261002e916100e7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61006581610081565b50506001600160a01b0390911660805260a05242600155610127565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100e4575f5ffd5b50565b5f5f5f606084860312156100f9575f5ffd5b8351610104816100d0565b60208501516040860151919450925061011c816100d0565b809150509250925092565b60805160a0516104056101545f395f818160e7015261024701525f818160a301526101c301526104055ff3fe608060405234801561000f575f5ffd5b5060043610610085575f3560e01c80638da5cb5b116100585780638da5cb5b1461011f57806399f19cea1461012f578063f2fde38b14610137578063fc8ceea51461014a575f5ffd5b806340c10f19146100895780634800d97f1461009e578063664e9704146100e2578063715018a614610117575b5f5ffd5b61009c610097366004610343565b610153565b005b6100c57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100d9565b61009c61021f565b5f546001600160a01b03166100c5565b610109610232565b61009c61014536600461036b565b610270565b61010960015481565b61015b6102ad565b5f610164610232565b90508082818111156101975760405163a1cc879960e01b8152600481019290925260248201526044015b60405180910390fd5b5050426001556040516340c10f1960e01b81526001600160a01b038481166004830152602482018490527f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906044015f604051808303815f87803b158015610204575f5ffd5b505af1158015610216573d5f5f3e3d5ffd5b50505050505050565b6102276102ad565b6102305f6102d9565b565b5f60015442610241919061039f565b61026b907f00000000000000000000000000000000000000000000000000000000000000006103b8565b905090565b6102786102ad565b6001600160a01b0381166102a157604051631e4fbdf760e01b81525f600482015260240161018e565b6102aa816102d9565b50565b5f546001600160a01b031633146102305760405163118cdaa760e01b815233600482015260240161018e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461033e575f5ffd5b919050565b5f5f60408385031215610354575f5ffd5b61035d83610328565b946020939093013593505050565b5f6020828403121561037b575f5ffd5b61038482610328565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103b2576103b261038b565b92915050565b80820281158282048414176103b2576103b261038b56fea2646970667358221220962b03af0eb3cb1a7dc7c2561dab027c1ecc178ab5d4162cd21368676a45ac5664736f6c634300081b0033";
4
+ export declare const CoinIssuerBytecode = "0x60c060405234801561000f575f5ffd5b5060405161055938038061055983398101604081905261002e916100e7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61006581610081565b50506001600160a01b0390911660805260a05242600155610127565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100e4575f5ffd5b50565b5f5f5f606084860312156100f9575f5ffd5b8351610104816100d0565b60208501516040860151919450925061011c816100d0565b809150509250925092565b60805160a0516104056101545f395f818160e7015261024701525f818160a301526101c301526104055ff3fe608060405234801561000f575f5ffd5b5060043610610085575f3560e01c80638da5cb5b116100585780638da5cb5b1461011f57806399f19cea1461012f578063f2fde38b14610137578063fc8ceea51461014a575f5ffd5b806340c10f19146100895780634800d97f1461009e578063664e9704146100e2578063715018a614610117575b5f5ffd5b61009c610097366004610343565b610153565b005b6100c57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100d9565b61009c61021f565b5f546001600160a01b03166100c5565b610109610232565b61009c61014536600461036b565b610270565b61010960015481565b61015b6102ad565b5f610164610232565b90508082818111156101975760405163a1cc879960e01b8152600481019290925260248201526044015b60405180910390fd5b5050426001556040516340c10f1960e01b81526001600160a01b038481166004830152602482018490527f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906044015f604051808303815f87803b158015610204575f5ffd5b505af1158015610216573d5f5f3e3d5ffd5b50505050505050565b6102276102ad565b6102305f6102d9565b565b5f60015442610241919061039f565b61026b907f00000000000000000000000000000000000000000000000000000000000000006103b8565b905090565b6102786102ad565b6001600160a01b0381166102a157604051631e4fbdf760e01b81525f600482015260240161018e565b6102aa816102d9565b50565b5f546001600160a01b031633146102305760405163118cdaa760e01b815233600482015260240161018e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461033e575f5ffd5b919050565b5f5f60408385031215610354575f5ffd5b61035d83610328565b946020939093013593505050565b5f6020828403121561037b575f5ffd5b61038482610328565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103b2576103b261038b565b92915050565b80820281158282048414176103b2576103b261038b56fea264697066735822122011844780b0aaa653b01505259b352ae8a089cfae024e9a644fd159a3fa721e6164736f6c634300081b0033";
5
5
  /**
6
6
  * CoinIssuer link references.
7
7
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * CoinIssuer bytecode.
3
- */ export const CoinIssuerBytecode = "0x60c060405234801561000f575f5ffd5b5060405161055938038061055983398101604081905261002e916100e7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61006581610081565b50506001600160a01b0390911660805260a05242600155610127565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100e4575f5ffd5b50565b5f5f5f606084860312156100f9575f5ffd5b8351610104816100d0565b60208501516040860151919450925061011c816100d0565b809150509250925092565b60805160a0516104056101545f395f818160e7015261024701525f818160a301526101c301526104055ff3fe608060405234801561000f575f5ffd5b5060043610610085575f3560e01c80638da5cb5b116100585780638da5cb5b1461011f57806399f19cea1461012f578063f2fde38b14610137578063fc8ceea51461014a575f5ffd5b806340c10f19146100895780634800d97f1461009e578063664e9704146100e2578063715018a614610117575b5f5ffd5b61009c610097366004610343565b610153565b005b6100c57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100d9565b61009c61021f565b5f546001600160a01b03166100c5565b610109610232565b61009c61014536600461036b565b610270565b61010960015481565b61015b6102ad565b5f610164610232565b90508082818111156101975760405163a1cc879960e01b8152600481019290925260248201526044015b60405180910390fd5b5050426001556040516340c10f1960e01b81526001600160a01b038481166004830152602482018490527f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906044015f604051808303815f87803b158015610204575f5ffd5b505af1158015610216573d5f5f3e3d5ffd5b50505050505050565b6102276102ad565b6102305f6102d9565b565b5f60015442610241919061039f565b61026b907f00000000000000000000000000000000000000000000000000000000000000006103b8565b905090565b6102786102ad565b6001600160a01b0381166102a157604051631e4fbdf760e01b81525f600482015260240161018e565b6102aa816102d9565b50565b5f546001600160a01b031633146102305760405163118cdaa760e01b815233600482015260240161018e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461033e575f5ffd5b919050565b5f5f60408385031215610354575f5ffd5b61035d83610328565b946020939093013593505050565b5f6020828403121561037b575f5ffd5b61038482610328565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103b2576103b261038b565b92915050565b80820281158282048414176103b2576103b261038b56fea2646970667358221220962b03af0eb3cb1a7dc7c2561dab027c1ecc178ab5d4162cd21368676a45ac5664736f6c634300081b0033";
3
+ */ export const CoinIssuerBytecode = "0x60c060405234801561000f575f5ffd5b5060405161055938038061055983398101604081905261002e916100e7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61006581610081565b50506001600160a01b0390911660805260a05242600155610127565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100e4575f5ffd5b50565b5f5f5f606084860312156100f9575f5ffd5b8351610104816100d0565b60208501516040860151919450925061011c816100d0565b809150509250925092565b60805160a0516104056101545f395f818160e7015261024701525f818160a301526101c301526104055ff3fe608060405234801561000f575f5ffd5b5060043610610085575f3560e01c80638da5cb5b116100585780638da5cb5b1461011f57806399f19cea1461012f578063f2fde38b14610137578063fc8ceea51461014a575f5ffd5b806340c10f19146100895780634800d97f1461009e578063664e9704146100e2578063715018a614610117575b5f5ffd5b61009c610097366004610343565b610153565b005b6100c57f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100d9565b61009c61021f565b5f546001600160a01b03166100c5565b610109610232565b61009c61014536600461036b565b610270565b61010960015481565b61015b6102ad565b5f610164610232565b90508082818111156101975760405163a1cc879960e01b8152600481019290925260248201526044015b60405180910390fd5b5050426001556040516340c10f1960e01b81526001600160a01b038481166004830152602482018490527f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906044015f604051808303815f87803b158015610204575f5ffd5b505af1158015610216573d5f5f3e3d5ffd5b50505050505050565b6102276102ad565b6102305f6102d9565b565b5f60015442610241919061039f565b61026b907f00000000000000000000000000000000000000000000000000000000000000006103b8565b905090565b6102786102ad565b6001600160a01b0381166102a157604051631e4fbdf760e01b81525f600482015260240161018e565b6102aa816102d9565b50565b5f546001600160a01b031633146102305760405163118cdaa760e01b815233600482015260240161018e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461033e575f5ffd5b919050565b5f5f60408385031215610354575f5ffd5b61035d83610328565b946020939093013593505050565b5f6020828403121561037b575f5ffd5b61038482610328565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103b2576103b261038b565b92915050565b80820281158282048414176103b2576103b261038b56fea264697066735822122011844780b0aaa653b01505259b352ae8a089cfae024e9a644fd159a3fa721e6164736f6c634300081b0033";
4
4
  /**
5
5
  * CoinIssuer link references.
6
6
  */ export const CoinIssuerLinkReferences = {};
@@ -45,6 +45,26 @@ export declare const EmpireBaseAbi: readonly [{
45
45
  readonly type: "error";
46
46
  readonly name: "DevNet__NoPruningAllowed";
47
47
  readonly inputs: readonly [];
48
+ }, {
49
+ readonly type: "error";
50
+ readonly name: "ECDSAInvalidSignature";
51
+ readonly inputs: readonly [];
52
+ }, {
53
+ readonly type: "error";
54
+ readonly name: "ECDSAInvalidSignatureLength";
55
+ readonly inputs: readonly [{
56
+ readonly name: "length";
57
+ readonly type: "uint256";
58
+ readonly internalType: "uint256";
59
+ }];
60
+ }, {
61
+ readonly type: "error";
62
+ readonly name: "ECDSAInvalidSignatureS";
63
+ readonly inputs: readonly [{
64
+ readonly name: "s";
65
+ readonly type: "bytes32";
66
+ readonly internalType: "bytes32";
67
+ }];
48
68
  }, {
49
69
  readonly type: "event";
50
70
  readonly name: "EIP712DomainChanged";
@@ -78,10 +98,6 @@ export declare const EmpireBaseAbi: readonly [{
78
98
  readonly type: "address";
79
99
  readonly internalType: "address";
80
100
  }];
81
- }, {
82
- readonly type: "error";
83
- readonly name: "GSE__EmptyVoter";
84
- readonly inputs: readonly [];
85
101
  }, {
86
102
  readonly type: "error";
87
103
  readonly name: "GSE__FailedToRemove";
@@ -984,11 +1000,11 @@ export declare const EmpireBaseAbi: readonly [{
984
1000
  readonly inputs: readonly [{
985
1001
  readonly name: "deadline";
986
1002
  readonly type: "uint256";
987
- readonly internalType: "Slot";
1003
+ readonly internalType: "Epoch";
988
1004
  }, {
989
- readonly name: "currentSlot";
1005
+ readonly name: "currentEpoch";
990
1006
  readonly type: "uint256";
991
- readonly internalType: "Slot";
1007
+ readonly internalType: "Epoch";
992
1008
  }];
993
1009
  }, {
994
1010
  readonly type: "error";
@@ -1000,11 +1016,11 @@ export declare const EmpireBaseAbi: readonly [{
1000
1016
  readonly inputs: readonly [{
1001
1017
  readonly name: "deadline";
1002
1018
  readonly type: "uint256";
1003
- readonly internalType: "Slot";
1019
+ readonly internalType: "Epoch";
1004
1020
  }, {
1005
- readonly name: "currentSlot";
1021
+ readonly name: "currentEpoch";
1006
1022
  readonly type: "uint256";
1007
- readonly internalType: "Slot";
1023
+ readonly internalType: "Epoch";
1008
1024
  }];
1009
1025
  }, {
1010
1026
  readonly type: "error";
@@ -1118,10 +1134,6 @@ export declare const EmpireBaseAbi: readonly [{
1118
1134
  readonly type: "uint256";
1119
1135
  readonly internalType: "uint256";
1120
1136
  }];
1121
- }, {
1122
- readonly type: "error";
1123
- readonly name: "SignatureLib__CannotVerifyEmpty";
1124
- readonly inputs: readonly [];
1125
1137
  }, {
1126
1138
  readonly type: "error";
1127
1139
  readonly name: "SignatureLib__InvalidSignature";
@@ -1608,6 +1620,38 @@ export declare const EmpireBaseAbi: readonly [{
1608
1620
  readonly internalType: "address";
1609
1621
  }];
1610
1622
  readonly stateMutability: "view";
1623
+ }, {
1624
+ readonly type: "function";
1625
+ readonly name: "getVoteSignatureDigest";
1626
+ readonly inputs: readonly [{
1627
+ readonly name: "_proposal";
1628
+ readonly type: "address";
1629
+ readonly internalType: "contract IPayload";
1630
+ }, {
1631
+ readonly name: "_proposer";
1632
+ readonly type: "address";
1633
+ readonly internalType: "address";
1634
+ }];
1635
+ readonly outputs: readonly [{
1636
+ readonly name: "";
1637
+ readonly type: "bytes32";
1638
+ readonly internalType: "bytes32";
1639
+ }];
1640
+ readonly stateMutability: "view";
1641
+ }, {
1642
+ readonly type: "function";
1643
+ readonly name: "nonces";
1644
+ readonly inputs: readonly [{
1645
+ readonly name: "voter";
1646
+ readonly type: "address";
1647
+ readonly internalType: "address";
1648
+ }];
1649
+ readonly outputs: readonly [{
1650
+ readonly name: "nonce";
1651
+ readonly type: "uint256";
1652
+ readonly internalType: "uint256";
1653
+ }];
1654
+ readonly stateMutability: "view";
1611
1655
  }, {
1612
1656
  readonly type: "function";
1613
1657
  readonly name: "rounds";
@@ -1 +1 @@
1
- {"version":3,"file":"EmpireBaseAbi.d.ts","sourceRoot":"","sources":["../src/EmpireBaseAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAywEhB,CAAC"}
@@ -59,6 +59,33 @@
59
59
  "name": "DevNet__NoPruningAllowed",
60
60
  "inputs": []
61
61
  },
62
+ {
63
+ "type": "error",
64
+ "name": "ECDSAInvalidSignature",
65
+ "inputs": []
66
+ },
67
+ {
68
+ "type": "error",
69
+ "name": "ECDSAInvalidSignatureLength",
70
+ "inputs": [
71
+ {
72
+ "name": "length",
73
+ "type": "uint256",
74
+ "internalType": "uint256"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "type": "error",
80
+ "name": "ECDSAInvalidSignatureS",
81
+ "inputs": [
82
+ {
83
+ "name": "s",
84
+ "type": "bytes32",
85
+ "internalType": "bytes32"
86
+ }
87
+ ]
88
+ },
62
89
  {
63
90
  "type": "event",
64
91
  "name": "EIP712DomainChanged",
@@ -101,11 +128,6 @@
101
128
  }
102
129
  ]
103
130
  },
104
- {
105
- "type": "error",
106
- "name": "GSE__EmptyVoter",
107
- "inputs": []
108
- },
109
131
  {
110
132
  "type": "error",
111
133
  "name": "GSE__FailedToRemove",
@@ -1299,12 +1321,12 @@
1299
1321
  {
1300
1322
  "name": "deadline",
1301
1323
  "type": "uint256",
1302
- "internalType": "Slot"
1324
+ "internalType": "Epoch"
1303
1325
  },
1304
1326
  {
1305
- "name": "currentSlot",
1327
+ "name": "currentEpoch",
1306
1328
  "type": "uint256",
1307
- "internalType": "Slot"
1329
+ "internalType": "Epoch"
1308
1330
  }
1309
1331
  ]
1310
1332
  },
@@ -1320,12 +1342,12 @@
1320
1342
  {
1321
1343
  "name": "deadline",
1322
1344
  "type": "uint256",
1323
- "internalType": "Slot"
1345
+ "internalType": "Epoch"
1324
1346
  },
1325
1347
  {
1326
- "name": "currentSlot",
1348
+ "name": "currentEpoch",
1327
1349
  "type": "uint256",
1328
- "internalType": "Slot"
1350
+ "internalType": "Epoch"
1329
1351
  }
1330
1352
  ]
1331
1353
  },
@@ -1477,11 +1499,6 @@
1477
1499
  }
1478
1500
  ]
1479
1501
  },
1480
- {
1481
- "type": "error",
1482
- "name": "SignatureLib__CannotVerifyEmpty",
1483
- "inputs": []
1484
- },
1485
1502
  {
1486
1503
  "type": "error",
1487
1504
  "name": "SignatureLib__InvalidSignature",
@@ -2130,6 +2147,49 @@
2130
2147
  ],
2131
2148
  "stateMutability": "view"
2132
2149
  },
2150
+ {
2151
+ "type": "function",
2152
+ "name": "getVoteSignatureDigest",
2153
+ "inputs": [
2154
+ {
2155
+ "name": "_proposal",
2156
+ "type": "address",
2157
+ "internalType": "contract IPayload"
2158
+ },
2159
+ {
2160
+ "name": "_proposer",
2161
+ "type": "address",
2162
+ "internalType": "address"
2163
+ }
2164
+ ],
2165
+ "outputs": [
2166
+ {
2167
+ "name": "",
2168
+ "type": "bytes32",
2169
+ "internalType": "bytes32"
2170
+ }
2171
+ ],
2172
+ "stateMutability": "view"
2173
+ },
2174
+ {
2175
+ "type": "function",
2176
+ "name": "nonces",
2177
+ "inputs": [
2178
+ {
2179
+ "name": "voter",
2180
+ "type": "address",
2181
+ "internalType": "address"
2182
+ }
2183
+ ],
2184
+ "outputs": [
2185
+ {
2186
+ "name": "nonce",
2187
+ "type": "uint256",
2188
+ "internalType": "uint256"
2189
+ }
2190
+ ],
2191
+ "stateMutability": "view"
2192
+ },
2133
2193
  {
2134
2194
  "type": "function",
2135
2195
  "name": "rounds",
@@ -73,10 +73,6 @@ export declare const ErrorsAbi: readonly [{
73
73
  readonly type: "address";
74
74
  readonly internalType: "address";
75
75
  }];
76
- }, {
77
- readonly type: "error";
78
- readonly name: "GSE__EmptyVoter";
79
- readonly inputs: readonly [];
80
76
  }, {
81
77
  readonly type: "error";
82
78
  readonly name: "GSE__FailedToRemove";
@@ -915,11 +911,11 @@ export declare const ErrorsAbi: readonly [{
915
911
  readonly inputs: readonly [{
916
912
  readonly name: "deadline";
917
913
  readonly type: "uint256";
918
- readonly internalType: "Slot";
914
+ readonly internalType: "Epoch";
919
915
  }, {
920
- readonly name: "currentSlot";
916
+ readonly name: "currentEpoch";
921
917
  readonly type: "uint256";
922
- readonly internalType: "Slot";
918
+ readonly internalType: "Epoch";
923
919
  }];
924
920
  }, {
925
921
  readonly type: "error";
@@ -931,11 +927,11 @@ export declare const ErrorsAbi: readonly [{
931
927
  readonly inputs: readonly [{
932
928
  readonly name: "deadline";
933
929
  readonly type: "uint256";
934
- readonly internalType: "Slot";
930
+ readonly internalType: "Epoch";
935
931
  }, {
936
- readonly name: "currentSlot";
932
+ readonly name: "currentEpoch";
937
933
  readonly type: "uint256";
938
- readonly internalType: "Slot";
934
+ readonly internalType: "Epoch";
939
935
  }];
940
936
  }, {
941
937
  readonly type: "error";
@@ -1049,22 +1045,6 @@ export declare const ErrorsAbi: readonly [{
1049
1045
  readonly type: "uint256";
1050
1046
  readonly internalType: "uint256";
1051
1047
  }];
1052
- }, {
1053
- readonly type: "error";
1054
- readonly name: "SignatureLib__CannotVerifyEmpty";
1055
- readonly inputs: readonly [];
1056
- }, {
1057
- readonly type: "error";
1058
- readonly name: "SignatureLib__InvalidSignature";
1059
- readonly inputs: readonly [{
1060
- readonly name: "expected";
1061
- readonly type: "address";
1062
- readonly internalType: "address";
1063
- }, {
1064
- readonly name: "recovered";
1065
- readonly type: "address";
1066
- readonly internalType: "address";
1067
- }];
1068
1048
  }, {
1069
1049
  readonly type: "error";
1070
1050
  readonly name: "Staking__AlreadyActive";
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorsAbi.d.ts","sourceRoot":"","sources":["../src/ErrorsAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,M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FailedToRemove",
@@ -1211,12 +1206,12 @@
1211
1206
  {
1212
1207
  "name": "deadline",
1213
1208
  "type": "uint256",
1214
- "internalType": "Slot"
1209
+ "internalType": "Epoch"
1215
1210
  },
1216
1211
  {
1217
- "name": "currentSlot",
1212
+ "name": "currentEpoch",
1218
1213
  "type": "uint256",
1219
- "internalType": "Slot"
1214
+ "internalType": "Epoch"
1220
1215
  }
1221
1216
  ]
1222
1217
  },
@@ -1232,12 +1227,12 @@
1232
1227
  {
1233
1228
  "name": "deadline",
1234
1229
  "type": "uint256",
1235
- "internalType": "Slot"
1230
+ "internalType": "Epoch"
1236
1231
  },
1237
1232
  {
1238
- "name": "currentSlot",
1233
+ "name": "currentEpoch",
1239
1234
  "type": "uint256",
1240
- "internalType": "Slot"
1235
+ "internalType": "Epoch"
1241
1236
  }
1242
1237
  ]
1243
1238
  },
@@ -1389,27 +1384,6 @@
1389
1384
  }
1390
1385
  ]
1391
1386
  },
1392
- {
1393
- "type": "error",
1394
- "name": "SignatureLib__CannotVerifyEmpty",
1395
- "inputs": []
1396
- },
1397
- {
1398
- "type": "error",
1399
- "name": "SignatureLib__InvalidSignature",
1400
- "inputs": [
1401
- {
1402
- "name": "expected",
1403
- "type": "address",
1404
- "internalType": "address"
1405
- },
1406
- {
1407
- "name": "recovered",
1408
- "type": "address",
1409
- "internalType": "address"
1410
- }
1411
- ]
1412
- },
1413
1387
  {
1414
1388
  "type": "error",
1415
1389
  "name": "Staking__AlreadyActive",
@@ -112,10 +112,6 @@ export declare const ExtRollupLib2Abi: readonly [{
112
112
  readonly type: "address";
113
113
  readonly internalType: "address";
114
114
  }];
115
- }, {
116
- readonly type: "error";
117
- readonly name: "GSE__EmptyVoter";
118
- readonly inputs: readonly [];
119
115
  }, {
120
116
  readonly type: "error";
121
117
  readonly name: "GSE__FailedToRemove";
@@ -954,11 +950,11 @@ export declare const ExtRollupLib2Abi: readonly [{
954
950
  readonly inputs: readonly [{
955
951
  readonly name: "deadline";
956
952
  readonly type: "uint256";
957
- readonly internalType: "Slot";
953
+ readonly internalType: "Epoch";
958
954
  }, {
959
- readonly name: "currentSlot";
955
+ readonly name: "currentEpoch";
960
956
  readonly type: "uint256";
961
- readonly internalType: "Slot";
957
+ readonly internalType: "Epoch";
962
958
  }];
963
959
  }, {
964
960
  readonly type: "error";
@@ -970,11 +966,11 @@ export declare const ExtRollupLib2Abi: readonly [{
970
966
  readonly inputs: readonly [{
971
967
  readonly name: "deadline";
972
968
  readonly type: "uint256";
973
- readonly internalType: "Slot";
969
+ readonly internalType: "Epoch";
974
970
  }, {
975
- readonly name: "currentSlot";
971
+ readonly name: "currentEpoch";
976
972
  readonly type: "uint256";
977
- readonly internalType: "Slot";
973
+ readonly internalType: "Epoch";
978
974
  }];
979
975
  }, {
980
976
  readonly type: "error";
@@ -1100,22 +1096,6 @@ export declare const ExtRollupLib2Abi: readonly [{
1100
1096
  readonly type: "uint256";
1101
1097
  readonly internalType: "uint256";
1102
1098
  }];
1103
- }, {
1104
- readonly type: "error";
1105
- readonly name: "SignatureLib__CannotVerifyEmpty";
1106
- readonly inputs: readonly [];
1107
- }, {
1108
- readonly type: "error";
1109
- readonly name: "SignatureLib__InvalidSignature";
1110
- readonly inputs: readonly [{
1111
- readonly name: "expected";
1112
- readonly type: "address";
1113
- readonly internalType: "address";
1114
- }, {
1115
- readonly name: "recovered";
1116
- readonly type: "address";
1117
- readonly internalType: "address";
1118
- }];
1119
1099
  }, {
1120
1100
  readonly type: "event";
1121
1101
  readonly name: "SlasherUpdated";