@aztec/l1-artifacts 0.87.1 → 0.87.2-nightly.20250524

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 +64 -0
  2. package/dest/CoinIssuerAbi.d.ts.map +1 -1
  3. package/dest/CoinIssuerAbi.js +87 -0
  4. package/dest/EmpireBaseAbi.d.ts +89 -0
  5. package/dest/EmpireBaseAbi.d.ts.map +1 -1
  6. package/dest/EmpireBaseAbi.js +119 -0
  7. package/dest/ErrorsAbi.d.ts +64 -0
  8. package/dest/ErrorsAbi.d.ts.map +1 -1
  9. package/dest/ErrorsAbi.js +87 -0
  10. package/dest/ExtRollupLibAbi.d.ts +64 -8
  11. package/dest/ExtRollupLibAbi.d.ts.map +1 -1
  12. package/dest/ExtRollupLibAbi.js +87 -10
  13. package/dest/ExtRollupLibBytecode.d.ts +1 -1
  14. package/dest/ExtRollupLibBytecode.d.ts.map +1 -1
  15. package/dest/ExtRollupLibBytecode.js +1 -1
  16. package/dest/FeeAssetHandlerAbi.d.ts +64 -0
  17. package/dest/FeeAssetHandlerAbi.d.ts.map +1 -1
  18. package/dest/FeeAssetHandlerAbi.js +87 -0
  19. package/dest/FeeJuicePortalAbi.d.ts +64 -0
  20. package/dest/FeeJuicePortalAbi.d.ts.map +1 -1
  21. package/dest/FeeJuicePortalAbi.js +87 -0
  22. package/dest/FeeJuicePortalBytecode.d.ts +1 -1
  23. package/dest/FeeJuicePortalBytecode.js +1 -1
  24. package/dest/ForwarderAbi.d.ts +64 -0
  25. package/dest/ForwarderAbi.d.ts.map +1 -1
  26. package/dest/ForwarderAbi.js +87 -0
  27. package/dest/GSEAbi.d.ts +1614 -0
  28. package/dest/GSEAbi.d.ts.map +1 -0
  29. package/dest/GSEAbi.js +2134 -0
  30. package/dest/GSEBytecode.d.ts +9 -0
  31. package/dest/GSEBytecode.d.ts.map +1 -0
  32. package/dest/GSEBytecode.js +6 -0
  33. package/dest/GovernanceAbi.d.ts +65 -1
  34. package/dest/GovernanceAbi.d.ts.map +1 -1
  35. package/dest/GovernanceAbi.js +88 -1
  36. package/dest/GovernanceBytecode.d.ts +1 -1
  37. package/dest/GovernanceBytecode.d.ts.map +1 -1
  38. package/dest/GovernanceBytecode.js +1 -1
  39. package/dest/GovernanceProposerAbi.d.ts +89 -0
  40. package/dest/GovernanceProposerAbi.d.ts.map +1 -1
  41. package/dest/GovernanceProposerAbi.js +119 -0
  42. package/dest/GovernanceProposerBytecode.d.ts +1 -1
  43. package/dest/GovernanceProposerBytecode.d.ts.map +1 -1
  44. package/dest/GovernanceProposerBytecode.js +1 -1
  45. package/dest/HonkVerifierAbi.d.ts +64 -0
  46. package/dest/HonkVerifierAbi.d.ts.map +1 -1
  47. package/dest/HonkVerifierAbi.js +87 -0
  48. package/dest/HonkVerifierBytecode.d.ts +1 -1
  49. package/dest/HonkVerifierBytecode.d.ts.map +1 -1
  50. package/dest/HonkVerifierBytecode.js +1 -1
  51. package/dest/IERC20Abi.d.ts +64 -0
  52. package/dest/IERC20Abi.d.ts.map +1 -1
  53. package/dest/IERC20Abi.js +87 -0
  54. package/dest/IVerifierAbi.d.ts +64 -0
  55. package/dest/IVerifierAbi.d.ts.map +1 -1
  56. package/dest/IVerifierAbi.js +87 -0
  57. package/dest/InboxAbi.d.ts +64 -0
  58. package/dest/InboxAbi.d.ts.map +1 -1
  59. package/dest/InboxAbi.js +87 -0
  60. package/dest/InboxBytecode.d.ts +1 -1
  61. package/dest/InboxBytecode.js +1 -1
  62. package/dest/MockVerifierAbi.d.ts +64 -0
  63. package/dest/MockVerifierAbi.d.ts.map +1 -1
  64. package/dest/MockVerifierAbi.js +87 -0
  65. package/dest/MultiAdderAbi.d.ts +64 -4
  66. package/dest/MultiAdderAbi.d.ts.map +1 -1
  67. package/dest/MultiAdderAbi.js +87 -5
  68. package/dest/MultiAdderBytecode.d.ts +1 -1
  69. package/dest/MultiAdderBytecode.d.ts.map +1 -1
  70. package/dest/MultiAdderBytecode.js +1 -1
  71. package/dest/NewGovernanceProposerPayloadAbi.d.ts +64 -0
  72. package/dest/NewGovernanceProposerPayloadAbi.d.ts.map +1 -1
  73. package/dest/NewGovernanceProposerPayloadAbi.js +87 -0
  74. package/dest/NewGovernanceProposerPayloadBytecode.d.ts +1 -1
  75. package/dest/NewGovernanceProposerPayloadBytecode.d.ts.map +1 -1
  76. package/dest/NewGovernanceProposerPayloadBytecode.js +1 -1
  77. package/dest/OutboxAbi.d.ts +64 -0
  78. package/dest/OutboxAbi.d.ts.map +1 -1
  79. package/dest/OutboxAbi.js +87 -0
  80. package/dest/OutboxBytecode.d.ts +1 -1
  81. package/dest/OutboxBytecode.js +1 -1
  82. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts +66 -2
  83. package/dest/RegisterNewRollupVersionPayloadAbi.d.ts.map +1 -1
  84. package/dest/RegisterNewRollupVersionPayloadAbi.js +89 -2
  85. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts +1 -1
  86. package/dest/RegisterNewRollupVersionPayloadBytecode.d.ts.map +1 -1
  87. package/dest/RegisterNewRollupVersionPayloadBytecode.js +1 -1
  88. package/dest/RegistryAbi.d.ts +64 -0
  89. package/dest/RegistryAbi.d.ts.map +1 -1
  90. package/dest/RegistryAbi.js +87 -0
  91. package/dest/RegistryBytecode.d.ts +1 -1
  92. package/dest/RegistryBytecode.js +1 -1
  93. package/dest/RewardDistributorAbi.d.ts +64 -0
  94. package/dest/RewardDistributorAbi.d.ts.map +1 -1
  95. package/dest/RewardDistributorAbi.js +87 -0
  96. package/dest/RewardDistributorBytecode.d.ts +1 -1
  97. package/dest/RewardDistributorBytecode.js +1 -1
  98. package/dest/RollupAbi.d.ts +247 -82
  99. package/dest/RollupAbi.d.ts.map +1 -1
  100. package/dest/RollupAbi.js +325 -106
  101. package/dest/RollupBytecode.d.ts +8 -8
  102. package/dest/RollupBytecode.d.ts.map +1 -1
  103. package/dest/RollupBytecode.js +8 -8
  104. package/dest/RollupStorage.d.ts +9 -2
  105. package/dest/RollupStorage.d.ts.map +1 -1
  106. package/dest/RollupStorage.js +10 -2
  107. package/dest/SlashFactoryAbi.d.ts +120 -19
  108. package/dest/SlashFactoryAbi.d.ts.map +1 -1
  109. package/dest/SlashFactoryAbi.js +155 -20
  110. package/dest/SlashFactoryBytecode.d.ts +1 -1
  111. package/dest/SlashFactoryBytecode.d.ts.map +1 -1
  112. package/dest/SlashFactoryBytecode.js +1 -1
  113. package/dest/SlasherAbi.d.ts +64 -0
  114. package/dest/SlasherAbi.d.ts.map +1 -1
  115. package/dest/SlasherAbi.js +87 -0
  116. package/dest/SlasherBytecode.d.ts +1 -1
  117. package/dest/SlasherBytecode.d.ts.map +1 -1
  118. package/dest/SlasherBytecode.js +1 -1
  119. package/dest/SlashingProposerAbi.d.ts +89 -0
  120. package/dest/SlashingProposerAbi.d.ts.map +1 -1
  121. package/dest/SlashingProposerAbi.js +119 -0
  122. package/dest/SlashingProposerBytecode.d.ts +1 -1
  123. package/dest/SlashingProposerBytecode.d.ts.map +1 -1
  124. package/dest/SlashingProposerBytecode.js +1 -1
  125. package/dest/StakingAssetHandlerAbi.d.ts +64 -0
  126. package/dest/StakingAssetHandlerAbi.d.ts.map +1 -1
  127. package/dest/StakingAssetHandlerAbi.js +87 -0
  128. package/dest/StakingAssetHandlerBytecode.d.ts +1 -1
  129. package/dest/StakingAssetHandlerBytecode.d.ts.map +1 -1
  130. package/dest/StakingAssetHandlerBytecode.js +1 -1
  131. package/dest/TestERC20Abi.d.ts +64 -0
  132. package/dest/TestERC20Abi.d.ts.map +1 -1
  133. package/dest/TestERC20Abi.js +87 -0
  134. package/dest/TokenPortalAbi.d.ts +64 -0
  135. package/dest/TokenPortalAbi.d.ts.map +1 -1
  136. package/dest/TokenPortalAbi.js +87 -0
  137. package/dest/TokenPortalBytecode.d.ts +1 -1
  138. package/dest/TokenPortalBytecode.js +1 -1
  139. package/dest/UniswapPortalAbi.d.ts +64 -0
  140. package/dest/UniswapPortalAbi.d.ts.map +1 -1
  141. package/dest/UniswapPortalAbi.js +87 -0
  142. package/dest/UniswapPortalBytecode.d.ts +1 -1
  143. package/dest/UniswapPortalBytecode.js +1 -1
  144. package/dest/ValidatorSelectionLibAbi.d.ts +64 -0
  145. package/dest/ValidatorSelectionLibAbi.d.ts.map +1 -1
  146. package/dest/ValidatorSelectionLibAbi.js +87 -0
  147. package/dest/ValidatorSelectionLibBytecode.d.ts +1 -1
  148. package/dest/ValidatorSelectionLibBytecode.js +1 -1
  149. package/dest/checksum.d.ts +1 -1
  150. package/dest/checksum.js +1 -1
  151. package/dest/index.d.ts +2 -0
  152. package/dest/index.d.ts.map +1 -1
  153. package/dest/index.js +2 -0
  154. package/package.json +1 -1
