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