@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,1550 @@
1
+ export const arbitrationCourtAbi = [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "config",
7
+ "type": "tuple",
8
+ "internalType": "struct ArbitrationCourt.ConstructorConfig",
9
+ "components": [
10
+ {
11
+ "name": "token",
12
+ "type": "address",
13
+ "internalType": "contract IERC20"
14
+ },
15
+ {
16
+ "name": "params",
17
+ "type": "address",
18
+ "internalType": "contract IParamRegistry"
19
+ },
20
+ {
21
+ "name": "validatorStaking",
22
+ "type": "address",
23
+ "internalType": "contract IValidatorStaking"
24
+ },
25
+ {
26
+ "name": "testerAssignment",
27
+ "type": "address",
28
+ "internalType": "contract ITesterAssignment"
29
+ },
30
+ {
31
+ "name": "pool",
32
+ "type": "address",
33
+ "internalType": "contract IArbitrationPool"
34
+ },
35
+ {
36
+ "name": "settlement",
37
+ "type": "address",
38
+ "internalType": "contract IArbitrationSettlement"
39
+ },
40
+ {
41
+ "name": "selection",
42
+ "type": "address",
43
+ "internalType": "contract IArbitrationSelection"
44
+ },
45
+ {
46
+ "name": "voting",
47
+ "type": "address",
48
+ "internalType": "contract IArbitrationVoting"
49
+ },
50
+ {
51
+ "name": "taskEscrow",
52
+ "type": "address",
53
+ "internalType": "address"
54
+ },
55
+ {
56
+ "name": "governance",
57
+ "type": "address",
58
+ "internalType": "address"
59
+ },
60
+ {
61
+ "name": "caseProofVerifier",
62
+ "type": "address",
63
+ "internalType": "contract IArbitrationCaseProofVerifier"
64
+ },
65
+ {
66
+ "name": "arbitrationStream",
67
+ "type": "address",
68
+ "internalType": "contract IArbitrationStream"
69
+ }
70
+ ]
71
+ }
72
+ ],
73
+ "stateMutability": "nonpayable"
74
+ },
75
+ {
76
+ "type": "function",
77
+ "name": "UPGRADER_ROLE",
78
+ "inputs": [],
79
+ "outputs": [
80
+ {
81
+ "name": "",
82
+ "type": "bytes32",
83
+ "internalType": "bytes32"
84
+ }
85
+ ],
86
+ "stateMutability": "view"
87
+ },
88
+ {
89
+ "type": "function",
90
+ "name": "UPGRADE_INTERFACE_VERSION",
91
+ "inputs": [],
92
+ "outputs": [
93
+ {
94
+ "name": "",
95
+ "type": "string",
96
+ "internalType": "string"
97
+ }
98
+ ],
99
+ "stateMutability": "view"
100
+ },
101
+ {
102
+ "type": "function",
103
+ "name": "activateFallbackAdapter",
104
+ "inputs": [],
105
+ "outputs": [],
106
+ "stateMutability": "nonpayable"
107
+ },
108
+ {
109
+ "type": "function",
110
+ "name": "advancePhase",
111
+ "inputs": [
112
+ {
113
+ "name": "caseId",
114
+ "type": "bytes32",
115
+ "internalType": "bytes32"
116
+ }
117
+ ],
118
+ "outputs": [],
119
+ "stateMutability": "nonpayable"
120
+ },
121
+ {
122
+ "type": "function",
123
+ "name": "appeal",
124
+ "inputs": [
125
+ {
126
+ "name": "caseId",
127
+ "type": "bytes32",
128
+ "internalType": "bytes32"
129
+ }
130
+ ],
131
+ "outputs": [],
132
+ "stateMutability": "nonpayable"
133
+ },
134
+ {
135
+ "type": "function",
136
+ "name": "appealBondOf",
137
+ "inputs": [
138
+ {
139
+ "name": "caseId",
140
+ "type": "bytes32",
141
+ "internalType": "bytes32"
142
+ }
143
+ ],
144
+ "outputs": [
145
+ {
146
+ "name": "",
147
+ "type": "uint256",
148
+ "internalType": "uint256"
149
+ }
150
+ ],
151
+ "stateMutability": "view"
152
+ },
153
+ {
154
+ "type": "function",
155
+ "name": "arbitrationStream",
156
+ "inputs": [],
157
+ "outputs": [
158
+ {
159
+ "name": "",
160
+ "type": "address",
161
+ "internalType": "contract IArbitrationStream"
162
+ }
163
+ ],
164
+ "stateMutability": "view"
165
+ },
166
+ {
167
+ "type": "function",
168
+ "name": "caseProgress",
169
+ "inputs": [
170
+ {
171
+ "name": "caseId",
172
+ "type": "bytes32",
173
+ "internalType": "bytes32"
174
+ }
175
+ ],
176
+ "outputs": [
177
+ {
178
+ "name": "seedBlock",
179
+ "type": "uint64",
180
+ "internalType": "uint64"
181
+ },
182
+ {
183
+ "name": "phaseDeadline",
184
+ "type": "uint64",
185
+ "internalType": "uint64"
186
+ },
187
+ {
188
+ "name": "appealDeadline",
189
+ "type": "uint64",
190
+ "internalType": "uint64"
191
+ },
192
+ {
193
+ "name": "confirmed",
194
+ "type": "uint8",
195
+ "internalType": "uint8"
196
+ },
197
+ {
198
+ "name": "panelSize",
199
+ "type": "uint8",
200
+ "internalType": "uint8"
201
+ },
202
+ {
203
+ "name": "finalRound",
204
+ "type": "bool",
205
+ "internalType": "bool"
206
+ }
207
+ ],
208
+ "stateMutability": "view"
209
+ },
210
+ {
211
+ "type": "function",
212
+ "name": "caseProofVerifier",
213
+ "inputs": [],
214
+ "outputs": [
215
+ {
216
+ "name": "",
217
+ "type": "address",
218
+ "internalType": "contract IArbitrationCaseProofVerifier"
219
+ }
220
+ ],
221
+ "stateMutability": "view"
222
+ },
223
+ {
224
+ "type": "function",
225
+ "name": "commitVote",
226
+ "inputs": [
227
+ {
228
+ "name": "caseId",
229
+ "type": "bytes32",
230
+ "internalType": "bytes32"
231
+ },
232
+ {
233
+ "name": "commitments",
234
+ "type": "bytes32[]",
235
+ "internalType": "bytes32[]"
236
+ }
237
+ ],
238
+ "outputs": [],
239
+ "stateMutability": "nonpayable"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "confirmSeat",
244
+ "inputs": [
245
+ {
246
+ "name": "caseId",
247
+ "type": "bytes32",
248
+ "internalType": "bytes32"
249
+ }
250
+ ],
251
+ "outputs": [],
252
+ "stateMutability": "nonpayable"
253
+ },
254
+ {
255
+ "type": "function",
256
+ "name": "drawPanel",
257
+ "inputs": [
258
+ {
259
+ "name": "caseId",
260
+ "type": "bytes32",
261
+ "internalType": "bytes32"
262
+ }
263
+ ],
264
+ "outputs": [],
265
+ "stateMutability": "nonpayable"
266
+ },
267
+ {
268
+ "type": "function",
269
+ "name": "executeRuling",
270
+ "inputs": [
271
+ {
272
+ "name": "caseId",
273
+ "type": "bytes32",
274
+ "internalType": "bytes32"
275
+ }
276
+ ],
277
+ "outputs": [],
278
+ "stateMutability": "nonpayable"
279
+ },
280
+ {
281
+ "type": "function",
282
+ "name": "governance",
283
+ "inputs": [],
284
+ "outputs": [
285
+ {
286
+ "name": "",
287
+ "type": "address",
288
+ "internalType": "address"
289
+ }
290
+ ],
291
+ "stateMutability": "view"
292
+ },
293
+ {
294
+ "type": "function",
295
+ "name": "hasDebt",
296
+ "inputs": [
297
+ {
298
+ "name": "executor",
299
+ "type": "address",
300
+ "internalType": "address"
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "",
306
+ "type": "bool",
307
+ "internalType": "bool"
308
+ }
309
+ ],
310
+ "stateMutability": "view"
311
+ },
312
+ {
313
+ "type": "function",
314
+ "name": "initialize",
315
+ "inputs": [],
316
+ "outputs": [],
317
+ "stateMutability": "nonpayable"
318
+ },
319
+ {
320
+ "type": "function",
321
+ "name": "joinArbitrator",
322
+ "inputs": [],
323
+ "outputs": [],
324
+ "stateMutability": "nonpayable"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "maxDisputeValue",
329
+ "inputs": [],
330
+ "outputs": [
331
+ {
332
+ "name": "",
333
+ "type": "uint256",
334
+ "internalType": "uint256"
335
+ }
336
+ ],
337
+ "stateMutability": "view"
338
+ },
339
+ {
340
+ "type": "function",
341
+ "name": "onFallbackRuling",
342
+ "inputs": [
343
+ {
344
+ "name": "caseId",
345
+ "type": "bytes32",
346
+ "internalType": "bytes32"
347
+ },
348
+ {
349
+ "name": "executorWins",
350
+ "type": "bool",
351
+ "internalType": "bool"
352
+ }
353
+ ],
354
+ "outputs": [],
355
+ "stateMutability": "nonpayable"
356
+ },
357
+ {
358
+ "type": "function",
359
+ "name": "openCase",
360
+ "inputs": [
361
+ {
362
+ "name": "taskId",
363
+ "type": "bytes32",
364
+ "internalType": "bytes32"
365
+ },
366
+ {
367
+ "name": "publisher",
368
+ "type": "address",
369
+ "internalType": "address"
370
+ },
371
+ {
372
+ "name": "executor",
373
+ "type": "address",
374
+ "internalType": "address"
375
+ },
376
+ {
377
+ "name": "reasonHash",
378
+ "type": "bytes32",
379
+ "internalType": "bytes32"
380
+ },
381
+ {
382
+ "name": "proofData",
383
+ "type": "bytes",
384
+ "internalType": "bytes"
385
+ }
386
+ ],
387
+ "outputs": [
388
+ {
389
+ "name": "caseId",
390
+ "type": "bytes32",
391
+ "internalType": "bytes32"
392
+ }
393
+ ],
394
+ "stateMutability": "nonpayable"
395
+ },
396
+ {
397
+ "type": "function",
398
+ "name": "panel",
399
+ "inputs": [
400
+ {
401
+ "name": "caseId",
402
+ "type": "bytes32",
403
+ "internalType": "bytes32"
404
+ }
405
+ ],
406
+ "outputs": [
407
+ {
408
+ "name": "",
409
+ "type": "address[]",
410
+ "internalType": "address[]"
411
+ }
412
+ ],
413
+ "stateMutability": "view"
414
+ },
415
+ {
416
+ "type": "function",
417
+ "name": "params",
418
+ "inputs": [],
419
+ "outputs": [
420
+ {
421
+ "name": "",
422
+ "type": "address",
423
+ "internalType": "contract IParamRegistry"
424
+ }
425
+ ],
426
+ "stateMutability": "view"
427
+ },
428
+ {
429
+ "type": "function",
430
+ "name": "phaseOf",
431
+ "inputs": [
432
+ {
433
+ "name": "caseId",
434
+ "type": "bytes32",
435
+ "internalType": "bytes32"
436
+ }
437
+ ],
438
+ "outputs": [
439
+ {
440
+ "name": "",
441
+ "type": "uint8",
442
+ "internalType": "enum ArbitrationCourt.Phase"
443
+ }
444
+ ],
445
+ "stateMutability": "view"
446
+ },
447
+ {
448
+ "type": "function",
449
+ "name": "pool",
450
+ "inputs": [],
451
+ "outputs": [
452
+ {
453
+ "name": "",
454
+ "type": "address",
455
+ "internalType": "contract IArbitrationPool"
456
+ }
457
+ ],
458
+ "stateMutability": "view"
459
+ },
460
+ {
461
+ "type": "function",
462
+ "name": "prepareCase",
463
+ "inputs": [
464
+ {
465
+ "name": "taskId",
466
+ "type": "bytes32",
467
+ "internalType": "bytes32"
468
+ },
469
+ {
470
+ "name": "taskValue",
471
+ "type": "uint256",
472
+ "internalType": "uint256"
473
+ },
474
+ {
475
+ "name": "caseFee",
476
+ "type": "uint256",
477
+ "internalType": "uint256"
478
+ },
479
+ {
480
+ "name": "maintenance",
481
+ "type": "bool",
482
+ "internalType": "bool"
483
+ }
484
+ ],
485
+ "outputs": [],
486
+ "stateMutability": "nonpayable"
487
+ },
488
+ {
489
+ "type": "function",
490
+ "name": "proxiableUUID",
491
+ "inputs": [],
492
+ "outputs": [
493
+ {
494
+ "name": "",
495
+ "type": "bytes32",
496
+ "internalType": "bytes32"
497
+ }
498
+ ],
499
+ "stateMutability": "view"
500
+ },
501
+ {
502
+ "type": "function",
503
+ "name": "quoteCaseFee",
504
+ "inputs": [
505
+ {
506
+ "name": "disputeValue",
507
+ "type": "uint256",
508
+ "internalType": "uint256"
509
+ }
510
+ ],
511
+ "outputs": [
512
+ {
513
+ "name": "",
514
+ "type": "uint256",
515
+ "internalType": "uint256"
516
+ }
517
+ ],
518
+ "stateMutability": "view"
519
+ },
520
+ {
521
+ "type": "function",
522
+ "name": "repayDebt",
523
+ "inputs": [],
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable"
526
+ },
527
+ {
528
+ "type": "function",
529
+ "name": "requiredPoolReserve",
530
+ "inputs": [],
531
+ "outputs": [
532
+ {
533
+ "name": "",
534
+ "type": "uint256",
535
+ "internalType": "uint256"
536
+ }
537
+ ],
538
+ "stateMutability": "view"
539
+ },
540
+ {
541
+ "type": "function",
542
+ "name": "resolveStalledCase",
543
+ "inputs": [
544
+ {
545
+ "name": "caseId",
546
+ "type": "bytes32",
547
+ "internalType": "bytes32"
548
+ },
549
+ {
550
+ "name": "executorWins",
551
+ "type": "bool",
552
+ "internalType": "bool"
553
+ }
554
+ ],
555
+ "outputs": [],
556
+ "stateMutability": "nonpayable"
557
+ },
558
+ {
559
+ "type": "function",
560
+ "name": "revealVote",
561
+ "inputs": [
562
+ {
563
+ "name": "caseId",
564
+ "type": "bytes32",
565
+ "internalType": "bytes32"
566
+ },
567
+ {
568
+ "name": "satisfied",
569
+ "type": "bool[]",
570
+ "internalType": "bool[]"
571
+ },
572
+ {
573
+ "name": "reasonHashes",
574
+ "type": "bytes32[]",
575
+ "internalType": "bytes32[]"
576
+ },
577
+ {
578
+ "name": "salt",
579
+ "type": "bytes32",
580
+ "internalType": "bytes32"
581
+ }
582
+ ],
583
+ "outputs": [],
584
+ "stateMutability": "nonpayable"
585
+ },
586
+ {
587
+ "type": "function",
588
+ "name": "rulingOf",
589
+ "inputs": [
590
+ {
591
+ "name": "caseId",
592
+ "type": "bytes32",
593
+ "internalType": "bytes32"
594
+ }
595
+ ],
596
+ "outputs": [
597
+ {
598
+ "name": "ruling",
599
+ "type": "uint8",
600
+ "internalType": "enum IArbitrationCourt.Ruling"
601
+ },
602
+ {
603
+ "name": "executorAwardBps",
604
+ "type": "uint16",
605
+ "internalType": "uint16"
606
+ },
607
+ {
608
+ "name": "rulingHash",
609
+ "type": "bytes32",
610
+ "internalType": "bytes32"
611
+ }
612
+ ],
613
+ "stateMutability": "view"
614
+ },
615
+ {
616
+ "type": "function",
617
+ "name": "selection",
618
+ "inputs": [],
619
+ "outputs": [
620
+ {
621
+ "name": "",
622
+ "type": "address",
623
+ "internalType": "contract IArbitrationSelection"
624
+ }
625
+ ],
626
+ "stateMutability": "view"
627
+ },
628
+ {
629
+ "type": "function",
630
+ "name": "settleDebt",
631
+ "inputs": [
632
+ {
633
+ "name": "executor",
634
+ "type": "address",
635
+ "internalType": "address"
636
+ },
637
+ {
638
+ "name": "maximumAmount",
639
+ "type": "uint256",
640
+ "internalType": "uint256"
641
+ }
642
+ ],
643
+ "outputs": [
644
+ {
645
+ "name": "paid",
646
+ "type": "uint256",
647
+ "internalType": "uint256"
648
+ }
649
+ ],
650
+ "stateMutability": "nonpayable"
651
+ },
652
+ {
653
+ "type": "function",
654
+ "name": "settlement",
655
+ "inputs": [],
656
+ "outputs": [
657
+ {
658
+ "name": "",
659
+ "type": "address",
660
+ "internalType": "contract IArbitrationSettlement"
661
+ }
662
+ ],
663
+ "stateMutability": "view"
664
+ },
665
+ {
666
+ "type": "function",
667
+ "name": "tally",
668
+ "inputs": [
669
+ {
670
+ "name": "caseId",
671
+ "type": "bytes32",
672
+ "internalType": "bytes32"
673
+ }
674
+ ],
675
+ "outputs": [],
676
+ "stateMutability": "nonpayable"
677
+ },
678
+ {
679
+ "type": "function",
680
+ "name": "taskEscrow",
681
+ "inputs": [],
682
+ "outputs": [
683
+ {
684
+ "name": "",
685
+ "type": "address",
686
+ "internalType": "address"
687
+ }
688
+ ],
689
+ "stateMutability": "view"
690
+ },
691
+ {
692
+ "type": "function",
693
+ "name": "testerAssignment",
694
+ "inputs": [],
695
+ "outputs": [
696
+ {
697
+ "name": "",
698
+ "type": "address",
699
+ "internalType": "contract ITesterAssignment"
700
+ }
701
+ ],
702
+ "stateMutability": "view"
703
+ },
704
+ {
705
+ "type": "function",
706
+ "name": "token",
707
+ "inputs": [],
708
+ "outputs": [
709
+ {
710
+ "name": "",
711
+ "type": "address",
712
+ "internalType": "contract IERC20"
713
+ }
714
+ ],
715
+ "stateMutability": "view"
716
+ },
717
+ {
718
+ "type": "function",
719
+ "name": "updateScale",
720
+ "inputs": [],
721
+ "outputs": [],
722
+ "stateMutability": "nonpayable"
723
+ },
724
+ {
725
+ "type": "function",
726
+ "name": "upgradeToAndCall",
727
+ "inputs": [
728
+ {
729
+ "name": "newImplementation",
730
+ "type": "address",
731
+ "internalType": "address"
732
+ },
733
+ {
734
+ "name": "data",
735
+ "type": "bytes",
736
+ "internalType": "bytes"
737
+ }
738
+ ],
739
+ "outputs": [],
740
+ "stateMutability": "payable"
741
+ },
742
+ {
743
+ "type": "function",
744
+ "name": "validatorStaking",
745
+ "inputs": [],
746
+ "outputs": [
747
+ {
748
+ "name": "",
749
+ "type": "address",
750
+ "internalType": "contract IValidatorStaking"
751
+ }
752
+ ],
753
+ "stateMutability": "view"
754
+ },
755
+ {
756
+ "type": "function",
757
+ "name": "voting",
758
+ "inputs": [],
759
+ "outputs": [
760
+ {
761
+ "name": "",
762
+ "type": "address",
763
+ "internalType": "contract IArbitrationVoting"
764
+ }
765
+ ],
766
+ "stateMutability": "view"
767
+ },
768
+ {
769
+ "type": "event",
770
+ "name": "AcceptWindowStarted",
771
+ "inputs": [
772
+ {
773
+ "name": "caseId",
774
+ "type": "bytes32",
775
+ "indexed": true,
776
+ "internalType": "bytes32"
777
+ },
778
+ {
779
+ "name": "finalRound",
780
+ "type": "bool",
781
+ "indexed": false,
782
+ "internalType": "bool"
783
+ },
784
+ {
785
+ "name": "phaseDeadline",
786
+ "type": "uint64",
787
+ "indexed": false,
788
+ "internalType": "uint64"
789
+ }
790
+ ],
791
+ "anonymous": false
792
+ },
793
+ {
794
+ "type": "event",
795
+ "name": "AppealOpened",
796
+ "inputs": [
797
+ {
798
+ "name": "caseId",
799
+ "type": "bytes32",
800
+ "indexed": true,
801
+ "internalType": "bytes32"
802
+ },
803
+ {
804
+ "name": "appellant",
805
+ "type": "address",
806
+ "indexed": true,
807
+ "internalType": "address"
808
+ },
809
+ {
810
+ "name": "bond",
811
+ "type": "uint256",
812
+ "indexed": false,
813
+ "internalType": "uint256"
814
+ },
815
+ {
816
+ "name": "seedBlock",
817
+ "type": "uint64",
818
+ "indexed": false,
819
+ "internalType": "uint64"
820
+ }
821
+ ],
822
+ "anonymous": false
823
+ },
824
+ {
825
+ "type": "event",
826
+ "name": "AppealWindowStarted",
827
+ "inputs": [
828
+ {
829
+ "name": "caseId",
830
+ "type": "bytes32",
831
+ "indexed": true,
832
+ "internalType": "bytes32"
833
+ },
834
+ {
835
+ "name": "appealDeadline",
836
+ "type": "uint64",
837
+ "indexed": false,
838
+ "internalType": "uint64"
839
+ }
840
+ ],
841
+ "anonymous": false
842
+ },
843
+ {
844
+ "type": "event",
845
+ "name": "CaseAwaitingPool",
846
+ "inputs": [
847
+ {
848
+ "name": "caseId",
849
+ "type": "bytes32",
850
+ "indexed": true,
851
+ "internalType": "bytes32"
852
+ },
853
+ {
854
+ "name": "since",
855
+ "type": "uint64",
856
+ "indexed": false,
857
+ "internalType": "uint64"
858
+ }
859
+ ],
860
+ "anonymous": false
861
+ },
862
+ {
863
+ "type": "event",
864
+ "name": "CaseOpened",
865
+ "inputs": [
866
+ {
867
+ "name": "caseId",
868
+ "type": "bytes32",
869
+ "indexed": true,
870
+ "internalType": "bytes32"
871
+ },
872
+ {
873
+ "name": "taskId",
874
+ "type": "bytes32",
875
+ "indexed": true,
876
+ "internalType": "bytes32"
877
+ },
878
+ {
879
+ "name": "publisher",
880
+ "type": "address",
881
+ "indexed": true,
882
+ "internalType": "address"
883
+ },
884
+ {
885
+ "name": "executor",
886
+ "type": "address",
887
+ "indexed": false,
888
+ "internalType": "address"
889
+ },
890
+ {
891
+ "name": "reasonHash",
892
+ "type": "bytes32",
893
+ "indexed": false,
894
+ "internalType": "bytes32"
895
+ }
896
+ ],
897
+ "anonymous": false
898
+ },
899
+ {
900
+ "type": "event",
901
+ "name": "CommitStarted",
902
+ "inputs": [
903
+ {
904
+ "name": "caseId",
905
+ "type": "bytes32",
906
+ "indexed": true,
907
+ "internalType": "bytes32"
908
+ },
909
+ {
910
+ "name": "finalRound",
911
+ "type": "bool",
912
+ "indexed": false,
913
+ "internalType": "bool"
914
+ },
915
+ {
916
+ "name": "phaseDeadline",
917
+ "type": "uint64",
918
+ "indexed": false,
919
+ "internalType": "uint64"
920
+ }
921
+ ],
922
+ "anonymous": false
923
+ },
924
+ {
925
+ "type": "event",
926
+ "name": "CriteriaConfigured",
927
+ "inputs": [
928
+ {
929
+ "name": "caseId",
930
+ "type": "bytes32",
931
+ "indexed": true,
932
+ "internalType": "bytes32"
933
+ },
934
+ {
935
+ "name": "criterionIds",
936
+ "type": "bytes32[]",
937
+ "indexed": false,
938
+ "internalType": "bytes32[]"
939
+ },
940
+ {
941
+ "name": "weightsBps",
942
+ "type": "uint16[]",
943
+ "indexed": false,
944
+ "internalType": "uint16[]"
945
+ }
946
+ ],
947
+ "anonymous": false
948
+ },
949
+ {
950
+ "type": "event",
951
+ "name": "Initialized",
952
+ "inputs": [
953
+ {
954
+ "name": "version",
955
+ "type": "uint64",
956
+ "indexed": false,
957
+ "internalType": "uint64"
958
+ }
959
+ ],
960
+ "anonymous": false
961
+ },
962
+ {
963
+ "type": "event",
964
+ "name": "PanelDrawn",
965
+ "inputs": [
966
+ {
967
+ "name": "caseId",
968
+ "type": "bytes32",
969
+ "indexed": true,
970
+ "internalType": "bytes32"
971
+ },
972
+ {
973
+ "name": "finalRound",
974
+ "type": "bool",
975
+ "indexed": true,
976
+ "internalType": "bool"
977
+ },
978
+ {
979
+ "name": "panelSize",
980
+ "type": "uint8",
981
+ "indexed": false,
982
+ "internalType": "uint8"
983
+ },
984
+ {
985
+ "name": "seed",
986
+ "type": "bytes32",
987
+ "indexed": false,
988
+ "internalType": "bytes32"
989
+ },
990
+ {
991
+ "name": "jurors",
992
+ "type": "address[]",
993
+ "indexed": false,
994
+ "internalType": "address[]"
995
+ }
996
+ ],
997
+ "anonymous": false
998
+ },
999
+ {
1000
+ "type": "event",
1001
+ "name": "PanelRedrawRequested",
1002
+ "inputs": [
1003
+ {
1004
+ "name": "caseId",
1005
+ "type": "bytes32",
1006
+ "indexed": true,
1007
+ "internalType": "bytes32"
1008
+ },
1009
+ {
1010
+ "name": "finalRound",
1011
+ "type": "bool",
1012
+ "indexed": false,
1013
+ "internalType": "bool"
1014
+ },
1015
+ {
1016
+ "name": "redraws",
1017
+ "type": "uint8",
1018
+ "indexed": false,
1019
+ "internalType": "uint8"
1020
+ },
1021
+ {
1022
+ "name": "seedBlock",
1023
+ "type": "uint64",
1024
+ "indexed": false,
1025
+ "internalType": "uint64"
1026
+ }
1027
+ ],
1028
+ "anonymous": false
1029
+ },
1030
+ {
1031
+ "type": "event",
1032
+ "name": "RevealStarted",
1033
+ "inputs": [
1034
+ {
1035
+ "name": "caseId",
1036
+ "type": "bytes32",
1037
+ "indexed": true,
1038
+ "internalType": "bytes32"
1039
+ },
1040
+ {
1041
+ "name": "finalRound",
1042
+ "type": "bool",
1043
+ "indexed": false,
1044
+ "internalType": "bool"
1045
+ },
1046
+ {
1047
+ "name": "phaseDeadline",
1048
+ "type": "uint64",
1049
+ "indexed": false,
1050
+ "internalType": "uint64"
1051
+ }
1052
+ ],
1053
+ "anonymous": false
1054
+ },
1055
+ {
1056
+ "type": "event",
1057
+ "name": "RoundInvalidated",
1058
+ "inputs": [
1059
+ {
1060
+ "name": "caseId",
1061
+ "type": "bytes32",
1062
+ "indexed": true,
1063
+ "internalType": "bytes32"
1064
+ },
1065
+ {
1066
+ "name": "finalRound",
1067
+ "type": "bool",
1068
+ "indexed": false,
1069
+ "internalType": "bool"
1070
+ },
1071
+ {
1072
+ "name": "invalidations",
1073
+ "type": "uint8",
1074
+ "indexed": false,
1075
+ "internalType": "uint8"
1076
+ }
1077
+ ],
1078
+ "anonymous": false
1079
+ },
1080
+ {
1081
+ "type": "event",
1082
+ "name": "RulingExecuted",
1083
+ "inputs": [
1084
+ {
1085
+ "name": "caseId",
1086
+ "type": "bytes32",
1087
+ "indexed": true,
1088
+ "internalType": "bytes32"
1089
+ },
1090
+ {
1091
+ "name": "ruling",
1092
+ "type": "uint8",
1093
+ "indexed": false,
1094
+ "internalType": "enum IArbitrationCourt.Ruling"
1095
+ },
1096
+ {
1097
+ "name": "executorAwardBps",
1098
+ "type": "uint16",
1099
+ "indexed": false,
1100
+ "internalType": "uint16"
1101
+ }
1102
+ ],
1103
+ "anonymous": false
1104
+ },
1105
+ {
1106
+ "type": "event",
1107
+ "name": "RulingTallied",
1108
+ "inputs": [
1109
+ {
1110
+ "name": "caseId",
1111
+ "type": "bytes32",
1112
+ "indexed": true,
1113
+ "internalType": "bytes32"
1114
+ },
1115
+ {
1116
+ "name": "ruling",
1117
+ "type": "uint8",
1118
+ "indexed": false,
1119
+ "internalType": "enum IArbitrationCourt.Ruling"
1120
+ },
1121
+ {
1122
+ "name": "executorAwardBps",
1123
+ "type": "uint16",
1124
+ "indexed": false,
1125
+ "internalType": "uint16"
1126
+ },
1127
+ {
1128
+ "name": "rulingHash",
1129
+ "type": "bytes32",
1130
+ "indexed": false,
1131
+ "internalType": "bytes32"
1132
+ },
1133
+ {
1134
+ "name": "finalRound",
1135
+ "type": "bool",
1136
+ "indexed": false,
1137
+ "internalType": "bool"
1138
+ }
1139
+ ],
1140
+ "anonymous": false
1141
+ },
1142
+ {
1143
+ "type": "event",
1144
+ "name": "SeatConfirmed",
1145
+ "inputs": [
1146
+ {
1147
+ "name": "caseId",
1148
+ "type": "bytes32",
1149
+ "indexed": true,
1150
+ "internalType": "bytes32"
1151
+ },
1152
+ {
1153
+ "name": "juror",
1154
+ "type": "address",
1155
+ "indexed": true,
1156
+ "internalType": "address"
1157
+ },
1158
+ {
1159
+ "name": "lockedAmount",
1160
+ "type": "uint256",
1161
+ "indexed": false,
1162
+ "internalType": "uint256"
1163
+ }
1164
+ ],
1165
+ "anonymous": false
1166
+ },
1167
+ {
1168
+ "type": "event",
1169
+ "name": "SeedReselected",
1170
+ "inputs": [
1171
+ {
1172
+ "name": "caseId",
1173
+ "type": "bytes32",
1174
+ "indexed": true,
1175
+ "internalType": "bytes32"
1176
+ },
1177
+ {
1178
+ "name": "seedBlock",
1179
+ "type": "uint64",
1180
+ "indexed": false,
1181
+ "internalType": "uint64"
1182
+ }
1183
+ ],
1184
+ "anonymous": false
1185
+ },
1186
+ {
1187
+ "type": "event",
1188
+ "name": "SelectionEvidenceSubmitted",
1189
+ "inputs": [
1190
+ {
1191
+ "name": "caseId",
1192
+ "type": "bytes32",
1193
+ "indexed": true,
1194
+ "internalType": "bytes32"
1195
+ },
1196
+ {
1197
+ "name": "evidenceHash",
1198
+ "type": "bytes32",
1199
+ "indexed": false,
1200
+ "internalType": "bytes32"
1201
+ },
1202
+ {
1203
+ "name": "evidenceAsOf",
1204
+ "type": "uint64",
1205
+ "indexed": false,
1206
+ "internalType": "uint64"
1207
+ }
1208
+ ],
1209
+ "anonymous": false
1210
+ },
1211
+ {
1212
+ "type": "event",
1213
+ "name": "StalledCaseResolved",
1214
+ "inputs": [
1215
+ {
1216
+ "name": "caseId",
1217
+ "type": "bytes32",
1218
+ "indexed": true,
1219
+ "internalType": "bytes32"
1220
+ },
1221
+ {
1222
+ "name": "executorWins",
1223
+ "type": "bool",
1224
+ "indexed": false,
1225
+ "internalType": "bool"
1226
+ }
1227
+ ],
1228
+ "anonymous": false
1229
+ },
1230
+ {
1231
+ "type": "event",
1232
+ "name": "Upgraded",
1233
+ "inputs": [
1234
+ {
1235
+ "name": "implementation",
1236
+ "type": "address",
1237
+ "indexed": true,
1238
+ "internalType": "address"
1239
+ }
1240
+ ],
1241
+ "anonymous": false
1242
+ },
1243
+ {
1244
+ "type": "event",
1245
+ "name": "VoteCommitted",
1246
+ "inputs": [
1247
+ {
1248
+ "name": "caseId",
1249
+ "type": "bytes32",
1250
+ "indexed": true,
1251
+ "internalType": "bytes32"
1252
+ },
1253
+ {
1254
+ "name": "juror",
1255
+ "type": "address",
1256
+ "indexed": true,
1257
+ "internalType": "address"
1258
+ }
1259
+ ],
1260
+ "anonymous": false
1261
+ },
1262
+ {
1263
+ "type": "event",
1264
+ "name": "VoteRevealed",
1265
+ "inputs": [
1266
+ {
1267
+ "name": "caseId",
1268
+ "type": "bytes32",
1269
+ "indexed": true,
1270
+ "internalType": "bytes32"
1271
+ },
1272
+ {
1273
+ "name": "juror",
1274
+ "type": "address",
1275
+ "indexed": true,
1276
+ "internalType": "address"
1277
+ },
1278
+ {
1279
+ "name": "satisfied",
1280
+ "type": "bool[]",
1281
+ "indexed": false,
1282
+ "internalType": "bool[]"
1283
+ },
1284
+ {
1285
+ "name": "reasonHashes",
1286
+ "type": "bytes32[]",
1287
+ "indexed": false,
1288
+ "internalType": "bytes32[]"
1289
+ }
1290
+ ],
1291
+ "anonymous": false
1292
+ },
1293
+ {
1294
+ "type": "error",
1295
+ "name": "AddressEmptyCode",
1296
+ "inputs": [
1297
+ {
1298
+ "name": "target",
1299
+ "type": "address",
1300
+ "internalType": "address"
1301
+ }
1302
+ ]
1303
+ },
1304
+ {
1305
+ "type": "error",
1306
+ "name": "AddressInsufficientBalance",
1307
+ "inputs": [
1308
+ {
1309
+ "name": "account",
1310
+ "type": "address",
1311
+ "internalType": "address"
1312
+ }
1313
+ ]
1314
+ },
1315
+ {
1316
+ "type": "error",
1317
+ "name": "AppealUnavailable",
1318
+ "inputs": []
1319
+ },
1320
+ {
1321
+ "type": "error",
1322
+ "name": "CaseAlreadyExists",
1323
+ "inputs": [
1324
+ {
1325
+ "name": "caseId",
1326
+ "type": "bytes32",
1327
+ "internalType": "bytes32"
1328
+ }
1329
+ ]
1330
+ },
1331
+ {
1332
+ "type": "error",
1333
+ "name": "CaseNotFound",
1334
+ "inputs": [
1335
+ {
1336
+ "name": "caseId",
1337
+ "type": "bytes32",
1338
+ "internalType": "bytes32"
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "type": "error",
1344
+ "name": "CaseNotStalled",
1345
+ "inputs": [
1346
+ {
1347
+ "name": "caseId",
1348
+ "type": "bytes32",
1349
+ "internalType": "bytes32"
1350
+ }
1351
+ ]
1352
+ },
1353
+ {
1354
+ "type": "error",
1355
+ "name": "CommitMismatch",
1356
+ "inputs": [
1357
+ {
1358
+ "name": "criterionIndex",
1359
+ "type": "uint256",
1360
+ "internalType": "uint256"
1361
+ }
1362
+ ]
1363
+ },
1364
+ {
1365
+ "type": "error",
1366
+ "name": "ERC1967InvalidImplementation",
1367
+ "inputs": [
1368
+ {
1369
+ "name": "implementation",
1370
+ "type": "address",
1371
+ "internalType": "address"
1372
+ }
1373
+ ]
1374
+ },
1375
+ {
1376
+ "type": "error",
1377
+ "name": "ERC1967NonPayable",
1378
+ "inputs": []
1379
+ },
1380
+ {
1381
+ "type": "error",
1382
+ "name": "FailedInnerCall",
1383
+ "inputs": []
1384
+ },
1385
+ {
1386
+ "type": "error",
1387
+ "name": "InsufficientEligibleJurors",
1388
+ "inputs": [
1389
+ {
1390
+ "name": "available",
1391
+ "type": "uint256",
1392
+ "internalType": "uint256"
1393
+ },
1394
+ {
1395
+ "name": "required",
1396
+ "type": "uint256",
1397
+ "internalType": "uint256"
1398
+ }
1399
+ ]
1400
+ },
1401
+ {
1402
+ "type": "error",
1403
+ "name": "InvalidAddress",
1404
+ "inputs": []
1405
+ },
1406
+ {
1407
+ "type": "error",
1408
+ "name": "InvalidAmount",
1409
+ "inputs": []
1410
+ },
1411
+ {
1412
+ "type": "error",
1413
+ "name": "InvalidCriteria",
1414
+ "inputs": []
1415
+ },
1416
+ {
1417
+ "type": "error",
1418
+ "name": "InvalidExclusionsHash",
1419
+ "inputs": []
1420
+ },
1421
+ {
1422
+ "type": "error",
1423
+ "name": "InvalidInitialization",
1424
+ "inputs": []
1425
+ },
1426
+ {
1427
+ "type": "error",
1428
+ "name": "InvalidSeedBlock",
1429
+ "inputs": [
1430
+ {
1431
+ "name": "seedBlock",
1432
+ "type": "uint256",
1433
+ "internalType": "uint256"
1434
+ },
1435
+ {
1436
+ "name": "currentBlock",
1437
+ "type": "uint256",
1438
+ "internalType": "uint256"
1439
+ }
1440
+ ]
1441
+ },
1442
+ {
1443
+ "type": "error",
1444
+ "name": "NotInitializing",
1445
+ "inputs": []
1446
+ },
1447
+ {
1448
+ "type": "error",
1449
+ "name": "PhaseMismatch",
1450
+ "inputs": [
1451
+ {
1452
+ "name": "current",
1453
+ "type": "uint8",
1454
+ "internalType": "enum ArbitrationCourt.Phase"
1455
+ },
1456
+ {
1457
+ "name": "required",
1458
+ "type": "uint8",
1459
+ "internalType": "enum ArbitrationCourt.Phase"
1460
+ }
1461
+ ]
1462
+ },
1463
+ {
1464
+ "type": "error",
1465
+ "name": "ReentrancyGuardReentrantCall",
1466
+ "inputs": []
1467
+ },
1468
+ {
1469
+ "type": "error",
1470
+ "name": "SafeERC20FailedOperation",
1471
+ "inputs": [
1472
+ {
1473
+ "name": "token",
1474
+ "type": "address",
1475
+ "internalType": "address"
1476
+ }
1477
+ ]
1478
+ },
1479
+ {
1480
+ "type": "error",
1481
+ "name": "SeatAlreadyConfirmed",
1482
+ "inputs": [
1483
+ {
1484
+ "name": "juror",
1485
+ "type": "address",
1486
+ "internalType": "address"
1487
+ }
1488
+ ]
1489
+ },
1490
+ {
1491
+ "type": "error",
1492
+ "name": "SeatNotAssigned",
1493
+ "inputs": [
1494
+ {
1495
+ "name": "juror",
1496
+ "type": "address",
1497
+ "internalType": "address"
1498
+ }
1499
+ ]
1500
+ },
1501
+ {
1502
+ "type": "error",
1503
+ "name": "UUPSUnauthorizedCallContext",
1504
+ "inputs": []
1505
+ },
1506
+ {
1507
+ "type": "error",
1508
+ "name": "UUPSUnsupportedProxiableUUID",
1509
+ "inputs": [
1510
+ {
1511
+ "name": "slot",
1512
+ "type": "bytes32",
1513
+ "internalType": "bytes32"
1514
+ }
1515
+ ]
1516
+ },
1517
+ {
1518
+ "type": "error",
1519
+ "name": "Unauthorized",
1520
+ "inputs": [
1521
+ {
1522
+ "name": "caller",
1523
+ "type": "address",
1524
+ "internalType": "address"
1525
+ }
1526
+ ]
1527
+ },
1528
+ {
1529
+ "type": "error",
1530
+ "name": "UpgradeUnauthorized",
1531
+ "inputs": [
1532
+ {
1533
+ "name": "caller",
1534
+ "type": "address",
1535
+ "internalType": "address"
1536
+ }
1537
+ ]
1538
+ },
1539
+ {
1540
+ "type": "error",
1541
+ "name": "VoteAlreadySubmitted",
1542
+ "inputs": [
1543
+ {
1544
+ "name": "juror",
1545
+ "type": "address",
1546
+ "internalType": "address"
1547
+ }
1548
+ ]
1549
+ }
1550
+ ];