@@ -825,6 +825,10 @@ export declare const SlashFactoryAbi: readonly [{
825
825
  readonly type: "uint256";
826
826
  readonly internalType: "Epoch";
827
827
  }];
828
+ }, {
829
+ readonly type: "error";
830
+ readonly name: "Rollup__RewardsNotClaimable";
831
+ readonly inputs: readonly [];
828
832
  }, {
829
833
  readonly type: "error";
830
834
  readonly name: "Rollup__SlotAlreadyInChain";
@@ -925,26 +929,55 @@ export declare const SlashFactoryAbi: readonly [{
925
929
  readonly type: "address";
926
930
  readonly internalType: "address";
927
931
  }];
932
+ }, {
933
+ readonly type: "error";
934
+ readonly name: "SlashPayloadAmountsLengthMismatch";
935
+ readonly inputs: readonly [{
936
+ readonly name: "expected";
937
+ readonly type: "uint256";
938
+ readonly internalType: "uint256";
939
+ }, {
940
+ readonly name: "actual";
941
+ readonly type: "uint256";
942
+ readonly internalType: "uint256";
943
+ }];
928
944
  }, {
929
945
  readonly type: "event";
930
946
  readonly name: "SlashPayloadCreated";
931
947
  readonly inputs: readonly [{
932
948
  readonly name: "payloadAddress";
933
949
  readonly type: "address";
934
- readonly indexed: true;
950
+ readonly indexed: false;
935
951
  readonly internalType: "address";
936
952
  }, {
937
- readonly name: "epoch";
953
+ readonly name: "validators";
954
+ readonly type: "address[]";
955
+ readonly indexed: false;
956
+ readonly internalType: "address[]";
957
+ }, {
958
+ readonly name: "amounts";
959
+ readonly type: "uint96[]";
960
+ readonly indexed: false;
961
+ readonly internalType: "uint96[]";
962
+ }, {
963
+ readonly name: "offences";
964
+ readonly type: "uint256[]";
965
+ readonly indexed: false;
966
+ readonly internalType: "uint256[]";
967
+ }];
968
+ readonly anonymous: false;
969
+ }, {
970
+ readonly type: "error";
971
+ readonly name: "SlashPayloadOffencesLengthMismatch";
972
+ readonly inputs: readonly [{
973
+ readonly name: "expected";
938
974
  readonly type: "uint256";
939
- readonly indexed: true;
940
- readonly internalType: "Epoch";
975
+ readonly internalType: "uint256";
941
976
  }, {
942
- readonly name: "amount";
977
+ readonly name: "actual";
943
978
  readonly type: "uint256";
944
- readonly indexed: true;
945
979
  readonly internalType: "uint256";
946
980
  }];
947
- readonly anonymous: false;
948
981
  }, {
949
982
  readonly type: "error";
950
983
  readonly name: "Staking__AlreadyActive";
@@ -1001,6 +1034,22 @@ export declare const SlashFactoryAbi: readonly [{
1001
1034
  readonly type: "address";
1002
1035
  readonly internalType: "address";
1003
1036
  }];
1037
+ }, {
1038
+ readonly type: "error";
1039
+ readonly name: "Staking__InvalidRecipient";
1040
+ readonly inputs: readonly [{
1041
+ readonly name: "";
1042
+ readonly type: "address";
1043
+ readonly internalType: "address";
1044
+ }];
1045
+ }, {
1046
+ readonly type: "error";
1047
+ readonly name: "Staking__InvalidRollupAddress";
1048
+ readonly inputs: readonly [{
1049
+ readonly name: "";
1050
+ readonly type: "address";
1051
+ readonly internalType: "address";
1052
+ }];
1004
1053
  }, {
1005
1054
  readonly type: "error";
1006
1055
  readonly name: "Staking__NoOneToSlash";
@@ -1009,6 +1058,14 @@ export declare const SlashFactoryAbi: readonly [{
1009
1058
  readonly type: "address";
1010
1059
  readonly internalType: "address";
1011
1060
  }];
1061
+ }, {
1062
+ readonly type: "error";
1063
+ readonly name: "Staking__NotCanonical";
1064
+ readonly inputs: readonly [{
1065
+ readonly name: "";
1066
+ readonly type: "address";
1067
+ readonly internalType: "address";
1068
+ }];
1012
1069
  }, {
1013
1070
  readonly type: "error";
1014
1071
  readonly name: "Staking__NotExiting";
@@ -1017,6 +1074,14 @@ export declare const SlashFactoryAbi: readonly [{
1017
1074
  readonly type: "address";
1018
1075
  readonly internalType: "address";
1019
1076
  }];
1077
+ }, {
1078
+ readonly type: "error";
1079
+ readonly name: "Staking__NotRollup";
1080
+ readonly inputs: readonly [{
1081
+ readonly name: "";
1082
+ readonly type: "address";
1083
+ readonly internalType: "address";
1084
+ }];
1020
1085
  }, {
1021
1086
  readonly type: "error";
1022
1087
  readonly name: "Staking__NotSlasher";
@@ -1049,6 +1114,34 @@ export declare const SlashFactoryAbi: readonly [{
1049
1114
  readonly type: "address";
1050
1115
  readonly internalType: "address";
1051
1116
  }];
1117
+ }, {
1118
+ readonly type: "error";
1119
+ readonly name: "Staking__OutOfBounds";
1120
+ readonly inputs: readonly [{
1121
+ readonly name: "";
1122
+ readonly type: "uint256";
1123
+ readonly internalType: "uint256";
1124
+ }, {
1125
+ readonly name: "";
1126
+ readonly type: "uint256";
1127
+ readonly internalType: "uint256";
1128
+ }];
1129
+ }, {
1130
+ readonly type: "error";
1131
+ readonly name: "Staking__RollupAlreadyRegistered";
1132
+ readonly inputs: readonly [{
1133
+ readonly name: "";
1134
+ readonly type: "address";
1135
+ readonly internalType: "address";
1136
+ }];
1137
+ }, {
1138
+ readonly type: "error";
1139
+ readonly name: "Staking__WithdrawFailed";
1140
+ readonly inputs: readonly [{
1141
+ readonly name: "";
1142
+ readonly type: "address";
1143
+ readonly internalType: "address";
1144
+ }];
1052
1145
  }, {
1053
1146
  readonly type: "error";
1054
1147
  readonly name: "Staking__WithdrawalNotUnlockedYet";
@@ -1127,13 +1220,17 @@ export declare const SlashFactoryAbi: readonly [{
1127
1220
  readonly type: "function";
1128
1221
  readonly name: "createSlashPayload";
1129
1222
  readonly inputs: readonly [{
1130
- readonly name: "_epoch";
1131
- readonly type: "uint256";
1132
- readonly internalType: "Epoch";
1223
+ readonly name: "_validators";
1224
+ readonly type: "address[]";
1225
+ readonly internalType: "address[]";
1133
1226
  }, {
1134
- readonly name: "_amount";
1135
- readonly type: "uint256";
1136
- readonly internalType: "uint256";
1227
+ readonly name: "_amounts";
1228
+ readonly type: "uint96[]";
1229
+ readonly internalType: "uint96[]";
1230
+ }, {
1231
+ readonly name: "_offences";
1232
+ readonly type: "uint256[]";
1233
+ readonly internalType: "uint256[]";
1137
1234
  }];
1138
1235
  readonly outputs: readonly [{
1139
1236
  readonly name: "";
@@ -1145,18 +1242,22 @@ export declare const SlashFactoryAbi: readonly [{
1145
1242
  readonly type: "function";
1146
1243
  readonly name: "getAddressAndIsDeployed";
1147
1244
  readonly inputs: readonly [{
1148
- readonly name: "_epoch";
1149
- readonly type: "uint256";
1150
- readonly internalType: "Epoch";
1245
+ readonly name: "_validators";
1246
+ readonly type: "address[]";
1247
+ readonly internalType: "address[]";
1151
1248
  }, {
1152
- readonly name: "_amount";
1153
- readonly type: "uint256";
1154
- readonly internalType: "uint256";
1249
+ readonly name: "_amounts";
1250
+ readonly type: "uint96[]";
1251
+ readonly internalType: "uint96[]";
1155
1252
  }];
1156
1253
  readonly outputs: readonly [{
1157
1254
  readonly name: "";
1158
1255
  readonly type: "address";
1159
1256
  readonly internalType: "address";
1257
+ }, {
1258
+ readonly name: "";
1259
+ readonly type: "bytes32";
1260
+ readonly internalType: "bytes32";
1160
1261
  }, {
1161
1262
  readonly name: "";
1162
1263
  readonly type: "bool";
@@ -1 +1 @@
1
- {"version":3,"file":"SlashFactoryAbi.d.ts","sourceRoot":"","sources":["../src/SlashFactoryAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4oDlB,CAAC"}
@@ -1092,6 +1092,11 @@
1092
1092
  }
1093
1093
  ]
1094
1094
  },
1095
+ {
1096
+ "type": "error",
1097
+ "name": "Rollup__RewardsNotClaimable",
1098
+ "inputs": []
1099
+ },
1095
1100
  {
1096
1101
  "type": "error",
1097
1102
  "name": "Rollup__SlotAlreadyInChain",
@@ -1224,6 +1229,22 @@
1224
1229
  }
1225
1230
  ]
1226
1231
  },
1232
+ {
1233
+ "type": "error",
1234
+ "name": "SlashPayloadAmountsLengthMismatch",
1235
+ "inputs": [
1236
+ {
1237
+ "name": "expected",
1238
+ "type": "uint256",
1239
+ "internalType": "uint256"
1240
+ },
1241
+ {
1242
+ "name": "actual",
1243
+ "type": "uint256",
1244
+ "internalType": "uint256"
1245
+ }
1246
+ ]
1247
+ },
1227
1248
  {
1228
1249
  "type": "event",
1229
1250
  "name": "SlashPayloadCreated",
@@ -1231,23 +1252,45 @@
1231
1252
  {
1232
1253
  "name": "payloadAddress",
1233
1254
  "type": "address",
1234
- "indexed": true,
1255
+ "indexed": false,
1235
1256
  "internalType": "address"
1236
1257
  },
1237
1258
  {
1238
- "name": "epoch",
1259
+ "name": "validators",
1260
+ "type": "address[]",
1261
+ "indexed": false,
1262
+ "internalType": "address[]"
1263
+ },
1264
+ {
1265
+ "name": "amounts",
1266
+ "type": "uint96[]",
1267
+ "indexed": false,
1268
+ "internalType": "uint96[]"
1269
+ },
1270
+ {
1271
+ "name": "offences",
1272
+ "type": "uint256[]",
1273
+ "indexed": false,
1274
+ "internalType": "uint256[]"
1275
+ }
1276
+ ],
1277
+ "anonymous": false
1278
+ },
1279
+ {
1280
+ "type": "error",
1281
+ "name": "SlashPayloadOffencesLengthMismatch",
1282
+ "inputs": [
1283
+ {
1284
+ "name": "expected",
1239
1285
  "type": "uint256",
1240
- "indexed": true,
1241
- "internalType": "Epoch"
1286
+ "internalType": "uint256"
1242
1287
  },
1243
1288
  {
1244
- "name": "amount",
1289
+ "name": "actual",
1245
1290
  "type": "uint256",
1246
- "indexed": true,
1247
1291
  "internalType": "uint256"
1248
1292
  }
1249
- ],
1250
- "anonymous": false
1293
+ ]
1251
1294
  },
1252
1295
  {
1253
1296
  "type": "error",
@@ -1325,6 +1368,28 @@
1325
1368
  }
1326
1369
  ]
1327
1370
  },
1371
+ {
1372
+ "type": "error",
1373
+ "name": "Staking__InvalidRecipient",
1374
+ "inputs": [
1375
+ {
1376
+ "name": "",
1377
+ "type": "address",
1378
+ "internalType": "address"
1379
+ }
1380
+ ]
1381
+ },
1382
+ {
1383
+ "type": "error",
1384
+ "name": "Staking__InvalidRollupAddress",
1385
+ "inputs": [
1386
+ {
1387
+ "name": "",
1388
+ "type": "address",
1389
+ "internalType": "address"
1390
+ }
1391
+ ]
1392
+ },
1328
1393
  {
1329
1394
  "type": "error",
1330
1395
  "name": "Staking__NoOneToSlash",
@@ -1336,6 +1401,17 @@
1336
1401
  }
1337
1402
  ]
