@agentsgot/agent-kit 0.0.0-stage → 1.0.0

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 +26 -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 +61 -0
  126. package/docs/verification.md +72 -0
  127. package/package.json +87 -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,1153 @@
1
+ export const arbitrationSelectionAbi = [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "params_",
7
+ "type": "address",
8
+ "internalType": "contract IParamRegistry"
9
+ },
10
+ {
11
+ "name": "agentRegistry_",
12
+ "type": "address",
13
+ "internalType": "contract IAgentRegistry"
14
+ },
15
+ {
16
+ "name": "validatorStaking_",
17
+ "type": "address",
18
+ "internalType": "contract IValidatorStaking"
19
+ },
20
+ {
21
+ "name": "testerAssignment_",
22
+ "type": "address",
23
+ "internalType": "contract ITesterAssignment"
24
+ },
25
+ {
26
+ "name": "court_",
27
+ "type": "address",
28
+ "internalType": "address"
29
+ },
30
+ {
31
+ "name": "settlement_",
32
+ "type": "address",
33
+ "internalType": "address"
34
+ },
35
+ {
36
+ "name": "arbitrationStream_",
37
+ "type": "address",
38
+ "internalType": "contract IArbitrationStream"
39
+ }
40
+ ],
41
+ "stateMutability": "nonpayable"
42
+ },
43
+ {
44
+ "type": "function",
45
+ "name": "GOVERNANCE_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": "UPGRADER_ROLE",
59
+ "inputs": [],
60
+ "outputs": [
61
+ {
62
+ "name": "",
63
+ "type": "bytes32",
64
+ "internalType": "bytes32"
65
+ }
66
+ ],
67
+ "stateMutability": "view"
68
+ },
69
+ {
70
+ "type": "function",
71
+ "name": "UPGRADE_INTERFACE_VERSION",
72
+ "inputs": [],
73
+ "outputs": [
74
+ {
75
+ "name": "",
76
+ "type": "string",
77
+ "internalType": "string"
78
+ }
79
+ ],
80
+ "stateMutability": "view"
81
+ },
82
+ {
83
+ "type": "function",
84
+ "name": "agentRegistry",
85
+ "inputs": [],
86
+ "outputs": [
87
+ {
88
+ "name": "",
89
+ "type": "address",
90
+ "internalType": "contract IAgentRegistry"
91
+ }
92
+ ],
93
+ "stateMutability": "view"
94
+ },
95
+ {
96
+ "type": "function",
97
+ "name": "arbitrationStream",
98
+ "inputs": [],
99
+ "outputs": [
100
+ {
101
+ "name": "",
102
+ "type": "address",
103
+ "internalType": "contract IArbitrationStream"
104
+ }
105
+ ],
106
+ "stateMutability": "view"
107
+ },
108
+ {
109
+ "type": "function",
110
+ "name": "arbitratorAt",
111
+ "inputs": [
112
+ {
113
+ "name": "index",
114
+ "type": "uint256",
115
+ "internalType": "uint256"
116
+ }
117
+ ],
118
+ "outputs": [
119
+ {
120
+ "name": "",
121
+ "type": "address",
122
+ "internalType": "address"
123
+ }
124
+ ],
125
+ "stateMutability": "view"
126
+ },
127
+ {
128
+ "type": "function",
129
+ "name": "arbitratorPoolSize",
130
+ "inputs": [],
131
+ "outputs": [
132
+ {
133
+ "name": "",
134
+ "type": "uint256",
135
+ "internalType": "uint256"
136
+ }
137
+ ],
138
+ "stateMutability": "view"
139
+ },
140
+ {
141
+ "type": "function",
142
+ "name": "confirmations",
143
+ "inputs": [
144
+ {
145
+ "name": "",
146
+ "type": "address",
147
+ "internalType": "address"
148
+ }
149
+ ],
150
+ "outputs": [
151
+ {
152
+ "name": "",
153
+ "type": "uint64",
154
+ "internalType": "uint64"
155
+ }
156
+ ],
157
+ "stateMutability": "view"
158
+ },
159
+ {
160
+ "type": "function",
161
+ "name": "court",
162
+ "inputs": [],
163
+ "outputs": [
164
+ {
165
+ "name": "",
166
+ "type": "address",
167
+ "internalType": "address"
168
+ }
169
+ ],
170
+ "stateMutability": "view"
171
+ },
172
+ {
173
+ "type": "function",
174
+ "name": "disciplineOf",
175
+ "inputs": [
176
+ {
177
+ "name": "juror",
178
+ "type": "address",
179
+ "internalType": "address"
180
+ }
181
+ ],
182
+ "outputs": [
183
+ {
184
+ "name": "overturnStreak",
185
+ "type": "uint16",
186
+ "internalType": "uint16"
187
+ },
188
+ {
189
+ "name": "minorityStreak",
190
+ "type": "uint16",
191
+ "internalType": "uint16"
192
+ },
193
+ {
194
+ "name": "suspendedUntil",
195
+ "type": "uint64",
196
+ "internalType": "uint64"
197
+ },
198
+ {
199
+ "name": "disqualified",
200
+ "type": "bool",
201
+ "internalType": "bool"
202
+ }
203
+ ],
204
+ "stateMutability": "view"
205
+ },
206
+ {
207
+ "type": "function",
208
+ "name": "drawWeight",
209
+ "inputs": [
210
+ {
211
+ "name": "juror",
212
+ "type": "address",
213
+ "internalType": "address"
214
+ }
215
+ ],
216
+ "outputs": [
217
+ {
218
+ "name": "",
219
+ "type": "uint256",
220
+ "internalType": "uint256"
221
+ }
222
+ ],
223
+ "stateMutability": "view"
224
+ },
225
+ {
226
+ "type": "function",
227
+ "name": "eligibleArbitratorCount",
228
+ "inputs": [],
229
+ "outputs": [
230
+ {
231
+ "name": "count",
232
+ "type": "uint256",
233
+ "internalType": "uint256"
234
+ }
235
+ ],
236
+ "stateMutability": "view"
237
+ },
238
+ {
239
+ "type": "function",
240
+ "name": "eligibleCountForCase",
241
+ "inputs": [
242
+ {
243
+ "name": "context",
244
+ "type": "tuple",
245
+ "internalType": "struct IArbitrationSelection.CaseContext",
246
+ "components": [
247
+ {
248
+ "name": "caseId",
249
+ "type": "bytes32",
250
+ "internalType": "bytes32"
251
+ },
252
+ {
253
+ "name": "taskId",
254
+ "type": "bytes32",
255
+ "internalType": "bytes32"
256
+ },
257
+ {
258
+ "name": "publisher",
259
+ "type": "address",
260
+ "internalType": "address"
261
+ },
262
+ {
263
+ "name": "executor",
264
+ "type": "address",
265
+ "internalType": "address"
266
+ },
267
+ {
268
+ "name": "taskValue",
269
+ "type": "uint256",
270
+ "internalType": "uint256"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "name": "priorPanel",
276
+ "type": "address[]",
277
+ "internalType": "address[]"
278
+ },
279
+ {
280
+ "name": "retainedPanel",
281
+ "type": "address[]",
282
+ "internalType": "address[]"
283
+ }
284
+ ],
285
+ "outputs": [
286
+ {
287
+ "name": "count",
288
+ "type": "uint256",
289
+ "internalType": "uint256"
290
+ }
291
+ ],
292
+ "stateMutability": "view"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "evidenceHash",
297
+ "inputs": [
298
+ {
299
+ "name": "",
300
+ "type": "bytes32",
301
+ "internalType": "bytes32"
302
+ }
303
+ ],
304
+ "outputs": [
305
+ {
306
+ "name": "",
307
+ "type": "bytes32",
308
+ "internalType": "bytes32"
309
+ }
310
+ ],
311
+ "stateMutability": "view"
312
+ },
313
+ {
314
+ "type": "function",
315
+ "name": "fullScale",
316
+ "inputs": [],
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "type": "bool",
321
+ "internalType": "bool"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "fullScaleEligibleSince",
329
+ "inputs": [],
330
+ "outputs": [
331
+ {
332
+ "name": "",
333
+ "type": "uint64",
334
+ "internalType": "uint64"
335
+ }
336
+ ],
337
+ "stateMutability": "view"
338
+ },
339
+ {
340
+ "type": "function",
341
+ "name": "inPool",
342
+ "inputs": [
343
+ {
344
+ "name": "",
345
+ "type": "address",
346
+ "internalType": "address"
347
+ }
348
+ ],
349
+ "outputs": [
350
+ {
351
+ "name": "",
352
+ "type": "bool",
353
+ "internalType": "bool"
354
+ }
355
+ ],
356
+ "stateMutability": "view"
357
+ },
358
+ {
359
+ "type": "function",
360
+ "name": "initialize",
361
+ "inputs": [],
362
+ "outputs": [],
363
+ "stateMutability": "nonpayable"
364
+ },
365
+ {
366
+ "type": "function",
367
+ "name": "invitations",
368
+ "inputs": [
369
+ {
370
+ "name": "",
371
+ "type": "address",
372
+ "internalType": "address"
373
+ }
374
+ ],
375
+ "outputs": [
376
+ {
377
+ "name": "",
378
+ "type": "uint64",
379
+ "internalType": "uint64"
380
+ }
381
+ ],
382
+ "stateMutability": "view"
383
+ },
384
+ {
385
+ "type": "function",
386
+ "name": "isExcluded",
387
+ "inputs": [
388
+ {
389
+ "name": "caseId",
390
+ "type": "bytes32",
391
+ "internalType": "bytes32"
392
+ },
393
+ {
394
+ "name": "account",
395
+ "type": "address",
396
+ "internalType": "address"
397
+ }
398
+ ],
399
+ "outputs": [
400
+ {
401
+ "name": "",
402
+ "type": "bool",
403
+ "internalType": "bool"
404
+ }
405
+ ],
406
+ "stateMutability": "view"
407
+ },
408
+ {
409
+ "type": "function",
410
+ "name": "joinArbitrator",
411
+ "inputs": [
412
+ {
413
+ "name": "juror",
414
+ "type": "address",
415
+ "internalType": "address"
416
+ }
417
+ ],
418
+ "outputs": [],
419
+ "stateMutability": "nonpayable"
420
+ },
421
+ {
422
+ "type": "function",
423
+ "name": "params",
424
+ "inputs": [],
425
+ "outputs": [
426
+ {
427
+ "name": "",
428
+ "type": "address",
429
+ "internalType": "contract IParamRegistry"
430
+ }
431
+ ],
432
+ "stateMutability": "view"
433
+ },
434
+ {
435
+ "type": "function",
436
+ "name": "previewCaseWeight",
437
+ "inputs": [
438
+ {
439
+ "name": "context",
440
+ "type": "tuple",
441
+ "internalType": "struct IArbitrationSelection.CaseContext",
442
+ "components": [
443
+ {
444
+ "name": "caseId",
445
+ "type": "bytes32",
446
+ "internalType": "bytes32"
447
+ },
448
+ {
449
+ "name": "taskId",
450
+ "type": "bytes32",
451
+ "internalType": "bytes32"
452
+ },
453
+ {
454
+ "name": "publisher",
455
+ "type": "address",
456
+ "internalType": "address"
457
+ },
458
+ {
459
+ "name": "executor",
460
+ "type": "address",
461
+ "internalType": "address"
462
+ },
463
+ {
464
+ "name": "taskValue",
465
+ "type": "uint256",
466
+ "internalType": "uint256"
467
+ }
468
+ ]
469
+ },
470
+ {
471
+ "name": "juror",
472
+ "type": "address",
473
+ "internalType": "address"
474
+ },
475
+ {
476
+ "name": "priorPanel",
477
+ "type": "address[]",
478
+ "internalType": "address[]"
479
+ },
480
+ {
481
+ "name": "retainedPanel",
482
+ "type": "address[]",
483
+ "internalType": "address[]"
484
+ }
485
+ ],
486
+ "outputs": [
487
+ {
488
+ "name": "",
489
+ "type": "uint256",
490
+ "internalType": "uint256"
491
+ }
492
+ ],
493
+ "stateMutability": "view"
494
+ },
495
+ {
496
+ "type": "function",
497
+ "name": "proxiableUUID",
498
+ "inputs": [],
499
+ "outputs": [
500
+ {
501
+ "name": "",
502
+ "type": "bytes32",
503
+ "internalType": "bytes32"
504
+ }
505
+ ],
506
+ "stateMutability": "view"
507
+ },
508
+ {
509
+ "type": "function",
510
+ "name": "recordConfirmation",
511
+ "inputs": [
512
+ {
513
+ "name": "juror",
514
+ "type": "address",
515
+ "internalType": "address"
516
+ }
517
+ ],
518
+ "outputs": [],
519
+ "stateMutability": "nonpayable"
520
+ },
521
+ {
522
+ "type": "function",
523
+ "name": "recordEvidence",
524
+ "inputs": [
525
+ {
526
+ "name": "caseId",
527
+ "type": "bytes32",
528
+ "internalType": "bytes32"
529
+ },
530
+ {
531
+ "name": "evidenceAsOf",
532
+ "type": "uint64",
533
+ "internalType": "uint64"
534
+ },
535
+ {
536
+ "name": "excludedJurors",
537
+ "type": "address[]",
538
+ "internalType": "address[]"
539
+ },
540
+ {
541
+ "name": "sourceJurors",
542
+ "type": "address[]",
543
+ "internalType": "address[]"
544
+ },
545
+ {
546
+ "name": "sourceIds",
547
+ "type": "bytes32[]",
548
+ "internalType": "bytes32[]"
549
+ },
550
+ {
551
+ "name": "suppliedHash",
552
+ "type": "bytes32",
553
+ "internalType": "bytes32"
554
+ }
555
+ ],
556
+ "outputs": [],
557
+ "stateMutability": "nonpayable"
558
+ },
559
+ {
560
+ "type": "function",
561
+ "name": "recordInvitation",
562
+ "inputs": [
563
+ {
564
+ "name": "juror",
565
+ "type": "address",
566
+ "internalType": "address"
567
+ }
568
+ ],
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable"
571
+ },
572
+ {
573
+ "type": "function",
574
+ "name": "recordOutcome",
575
+ "inputs": [
576
+ {
577
+ "name": "panel",
578
+ "type": "address[]",
579
+ "internalType": "address[]"
580
+ },
581
+ {
582
+ "name": "revealed",
583
+ "type": "bool[]",
584
+ "internalType": "bool[]"
585
+ },
586
+ {
587
+ "name": "agreesWithFinal",
588
+ "type": "bool[]",
589
+ "internalType": "bool[]"
590
+ }
591
+ ],
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable"
594
+ },
595
+ {
596
+ "type": "function",
597
+ "name": "recordOverturn",
598
+ "inputs": [
599
+ {
600
+ "name": "firstPanel",
601
+ "type": "address[]",
602
+ "internalType": "address[]"
603
+ },
604
+ {
605
+ "name": "firstMajority",
606
+ "type": "bool[]",
607
+ "internalType": "bool[]"
608
+ },
609
+ {
610
+ "name": "overturned",
611
+ "type": "bool",
612
+ "internalType": "bool"
613
+ }
614
+ ],
615
+ "outputs": [],
616
+ "stateMutability": "nonpayable"
617
+ },
618
+ {
619
+ "type": "function",
620
+ "name": "responseRateBps",
621
+ "inputs": [
622
+ {
623
+ "name": "juror",
624
+ "type": "address",
625
+ "internalType": "address"
626
+ }
627
+ ],
628
+ "outputs": [
629
+ {
630
+ "name": "",
631
+ "type": "uint256",
632
+ "internalType": "uint256"
633
+ }
634
+ ],
635
+ "stateMutability": "view"
636
+ },
637
+ {
638
+ "type": "function",
639
+ "name": "selectPanel",
640
+ "inputs": [
641
+ {
642
+ "name": "context",
643
+ "type": "tuple",
644
+ "internalType": "struct IArbitrationSelection.CaseContext",
645
+ "components": [
646
+ {
647
+ "name": "caseId",
648
+ "type": "bytes32",
649
+ "internalType": "bytes32"
650
+ },
651
+ {
652
+ "name": "taskId",
653
+ "type": "bytes32",
654
+ "internalType": "bytes32"
655
+ },
656
+ {
657
+ "name": "publisher",
658
+ "type": "address",
659
+ "internalType": "address"
660
+ },
661
+ {
662
+ "name": "executor",
663
+ "type": "address",
664
+ "internalType": "address"
665
+ },
666
+ {
667
+ "name": "taskValue",
668
+ "type": "uint256",
669
+ "internalType": "uint256"
670
+ }
671
+ ]
672
+ },
673
+ {
674
+ "name": "seed",
675
+ "type": "bytes32",
676
+ "internalType": "bytes32"
677
+ },
678
+ {
679
+ "name": "size",
680
+ "type": "uint8",
681
+ "internalType": "uint8"
682
+ },
683
+ {
684
+ "name": "priorPanel",
685
+ "type": "address[]",
686
+ "internalType": "address[]"
687
+ },
688
+ {
689
+ "name": "retainedPanel",
690
+ "type": "address[]",
691
+ "internalType": "address[]"
692
+ }
693
+ ],
694
+ "outputs": [
695
+ {
696
+ "name": "panel",
697
+ "type": "address[]",
698
+ "internalType": "address[]"
699
+ }
700
+ ],
701
+ "stateMutability": "view"
702
+ },
703
+ {
704
+ "type": "function",
705
+ "name": "setArbitratorWhitelist",
706
+ "inputs": [
707
+ {
708
+ "name": "accounts",
709
+ "type": "address[]",
710
+ "internalType": "address[]"
711
+ },
712
+ {
713
+ "name": "whitelisted",
714
+ "type": "bool",
715
+ "internalType": "bool"
716
+ }
717
+ ],
718
+ "outputs": [],
719
+ "stateMutability": "nonpayable"
720
+ },
721
+ {
722
+ "type": "function",
723
+ "name": "settlement",
724
+ "inputs": [],
725
+ "outputs": [
726
+ {
727
+ "name": "",
728
+ "type": "address",
729
+ "internalType": "address"
730
+ }
731
+ ],
732
+ "stateMutability": "view"
733
+ },
734
+ {
735
+ "type": "function",
736
+ "name": "streamWeight",
737
+ "inputs": [
738
+ {
739
+ "name": "juror",
740
+ "type": "address",
741
+ "internalType": "address"
742
+ }
743
+ ],
744
+ "outputs": [
745
+ {
746
+ "name": "",
747
+ "type": "uint256",
748
+ "internalType": "uint256"
749
+ }
750
+ ],
751
+ "stateMutability": "view"
752
+ },
753
+ {
754
+ "type": "function",
755
+ "name": "testerAssignment",
756
+ "inputs": [],
757
+ "outputs": [
758
+ {
759
+ "name": "",
760
+ "type": "address",
761
+ "internalType": "contract ITesterAssignment"
762
+ }
763
+ ],
764
+ "stateMutability": "view"
765
+ },
766
+ {
767
+ "type": "function",
768
+ "name": "updateScale",
769
+ "inputs": [],
770
+ "outputs": [],
771
+ "stateMutability": "nonpayable"
772
+ },
773
+ {
774
+ "type": "function",
775
+ "name": "upgradeToAndCall",
776
+ "inputs": [
777
+ {
778
+ "name": "newImplementation",
779
+ "type": "address",
780
+ "internalType": "address"
781
+ },
782
+ {
783
+ "name": "data",
784
+ "type": "bytes",
785
+ "internalType": "bytes"
786
+ }
787
+ ],
788
+ "outputs": [],
789
+ "stateMutability": "payable"
790
+ },
791
+ {
792
+ "type": "function",
793
+ "name": "validatorStaking",
794
+ "inputs": [],
795
+ "outputs": [
796
+ {
797
+ "name": "",
798
+ "type": "address",
799
+ "internalType": "contract IValidatorStaking"
800
+ }
801
+ ],
802
+ "stateMutability": "view"
803
+ },
804
+ {
805
+ "type": "function",
806
+ "name": "whitelistedArbitrator",
807
+ "inputs": [
808
+ {
809
+ "name": "",
810
+ "type": "address",
811
+ "internalType": "address"
812
+ }
813
+ ],
814
+ "outputs": [
815
+ {
816
+ "name": "",
817
+ "type": "bool",
818
+ "internalType": "bool"
819
+ }
820
+ ],
821
+ "stateMutability": "view"
822
+ },
823
+ {
824
+ "type": "event",
825
+ "name": "ArbitratorJoined",
826
+ "inputs": [
827
+ {
828
+ "name": "juror",
829
+ "type": "address",
830
+ "indexed": true,
831
+ "internalType": "address"
832
+ }
833
+ ],
834
+ "anonymous": false
835
+ },
836
+ {
837
+ "type": "event",
838
+ "name": "ArbitratorWhitelistUpdated",
839
+ "inputs": [
840
+ {
841
+ "name": "account",
842
+ "type": "address",
843
+ "indexed": true,
844
+ "internalType": "address"
845
+ },
846
+ {
847
+ "name": "whitelisted",
848
+ "type": "bool",
849
+ "indexed": false,
850
+ "internalType": "bool"
851
+ }
852
+ ],
853
+ "anonymous": false
854
+ },
855
+ {
856
+ "type": "event",
857
+ "name": "FullScaleChanged",
858
+ "inputs": [
859
+ {
860
+ "name": "enabled",
861
+ "type": "bool",
862
+ "indexed": false,
863
+ "internalType": "bool"
864
+ }
865
+ ],
866
+ "anonymous": false
867
+ },
868
+ {
869
+ "type": "event",
870
+ "name": "FullScaleRecoveryStarted",
871
+ "inputs": [
872
+ {
873
+ "name": "startedAt",
874
+ "type": "uint64",
875
+ "indexed": true,
876
+ "internalType": "uint64"
877
+ }
878
+ ],
879
+ "anonymous": false
880
+ },
881
+ {
882
+ "type": "event",
883
+ "name": "Initialized",
884
+ "inputs": [
885
+ {
886
+ "name": "version",
887
+ "type": "uint64",
888
+ "indexed": false,
889
+ "internalType": "uint64"
890
+ }
891
+ ],
892
+ "anonymous": false
893
+ },
894
+ {
895
+ "type": "event",
896
+ "name": "JurorDisqualified",
897
+ "inputs": [
898
+ {
899
+ "name": "juror",
900
+ "type": "address",
901
+ "indexed": true,
902
+ "internalType": "address"
903
+ },
904
+ {
905
+ "name": "disqualifiedUntil",
906
+ "type": "uint64",
907
+ "indexed": false,
908
+ "internalType": "uint64"
909
+ }
910
+ ],
911
+ "anonymous": false
912
+ },
913
+ {
914
+ "type": "event",
915
+ "name": "JurorRecovered",
916
+ "inputs": [
917
+ {
918
+ "name": "juror",
919
+ "type": "address",
920
+ "indexed": true,
921
+ "internalType": "address"
922
+ }
923
+ ],
924
+ "anonymous": false
925
+ },
926
+ {
927
+ "type": "event",
928
+ "name": "JurorSuspended",
929
+ "inputs": [
930
+ {
931
+ "name": "juror",
932
+ "type": "address",
933
+ "indexed": true,
934
+ "internalType": "address"
935
+ },
936
+ {
937
+ "name": "suspendedUntil",
938
+ "type": "uint64",
939
+ "indexed": false,
940
+ "internalType": "uint64"
941
+ },
942
+ {
943
+ "name": "overturnStreak",
944
+ "type": "uint16",
945
+ "indexed": false,
946
+ "internalType": "uint16"
947
+ }
948
+ ],
949
+ "anonymous": false
950
+ },
951
+ {
952
+ "type": "event",
953
+ "name": "MinorityStreakChanged",
954
+ "inputs": [
955
+ {
956
+ "name": "juror",
957
+ "type": "address",
958
+ "indexed": true,
959
+ "internalType": "address"
960
+ },
961
+ {
962
+ "name": "streak",
963
+ "type": "uint16",
964
+ "indexed": false,
965
+ "internalType": "uint16"
966
+ },
967
+ {
968
+ "name": "activityBps",
969
+ "type": "uint16",
970
+ "indexed": false,
971
+ "internalType": "uint16"
972
+ }
973
+ ],
974
+ "anonymous": false
975
+ },
976
+ {
977
+ "type": "event",
978
+ "name": "SelectionEvidenceRecorded",
979
+ "inputs": [
980
+ {
981
+ "name": "caseId",
982
+ "type": "bytes32",
983
+ "indexed": true,
984
+ "internalType": "bytes32"
985
+ },
986
+ {
987
+ "name": "evidenceHash",
988
+ "type": "bytes32",
989
+ "indexed": true,
990
+ "internalType": "bytes32"
991
+ },
992
+ {
993
+ "name": "evidenceAsOf",
994
+ "type": "uint64",
995
+ "indexed": false,
996
+ "internalType": "uint64"
997
+ }
998
+ ],
999
+ "anonymous": false
1000
+ },
1001
+ {
1002
+ "type": "event",
1003
+ "name": "Upgraded",
1004
+ "inputs": [
1005
+ {
1006
+ "name": "implementation",
1007
+ "type": "address",
1008
+ "indexed": true,
1009
+ "internalType": "address"
1010
+ }
1011
+ ],
1012
+ "anonymous": false
1013
+ },
1014
+ {
1015
+ "type": "error",
1016
+ "name": "AddressEmptyCode",
1017
+ "inputs": [
1018
+ {
1019
+ "name": "target",
1020
+ "type": "address",
1021
+ "internalType": "address"
1022
+ }
1023
+ ]
1024
+ },
1025
+ {
1026
+ "type": "error",
1027
+ "name": "ERC1967InvalidImplementation",
1028
+ "inputs": [
1029
+ {
1030
+ "name": "implementation",
1031
+ "type": "address",
1032
+ "internalType": "address"
1033
+ }
1034
+ ]
1035
+ },
1036
+ {
1037
+ "type": "error",
1038
+ "name": "ERC1967NonPayable",
1039
+ "inputs": []
1040
+ },
1041
+ {
1042
+ "type": "error",
1043
+ "name": "FailedInnerCall",
1044
+ "inputs": []
1045
+ },
1046
+ {
1047
+ "type": "error",
1048
+ "name": "IneligibleJuror",
1049
+ "inputs": [
1050
+ {
1051
+ "name": "juror",
1052
+ "type": "address",
1053
+ "internalType": "address"
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "type": "error",
1059
+ "name": "InsufficientEligibleJurors",
1060
+ "inputs": [
1061
+ {
1062
+ "name": "available",
1063
+ "type": "uint256",
1064
+ "internalType": "uint256"
1065
+ },
1066
+ {
1067
+ "name": "required",
1068
+ "type": "uint256",
1069
+ "internalType": "uint256"
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "type": "error",
1075
+ "name": "InvalidAddress",
1076
+ "inputs": []
1077
+ },
1078
+ {
1079
+ "type": "error",
1080
+ "name": "InvalidEvidence",
1081
+ "inputs": []
1082
+ },
1083
+ {
1084
+ "type": "error",
1085
+ "name": "InvalidInitialization",
1086
+ "inputs": []
1087
+ },
1088
+ {
1089
+ "type": "error",
1090
+ "name": "NotCourt",
1091
+ "inputs": [
1092
+ {
1093
+ "name": "caller",
1094
+ "type": "address",
1095
+ "internalType": "address"
1096
+ }
1097
+ ]
1098
+ },
1099
+ {
1100
+ "type": "error",
1101
+ "name": "NotGovernance",
1102
+ "inputs": [
1103
+ {
1104
+ "name": "caller",
1105
+ "type": "address",
1106
+ "internalType": "address"
1107
+ }
1108
+ ]
1109
+ },
1110
+ {
1111
+ "type": "error",
1112
+ "name": "NotInitializing",
1113
+ "inputs": []
1114
+ },
1115
+ {
1116
+ "type": "error",
1117
+ "name": "NotSettlement",
1118
+ "inputs": [
1119
+ {
1120
+ "name": "caller",
1121
+ "type": "address",
1122
+ "internalType": "address"
1123
+ }
1124
+ ]
1125
+ },
1126
+ {
1127
+ "type": "error",
1128
+ "name": "UUPSUnauthorizedCallContext",
1129
+ "inputs": []
1130
+ },
1131
+ {
1132
+ "type": "error",
1133
+ "name": "UUPSUnsupportedProxiableUUID",
1134
+ "inputs": [
1135
+ {
1136
+ "name": "slot",
1137
+ "type": "bytes32",
1138
+ "internalType": "bytes32"
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "type": "error",
1144
+ "name": "UpgradeUnauthorized",
1145
+ "inputs": [
1146
+ {
1147
+ "name": "caller",
1148
+ "type": "address",
1149
+ "internalType": "address"
1150
+ }
1151
+ ]
1152
+ }
1153
+ ] as const;