@agentsgot/agent-kit 0.0.0-stage → 1.0.1

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 (411) hide show
  1. package/ARCHITECTURE.md +5 -0
  2. package/README.md +13 -2
  3. package/dist/a2a.d.ts +35 -0
  4. package/dist/a2a.d.ts.map +1 -0
  5. package/dist/a2a.js +109 -0
  6. package/dist/a2a.js.map +1 -0
  7. package/dist/cli/binding.d.ts +24 -0
  8. package/dist/cli/binding.d.ts.map +1 -0
  9. package/dist/cli/binding.js +52 -0
  10. package/dist/cli/binding.js.map +1 -0
  11. package/dist/cli/commands.d.ts +18 -0
  12. package/dist/cli/commands.d.ts.map +1 -0
  13. package/dist/cli/commands.js +191 -0
  14. package/dist/cli/commands.js.map +1 -0
  15. package/dist/cli/context.d.ts +61 -0
  16. package/dist/cli/context.d.ts.map +1 -0
  17. package/dist/cli/context.js +147 -0
  18. package/dist/cli/context.js.map +1 -0
  19. package/dist/cli/doctor.d.ts +34 -0
  20. package/dist/cli/doctor.d.ts.map +1 -0
  21. package/dist/cli/doctor.js +109 -0
  22. package/dist/cli/doctor.js.map +1 -0
  23. package/dist/cli/home.d.ts +37 -0
  24. package/dist/cli/home.d.ts.map +1 -0
  25. package/dist/cli/home.js +77 -0
  26. package/dist/cli/home.js.map +1 -0
  27. package/dist/cli/index.d.ts +5 -0
  28. package/dist/cli/index.d.ts.map +1 -0
  29. package/dist/cli/index.js +120 -0
  30. package/dist/cli/index.js.map +1 -0
  31. package/dist/cli/install.d.ts +19 -0
  32. package/dist/cli/install.d.ts.map +1 -0
  33. package/dist/cli/install.js +64 -0
  34. package/dist/cli/install.js.map +1 -0
  35. package/dist/cli/keystore.d.ts +25 -0
  36. package/dist/cli/keystore.d.ts.map +1 -0
  37. package/dist/cli/keystore.js +57 -0
  38. package/dist/cli/keystore.js.map +1 -0
  39. package/dist/cli/mcp.d.ts +7 -0
  40. package/dist/cli/mcp.d.ts.map +1 -0
  41. package/dist/cli/mcp.js +28 -0
  42. package/dist/cli/mcp.js.map +1 -0
  43. package/dist/cli/prompt.d.ts +10 -0
  44. package/dist/cli/prompt.d.ts.map +1 -0
  45. package/dist/cli/prompt.js +71 -0
  46. package/dist/cli/prompt.js.map +1 -0
  47. package/dist/cli/reports.d.ts +42 -0
  48. package/dist/cli/reports.d.ts.map +1 -0
  49. package/dist/cli/reports.js +121 -0
  50. package/dist/cli/reports.js.map +1 -0
  51. package/dist/cli/run.d.ts +21 -0
  52. package/dist/cli/run.d.ts.map +1 -0
  53. package/dist/cli/run.js +125 -0
  54. package/dist/cli/run.js.map +1 -0
  55. package/dist/cli/wallet.d.ts +19 -0
  56. package/dist/cli/wallet.d.ts.map +1 -0
  57. package/dist/cli/wallet.js +58 -0
  58. package/dist/cli/wallet.js.map +1 -0
  59. package/dist/guides.d.ts +7 -0
  60. package/dist/guides.d.ts.map +1 -0
  61. package/dist/guides.js +94 -0
  62. package/dist/guides.js.map +1 -0
  63. package/dist/index.d.ts +20 -0
  64. package/dist/index.d.ts.map +1 -0
  65. package/dist/index.js +23 -0
  66. package/dist/index.js.map +1 -0
  67. package/dist/llm.d.ts +16 -0
  68. package/dist/llm.d.ts.map +1 -0
  69. package/dist/llm.js +30 -0
  70. package/dist/llm.js.map +1 -0
  71. package/dist/mcp/cli.d.ts +3 -0
  72. package/dist/mcp/cli.d.ts.map +1 -0
  73. package/dist/mcp/cli.js +6 -0
  74. package/dist/mcp/cli.js.map +1 -0
  75. package/dist/mcp/server.d.ts +38 -0
  76. package/dist/mcp/server.d.ts.map +1 -0
  77. package/dist/mcp/server.js +693 -0
  78. package/dist/mcp/server.js.map +1 -0
  79. package/dist/ports.d.ts +123 -0
  80. package/dist/ports.d.ts.map +1 -0
  81. package/dist/ports.js +134 -0
  82. package/dist/ports.js.map +1 -0
  83. package/dist/roles.d.ts +16 -0
  84. package/dist/roles.d.ts.map +1 -0
  85. package/dist/roles.js +49 -0
  86. package/dist/roles.js.map +1 -0
  87. package/dist/runner.d.ts +126 -0
  88. package/dist/runner.d.ts.map +1 -0
  89. package/dist/runner.js +292 -0
  90. package/dist/runner.js.map +1 -0
  91. package/dist/schedules.d.ts +34 -0
  92. package/dist/schedules.d.ts.map +1 -0
  93. package/dist/schedules.js +116 -0
  94. package/dist/schedules.js.map +1 -0
  95. package/dist/sdk/base64.d.ts +4 -0
  96. package/dist/sdk/base64.d.ts.map +1 -0
  97. package/dist/sdk/base64.js +15 -0
  98. package/dist/sdk/base64.js.map +1 -0
  99. package/dist/sdk/client.d.ts +198 -0
  100. package/dist/sdk/client.d.ts.map +1 -0
  101. package/dist/sdk/client.js +413 -0
  102. package/dist/sdk/client.js.map +1 -0
  103. package/dist/security.d.ts +10 -0
  104. package/dist/security.d.ts.map +1 -0
  105. package/dist/security.js +24 -0
  106. package/dist/security.js.map +1 -0
  107. package/dist/skills.d.ts +21 -0
  108. package/dist/skills.d.ts.map +1 -0
  109. package/dist/skills.js +93 -0
  110. package/dist/skills.js.map +1 -0
  111. package/dist/workers.d.ts +64 -0
  112. package/dist/workers.d.ts.map +1 -0
  113. package/dist/workers.js +127 -0
  114. package/dist/workers.js.map +1 -0
  115. package/dist/zip.d.ts +8 -0
  116. package/dist/zip.d.ts.map +1 -0
  117. package/dist/zip.js +80 -0
  118. package/dist/zip.js.map +1 -0
  119. package/docs/README.md +25 -0
  120. package/docs/architecture.md +18 -0
  121. package/docs/deployment.md +35 -0
  122. package/docs/reference/01-RULES.md +822 -0
  123. package/docs/reference/02-INTERFACES.md +487 -0
  124. package/docs/reference/03-STAKING-PENALTY-SPEC.md +739 -0
  125. package/docs/updates.md +65 -0
  126. package/docs/verification.md +72 -0
  127. package/package.json +88 -4
  128. package/skills/dist/agent-skills.json +68 -0
  129. package/skills/dist/arbitrator/SKILL.md +186 -0
  130. package/skills/dist/executor/SKILL.md +219 -0
  131. package/skills/dist/publisher/SKILL.md +172 -0
  132. package/skills/dist/tester/SKILL.md +198 -0
  133. package/vendor/shared/ARCHITECTURE.md +97 -0
  134. package/vendor/shared/README.md +5 -0
  135. package/vendor/shared/abi/index.js +2 -0
  136. package/vendor/shared/abi/index.ts +2 -0
  137. package/vendor/shared/abi/protocol/AgentRegistry.js +1623 -0
  138. package/vendor/shared/abi/protocol/AgentRegistry.json +1623 -0
  139. package/vendor/shared/abi/protocol/AgentRegistry.ts +1623 -0
  140. package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.js +154 -0
  141. package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.json +154 -0
  142. package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.ts +154 -0
  143. package/vendor/shared/abi/protocol/ArbitrationCourt.js +1550 -0
  144. package/vendor/shared/abi/protocol/ArbitrationCourt.json +1550 -0
  145. package/vendor/shared/abi/protocol/ArbitrationCourt.ts +1550 -0
  146. package/vendor/shared/abi/protocol/ArbitrationPool.js +509 -0
  147. package/vendor/shared/abi/protocol/ArbitrationPool.json +509 -0
  148. package/vendor/shared/abi/protocol/ArbitrationPool.ts +509 -0
  149. package/vendor/shared/abi/protocol/ArbitrationProgressor.js +44 -0
  150. package/vendor/shared/abi/protocol/ArbitrationProgressor.json +44 -0
  151. package/vendor/shared/abi/protocol/ArbitrationProgressor.ts +44 -0
  152. package/vendor/shared/abi/protocol/ArbitrationSelection.js +1153 -0
  153. package/vendor/shared/abi/protocol/ArbitrationSelection.json +1153 -0
  154. package/vendor/shared/abi/protocol/ArbitrationSelection.ts +1153 -0
  155. package/vendor/shared/abi/protocol/ArbitrationSettlement.js +956 -0
  156. package/vendor/shared/abi/protocol/ArbitrationSettlement.json +956 -0
  157. package/vendor/shared/abi/protocol/ArbitrationSettlement.ts +956 -0
  158. package/vendor/shared/abi/protocol/ArbitrationStream.js +964 -0
  159. package/vendor/shared/abi/protocol/ArbitrationStream.json +964 -0
  160. package/vendor/shared/abi/protocol/ArbitrationStream.ts +964 -0
  161. package/vendor/shared/abi/protocol/EmissionController.js +1436 -0
  162. package/vendor/shared/abi/protocol/EmissionController.json +1436 -0
  163. package/vendor/shared/abi/protocol/EmissionController.ts +1436 -0
  164. package/vendor/shared/abi/protocol/HourlyAnchor.js +611 -0
  165. package/vendor/shared/abi/protocol/HourlyAnchor.json +611 -0
  166. package/vendor/shared/abi/protocol/HourlyAnchor.ts +611 -0
  167. package/vendor/shared/abi/protocol/IncentiveVault.js +480 -0
  168. package/vendor/shared/abi/protocol/IncentiveVault.json +480 -0
  169. package/vendor/shared/abi/protocol/IncentiveVault.ts +480 -0
  170. package/vendor/shared/abi/protocol/ParamRegistry.js +814 -0
  171. package/vendor/shared/abi/protocol/ParamRegistry.json +814 -0
  172. package/vendor/shared/abi/protocol/ParamRegistry.ts +814 -0
  173. package/vendor/shared/abi/protocol/PlatformTreasury.js +553 -0
  174. package/vendor/shared/abi/protocol/PlatformTreasury.json +553 -0
  175. package/vendor/shared/abi/protocol/PlatformTreasury.ts +553 -0
  176. package/vendor/shared/abi/protocol/ProtocolProof.js +1171 -0
  177. package/vendor/shared/abi/protocol/ProtocolProof.json +1171 -0
  178. package/vendor/shared/abi/protocol/ProtocolProof.ts +1171 -0
  179. package/vendor/shared/abi/protocol/PublisherStaking.js +1227 -0
  180. package/vendor/shared/abi/protocol/PublisherStaking.json +1227 -0
  181. package/vendor/shared/abi/protocol/PublisherStaking.ts +1227 -0
  182. package/vendor/shared/abi/protocol/RewardVesting.js +1027 -0
  183. package/vendor/shared/abi/protocol/RewardVesting.json +1027 -0
  184. package/vendor/shared/abi/protocol/RewardVesting.ts +1027 -0
  185. package/vendor/shared/abi/protocol/TaskEscrow.js +2219 -0
  186. package/vendor/shared/abi/protocol/TaskEscrow.json +2219 -0
  187. package/vendor/shared/abi/protocol/TaskEscrow.ts +2219 -0
  188. package/vendor/shared/abi/protocol/TesterAssignment.js +1375 -0
  189. package/vendor/shared/abi/protocol/TesterAssignment.json +1375 -0
  190. package/vendor/shared/abi/protocol/TesterAssignment.ts +1375 -0
  191. package/vendor/shared/abi/protocol/ValidatorStaking.js +1614 -0
  192. package/vendor/shared/abi/protocol/ValidatorStaking.json +1614 -0
  193. package/vendor/shared/abi/protocol/ValidatorStaking.ts +1614 -0
  194. package/vendor/shared/abi/protocol/index.js +19 -0
  195. package/vendor/shared/abi/protocol/index.ts +19 -0
  196. package/vendor/shared/abi/token/AGTToken.js +1018 -0
  197. package/vendor/shared/abi/token/AGTToken.json +1018 -0
  198. package/vendor/shared/abi/token/AGTToken.ts +1018 -0
  199. package/vendor/shared/abi/token/GenesisDistributor.js +242 -0
  200. package/vendor/shared/abi/token/GenesisDistributor.json +242 -0
  201. package/vendor/shared/abi/token/GenesisDistributor.ts +242 -0
  202. package/vendor/shared/abi/token/LPLocker.js +21 -0
  203. package/vendor/shared/abi/token/LPLocker.json +21 -0
  204. package/vendor/shared/abi/token/LPLocker.ts +21 -0
  205. package/vendor/shared/abi/token/LaunchLiquidity.js +335 -0
  206. package/vendor/shared/abi/token/LaunchLiquidity.json +335 -0
  207. package/vendor/shared/abi/token/LaunchLiquidity.ts +335 -0
  208. package/vendor/shared/abi/token/LiquidityAdder.js +228 -0
  209. package/vendor/shared/abi/token/LiquidityAdder.json +228 -0
  210. package/vendor/shared/abi/token/LiquidityAdder.ts +228 -0
  211. package/vendor/shared/abi/token/TaxDistributor.js +235 -0
  212. package/vendor/shared/abi/token/TaxDistributor.json +235 -0
  213. package/vendor/shared/abi/token/TaxDistributor.ts +235 -0
  214. package/vendor/shared/abi/token/TestFaucet.js +214 -0
  215. package/vendor/shared/abi/token/TestFaucet.json +214 -0
  216. package/vendor/shared/abi/token/TestFaucet.ts +214 -0
  217. package/vendor/shared/abi/token/index.js +7 -0
  218. package/vendor/shared/abi/token/index.ts +7 -0
  219. package/vendor/shared/dist/abi/index.d.ts +3 -0
  220. package/vendor/shared/dist/abi/index.d.ts.map +1 -0
  221. package/vendor/shared/dist/abi/index.js +3 -0
  222. package/vendor/shared/dist/abi/index.js.map +1 -0
  223. package/vendor/shared/dist/abi/protocol/AgentRegistry.d.ts +1249 -0
  224. package/vendor/shared/dist/abi/protocol/AgentRegistry.d.ts.map +1 -0
  225. package/vendor/shared/dist/abi/protocol/AgentRegistry.js +1624 -0
  226. package/vendor/shared/dist/abi/protocol/AgentRegistry.js.map +1 -0
  227. package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.d.ts +119 -0
  228. package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.d.ts.map +1 -0
  229. package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.js +155 -0
  230. package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.js.map +1 -0
  231. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts +1205 -0
  232. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts.map +1 -0
  233. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js +1551 -0
  234. package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js.map +1 -0
  235. package/vendor/shared/dist/abi/protocol/ArbitrationPool.d.ts +391 -0
  236. package/vendor/shared/dist/abi/protocol/ArbitrationPool.d.ts.map +1 -0
  237. package/vendor/shared/dist/abi/protocol/ArbitrationPool.js +510 -0
  238. package/vendor/shared/dist/abi/protocol/ArbitrationPool.js.map +1 -0
  239. package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.d.ts +34 -0
  240. package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.d.ts.map +1 -0
  241. package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.js +45 -0
  242. package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.js.map +1 -0
  243. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts +885 -0
  244. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts.map +1 -0
  245. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js +1154 -0
  246. package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js.map +1 -0
  247. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts +742 -0
  248. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts.map +1 -0
  249. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js +957 -0
  250. package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js.map +1 -0
  251. package/vendor/shared/dist/abi/protocol/ArbitrationStream.d.ts +741 -0
  252. package/vendor/shared/dist/abi/protocol/ArbitrationStream.d.ts.map +1 -0
  253. package/vendor/shared/dist/abi/protocol/ArbitrationStream.js +965 -0
  254. package/vendor/shared/dist/abi/protocol/ArbitrationStream.js.map +1 -0
  255. package/vendor/shared/dist/abi/protocol/EmissionController.d.ts +1110 -0
  256. package/vendor/shared/dist/abi/protocol/EmissionController.d.ts.map +1 -0
  257. package/vendor/shared/dist/abi/protocol/EmissionController.js +1437 -0
  258. package/vendor/shared/dist/abi/protocol/EmissionController.js.map +1 -0
  259. package/vendor/shared/dist/abi/protocol/HourlyAnchor.d.ts +467 -0
  260. package/vendor/shared/dist/abi/protocol/HourlyAnchor.d.ts.map +1 -0
  261. package/vendor/shared/dist/abi/protocol/HourlyAnchor.js +612 -0
  262. package/vendor/shared/dist/abi/protocol/HourlyAnchor.js.map +1 -0
  263. package/vendor/shared/dist/abi/protocol/IncentiveVault.d.ts +369 -0
  264. package/vendor/shared/dist/abi/protocol/IncentiveVault.d.ts.map +1 -0
  265. package/vendor/shared/dist/abi/protocol/IncentiveVault.js +481 -0
  266. package/vendor/shared/dist/abi/protocol/IncentiveVault.js.map +1 -0
  267. package/vendor/shared/dist/abi/protocol/ParamRegistry.d.ts +628 -0
  268. package/vendor/shared/dist/abi/protocol/ParamRegistry.d.ts.map +1 -0
  269. package/vendor/shared/dist/abi/protocol/ParamRegistry.js +815 -0
  270. package/vendor/shared/dist/abi/protocol/ParamRegistry.js.map +1 -0
  271. package/vendor/shared/dist/abi/protocol/PlatformTreasury.d.ts +426 -0
  272. package/vendor/shared/dist/abi/protocol/PlatformTreasury.d.ts.map +1 -0
  273. package/vendor/shared/dist/abi/protocol/PlatformTreasury.js +554 -0
  274. package/vendor/shared/dist/abi/protocol/PlatformTreasury.js.map +1 -0
  275. package/vendor/shared/dist/abi/protocol/ProtocolProof.d.ts +903 -0
  276. package/vendor/shared/dist/abi/protocol/ProtocolProof.d.ts.map +1 -0
  277. package/vendor/shared/dist/abi/protocol/ProtocolProof.js +1172 -0
  278. package/vendor/shared/dist/abi/protocol/ProtocolProof.js.map +1 -0
  279. package/vendor/shared/dist/abi/protocol/PublisherStaking.d.ts +947 -0
  280. package/vendor/shared/dist/abi/protocol/PublisherStaking.d.ts.map +1 -0
  281. package/vendor/shared/dist/abi/protocol/PublisherStaking.js +1228 -0
  282. package/vendor/shared/dist/abi/protocol/PublisherStaking.js.map +1 -0
  283. package/vendor/shared/dist/abi/protocol/RewardVesting.d.ts +793 -0
  284. package/vendor/shared/dist/abi/protocol/RewardVesting.d.ts.map +1 -0
  285. package/vendor/shared/dist/abi/protocol/RewardVesting.js +1028 -0
  286. package/vendor/shared/dist/abi/protocol/RewardVesting.js.map +1 -0
  287. package/vendor/shared/dist/abi/protocol/TaskEscrow.d.ts +1725 -0
  288. package/vendor/shared/dist/abi/protocol/TaskEscrow.d.ts.map +1 -0
  289. package/vendor/shared/dist/abi/protocol/TaskEscrow.js +2220 -0
  290. package/vendor/shared/dist/abi/protocol/TaskEscrow.js.map +1 -0
  291. package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts +1058 -0
  292. package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts.map +1 -0
  293. package/vendor/shared/dist/abi/protocol/TesterAssignment.js +1376 -0
  294. package/vendor/shared/dist/abi/protocol/TesterAssignment.js.map +1 -0
  295. package/vendor/shared/dist/abi/protocol/ValidatorStaking.d.ts +1236 -0
  296. package/vendor/shared/dist/abi/protocol/ValidatorStaking.d.ts.map +1 -0
  297. package/vendor/shared/dist/abi/protocol/ValidatorStaking.js +1615 -0
  298. package/vendor/shared/dist/abi/protocol/ValidatorStaking.js.map +1 -0
  299. package/vendor/shared/dist/abi/protocol/index.d.ts +20 -0
  300. package/vendor/shared/dist/abi/protocol/index.d.ts.map +1 -0
  301. package/vendor/shared/dist/abi/protocol/index.js +20 -0
  302. package/vendor/shared/dist/abi/protocol/index.js.map +1 -0
  303. package/vendor/shared/dist/abi/token/AGTToken.d.ts +786 -0
  304. package/vendor/shared/dist/abi/token/AGTToken.d.ts.map +1 -0
  305. package/vendor/shared/dist/abi/token/AGTToken.js +1019 -0
  306. package/vendor/shared/dist/abi/token/AGTToken.js.map +1 -0
  307. package/vendor/shared/dist/abi/token/GenesisDistributor.d.ts +187 -0
  308. package/vendor/shared/dist/abi/token/GenesisDistributor.d.ts.map +1 -0
  309. package/vendor/shared/dist/abi/token/GenesisDistributor.js +243 -0
  310. package/vendor/shared/dist/abi/token/GenesisDistributor.js.map +1 -0
  311. package/vendor/shared/dist/abi/token/LPLocker.d.ts +16 -0
  312. package/vendor/shared/dist/abi/token/LPLocker.d.ts.map +1 -0
  313. package/vendor/shared/dist/abi/token/LPLocker.js +22 -0
  314. package/vendor/shared/dist/abi/token/LPLocker.js.map +1 -0
  315. package/vendor/shared/dist/abi/token/LaunchLiquidity.d.ts +260 -0
  316. package/vendor/shared/dist/abi/token/LaunchLiquidity.d.ts.map +1 -0
  317. package/vendor/shared/dist/abi/token/LaunchLiquidity.js +336 -0
  318. package/vendor/shared/dist/abi/token/LaunchLiquidity.js.map +1 -0
  319. package/vendor/shared/dist/abi/token/LiquidityAdder.d.ts +176 -0
  320. package/vendor/shared/dist/abi/token/LiquidityAdder.d.ts.map +1 -0
  321. package/vendor/shared/dist/abi/token/LiquidityAdder.js +229 -0
  322. package/vendor/shared/dist/abi/token/LiquidityAdder.js.map +1 -0
  323. package/vendor/shared/dist/abi/token/TaxDistributor.d.ts +182 -0
  324. package/vendor/shared/dist/abi/token/TaxDistributor.d.ts.map +1 -0
  325. package/vendor/shared/dist/abi/token/TaxDistributor.js +236 -0
  326. package/vendor/shared/dist/abi/token/TaxDistributor.js.map +1 -0
  327. package/vendor/shared/dist/abi/token/TestFaucet.d.ts +164 -0
  328. package/vendor/shared/dist/abi/token/TestFaucet.d.ts.map +1 -0
  329. package/vendor/shared/dist/abi/token/TestFaucet.js +215 -0
  330. package/vendor/shared/dist/abi/token/TestFaucet.js.map +1 -0
  331. package/vendor/shared/dist/abi/token/index.d.ts +8 -0
  332. package/vendor/shared/dist/abi/token/index.d.ts.map +1 -0
  333. package/vendor/shared/dist/abi/token/index.js +8 -0
  334. package/vendor/shared/dist/abi/token/index.js.map +1 -0
  335. package/vendor/shared/dist/emission-schedule.d.ts +51 -0
  336. package/vendor/shared/dist/emission-schedule.d.ts.map +1 -0
  337. package/vendor/shared/dist/emission-schedule.js +116 -0
  338. package/vendor/shared/dist/emission-schedule.js.map +1 -0
  339. package/vendor/shared/dist/index.d.ts +7 -0
  340. package/vendor/shared/dist/index.d.ts.map +1 -0
  341. package/vendor/shared/dist/index.js +7 -0
  342. package/vendor/shared/dist/index.js.map +1 -0
  343. package/vendor/shared/dist/params/index.d.ts +6 -0
  344. package/vendor/shared/dist/params/index.d.ts.map +1 -0
  345. package/vendor/shared/dist/params/index.js +84 -0
  346. package/vendor/shared/dist/params/index.js.map +1 -0
  347. package/vendor/shared/dist/protocol-proofs.d.ts +267 -0
  348. package/vendor/shared/dist/protocol-proofs.d.ts.map +1 -0
  349. package/vendor/shared/dist/protocol-proofs.js +205 -0
  350. package/vendor/shared/dist/protocol-proofs.js.map +1 -0
  351. package/vendor/shared/dist/rules/index.d.ts +204 -0
  352. package/vendor/shared/dist/rules/index.d.ts.map +1 -0
  353. package/vendor/shared/dist/rules/index.js +802 -0
  354. package/vendor/shared/dist/rules/index.js.map +1 -0
  355. package/vendor/shared/dist/rules/spec-content.d.ts +21 -0
  356. package/vendor/shared/dist/rules/spec-content.d.ts.map +1 -0
  357. package/vendor/shared/dist/rules/spec-content.js +90 -0
  358. package/vendor/shared/dist/rules/spec-content.js.map +1 -0
  359. package/vendor/shared/dist/rules/task-risk.d.ts +35 -0
  360. package/vendor/shared/dist/rules/task-risk.d.ts.map +1 -0
  361. package/vendor/shared/dist/rules/task-risk.js +438 -0
  362. package/vendor/shared/dist/rules/task-risk.js.map +1 -0
  363. package/vendor/shared/dist/schemas/domain.d.ts +195 -0
  364. package/vendor/shared/dist/schemas/domain.d.ts.map +1 -0
  365. package/vendor/shared/dist/schemas/domain.js +158 -0
  366. package/vendor/shared/dist/schemas/domain.js.map +1 -0
  367. package/vendor/shared/dist/schemas/draft.d.ts +730 -0
  368. package/vendor/shared/dist/schemas/draft.d.ts.map +1 -0
  369. package/vendor/shared/dist/schemas/draft.js +110 -0
  370. package/vendor/shared/dist/schemas/draft.js.map +1 -0
  371. package/vendor/shared/dist/schemas/enums.d.ts +130 -0
  372. package/vendor/shared/dist/schemas/enums.d.ts.map +1 -0
  373. package/vendor/shared/dist/schemas/enums.js +63 -0
  374. package/vendor/shared/dist/schemas/enums.js.map +1 -0
  375. package/vendor/shared/dist/schemas/index.d.ts +4 -0
  376. package/vendor/shared/dist/schemas/index.d.ts.map +1 -0
  377. package/vendor/shared/dist/schemas/index.js +4 -0
  378. package/vendor/shared/dist/schemas/index.js.map +1 -0
  379. package/vendor/shared/dist/units.d.ts +10 -0
  380. package/vendor/shared/dist/units.d.ts.map +1 -0
  381. package/vendor/shared/dist/units.js +44 -0
  382. package/vendor/shared/dist/units.js.map +1 -0
  383. package/vendor/shared/openapi.json +78754 -0
  384. package/vendor/shared/package.json +43 -0
  385. package/vendor/shared/params/params.json +152 -0
  386. package/vendor/shared/params/ranges.json +574 -0
  387. package/vendor/shared/src/emission-schedule.ts +151 -0
  388. package/vendor/shared/src/index.ts +6 -0
  389. package/vendor/shared/src/params/index.ts +139 -0
  390. package/vendor/shared/src/protocol-proofs.ts +235 -0
  391. package/vendor/shared/src/rules/index.ts +1081 -0
  392. package/vendor/shared/src/rules/spec-content.ts +120 -0
  393. package/vendor/shared/src/rules/task-risk.ts +550 -0
  394. package/vendor/shared/src/schemas/domain.ts +187 -0
  395. package/vendor/shared/src/schemas/draft.ts +141 -0
  396. package/vendor/shared/src/schemas/enums.ts +73 -0
  397. package/vendor/shared/src/schemas/index.ts +3 -0
  398. package/vendor/shared/src/units.ts +43 -0
  399. package/vendor/shared/test/emission-schedule.test.ts +115 -0
  400. package/vendor/shared/test/fixtures/emission-vectors.json +1055 -0
  401. package/vendor/shared/test/fixtures.ts +65 -0
  402. package/vendor/shared/test/params.test.ts +48 -0
  403. package/vendor/shared/test/properties.test.ts +136 -0
  404. package/vendor/shared/test/protocol-proofs.test.ts +88 -0
  405. package/vendor/shared/test/rules.test.ts +474 -0
  406. package/vendor/shared/test/schemas.test.ts +130 -0
  407. package/vendor/shared/test/task-risk.test.ts +489 -0
  408. package/vendor/shared/tsconfig.abi.json +11 -0
  409. package/vendor/shared/tsconfig.json +23 -0
  410. package/vendor/shared/types/api/index.d.ts +303 -0
  411. package/vendor/shared/vitest.config.ts +8 -0
