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