1338
1403
  },
1404
+ {
1405
+ "type": "error",
1406
+ "name": "Staking__NotCanonical",
1407
+ "inputs": [
1408
+ {
1409
+ "name": "",
1410
+ "type": "address",
1411
+ "internalType": "address"
1412
+ }
1413
+ ]
1414
+ },
1339
1415
  {
1340
1416
  "type": "error",
1341
1417
  "name": "Staking__NotExiting",
@@ -1347,6 +1423,17 @@
1347
1423
  }
1348
1424
  ]
1349
1425
  },
1426
+ {
1427
+ "type": "error",
1428
+ "name": "Staking__NotRollup",
1429
+ "inputs": [
1430
+ {
1431
+ "name": "",
1432
+ "type": "address",
1433
+ "internalType": "address"
1434
+ }
1435
+ ]
1436
+ },
1350
1437
  {
1351
1438
  "type": "error",
1352
1439
  "name": "Staking__NotSlasher",
@@ -1390,6 +1477,44 @@
1390
1477
  }
1391
1478
  ]
1392
1479
  },
1480
+ {
1481
+ "type": "error",
1482
+ "name": "Staking__OutOfBounds",
1483
+ "inputs": [
1484
+ {
1485
+ "name": "",
1486
+ "type": "uint256",
1487
+ "internalType": "uint256"
1488
+ },
1489
+ {
1490
+ "name": "",
1491
+ "type": "uint256",
1492
+ "internalType": "uint256"
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ "type": "error",
1498
+ "name": "Staking__RollupAlreadyRegistered",
1499
+ "inputs": [
1500
+ {
1501
+ "name": "",
1502
+ "type": "address",
1503
+ "internalType": "address"
1504
+ }
1505
+ ]
1506
+ },
1507
+ {
1508
+ "type": "error",
1509
+ "name": "Staking__WithdrawFailed",
1510
+ "inputs": [
1511
+ {
1512
+ "name": "",
1513
+ "type": "address",
1514
+ "internalType": "address"
1515
+ }
1516
+ ]
1517
+ },
1393
1518
  {
1394
1519
  "type": "error",
1395
1520
  "name": "Staking__WithdrawalNotUnlockedYet",
@@ -1493,14 +1618,19 @@
1493
1618
  "name": "createSlashPayload",
1494
1619
  "inputs": [
1495
1620
  {
1496
- "name": "_epoch",
1497
- "type": "uint256",
1498
- "internalType": "Epoch"
1621
+ "name": "_validators",
1622
+ "type": "address[]",
1623
+ "internalType": "address[]"
1499
1624
  },
1500
1625
  {
1501
- "name": "_amount",
1502
- "type": "uint256",
1503
- "internalType": "uint256"
1626
+ "name": "_amounts",
1627
+ "type": "uint96[]",
1628
+ "internalType": "uint96[]"
1629
+ },
1630
+ {
1631
+ "name": "_offences",
1632
+ "type": "uint256[]",
1633
+ "internalType": "uint256[]"
1504
1634
  }
1505
1635
  ],
1506
1636
  "outputs": [
@@ -1517,14 +1647,14 @@
1517
1647
  "name": "getAddressAndIsDeployed",
1518
1648
  "inputs": [
1519
1649
  {
1520
- "name": "_epoch",
1521
- "type": "uint256",
1522
- "internalType": "Epoch"
1650
+ "name": "_validators",
1651
+ "type": "address[]",
1652
+ "internalType": "address[]"
1523
1653
  },
1524
1654
  {
1525
- "name": "_amount",
1526
- "type": "uint256",
1527
- "internalType": "uint256"
1655
+ "name": "_amounts",
1656
+ "type": "uint96[]",
1657
+ "internalType": "uint96[]"
1528
1658
  }
1529
1659
  ],
1530
1660
  "outputs": [
@@ -1533,6 +1663,11 @@
1533
1663
  "type": "address",
1534
1664
  "internalType": "address"
1535
1665
  },
1666
+ {
1667
+ "name": "",
1668
+ "type": "bytes32",
1669
+ "internalType": "bytes32"
1670
+ },
1536
1671
  {
1537
1672
  "name": "",
1538
1673
  "type": "bool",
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * SlashFactory bytecode.
3
3
  */
4
- export declare const SlashFactoryBytecode = "0x60a0604052348015600e575f5ffd5b50604051610a60380380610a60833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b6080516109d661008a5f395f818160780152818160f201526101ff01526109d65ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806336d78239146100435780637ec54c7a146100735780638174b99c1461009a575b5f5ffd5b6100566100513660046102dd565b6100cc565b6040516001600160a01b0390911681526020015b60405180910390f35b6100567f000000000000000000000000000000000000000000000000000000000000000081565b6100ad6100a83660046102dd565b61019c565b604080516001600160a01b03909316835290151560208301520161006a565b5f5f5f6100d9858561019c565b9150915080156100eb57509050610196565b5f855f1b867f00000000000000000000000000000000000000000000000000000000000000008760405161011e906102d0565b9283526001600160a01b03909116602083015260408201526060018190604051809103905ff5905080158015610156573d5f5f3e3d5ffd5b5090508486826001600160a01b03167fab33327bed6c12178ca385879fa060be180f2a86b7a8498e16eb47279889587e60405160405180910390a4925050505b92915050565b5f5f5f6101a985856101c0565b956001600160a01b0387163b151595509350505050565b6040515f9083906001600160f81b031990309083906101e1602082016102d0565b601f1982820381018352601f909101166040818152602082018a90527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316908201526060810188905260800160408051601f19818403018152908290526102539291602001610314565b604051602081830303815290604052805190602001206040516020016102b094939291906001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b6106708061033183390190565b5f5f604083850312156102ee575f5ffd5b50508035926020909101359150565b5f81518060208401855e5f93019283525090919050565b5f61032861032283866102fd565b846102fd565b94935050505056fe60e060405234801561000f575f5ffd5b5060405161067038038061067083398101604081905261002e9161012e565b60808390526001600160a01b03821660a081905260c08290526040516369457a6f60e01b8152600481018590525f91906369457a6f906024015f604051808303815f875af1158015610082573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526100a9919081019061018a565b90505f5b815181101561010d575f8282815181106100c9576100c9610254565b6020908102919091018101518254600180820185555f9485529290932090920180546001600160a01b0319166001600160a01b0390931692909217909155016100ad565b5050505050610268565b6001600160a01b038116811461012b575f5ffd5b50565b5f5f5f60608486031215610140575f5ffd5b8351602085015190935061015381610117565b6040949094015192959394509192915050565b634e487b7160e01b5f52604160045260245ffd5b805161018581610117565b919050565b5f6020828403121561019a575f5ffd5b81516001600160401b038111156101af575f5ffd5b8201601f810184136101bf575f5ffd5b80516001600160401b038111156101d8576101d8610166565b604051600582901b90603f8201601f191681016001600160401b038111828210171561020657610206610166565b604052918252602081840181019290810187841115610223575f5ffd5b6020850194505b838510156102495761023b8561017a565b81526020948501940161022a565b509695505050505050565b634e487b7160e01b5f52603260045260245ffd5b60805160a05160c0516103d261029e5f395f8181610103015261020b01525f818160a701526101a401525f60ce01526103d25ff3fe608060405234801561000f575f5ffd5b5060043610610055575f3560e01c8063504d080b14610059578063770aa3f7146100775780637ec54c7a146100a2578063a0dc2758146100c9578063d1789176146100fe575b5f5ffd5b610061610125565b60405161006e91906102ba565b60405180910390f35b61008a61008536600461035d565b610293565b6040516001600160a01b03909116815260200161006e565b61008a7f000000000000000000000000000000000000000000000000000000000000000081565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161006e565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b5f80546060919067ffffffffffffffff81111561014457610144610374565b60405190808252806020026020018201604052801561018957816020015b604080518082019091525f8152606060208201528152602001906001900390816101625790505b5090505f5b5f5481101561028d5760405180604001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020016302fb4d8560e01b5f84815481106101eb576101eb610388565b5f918252602090912001546040516001600160a01b0390911660248201527f0000000000000000000000000000000000000000000000000000000000000000604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529052825183908390811061027a5761027a610388565b602090810291909101015260010161018e565b50919050565b5f81815481106102a1575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561035157868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506102e0565b50929695505050505050565b5f6020828403121561036d575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220b21e1f849a6fdefe365c3450c4122fd0926bc4384e8bfb1a9904beb0e1d4053d64736f6c634300081b0033a2646970667358221220a18315f6fdfc1e671311615602976a24d04b25e711a904ac6fbadba5674b000764736f6c634300081b0033";
4
+ export declare const SlashFactoryBytecode = "0x60a0604052348015600e575f5ffd5b50604051610f3c380380610f3c833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b608051610eb161008b5f395f818160480152818161018f01526102630152610eb15ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c80637ec54c7a14610043578063d843207714610087578063fd32032b146100c1575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61009a6100953660046104ad565b6100d4565b604080516001600160a01b039094168452602084019290925215159082015260600161007e565b61006a6100cf366004610512565b6100ff565b5f5f5f5f5f6100e38787610230565b90955093505050506001600160a01b0382163b15159250925092565b815183515f91818114610133576040516312f8203360e31b8152600481019290925260248201526044015b60405180910390fd5b5050815184519081811461016357604051635f4ed1fd60e11b81526004810192909252602482015260440161012a565b50505f5f5f61017287876100d4565b925092509250801561018957829350505050610229565b5f8288887f00000000000000000000000000000000000000000000000000000000000000006040516101ba9061034b565b6101c693929190610675565b8190604051809103905ff59050801580156101e3573d5f5f3e3d5ffd5b5090507fbdd79a70317aad8f321899ebbb4266e2805032689feba2e4b177130a21476ab68189898960405161021b94939291906106b2565b60405180910390a193505050505b9392505050565b5f5f5f848460405160200161024692919061072d565b6040516020818303038152906040528051906020012090505f85857f000000000000000000000000000000000000000000000000000000000000000060405160200161029493929190610675565b60405160208183030381529060405290505f604051806020016102b69061034b565b601f1982820381018352601f9091011660408190526102da919084906020016107b7565b60408051601f1981840301815282825280516020918201206001600160f81b0319828501523060601b6bffffffffffffffffffffffff191660218501526035840187905260558085019190915282518085039091018152607590930190915281519101209792965091945050505050565b6106a8806107d483390190565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561039557610395610358565b604052919050565b5f67ffffffffffffffff8211156103b6576103b6610358565b5060051b60200190565b5f82601f8301126103cf575f5ffd5b81356103e26103dd8261039d565b61036c565b8082825260208201915060208360051b860101925085831115610403575f5ffd5b602085015b838110156104345780356001600160a01b0381168114610426575f5ffd5b835260209283019201610408565b5095945050505050565b5f82601f83011261044d575f5ffd5b813561045b6103dd8261039d565b8082825260208201915060208360051b86010192508583111561047c575f5ffd5b602085015b838110156104345780356001600160601b038116811461049f575f5ffd5b835260209283019201610481565b5f5f604083850312156104be575f5ffd5b823567ffffffffffffffff8111156104d4575f5ffd5b6104e0858286016103c0565b925050602083013567ffffffffffffffff8111156104fc575f5ffd5b6105088582860161043e565b9150509250929050565b5f5f5f60608486031215610524575f5ffd5b833567ffffffffffffffff81111561053a575f5ffd5b610546868287016103c0565b935050602084013567ffffffffffffffff811115610562575f5ffd5b61056e8682870161043e565b925050604084013567ffffffffffffffff81111561058a575f5ffd5b8401601f8101861361059a575f5ffd5b80356105a86103dd8261039d565b8082825260208201915060208360051b8501019250888311156105c9575f5ffd5b6020840193505b828410156105eb5783358252602093840193909101906105d0565b809450505050509250925092565b5f8151808452602084019350602083015f5b828110156106325781516001600160a01b031686526020958601959091019060010161060b565b5093949350505050565b5f8151808452602084019350602083015f5b828110156106325781516001600160601b031686526020958601959091019060010161064e565b606081525f61068760608301866105f9565b8281036020840152610699818661063c565b91505060018060a01b0383166040830152949350505050565b6001600160a01b03851681526080602082018190525f906106d5908301866105f9565b82810360408401526106e7818661063c565b8381036060850152845180825260208087019350909101905f5b8181101561071f578351835260209384019390920191600101610701565b509098975050505050505050565b82515f90829060208601835b828110156107605781516001600160a01b0316845260209384019390910190600101610739565b50508451602086019291505f5b818110156107945783516001600160601b031683526020938401939092019160010161076d565b50909695505050505050565b5f81518060208401855e5f93019283525090919050565b5f6107cb6107c583866107a0565b846107a0565b94935050505056fe60a060405234801561000f575f5ffd5b506040516106a83803806106a883398101604081905261002e916101f2565b5f5b83518110156100d2575f6040518060400160405280868481518110610057576100576102c6565b60200260200101516001600160a01b0316815260200185848151811061007f5761007f6102c6565b6020908102919091018101516001600160601b039081169092528354600181810186555f9586529482902084519490920151909216600160a01b026001600160a01b039093169290921791015501610030565b506001600160a01b0316608052506102da9050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715610123576101236100e7565b604052919050565b5f6001600160401b03821115610143576101436100e7565b5060051b60200190565b6001600160a01b0381168114610161575f5ffd5b50565b5f82601f830112610173575f5ffd5b81516101866101818261012b565b6100fb565b8082825260208201915060208360051b8601019250858311156101a7575f5ffd5b602085015b838110156101d85780516001600160601b03811681146101ca575f5ffd5b8352602092830192016101ac565b5095945050505050565b80516101ed8161014d565b919050565b5f5f5f60608486031215610204575f5ffd5b83516001600160401b03811115610219575f5ffd5b8401601f81018613610229575f5ffd5b80516102376101818261012b565b8082825260208201915060208360051b850101925088831115610258575f5ffd5b6020840193505b828410156102835783516102728161014d565b82526020938401939091019061025f565b6020880151909650925050506001600160401b038111156102a2575f5ffd5b6102ae86828701610164565b9250506102bd604085016101e2565b90509250925092565b634e487b7160e01b5f52603260045260245ffd5b6080516103b06102f85f395f818160a0015261015901526103b05ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c8063504d080b1461004357806359888d01146100615780637ec54c7a1461009b575b5f5ffd5b61004b6100da565b6040516100589190610298565b60405180910390f35b61007461006f36600461033b565b610260565b604080516001600160a01b0390931683526001600160601b03909116602083015201610058565b6100c27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610058565b5f80546060919067ffffffffffffffff8111156100f9576100f9610352565b60405190808252806020026020018201604052801561013e57816020015b604080518082019091525f8152606060208201528152602001906001900390816101175790505b5090505f5b5f5481101561025a5760405180604001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020016302fb4d8560e01b5f84815481106101a0576101a0610366565b5f91825260208220015481546001600160a01b039091169190869081106101c9576101c9610366565b5f918252602090912001546040516001600160a01b039092166024830152600160a01b90046001600160601b0316604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529052825183908390811061024757610247610366565b6020908102919091010152600101610143565b50919050565b5f818154811061026e575f80fd5b5f918252602090912001546001600160a01b0381169150600160a01b90046001600160601b031682565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561032f57868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506102be565b50929695505050505050565b5f6020828403121561034b575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220c24edd793f9762a77452592210790ac443454e8c81cc329c8ef9549bbb59c11e64736f6c634300081b0033a26469706673582212208cbae79ec8ea81bce1f3534c2115e9973f9bd48d44a9b265355a5bee0b483bd264736f6c634300081b0033";
5
5
  /**
6
6
  * SlashFactory link references.
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SlashFactoryBytecode.d.ts","sourceRoot":"","sources":["../src/SlashFactoryBytecode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oBAAoB,usKAAusK,CAAC;AACzuK;;GAEG;AACH,eAAO,MAAM,0BAA0B,IAAc,CAAC"}
1
+ {"version":3,"file":"SlashFactoryBytecode.d.ts","sourceRoot":"","sources":["../src/SlashFactoryBytecode.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,oBAAoB,+nPAA+nP,CAAC;AACjqP;;GAEG;AACH,eAAO,MAAM,0BAA0B,IAAc,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * SlashFactory bytecode.
3
- */ export const SlashFactoryBytecode = "0x60a0604052348015600e575f5ffd5b50604051610a60380380610a60833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b6080516109d661008a5f395f818160780152818160f201526101ff01526109d65ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c806336d78239146100435780637ec54c7a146100735780638174b99c1461009a575b5f5ffd5b6100566100513660046102dd565b6100cc565b6040516001600160a01b0390911681526020015b60405180910390f35b6100567f000000000000000000000000000000000000000000000000000000000000000081565b6100ad6100a83660046102dd565b61019c565b604080516001600160a01b03909316835290151560208301520161006a565b5f5f5f6100d9858561019c565b9150915080156100eb57509050610196565b5f855f1b867f00000000000000000000000000000000000000000000000000000000000000008760405161011e906102d0565b9283526001600160a01b03909116602083015260408201526060018190604051809103905ff5905080158015610156573d5f5f3e3d5ffd5b5090508486826001600160a01b03167fab33327bed6c12178ca385879fa060be180f2a86b7a8498e16eb47279889587e60405160405180910390a4925050505b92915050565b5f5f5f6101a985856101c0565b956001600160a01b0387163b151595509350505050565b6040515f9083906001600160f81b031990309083906101e1602082016102d0565b601f1982820381018352601f909101166040818152602082018a90527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316908201526060810188905260800160408051601f19818403018152908290526102539291602001610314565b604051602081830303815290604052805190602001206040516020016102b094939291906001600160f81b031994909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f198184030181529190528051602090910120949350505050565b6106708061033183390190565b5f5f604083850312156102ee575f5ffd5b50508035926020909101359150565b5f81518060208401855e5f93019283525090919050565b5f61032861032283866102fd565b846102fd565b94935050505056fe60e060405234801561000f575f5ffd5b5060405161067038038061067083398101604081905261002e9161012e565b60808390526001600160a01b03821660a081905260c08290526040516369457a6f60e01b8152600481018590525f91906369457a6f906024015f604051808303815f875af1158015610082573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526100a9919081019061018a565b90505f5b815181101561010d575f8282815181106100c9576100c9610254565b6020908102919091018101518254600180820185555f9485529290932090920180546001600160a01b0319166001600160a01b0390931692909217909155016100ad565b5050505050610268565b6001600160a01b038116811461012b575f5ffd5b50565b5f5f5f60608486031215610140575f5ffd5b8351602085015190935061015381610117565b6040949094015192959394509192915050565b634e487b7160e01b5f52604160045260245ffd5b805161018581610117565b919050565b5f6020828403121561019a575f5ffd5b81516001600160401b038111156101af575f5ffd5b8201601f810184136101bf575f5ffd5b80516001600160401b038111156101d8576101d8610166565b604051600582901b90603f8201601f191681016001600160401b038111828210171561020657610206610166565b604052918252602081840181019290810187841115610223575f5ffd5b6020850194505b838510156102495761023b8561017a565b81526020948501940161022a565b509695505050505050565b634e487b7160e01b5f52603260045260245ffd5b60805160a05160c0516103d261029e5f395f8181610103015261020b01525f818160a701526101a401525f60ce01526103d25ff3fe608060405234801561000f575f5ffd5b5060043610610055575f3560e01c8063504d080b14610059578063770aa3f7146100775780637ec54c7a146100a2578063a0dc2758146100c9578063d1789176146100fe575b5f5ffd5b610061610125565b60405161006e91906102ba565b60405180910390f35b61008a61008536600461035d565b610293565b6040516001600160a01b03909116815260200161006e565b61008a7f000000000000000000000000000000000000000000000000000000000000000081565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161006e565b6100f07f000000000000000000000000000000000000000000000000000000000000000081565b5f80546060919067ffffffffffffffff81111561014457610144610374565b60405190808252806020026020018201604052801561018957816020015b604080518082019091525f8152606060208201528152602001906001900390816101625790505b5090505f5b5f5481101561028d5760405180604001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020016302fb4d8560e01b5f84815481106101eb576101eb610388565b5f918252602090912001546040516001600160a01b0390911660248201527f0000000000000000000000000000000000000000000000000000000000000000604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529052825183908390811061027a5761027a610388565b602090810291909101015260010161018e565b50919050565b5f81815481106102a1575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561035157868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506102e0565b50929695505050505050565b5f6020828403121561036d575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220b21e1f849a6fdefe365c3450c4122fd0926bc4384e8bfb1a9904beb0e1d4053d64736f6c634300081b0033a2646970667358221220a18315f6fdfc1e671311615602976a24d04b25e711a904ac6fbadba5674b000764736f6c634300081b0033";
3
+ */ export const SlashFactoryBytecode = "0x60a0604052348015600e575f5ffd5b50604051610f3c380380610f3c833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b608051610eb161008b5f395f818160480152818161018f01526102630152610eb15ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c80637ec54c7a14610043578063d843207714610087578063fd32032b146100c1575b5f5ffd5b61006a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61009a6100953660046104ad565b6100d4565b604080516001600160a01b039094168452602084019290925215159082015260600161007e565b61006a6100cf366004610512565b6100ff565b5f5f5f5f5f6100e38787610230565b90955093505050506001600160a01b0382163b15159250925092565b815183515f91818114610133576040516312f8203360e31b8152600481019290925260248201526044015b60405180910390fd5b5050815184519081811461016357604051635f4ed1fd60e11b81526004810192909252602482015260440161012a565b50505f5f5f61017287876100d4565b925092509250801561018957829350505050610229565b5f8288887f00000000000000000000000000000000000000000000000000000000000000006040516101ba9061034b565b6101c693929190610675565b8190604051809103905ff59050801580156101e3573d5f5f3e3d5ffd5b5090507fbdd79a70317aad8f321899ebbb4266e2805032689feba2e4b177130a21476ab68189898960405161021b94939291906106b2565b60405180910390a193505050505b9392505050565b5f5f5f848460405160200161024692919061072d565b6040516020818303038152906040528051906020012090505f85857f000000000000000000000000000000000000000000000000000000000000000060405160200161029493929190610675565b60405160208183030381529060405290505f604051806020016102b69061034b565b601f1982820381018352601f9091011660408190526102da919084906020016107b7565b60408051601f1981840301815282825280516020918201206001600160f81b0319828501523060601b6bffffffffffffffffffffffff191660218501526035840187905260558085019190915282518085039091018152607590930190915281519101209792965091945050505050565b6106a8806107d483390190565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561039557610395610358565b604052919050565b5f67ffffffffffffffff8211156103b6576103b6610358565b5060051b60200190565b5f82601f8301126103cf575f5ffd5b81356103e26103dd8261039d565b61036c565b8082825260208201915060208360051b860101925085831115610403575f5ffd5b602085015b838110156104345780356001600160a01b0381168114610426575f5ffd5b835260209283019201610408565b5095945050505050565b5f82601f83011261044d575f5ffd5b813561045b6103dd8261039d565b8082825260208201915060208360051b86010192508583111561047c575f5ffd5b602085015b838110156104345780356001600160601b038116811461049f575f5ffd5b835260209283019201610481565b5f5f604083850312156104be575f5ffd5b823567ffffffffffffffff8111156104d4575f5ffd5b6104e0858286016103c0565b925050602083013567ffffffffffffffff8111156104fc575f5ffd5b6105088582860161043e565b9150509250929050565b5f5f5f60608486031215610524575f5ffd5b833567ffffffffffffffff81111561053a575f5ffd5b610546868287016103c0565b935050602084013567ffffffffffffffff811115610562575f5ffd5b61056e8682870161043e565b925050604084013567ffffffffffffffff81111561058a575f5ffd5b8401601f8101861361059a575f5ffd5b80356105a86103dd8261039d565b8082825260208201915060208360051b8501019250888311156105c9575f5ffd5b6020840193505b828410156105eb5783358252602093840193909101906105d0565b809450505050509250925092565b5f8151808452602084019350602083015f5b828110156106325781516001600160a01b031686526020958601959091019060010161060b565b5093949350505050565b5f8151808452602084019350602083015f5b828110156106325781516001600160601b031686526020958601959091019060010161064e565b606081525f61068760608301866105f9565b8281036020840152610699818661063c565b91505060018060a01b0383166040830152949350505050565b6001600160a01b03851681526080602082018190525f906106d5908301866105f9565b82810360408401526106e7818661063c565b8381036060850152845180825260208087019350909101905f5b8181101561071f578351835260209384019390920191600101610701565b509098975050505050505050565b82515f90829060208601835b828110156107605781516001600160a01b0316845260209384019390910190600101610739565b50508451602086019291505f5b818110156107945783516001600160601b031683526020938401939092019160010161076d565b50909695505050505050565b5f81518060208401855e5f93019283525090919050565b5f6107cb6107c583866107a0565b846107a0565b94935050505056fe60a060405234801561000f575f5ffd5b506040516106a83803806106a883398101604081905261002e916101f2565b5f5b83518110156100d2575f6040518060400160405280868481518110610057576100576102c6565b60200260200101516001600160a01b0316815260200185848151811061007f5761007f6102c6565b6020908102919091018101516001600160601b039081169092528354600181810186555f9586529482902084519490920151909216600160a01b026001600160a01b039093169290921791015501610030565b506001600160a01b0316608052506102da9050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715610123576101236100e7565b604052919050565b5f6001600160401b03821115610143576101436100e7565b5060051b60200190565b6001600160a01b0381168114610161575f5ffd5b50565b5f82601f830112610173575f5ffd5b81516101866101818261012b565b6100fb565b8082825260208201915060208360051b8601019250858311156101a7575f5ffd5b602085015b838110156101d85780516001600160601b03811681146101ca575f5ffd5b8352602092830192016101ac565b5095945050505050565b80516101ed8161014d565b919050565b5f5f5f60608486031215610204575f5ffd5b83516001600160401b03811115610219575f5ffd5b8401601f81018613610229575f5ffd5b80516102376101818261012b565b8082825260208201915060208360051b850101925088831115610258575f5ffd5b6020840193505b828410156102835783516102728161014d565b82526020938401939091019061025f565b6020880151909650925050506001600160401b038111156102a2575f5ffd5b6102ae86828701610164565b9250506102bd604085016101e2565b90509250925092565b634e487b7160e01b5f52603260045260245ffd5b6080516103b06102f85f395f818160a0015261015901526103b05ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c8063504d080b1461004357806359888d01146100615780637ec54c7a1461009b575b5f5ffd5b61004b6100da565b6040516100589190610298565b60405180910390f35b61007461006f36600461033b565b610260565b604080516001600160a01b0390931683526001600160601b03909116602083015201610058565b6100c27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610058565b5f80546060919067ffffffffffffffff8111156100f9576100f9610352565b60405190808252806020026020018201604052801561013e57816020015b604080518082019091525f8152606060208201528152602001906001900390816101175790505b5090505f5b5f5481101561025a5760405180604001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031681526020016302fb4d8560e01b5f84815481106101a0576101a0610366565b5f91825260208220015481546001600160a01b039091169190869081106101c9576101c9610366565b5f918252602090912001546040516001600160a01b039092166024830152600160a01b90046001600160601b0316604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529052825183908390811061024757610247610366565b6020908102919091010152600101610143565b50919050565b5f818154811061026e575f80fd5b5f918252602090912001546001600160a01b0381169150600160a01b90046001600160601b031682565b5f602082016020835280845180835260408501915060408160051b8601019250602086015f5b8281101561032f57868503603f19018452815180516001600160a01b0316865260209081015160408288018190528151908801819052909181908301606089015e5f606082890101526060601f19601f830116880101965050506020820191506020840193506001810190506102be565b50929695505050505050565b5f6020828403121561034b575f5ffd5b5035919050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220c24edd793f9762a77452592210790ac443454e8c81cc329c8ef9549bbb59c11e64736f6c634300081b0033a26469706673582212208cbae79ec8ea81bce1f3534c2115e9973f9bd48d44a9b265355a5bee0b483bd264736f6c634300081b0033";
4
4
  /**
5
5
  * SlashFactory link references.
6
6
  */ export const SlashFactoryLinkReferences = {};
@@ -839,6 +839,10 @@ export declare const SlasherAbi: readonly [{
839
839
  readonly type: "uint256";
840
840
  readonly internalType: "Epoch";
841
841
  }];
842
+ }, {
843
+ readonly type: "error";
844
+ readonly name: "Rollup__RewardsNotClaimable";
845
+ readonly inputs: readonly [];
842
846
  }, {
843
847
  readonly type: "error";
844
848
  readonly name: "Rollup__SlotAlreadyInChain";
@@ -1027,6 +1031,22 @@ export declare const SlasherAbi: readonly [{
1027
1031
  readonly type: "address";
1028
1032
  readonly internalType: "address";
1029
1033
  }];
1034
+ }, {
1035
+ readonly type: "error";
1036
+ readonly name: "Staking__InvalidRecipient";
1037
+ readonly inputs: readonly [{
1038
+ readonly name: "";
1039
+ readonly type: "address";
1040
+ readonly internalType: "address";
1041
+ }];
1042
+ }, {
1043
+ readonly type: "error";
1044
+ readonly name: "Staking__InvalidRollupAddress";
1045
+ readonly inputs: readonly [{
1046
+ readonly name: "";
1047
+ readonly type: "address";
1048
+ readonly internalType: "address";
1049
+ }];
1030
1050
  }, {
1031
1051
  readonly type: "error";
1032
1052
  readonly name: "Staking__NoOneToSlash";
@@ -1035,6 +1055,14 @@ export declare const SlasherAbi: readonly [{
1035
1055
  readonly type: "address";
1036
1056
  readonly internalType: "address";
1037
1057
  }];
1058
+ }, {
1059
+ readonly type: "error";
1060
+ readonly name: "Staking__NotCanonical";
1061
+ readonly inputs: readonly [{
1062
+ readonly name: "";
1063
+ readonly type: "address";
1064
+ readonly internalType: "address";
1065
+ }];
1038
1066
  }, {
1039
1067
  readonly type: "error";
1040
1068
  readonly name: "Staking__NotExiting";
@@ -1043,6 +1071,14 @@ export declare const SlasherAbi: readonly [{
1043
1071
  readonly type: "address";
1044
1072
  readonly internalType: "address";
1045
1073
  }];
1074
+ }, {
1075
+ readonly type: "error";
1076
+ readonly name: "Staking__NotRollup";
1077
+ readonly inputs: readonly [{
1078
+ readonly name: "";
1079
+ readonly type: "address";
1080
+ readonly internalType: "address";
1081
+ }];
1046
1082
  }, {
1047
1083
  readonly type: "error";
1048
1084
  readonly name: "Staking__NotSlasher";
@@ -1075,6 +1111,34 @@ export declare const SlasherAbi: readonly [{
1075
1111
  readonly type: "address";
1076
1112
  readonly internalType: "address";
1077
1113
  }];
1114
+ }, {
1115
+ readonly type: "error";
1116
+ readonly name: "Staking__OutOfBounds";
1117
+ readonly inputs: readonly [{
1118
+ readonly name: "";
1119
+ readonly type: "uint256";
1120
+ readonly internalType: "uint256";
1121
+ }, {
1122
+ readonly name: "";
1123
+ readonly type: "uint256";
1124
+ readonly internalType: "uint256";
1125
+ }];
1126
+ }, {
1127
+ readonly type: "error";
1128
+ readonly name: "Staking__RollupAlreadyRegistered";
1129
+ readonly inputs: readonly [{
1130
+ readonly name: "";
1131
+ readonly type: "address";
1132
+ readonly internalType: "address";
1133
+ }];
1134
+ }, {
1135
+ readonly type: "error";
1136
+ readonly name: "Staking__WithdrawFailed";
1137
+ readonly inputs: readonly [{
1138
+ readonly name: "";
1139
+ readonly type: "address";
1140
+ readonly internalType: "address";
1141
+ }];
1078
1142
  }, {
1079
1143
  readonly type: "error";
1080
1144
  readonly name: "Staking__WithdrawalNotUnlockedYet";
@@ -1 +1 @@
1
- {"version":3,"file":"SlasherAbi.d.ts","sourceRoot":"","sources":["../src/SlasherAbi.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,UAAU;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