@@ -0,0 +1,1375 @@
1
+ export const testerAssignmentAbi = [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "token_",
7
+ "type": "address",
8
+ "internalType": "contract IERC20"
9
+ },
10
+ {
11
+ "name": "params_",
12
+ "type": "address",
13
+ "internalType": "contract IParamRegistry"
14
+ },
15
+ {
16
+ "name": "validatorStaking_",
17
+ "type": "address",
18
+ "internalType": "contract IValidatorStaking"
19
+ },
20
+ {
21
+ "name": "taskEscrow_",
22
+ "type": "address",
23
+ "internalType": "address"
24
+ },
25
+ {
26
+ "name": "arbitrationFeeRecipient_",
27
+ "type": "address",
28
+ "internalType": "address"
29
+ },
30
+ {
31
+ "name": "expectedCourt_",
32
+ "type": "address",
33
+ "internalType": "address"
34
+ },
35
+ {
36
+ "name": "protocolProof_",
37
+ "type": "address",
38
+ "internalType": "contract IProtocolProof"
39
+ }
40
+ ],
41
+ "stateMutability": "nonpayable"
42
+ },
43
+ {
44
+ "type": "function",
45
+ "name": "UPGRADER_ROLE",
46
+ "inputs": [],
47
+ "outputs": [
48
+ {
49
+ "name": "",
50
+ "type": "bytes32",
51
+ "internalType": "bytes32"
52
+ }
53
+ ],
54
+ "stateMutability": "view"
55
+ },
56
+ {
57
+ "type": "function",
58
+ "name": "UPGRADE_INTERFACE_VERSION",
59
+ "inputs": [],
60
+ "outputs": [
61
+ {
62
+ "name": "",
63
+ "type": "string",
64
+ "internalType": "string"
65
+ }
66
+ ],
67
+ "stateMutability": "view"
68
+ },
69
+ {
70
+ "type": "function",
71
+ "name": "arbitrationFeeRecipient",
72
+ "inputs": [],
73
+ "outputs": [
74
+ {
75
+ "name": "",
76
+ "type": "address",
77
+ "internalType": "address"
78
+ }
79
+ ],
80
+ "stateMutability": "view"
81
+ },
82
+ {
83
+ "type": "function",
84
+ "name": "arbitrationReview",
85
+ "inputs": [
86
+ {
87
+ "name": "",
88
+ "type": "bytes32",
89
+ "internalType": "bytes32"
90
+ }
91
+ ],
92
+ "outputs": [
93
+ {
94
+ "name": "",
95
+ "type": "bool",
96
+ "internalType": "bool"
97
+ }
98
+ ],
99
+ "stateMutability": "view"
100
+ },
101
+ {
102
+ "type": "function",
103
+ "name": "assigned",
104
+ "inputs": [
105
+ {
106
+ "name": "",
107
+ "type": "bytes32",
108
+ "internalType": "bytes32"
109
+ },
110
+ {
111
+ "name": "",
112
+ "type": "address",
113
+ "internalType": "address"
114
+ }
115
+ ],
116
+ "outputs": [
117
+ {
118
+ "name": "",
119
+ "type": "bool",
120
+ "internalType": "bool"
121
+ }
122
+ ],
123
+ "stateMutability": "view"
124
+ },
125
+ {
126
+ "type": "function",
127
+ "name": "assignedTesters",
128
+ "inputs": [
129
+ {
130
+ "name": "taskId",
131
+ "type": "bytes32",
132
+ "internalType": "bytes32"
133
+ }
134
+ ],
135
+ "outputs": [
136
+ {
137
+ "name": "",
138
+ "type": "address[]",
139
+ "internalType": "address[]"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "assignmentInfo",
147
+ "inputs": [
148
+ {
149
+ "name": "taskId",
150
+ "type": "bytes32",
151
+ "internalType": "bytes32"
152
+ }
153
+ ],
154
+ "outputs": [
155
+ {
156
+ "name": "publisher",
157
+ "type": "address",
158
+ "internalType": "address"
159
+ },
160
+ {
161
+ "name": "executor",
162
+ "type": "address",
163
+ "internalType": "address"
164
+ },
165
+ {
166
+ "name": "requestedAtBlock",
167
+ "type": "uint64",
168
+ "internalType": "uint64"
169
+ },
170
+ {
171
+ "name": "seedBlock",
172
+ "type": "uint64",
173
+ "internalType": "uint64"
174
+ },
175
+ {
176
+ "name": "testerCount",
177
+ "type": "uint8",
178
+ "internalType": "uint8"
179
+ },
180
+ {
181
+ "name": "reportsSubmitted",
182
+ "type": "uint8",
183
+ "internalType": "uint8"
184
+ },
185
+ {
186
+ "name": "approvals",
187
+ "type": "uint8",
188
+ "internalType": "uint8"
189
+ },
190
+ {
191
+ "name": "finalized",
192
+ "type": "bool",
193
+ "internalType": "bool"
194
+ },
195
+ {
196
+ "name": "tallied",
197
+ "type": "bool",
198
+ "internalType": "bool"
199
+ }
200
+ ],
201
+ "stateMutability": "view"
202
+ },
203
+ {
204
+ "type": "function",
205
+ "name": "court",
206
+ "inputs": [],
207
+ "outputs": [
208
+ {
209
+ "name": "",
210
+ "type": "address",
211
+ "internalType": "address"
212
+ }
213
+ ],
214
+ "stateMutability": "view"
215
+ },
216
+ {
217
+ "type": "function",
218
+ "name": "currentFallbackTesters",
219
+ "inputs": [
220
+ {
221
+ "name": "caseId",
222
+ "type": "bytes32",
223
+ "internalType": "bytes32"
224
+ }
225
+ ],
226
+ "outputs": [
227
+ {
228
+ "name": "current",
229
+ "type": "address[]",
230
+ "internalType": "address[]"
231
+ }
232
+ ],
233
+ "stateMutability": "view"
234
+ },
235
+ {
236
+ "type": "function",
237
+ "name": "expectedCourt",
238
+ "inputs": [],
239
+ "outputs": [
240
+ {
241
+ "name": "",
242
+ "type": "address",
243
+ "internalType": "address"
244
+ }
245
+ ],
246
+ "stateMutability": "view"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "fallbackProgress",
251
+ "inputs": [
252
+ {
253
+ "name": "caseId",
254
+ "type": "bytes32",
255
+ "internalType": "bytes32"
256
+ }
257
+ ],
258
+ "outputs": [
259
+ {
260
+ "name": "taskId",
261
+ "type": "bytes32",
262
+ "internalType": "bytes32"
263
+ },
264
+ {
265
+ "name": "reportDeadline",
266
+ "type": "uint64",
267
+ "internalType": "uint64"
268
+ },
269
+ {
270
+ "name": "redraws",
271
+ "type": "uint8",
272
+ "internalType": "uint8"
273
+ }
274
+ ],
275
+ "stateMutability": "view"
276
+ },
277
+ {
278
+ "type": "function",
279
+ "name": "finalizeFallbackReview",
280
+ "inputs": [
281
+ {
282
+ "name": "caseId",
283
+ "type": "bytes32",
284
+ "internalType": "bytes32"
285
+ }
286
+ ],
287
+ "outputs": [],
288
+ "stateMutability": "nonpayable"
289
+ },
290
+ {
291
+ "type": "function",
292
+ "name": "inPool",
293
+ "inputs": [
294
+ {
295
+ "name": "",
296
+ "type": "address",
297
+ "internalType": "address"
298
+ }
299
+ ],
300
+ "outputs": [
301
+ {
302
+ "name": "",
303
+ "type": "bool",
304
+ "internalType": "bool"
305
+ }
306
+ ],
307
+ "stateMutability": "view"
308
+ },
309
+ {
310
+ "type": "function",
311
+ "name": "initialize",
312
+ "inputs": [],
313
+ "outputs": [],
314
+ "stateMutability": "nonpayable"
315
+ },
316
+ {
317
+ "type": "function",
318
+ "name": "joinPool",
319
+ "inputs": [],
320
+ "outputs": [],
321
+ "stateMutability": "nonpayable"
322
+ },
323
+ {
324
+ "type": "function",
325
+ "name": "pairEncounters",
326
+ "inputs": [
327
+ {
328
+ "name": "",
329
+ "type": "address",
330
+ "internalType": "address"
331
+ },
332
+ {
333
+ "name": "",
334
+ "type": "address",
335
+ "internalType": "address"
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "",
341
+ "type": "uint256",
342
+ "internalType": "uint256"
343
+ }
344
+ ],
345
+ "stateMutability": "view"
346
+ },
347
+ {
348
+ "type": "function",
349
+ "name": "params",
350
+ "inputs": [],
351
+ "outputs": [
352
+ {
353
+ "name": "",
354
+ "type": "address",
355
+ "internalType": "contract IParamRegistry"
356
+ }
357
+ ],
358
+ "stateMutability": "view"
359
+ },
360
+ {
361
+ "type": "function",
362
+ "name": "payout",
363
+ "inputs": [
364
+ {
365
+ "name": "taskId",
366
+ "type": "bytes32",
367
+ "internalType": "bytes32"
368
+ },
369
+ {
370
+ "name": "amount",
371
+ "type": "uint256",
372
+ "internalType": "uint256"
373
+ }
374
+ ],
375
+ "outputs": [],
376
+ "stateMutability": "nonpayable"
377
+ },
378
+ {
379
+ "type": "function",
380
+ "name": "poolSize",
381
+ "inputs": [],
382
+ "outputs": [
383
+ {
384
+ "name": "",
385
+ "type": "uint256",
386
+ "internalType": "uint256"
387
+ }
388
+ ],
389
+ "stateMutability": "view"
390
+ },
391
+ {
392
+ "type": "function",
393
+ "name": "protocolProof",
394
+ "inputs": [],
395
+ "outputs": [
396
+ {
397
+ "name": "",
398
+ "type": "address",
399
+ "internalType": "contract IProtocolProof"
400
+ }
401
+ ],
402
+ "stateMutability": "view"
403
+ },
404
+ {
405
+ "type": "function",
406
+ "name": "proxiableUUID",
407
+ "inputs": [],
408
+ "outputs": [
409
+ {
410
+ "name": "",
411
+ "type": "bytes32",
412
+ "internalType": "bytes32"
413
+ }
414
+ ],
415
+ "stateMutability": "view"
416
+ },
417
+ {
418
+ "type": "function",
419
+ "name": "recordFinalResult",
420
+ "inputs": [
421
+ {
422
+ "name": "taskId",
423
+ "type": "bytes32",
424
+ "internalType": "bytes32"
425
+ },
426
+ {
427
+ "name": "executor",
428
+ "type": "address",
429
+ "internalType": "address"
430
+ },
431
+ {
432
+ "name": "testers",
433
+ "type": "address[]",
434
+ "internalType": "address[]"
435
+ },
436
+ {
437
+ "name": "passed",
438
+ "type": "bool",
439
+ "internalType": "bool"
440
+ }
441
+ ],
442
+ "outputs": [],
443
+ "stateMutability": "nonpayable"
444
+ },
445
+ {
446
+ "type": "function",
447
+ "name": "redrawFallbackReview",
448
+ "inputs": [
449
+ {
450
+ "name": "caseId",
451
+ "type": "bytes32",
452
+ "internalType": "bytes32"
453
+ }
454
+ ],
455
+ "outputs": [],
456
+ "stateMutability": "nonpayable"
457
+ },
458
+ {
459
+ "type": "function",
460
+ "name": "registerCourt",
461
+ "inputs": [],
462
+ "outputs": [],
463
+ "stateMutability": "nonpayable"
464
+ },
465
+ {
466
+ "type": "function",
467
+ "name": "reported",
468
+ "inputs": [
469
+ {
470
+ "name": "",
471
+ "type": "bytes32",
472
+ "internalType": "bytes32"
473
+ },
474
+ {
475
+ "name": "",
476
+ "type": "address",
477
+ "internalType": "address"
478
+ }
479
+ ],
480
+ "outputs": [
481
+ {
482
+ "name": "",
483
+ "type": "bool",
484
+ "internalType": "bool"
485
+ }
486
+ ],
487
+ "stateMutability": "view"
488
+ },
489
+ {
490
+ "type": "function",
491
+ "name": "requestFallbackReview",
492
+ "inputs": [
493
+ {
494
+ "name": "caseId",
495
+ "type": "bytes32",
496
+ "internalType": "bytes32"
497
+ },
498
+ {
499
+ "name": "taskId",
500
+ "type": "bytes32",
501
+ "internalType": "bytes32"
502
+ },
503
+ {
504
+ "name": "publisher",
505
+ "type": "address",
506
+ "internalType": "address"
507
+ },
508
+ {
509
+ "name": "executor",
510
+ "type": "address",
511
+ "internalType": "address"
512
+ },
513
+ {
514
+ "name": "testerCount",
515
+ "type": "uint8",
516
+ "internalType": "uint8"
517
+ }
518
+ ],
519
+ "outputs": [],
520
+ "stateMutability": "nonpayable"
521
+ },
522
+ {
523
+ "type": "function",
524
+ "name": "selection",
525
+ "inputs": [],
526
+ "outputs": [
527
+ {
528
+ "name": "",
529
+ "type": "address",
530
+ "internalType": "contract IArbitrationSelection"
531
+ }
532
+ ],
533
+ "stateMutability": "view"
534
+ },
535
+ {
536
+ "type": "function",
537
+ "name": "slashTimedOutTester",
538
+ "inputs": [
539
+ {
540
+ "name": "taskId",
541
+ "type": "bytes32",
542
+ "internalType": "bytes32"
543
+ },
544
+ {
545
+ "name": "tester",
546
+ "type": "address",
547
+ "internalType": "address"
548
+ },
549
+ {
550
+ "name": "nonce",
551
+ "type": "uint256",
552
+ "internalType": "uint256"
553
+ },
554
+ {
555
+ "name": "deadline",
556
+ "type": "uint64",
557
+ "internalType": "uint64"
558
+ },
559
+ {
560
+ "name": "signature",
561
+ "type": "bytes",
562
+ "internalType": "bytes"
563
+ }
564
+ ],
565
+ "outputs": [
566
+ {
567
+ "name": "amount",
568
+ "type": "uint256",
569
+ "internalType": "uint256"
570
+ }
571
+ ],
572
+ "stateMutability": "nonpayable"
573
+ },
574
+ {
575
+ "type": "function",
576
+ "name": "submitFallbackReport",
577
+ "inputs": [
578
+ {
579
+ "name": "caseId",
580
+ "type": "bytes32",
581
+ "internalType": "bytes32"
582
+ },
583
+ {
584
+ "name": "approved",
585
+ "type": "bool",
586
+ "internalType": "bool"
587
+ },
588
+ {
589
+ "name": "reportHash",
590
+ "type": "bytes32",
591
+ "internalType": "bytes32"
592
+ }
593
+ ],
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable"
596
+ },
597
+ {
598
+ "type": "function",
599
+ "name": "tallyFallbackReview",
600
+ "inputs": [
601
+ {
602
+ "name": "caseId",
603
+ "type": "bytes32",
604
+ "internalType": "bytes32"
605
+ }
606
+ ],
607
+ "outputs": [],
608
+ "stateMutability": "nonpayable"
609
+ },
610
+ {
611
+ "type": "function",
612
+ "name": "taskEscrow",
613
+ "inputs": [],
614
+ "outputs": [
615
+ {
616
+ "name": "",
617
+ "type": "address",
618
+ "internalType": "address"
619
+ }
620
+ ],
621
+ "stateMutability": "view"
622
+ },
623
+ {
624
+ "type": "function",
625
+ "name": "testerRewardOf",
626
+ "inputs": [
627
+ {
628
+ "name": "",
629
+ "type": "bytes32",
630
+ "internalType": "bytes32"
631
+ }
632
+ ],
633
+ "outputs": [
634
+ {
635
+ "name": "",
636
+ "type": "uint256",
637
+ "internalType": "uint256"
638
+ }
639
+ ],
640
+ "stateMutability": "view"
641
+ },
642
+ {
643
+ "type": "function",
644
+ "name": "timeoutSlashed",
645
+ "inputs": [
646
+ {
647
+ "name": "",
648
+ "type": "bytes32",
649
+ "internalType": "bytes32"
650
+ },
651
+ {
652
+ "name": "",
653
+ "type": "address",
654
+ "internalType": "address"
655
+ }
656
+ ],
657
+ "outputs": [
658
+ {
659
+ "name": "",
660
+ "type": "bool",
661
+ "internalType": "bool"
662
+ }
663
+ ],
664
+ "stateMutability": "view"
665
+ },
666
+ {
667
+ "type": "function",
668
+ "name": "token",
669
+ "inputs": [],
670
+ "outputs": [
671
+ {
672
+ "name": "",
673
+ "type": "address",
674
+ "internalType": "contract IERC20"
675
+ }
676
+ ],
677
+ "stateMutability": "view"
678
+ },
679
+ {
680
+ "type": "function",
681
+ "name": "upgradeToAndCall",
682
+ "inputs": [
683
+ {
684
+ "name": "newImplementation",
685
+ "type": "address",
686
+ "internalType": "address"
687
+ },
688
+ {
689
+ "name": "data",
690
+ "type": "bytes",
691
+ "internalType": "bytes"
692
+ }
693
+ ],
694
+ "outputs": [],
695
+ "stateMutability": "payable"
696
+ },
697
+ {
698
+ "type": "function",
699
+ "name": "validatorStaking",
700
+ "inputs": [],
701
+ "outputs": [
702
+ {
703
+ "name": "",
704
+ "type": "address",
705
+ "internalType": "contract IValidatorStaking"
706
+ }
707
+ ],
708
+ "stateMutability": "view"
709
+ },
710
+ {
711
+ "type": "event",
712
+ "name": "CourtRegistered",
713
+ "inputs": [
714
+ {
715
+ "name": "court",
716
+ "type": "address",
717
+ "indexed": true,
718
+ "internalType": "address"
719
+ }
720
+ ],
721
+ "anonymous": false
722
+ },
723
+ {
724
+ "type": "event",
725
+ "name": "FallbackCandidatesExhausted",
726
+ "inputs": [
727
+ {
728
+ "name": "caseId",
729
+ "type": "bytes32",
730
+ "indexed": true,
731
+ "internalType": "bytes32"
732
+ },
733
+ {
734
+ "name": "drawn",
735
+ "type": "uint8",
736
+ "indexed": false,
737
+ "internalType": "uint8"
738
+ },
739
+ {
740
+ "name": "unfilled",
741
+ "type": "uint8",
742
+ "indexed": false,
743
+ "internalType": "uint8"
744
+ }
745
+ ],
746
+ "anonymous": false
747
+ },
748
+ {
749
+ "type": "event",
750
+ "name": "FallbackReportSubmitted",
751
+ "inputs": [
752
+ {
753
+ "name": "caseId",
754
+ "type": "bytes32",
755
+ "indexed": true,
756
+ "internalType": "bytes32"
757
+ },
758
+ {
759
+ "name": "tester",
760
+ "type": "address",
761
+ "indexed": true,
762
+ "internalType": "address"
763
+ },
764
+ {
765
+ "name": "approved",
766
+ "type": "bool",
767
+ "indexed": false,
768
+ "internalType": "bool"
769
+ },
770
+ {
771
+ "name": "reportHash",
772
+ "type": "bytes32",
773
+ "indexed": false,
774
+ "internalType": "bytes32"
775
+ }
776
+ ],
777
+ "anonymous": false
778
+ },
779
+ {
780
+ "type": "event",
781
+ "name": "FallbackReviewFinalized",
782
+ "inputs": [
783
+ {
784
+ "name": "caseId",
785
+ "type": "bytes32",
786
+ "indexed": true,
787
+ "internalType": "bytes32"
788
+ },
789
+ {
790
+ "name": "seed",
791
+ "type": "bytes32",
792
+ "indexed": true,
793
+ "internalType": "bytes32"
794
+ },
795
+ {
796
+ "name": "testers",
797
+ "type": "address[]",
798
+ "indexed": false,
799
+ "internalType": "address[]"
800
+ }
801
+ ],
802
+ "anonymous": false
803
+ },
804
+ {
805
+ "type": "event",
806
+ "name": "FallbackReviewRedrawRequested",
807
+ "inputs": [
808
+ {
809
+ "name": "caseId",
810
+ "type": "bytes32",
811
+ "indexed": true,
812
+ "internalType": "bytes32"
813
+ },
814
+ {
815
+ "name": "redrawRound",
816
+ "type": "uint8",
817
+ "indexed": true,
818
+ "internalType": "uint8"
819
+ },
820
+ {
821
+ "name": "seedBlock",
822
+ "type": "uint64",
823
+ "indexed": false,
824
+ "internalType": "uint64"
825
+ },
826
+ {
827
+ "name": "replacedTesters",
828
+ "type": "address[]",
829
+ "indexed": false,
830
+ "internalType": "address[]"
831
+ }
832
+ ],
833
+ "anonymous": false
834
+ },
835
+ {
836
+ "type": "event",
837
+ "name": "FallbackReviewRequested",
838
+ "inputs": [
839
+ {
840
+ "name": "caseId",
841
+ "type": "bytes32",
842
+ "indexed": true,
843
+ "internalType": "bytes32"
844
+ },
845
+ {
846
+ "name": "seedBlock",
847
+ "type": "uint64",
848
+ "indexed": true,
849
+ "internalType": "uint64"
850
+ },
851
+ {
852
+ "name": "testerCount",
853
+ "type": "uint8",
854
+ "indexed": false,
855
+ "internalType": "uint8"
856
+ }
857
+ ],
858
+ "anonymous": false
859
+ },
860
+ {
861
+ "type": "event",
862
+ "name": "FallbackReviewTallied",
863
+ "inputs": [
864
+ {
865
+ "name": "caseId",
866
+ "type": "bytes32",
867
+ "indexed": true,
868
+ "internalType": "bytes32"
869
+ },
870
+ {
871
+ "name": "approvals",
872
+ "type": "uint8",
873
+ "indexed": false,
874
+ "internalType": "uint8"
875
+ },
876
+ {
877
+ "name": "reports",
878
+ "type": "uint8",
879
+ "indexed": false,
880
+ "internalType": "uint8"
881
+ },
882
+ {
883
+ "name": "passed",
884
+ "type": "bool",
885
+ "indexed": false,
886
+ "internalType": "bool"
887
+ }
888
+ ],
889
+ "anonymous": false
890
+ },
891
+ {
892
+ "type": "event",
893
+ "name": "FallbackSeedReselected",
894
+ "inputs": [
895
+ {
896
+ "name": "caseId",
897
+ "type": "bytes32",
898
+ "indexed": true,
899
+ "internalType": "bytes32"
900
+ },
901
+ {
902
+ "name": "seedBlock",
903
+ "type": "uint64",
904
+ "indexed": true,
905
+ "internalType": "uint64"
906
+ }
907
+ ],
908
+ "anonymous": false
909
+ },
910
+ {
911
+ "type": "event",
912
+ "name": "FinalResultRecorded",
913
+ "inputs": [
914
+ {
915
+ "name": "taskId",
916
+ "type": "bytes32",
917
+ "indexed": true,
918
+ "internalType": "bytes32"
919
+ },
920
+ {
921
+ "name": "executor",
922
+ "type": "address",
923
+ "indexed": true,
924
+ "internalType": "address"
925
+ },
926
+ {
927
+ "name": "testers",
928
+ "type": "address[]",
929
+ "indexed": false,
930
+ "internalType": "address[]"
931
+ }
932
+ ],
933
+ "anonymous": false
934
+ },
935
+ {
936
+ "type": "event",
937
+ "name": "Initialized",
938
+ "inputs": [
939
+ {
940
+ "name": "version",
941
+ "type": "uint64",
942
+ "indexed": false,
943
+ "internalType": "uint64"
944
+ }
945
+ ],
946
+ "anonymous": false
947
+ },
948
+ {
949
+ "type": "event",
950
+ "name": "TesterPaid",
951
+ "inputs": [
952
+ {
953
+ "name": "taskId",
954
+ "type": "bytes32",
955
+ "indexed": true,
956
+ "internalType": "bytes32"
957
+ },
958
+ {
959
+ "name": "tester",
960
+ "type": "address",
961
+ "indexed": true,
962
+ "internalType": "address"
963
+ },
964
+ {
965
+ "name": "amount",
966
+ "type": "uint256",
967
+ "indexed": false,
968
+ "internalType": "uint256"
969
+ },
970
+ {
971
+ "name": "redirected",
972
+ "type": "uint256",
973
+ "indexed": false,
974
+ "internalType": "uint256"
975
+ }
976
+ ],
977
+ "anonymous": false
978
+ },
979
+ {
980
+ "type": "event",
981
+ "name": "TesterTimeoutSlashed",
982
+ "inputs": [
983
+ {
984
+ "name": "taskId",
985
+ "type": "bytes32",
986
+ "indexed": true,
987
+ "internalType": "bytes32"
988
+ },
989
+ {
990
+ "name": "tester",
991
+ "type": "address",
992
+ "indexed": true,
993
+ "internalType": "address"
994
+ },
995
+ {
996
+ "name": "reward",
997
+ "type": "uint256",
998
+ "indexed": false,
999
+ "internalType": "uint256"
1000
+ },
1001
+ {
1002
+ "name": "amount",
1003
+ "type": "uint256",
1004
+ "indexed": false,
1005
+ "internalType": "uint256"
1006
+ }
1007
+ ],
1008
+ "anonymous": false
1009
+ },
1010
+ {
1011
+ "type": "event",
1012
+ "name": "Upgraded",
1013
+ "inputs": [
1014
+ {
1015
+ "name": "implementation",
1016
+ "type": "address",
1017
+ "indexed": true,
1018
+ "internalType": "address"
1019
+ }
1020
+ ],
1021
+ "anonymous": false
1022
+ },
1023
+ {
1024
+ "type": "event",
1025
+ "name": "ValidatorJoinedPool",
1026
+ "inputs": [
1027
+ {
1028
+ "name": "validator",
1029
+ "type": "address",
1030
+ "indexed": true,
1031
+ "internalType": "address"
1032
+ }
1033
+ ],
1034
+ "anonymous": false
1035
+ },
1036
+ {
1037
+ "type": "error",
1038
+ "name": "AddressEmptyCode",
1039
+ "inputs": [
1040
+ {
1041
+ "name": "target",
1042
+ "type": "address",
1043
+ "internalType": "address"
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "type": "error",
1049
+ "name": "AddressInsufficientBalance",
1050
+ "inputs": [
1051
+ {
1052
+ "name": "account",
1053
+ "type": "address",
1054
+ "internalType": "address"
1055
+ }
1056
+ ]
1057
+ },
1058
+ {
1059
+ "type": "error",
1060
+ "name": "AlreadyTallied",
1061
+ "inputs": [
1062
+ {
1063
+ "name": "taskId",
1064
+ "type": "bytes32",
1065
+ "internalType": "bytes32"
1066
+ }
1067
+ ]
1068
+ },
1069
+ {
1070
+ "type": "error",
1071
+ "name": "AssignmentAlreadyFinalized",
1072
+ "inputs": [
1073
+ {
1074
+ "name": "taskId",
1075
+ "type": "bytes32",
1076
+ "internalType": "bytes32"
1077
+ }
1078
+ ]
1079
+ },
1080
+ {
1081
+ "type": "error",
1082
+ "name": "AssignmentExists",
1083
+ "inputs": [
1084
+ {
1085
+ "name": "taskId",
1086
+ "type": "bytes32",
1087
+ "internalType": "bytes32"
1088
+ }
1089
+ ]
1090
+ },
1091
+ {
1092
+ "type": "error",
1093
+ "name": "AssignmentNotFinalized",
1094
+ "inputs": [
1095
+ {
1096
+ "name": "taskId",
1097
+ "type": "bytes32",
1098
+ "internalType": "bytes32"
1099
+ }
1100
+ ]
1101
+ },
1102
+ {
1103
+ "type": "error",
1104
+ "name": "AssignmentNotFound",
1105
+ "inputs": [
1106
+ {
1107
+ "name": "taskId",
1108
+ "type": "bytes32",
1109
+ "internalType": "bytes32"
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "type": "error",
1115
+ "name": "ERC1967InvalidImplementation",
1116
+ "inputs": [
1117
+ {
1118
+ "name": "implementation",
1119
+ "type": "address",
1120
+ "internalType": "address"
1121
+ }
1122
+ ]
1123
+ },
1124
+ {
1125
+ "type": "error",
1126
+ "name": "ERC1967NonPayable",
1127
+ "inputs": []
1128
+ },
1129
+ {
1130
+ "type": "error",
1131
+ "name": "FailedInnerCall",
1132
+ "inputs": []
1133
+ },
1134
+ {
1135
+ "type": "error",
1136
+ "name": "IneligibleTester",
1137
+ "inputs": [
1138
+ {
1139
+ "name": "tester",
1140
+ "type": "address",
1141
+ "internalType": "address"
1142
+ }
1143
+ ]
1144
+ },
1145
+ {
1146
+ "type": "error",
1147
+ "name": "InsufficientEligibleTesters",
1148
+ "inputs": [
1149
+ {
1150
+ "name": "available",
1151
+ "type": "uint256",
1152
+ "internalType": "uint256"
1153
+ },
1154
+ {
1155
+ "name": "required",
1156
+ "type": "uint256",
1157
+ "internalType": "uint256"
1158
+ }
1159
+ ]
1160
+ },
1161
+ {
1162
+ "type": "error",
1163
+ "name": "InvalidAddress",
1164
+ "inputs": []
1165
+ },
1166
+ {
1167
+ "type": "error",
1168
+ "name": "InvalidAmount",
1169
+ "inputs": []
1170
+ },
1171
+ {
1172
+ "type": "error",
1173
+ "name": "InvalidInitialization",
1174
+ "inputs": []
1175
+ },
1176
+ {
1177
+ "type": "error",
1178
+ "name": "InvalidSeedBlock",
1179
+ "inputs": [
1180
+ {
1181
+ "name": "seedBlock",
1182
+ "type": "uint256",
1183
+ "internalType": "uint256"
1184
+ },
1185
+ {
1186
+ "name": "currentBlock",
1187
+ "type": "uint256",
1188
+ "internalType": "uint256"
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ "type": "error",
1194
+ "name": "NotAssigned",
1195
+ "inputs": [
1196
+ {
1197
+ "name": "tester",
1198
+ "type": "address",
1199
+ "internalType": "address"
1200
+ }
1201
+ ]
1202
+ },
1203
+ {
1204
+ "type": "error",
1205
+ "name": "NotInitializing",
1206
+ "inputs": []
1207
+ },
1208
+ {
1209
+ "type": "error",
1210
+ "name": "RedrawRoundsExhausted",
1211
+ "inputs": [
1212
+ {
1213
+ "name": "completed",
1214
+ "type": "uint256",
1215
+ "internalType": "uint256"
1216
+ },
1217
+ {
1218
+ "name": "maximum",
1219
+ "type": "uint256",
1220
+ "internalType": "uint256"
1221
+ }
1222
+ ]
1223
+ },
1224
+ {
1225
+ "type": "error",
1226
+ "name": "ReentrancyGuardReentrantCall",
1227
+ "inputs": []
1228
+ },
1229
+ {
1230
+ "type": "error",
1231
+ "name": "ReportAlreadySubmitted",
1232
+ "inputs": [
1233
+ {
1234
+ "name": "tester",
1235
+ "type": "address",
1236
+ "internalType": "address"
1237
+ }
1238
+ ]
1239
+ },
1240
+ {
1241
+ "type": "error",
1242
+ "name": "ReportWindowActive",
1243
+ "inputs": [
1244
+ {
1245
+ "name": "deadline",
1246
+ "type": "uint256",
1247
+ "internalType": "uint256"
1248
+ },
1249
+ {
1250
+ "name": "currentTime",
1251
+ "type": "uint256",
1252
+ "internalType": "uint256"
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ "type": "error",
1258
+ "name": "ReportWindowExpired",
1259
+ "inputs": [
1260
+ {
1261
+ "name": "deadline",
1262
+ "type": "uint256",
1263
+ "internalType": "uint256"
1264
+ },
1265
+ {
1266
+ "name": "currentTime",
1267
+ "type": "uint256",
1268
+ "internalType": "uint256"
1269
+ }
1270
+ ]
1271
+ },
1272
+ {
1273
+ "type": "error",
1274
+ "name": "ReportsIncomplete",
1275
+ "inputs": [
1276
+ {
1277
+ "name": "submitted",
1278
+ "type": "uint256",
1279
+ "internalType": "uint256"
1280
+ },
1281
+ {
1282
+ "name": "required",
1283
+ "type": "uint256",
1284
+ "internalType": "uint256"
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "type": "error",
1290
+ "name": "RewardNotRecorded",
1291
+ "inputs": [
1292
+ {
1293
+ "name": "taskId",
1294
+ "type": "bytes32",
1295
+ "internalType": "bytes32"
1296
+ }
1297
+ ]
1298
+ },
1299
+ {
1300
+ "type": "error",
1301
+ "name": "RoleConflict",
1302
+ "inputs": [
1303
+ {
1304
+ "name": "tester",
1305
+ "type": "address",
1306
+ "internalType": "address"
1307
+ }
1308
+ ]
1309
+ },
1310
+ {
1311
+ "type": "error",
1312
+ "name": "SafeERC20FailedOperation",
1313
+ "inputs": [
1314
+ {
1315
+ "name": "token",
1316
+ "type": "address",
1317
+ "internalType": "address"
1318
+ }
1319
+ ]
1320
+ },
1321
+ {
1322
+ "type": "error",
1323
+ "name": "TimeoutAlreadySlashed",
1324
+ "inputs": [
1325
+ {
1326
+ "name": "taskId",
1327
+ "type": "bytes32",
1328
+ "internalType": "bytes32"
1329
+ },
1330
+ {
1331
+ "name": "tester",
1332
+ "type": "address",
1333
+ "internalType": "address"
1334
+ }
1335
+ ]
1336
+ },
1337
+ {
1338
+ "type": "error",
1339
+ "name": "UUPSUnauthorizedCallContext",
1340
+ "inputs": []
1341
+ },
1342
+ {
1343
+ "type": "error",
1344
+ "name": "UUPSUnsupportedProxiableUUID",
1345
+ "inputs": [
1346
+ {
1347
+ "name": "slot",
1348
+ "type": "bytes32",
1349
+ "internalType": "bytes32"
1350
+ }
1351
+ ]
1352
+ },
1353
+ {
1354
+ "type": "error",
1355
+ "name": "Unauthorized",
1356
+ "inputs": [
1357
+ {
1358
+ "name": "caller",
1359
+ "type": "address",
1360
+ "internalType": "address"
1361
+ }
1362
+ ]
1363
+ },
1364
+ {
1365
+ "type": "error",
1366
+ "name": "UpgradeUnauthorized",
1367
+ "inputs": [
1368
+ {
1369
+ "name": "caller",
1370
+ "type": "address",
1371
+ "internalType": "address"
1372
+ }
1373
+ ]
1374
+ }
1375
+ ] as const;