@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,2220 @@
1
+ export const taskEscrowAbi = [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "config",
7
+ "type": "tuple",
8
+ "internalType": "struct TaskEscrow.ConstructorConfig",
9
+ "components": [
10
+ {
11
+ "name": "token",
12
+ "type": "address",
13
+ "internalType": "contract IERC20"
14
+ },
15
+ {
16
+ "name": "params",
17
+ "type": "address",
18
+ "internalType": "contract IParamRegistry"
19
+ },
20
+ {
21
+ "name": "agentRegistry",
22
+ "type": "address",
23
+ "internalType": "contract IAgentRegistry"
24
+ },
25
+ {
26
+ "name": "protocolProof",
27
+ "type": "address",
28
+ "internalType": "contract IProtocolProof"
29
+ },
30
+ {
31
+ "name": "publisherStaking",
32
+ "type": "address",
33
+ "internalType": "contract IPublisherStaking"
34
+ },
35
+ {
36
+ "name": "rewardVesting",
37
+ "type": "address",
38
+ "internalType": "contract IRewardVesting"
39
+ },
40
+ {
41
+ "name": "platformTreasury",
42
+ "type": "address",
43
+ "internalType": "contract IPlatformTreasury"
44
+ },
45
+ {
46
+ "name": "testerAssignment",
47
+ "type": "address",
48
+ "internalType": "contract ITesterAssignment"
49
+ },
50
+ {
51
+ "name": "validatorStaking",
52
+ "type": "address",
53
+ "internalType": "contract IValidatorStaking"
54
+ },
55
+ {
56
+ "name": "arbitrationCourt",
57
+ "type": "address",
58
+ "internalType": "contract IArbitrationCourt"
59
+ },
60
+ {
61
+ "name": "arbitrationFeeRecipient",
62
+ "type": "address",
63
+ "internalType": "address"
64
+ },
65
+ {
66
+ "name": "hourlyAnchor",
67
+ "type": "address",
68
+ "internalType": "contract IHourlyAnchor"
69
+ },
70
+ {
71
+ "name": "emissionController",
72
+ "type": "address",
73
+ "internalType": "contract IEmissionController"
74
+ }
75
+ ]
76
+ }
77
+ ],
78
+ "stateMutability": "nonpayable"
79
+ },
80
+ {
81
+ "type": "function",
82
+ "name": "UPGRADER_ROLE",
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": "UPGRADE_INTERFACE_VERSION",
96
+ "inputs": [],
97
+ "outputs": [
98
+ {
99
+ "name": "",
100
+ "type": "string",
101
+ "internalType": "string"
102
+ }
103
+ ],
104
+ "stateMutability": "view"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "acceptResult",
109
+ "inputs": [
110
+ {
111
+ "name": "taskId",
112
+ "type": "bytes32",
113
+ "internalType": "bytes32"
114
+ }
115
+ ],
116
+ "outputs": [],
117
+ "stateMutability": "nonpayable"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "agentRegistry",
122
+ "inputs": [],
123
+ "outputs": [
124
+ {
125
+ "name": "",
126
+ "type": "address",
127
+ "internalType": "contract IAgentRegistry"
128
+ }
129
+ ],
130
+ "stateMutability": "view"
131
+ },
132
+ {
133
+ "type": "function",
134
+ "name": "amendSpec",
135
+ "inputs": [
136
+ {
137
+ "name": "taskId",
138
+ "type": "bytes32",
139
+ "internalType": "bytes32"
140
+ },
141
+ {
142
+ "name": "newSpecHash",
143
+ "type": "bytes32",
144
+ "internalType": "bytes32"
145
+ }
146
+ ],
147
+ "outputs": [],
148
+ "stateMutability": "nonpayable"
149
+ },
150
+ {
151
+ "type": "function",
152
+ "name": "amendedAtOf",
153
+ "inputs": [
154
+ {
155
+ "name": "taskId",
156
+ "type": "bytes32",
157
+ "internalType": "bytes32"
158
+ }
159
+ ],
160
+ "outputs": [
161
+ {
162
+ "name": "",
163
+ "type": "uint64",
164
+ "internalType": "uint64"
165
+ }
166
+ ],
167
+ "stateMutability": "view"
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "arbitrationCourt",
172
+ "inputs": [],
173
+ "outputs": [
174
+ {
175
+ "name": "",
176
+ "type": "address",
177
+ "internalType": "contract IArbitrationCourt"
178
+ }
179
+ ],
180
+ "stateMutability": "view"
181
+ },
182
+ {
183
+ "type": "function",
184
+ "name": "arbitrationFeeRecipient",
185
+ "inputs": [],
186
+ "outputs": [
187
+ {
188
+ "name": "",
189
+ "type": "address",
190
+ "internalType": "address"
191
+ }
192
+ ],
193
+ "stateMutability": "view"
194
+ },
195
+ {
196
+ "type": "function",
197
+ "name": "billedVolumeAgt",
198
+ "inputs": [
199
+ {
200
+ "name": "",
201
+ "type": "uint64",
202
+ "internalType": "uint64"
203
+ }
204
+ ],
205
+ "outputs": [
206
+ {
207
+ "name": "",
208
+ "type": "uint256",
209
+ "internalType": "uint256"
210
+ }
211
+ ],
212
+ "stateMutability": "view"
213
+ },
214
+ {
215
+ "type": "function",
216
+ "name": "burnTaskPool",
217
+ "inputs": [
218
+ {
219
+ "name": "taskId",
220
+ "type": "bytes32",
221
+ "internalType": "bytes32"
222
+ },
223
+ {
224
+ "name": "hourId",
225
+ "type": "uint64",
226
+ "internalType": "uint64"
227
+ },
228
+ {
229
+ "name": "cumulativePi",
230
+ "type": "uint256",
231
+ "internalType": "uint256"
232
+ },
233
+ {
234
+ "name": "proof",
235
+ "type": "bytes32[]",
236
+ "internalType": "bytes32[]"
237
+ }
238
+ ],
239
+ "outputs": [],
240
+ "stateMutability": "nonpayable"
241
+ },
242
+ {
243
+ "type": "function",
244
+ "name": "cancel",
245
+ "inputs": [
246
+ {
247
+ "name": "",
248
+ "type": "bytes32",
249
+ "internalType": "bytes32"
250
+ }
251
+ ],
252
+ "outputs": [],
253
+ "stateMutability": "pure"
254
+ },
255
+ {
256
+ "type": "function",
257
+ "name": "cancelledAt",
258
+ "inputs": [
259
+ {
260
+ "name": "",
261
+ "type": "bytes32",
262
+ "internalType": "bytes32"
263
+ }
264
+ ],
265
+ "outputs": [
266
+ {
267
+ "name": "",
268
+ "type": "uint64",
269
+ "internalType": "uint64"
270
+ }
271
+ ],
272
+ "stateMutability": "view"
273
+ },
274
+ {
275
+ "type": "function",
276
+ "name": "claimCancellation",
277
+ "inputs": [
278
+ {
279
+ "name": "voucher",
280
+ "type": "tuple",
281
+ "internalType": "struct ITaskEscrow.AssignmentVoucher",
282
+ "components": [
283
+ {
284
+ "name": "taskId",
285
+ "type": "bytes32",
286
+ "internalType": "bytes32"
287
+ },
288
+ {
289
+ "name": "executor",
290
+ "type": "address",
291
+ "internalType": "address"
292
+ },
293
+ {
294
+ "name": "issuedAt",
295
+ "type": "uint64",
296
+ "internalType": "uint64"
297
+ },
298
+ {
299
+ "name": "expiresAt",
300
+ "type": "uint64",
301
+ "internalType": "uint64"
302
+ },
303
+ {
304
+ "name": "nonce",
305
+ "type": "uint256",
306
+ "internalType": "uint256"
307
+ },
308
+ {
309
+ "name": "signature",
310
+ "type": "bytes",
311
+ "internalType": "bytes"
312
+ }
313
+ ]
314
+ }
315
+ ],
316
+ "outputs": [],
317
+ "stateMutability": "nonpayable"
318
+ },
319
+ {
320
+ "type": "function",
321
+ "name": "claimExecutorShares",
322
+ "inputs": [
323
+ {
324
+ "name": "taskId",
325
+ "type": "bytes32",
326
+ "internalType": "bytes32"
327
+ },
328
+ {
329
+ "name": "claims",
330
+ "type": "tuple[]",
331
+ "internalType": "struct ITaskEscrow.ShareClaim[]",
332
+ "components": [
333
+ {
334
+ "name": "executor",
335
+ "type": "address",
336
+ "internalType": "address"
337
+ },
338
+ {
339
+ "name": "share",
340
+ "type": "uint256",
341
+ "internalType": "uint256"
342
+ },
343
+ {
344
+ "name": "proof",
345
+ "type": "bytes32[]",
346
+ "internalType": "bytes32[]"
347
+ }
348
+ ]
349
+ }
350
+ ],
351
+ "outputs": [
352
+ {
353
+ "name": "paid",
354
+ "type": "uint256",
355
+ "internalType": "uint256"
356
+ }
357
+ ],
358
+ "stateMutability": "nonpayable"
359
+ },
360
+ {
361
+ "type": "function",
362
+ "name": "claimTesterSeatsWithProof",
363
+ "inputs": [
364
+ {
365
+ "name": "claims",
366
+ "type": "tuple[]",
367
+ "internalType": "struct ITaskEscrow.SeatClaim[]",
368
+ "components": [
369
+ {
370
+ "name": "taskId",
371
+ "type": "bytes32",
372
+ "internalType": "bytes32"
373
+ },
374
+ {
375
+ "name": "hourId",
376
+ "type": "uint64",
377
+ "internalType": "uint64"
378
+ },
379
+ {
380
+ "name": "amount",
381
+ "type": "uint256",
382
+ "internalType": "uint256"
383
+ },
384
+ {
385
+ "name": "merkleProof",
386
+ "type": "bytes32[]",
387
+ "internalType": "bytes32[]"
388
+ }
389
+ ]
390
+ }
391
+ ],
392
+ "outputs": [
393
+ {
394
+ "name": "paid",
395
+ "type": "uint256",
396
+ "internalType": "uint256"
397
+ }
398
+ ],
399
+ "stateMutability": "nonpayable"
400
+ },
401
+ {
402
+ "type": "function",
403
+ "name": "createTask",
404
+ "inputs": [
405
+ {
406
+ "name": "args",
407
+ "type": "tuple",
408
+ "internalType": "struct ITaskEscrow.CreateTaskArgs",
409
+ "components": [
410
+ {
411
+ "name": "specHash",
412
+ "type": "bytes32",
413
+ "internalType": "bytes32"
414
+ },
415
+ {
416
+ "name": "startTier",
417
+ "type": "uint8",
418
+ "internalType": "enum ITaskEscrow.Tier"
419
+ },
420
+ {
421
+ "name": "maxTier",
422
+ "type": "uint8",
423
+ "internalType": "enum ITaskEscrow.Tier"
424
+ },
425
+ {
426
+ "name": "runDays",
427
+ "type": "uint16",
428
+ "internalType": "uint16"
429
+ },
430
+ {
431
+ "name": "allocationMode",
432
+ "type": "uint8",
433
+ "internalType": "enum ITaskEscrow.AllocationMode"
434
+ },
435
+ {
436
+ "name": "topK",
437
+ "type": "uint8",
438
+ "internalType": "uint8"
439
+ },
440
+ {
441
+ "name": "passingThreshold",
442
+ "type": "uint8",
443
+ "internalType": "uint8"
444
+ },
445
+ {
446
+ "name": "maxParticipants",
447
+ "type": "uint16",
448
+ "internalType": "uint16"
449
+ }
450
+ ]
451
+ }
452
+ ],
453
+ "outputs": [
454
+ {
455
+ "name": "taskId",
456
+ "type": "bytes32",
457
+ "internalType": "bytes32"
458
+ }
459
+ ],
460
+ "stateMutability": "nonpayable"
461
+ },
462
+ {
463
+ "type": "function",
464
+ "name": "createTaskFor",
465
+ "inputs": [
466
+ {
467
+ "name": "publisher",
468
+ "type": "address",
469
+ "internalType": "address"
470
+ },
471
+ {
472
+ "name": "args",
473
+ "type": "tuple",
474
+ "internalType": "struct ITaskEscrow.CreateTaskArgs",
475
+ "components": [
476
+ {
477
+ "name": "specHash",
478
+ "type": "bytes32",
479
+ "internalType": "bytes32"
480
+ },
481
+ {
482
+ "name": "startTier",
483
+ "type": "uint8",
484
+ "internalType": "enum ITaskEscrow.Tier"
485
+ },
486
+ {
487
+ "name": "maxTier",
488
+ "type": "uint8",
489
+ "internalType": "enum ITaskEscrow.Tier"
490
+ },
491
+ {
492
+ "name": "runDays",
493
+ "type": "uint16",
494
+ "internalType": "uint16"
495
+ },
496
+ {
497
+ "name": "allocationMode",
498
+ "type": "uint8",
499
+ "internalType": "enum ITaskEscrow.AllocationMode"
500
+ },
501
+ {
502
+ "name": "topK",
503
+ "type": "uint8",
504
+ "internalType": "uint8"
505
+ },
506
+ {
507
+ "name": "passingThreshold",
508
+ "type": "uint8",
509
+ "internalType": "uint8"
510
+ },
511
+ {
512
+ "name": "maxParticipants",
513
+ "type": "uint16",
514
+ "internalType": "uint16"
515
+ }
516
+ ]
517
+ }
518
+ ],
519
+ "outputs": [
520
+ {
521
+ "name": "taskId",
522
+ "type": "bytes32",
523
+ "internalType": "bytes32"
524
+ }
525
+ ],
526
+ "stateMutability": "nonpayable"
527
+ },
528
+ {
529
+ "type": "function",
530
+ "name": "disputeAmounts",
531
+ "inputs": [
532
+ {
533
+ "name": "taskId",
534
+ "type": "bytes32",
535
+ "internalType": "bytes32"
536
+ }
537
+ ],
538
+ "outputs": [
539
+ {
540
+ "name": "disputeValue",
541
+ "type": "uint256",
542
+ "internalType": "uint256"
543
+ },
544
+ {
545
+ "name": "appealFeeAmount",
546
+ "type": "uint256",
547
+ "internalType": "uint256"
548
+ }
549
+ ],
550
+ "stateMutability": "view"
551
+ },
552
+ {
553
+ "type": "function",
554
+ "name": "emissionController",
555
+ "inputs": [],
556
+ "outputs": [
557
+ {
558
+ "name": "",
559
+ "type": "address",
560
+ "internalType": "contract IEmissionController"
561
+ }
562
+ ],
563
+ "stateMutability": "view"
564
+ },
565
+ {
566
+ "type": "function",
567
+ "name": "executorShareClaimed",
568
+ "inputs": [
569
+ {
570
+ "name": "taskId",
571
+ "type": "bytes32",
572
+ "internalType": "bytes32"
573
+ },
574
+ {
575
+ "name": "executor",
576
+ "type": "address",
577
+ "internalType": "address"
578
+ }
579
+ ],
580
+ "outputs": [
581
+ {
582
+ "name": "",
583
+ "type": "bool",
584
+ "internalType": "bool"
585
+ }
586
+ ],
587
+ "stateMutability": "view"
588
+ },
589
+ {
590
+ "type": "function",
591
+ "name": "expireTask",
592
+ "inputs": [
593
+ {
594
+ "name": "taskId",
595
+ "type": "bytes32",
596
+ "internalType": "bytes32"
597
+ }
598
+ ],
599
+ "outputs": [],
600
+ "stateMutability": "nonpayable"
601
+ },
602
+ {
603
+ "type": "function",
604
+ "name": "finalizeCancellation",
605
+ "inputs": [
606
+ {
607
+ "name": "taskId",
608
+ "type": "bytes32",
609
+ "internalType": "bytes32"
610
+ }
611
+ ],
612
+ "outputs": [],
613
+ "stateMutability": "nonpayable"
614
+ },
615
+ {
616
+ "type": "function",
617
+ "name": "finalizeMaintenance",
618
+ "inputs": [
619
+ {
620
+ "name": "taskId",
621
+ "type": "bytes32",
622
+ "internalType": "bytes32"
623
+ }
624
+ ],
625
+ "outputs": [],
626
+ "stateMutability": "nonpayable"
627
+ },
628
+ {
629
+ "type": "function",
630
+ "name": "hourlyAnchor",
631
+ "inputs": [],
632
+ "outputs": [
633
+ {
634
+ "name": "",
635
+ "type": "address",
636
+ "internalType": "contract IHourlyAnchor"
637
+ }
638
+ ],
639
+ "stateMutability": "view"
640
+ },
641
+ {
642
+ "type": "function",
643
+ "name": "initialize",
644
+ "inputs": [],
645
+ "outputs": [],
646
+ "stateMutability": "nonpayable"
647
+ },
648
+ {
649
+ "type": "function",
650
+ "name": "lockedTierOf",
651
+ "inputs": [
652
+ {
653
+ "name": "taskId",
654
+ "type": "bytes32",
655
+ "internalType": "bytes32"
656
+ }
657
+ ],
658
+ "outputs": [
659
+ {
660
+ "name": "",
661
+ "type": "uint8",
662
+ "internalType": "enum ITaskEscrow.Tier"
663
+ }
664
+ ],
665
+ "stateMutability": "view"
666
+ },
667
+ {
668
+ "type": "function",
669
+ "name": "maintenanceOf",
670
+ "inputs": [
671
+ {
672
+ "name": "taskId",
673
+ "type": "bytes32",
674
+ "internalType": "bytes32"
675
+ }
676
+ ],
677
+ "outputs": [
678
+ {
679
+ "name": "executor",
680
+ "type": "address",
681
+ "internalType": "address"
682
+ },
683
+ {
684
+ "name": "disputeValue",
685
+ "type": "uint256",
686
+ "internalType": "uint256"
687
+ },
688
+ {
689
+ "name": "caseId",
690
+ "type": "bytes32",
691
+ "internalType": "bytes32"
692
+ },
693
+ {
694
+ "name": "maintenanceEnd",
695
+ "type": "uint64",
696
+ "internalType": "uint64"
697
+ },
698
+ {
699
+ "name": "finalized",
700
+ "type": "bool",
701
+ "internalType": "bool"
702
+ }
703
+ ],
704
+ "stateMutability": "view"
705
+ },
706
+ {
707
+ "type": "function",
708
+ "name": "nextTaskNonce",
709
+ "inputs": [],
710
+ "outputs": [
711
+ {
712
+ "name": "",
713
+ "type": "uint256",
714
+ "internalType": "uint256"
715
+ }
716
+ ],
717
+ "stateMutability": "view"
718
+ },
719
+ {
720
+ "type": "function",
721
+ "name": "onCourtRuling",
722
+ "inputs": [
723
+ {
724
+ "name": "taskId",
725
+ "type": "bytes32",
726
+ "internalType": "bytes32"
727
+ },
728
+ {
729
+ "name": "ruling",
730
+ "type": "uint8",
731
+ "internalType": "enum IArbitrationCourt.Ruling"
732
+ },
733
+ {
734
+ "name": "executorAwardBps",
735
+ "type": "uint16",
736
+ "internalType": "uint16"
737
+ }
738
+ ],
739
+ "outputs": [],
740
+ "stateMutability": "nonpayable"
741
+ },
742
+ {
743
+ "type": "function",
744
+ "name": "onMaintenanceDefect",
745
+ "inputs": [
746
+ {
747
+ "name": "taskId",
748
+ "type": "bytes32",
749
+ "internalType": "bytes32"
750
+ }
751
+ ],
752
+ "outputs": [
753
+ {
754
+ "name": "clawedBack",
755
+ "type": "uint256",
756
+ "internalType": "uint256"
757
+ }
758
+ ],
759
+ "stateMutability": "nonpayable"
760
+ },
761
+ {
762
+ "type": "function",
763
+ "name": "openAppeal",
764
+ "inputs": [
765
+ {
766
+ "name": "taskId",
767
+ "type": "bytes32",
768
+ "internalType": "bytes32"
769
+ },
770
+ {
771
+ "name": "reasonHash",
772
+ "type": "bytes32",
773
+ "internalType": "bytes32"
774
+ },
775
+ {
776
+ "name": "caseProof",
777
+ "type": "bytes",
778
+ "internalType": "bytes"
779
+ },
780
+ {
781
+ "name": "share",
782
+ "type": "uint256",
783
+ "internalType": "uint256"
784
+ },
785
+ {
786
+ "name": "proof",
787
+ "type": "bytes32[]",
788
+ "internalType": "bytes32[]"
789
+ }
790
+ ],
791
+ "outputs": [
792
+ {
793
+ "name": "caseId",
794
+ "type": "bytes32",
795
+ "internalType": "bytes32"
796
+ }
797
+ ],
798
+ "stateMutability": "nonpayable"
799
+ },
800
+ {
801
+ "type": "function",
802
+ "name": "openMaintenanceDispute",
803
+ "inputs": [
804
+ {
805
+ "name": "taskId",
806
+ "type": "bytes32",
807
+ "internalType": "bytes32"
808
+ },
809
+ {
810
+ "name": "reasonHash",
811
+ "type": "bytes32",
812
+ "internalType": "bytes32"
813
+ },
814
+ {
815
+ "name": "caseProof",
816
+ "type": "bytes",
817
+ "internalType": "bytes"
818
+ }
819
+ ],
820
+ "outputs": [
821
+ {
822
+ "name": "caseId",
823
+ "type": "bytes32",
824
+ "internalType": "bytes32"
825
+ }
826
+ ],
827
+ "stateMutability": "nonpayable"
828
+ },
829
+ {
830
+ "type": "function",
831
+ "name": "outcomeOf",
832
+ "inputs": [
833
+ {
834
+ "name": "taskId",
835
+ "type": "bytes32",
836
+ "internalType": "bytes32"
837
+ }
838
+ ],
839
+ "outputs": [
840
+ {
841
+ "name": "",
842
+ "type": "uint8",
843
+ "internalType": "enum ITaskEscrow.Outcome"
844
+ }
845
+ ],
846
+ "stateMutability": "view"
847
+ },
848
+ {
849
+ "type": "function",
850
+ "name": "params",
851
+ "inputs": [],
852
+ "outputs": [
853
+ {
854
+ "name": "",
855
+ "type": "address",
856
+ "internalType": "contract IParamRegistry"
857
+ }
858
+ ],
859
+ "stateMutability": "view"
860
+ },
861
+ {
862
+ "type": "function",
863
+ "name": "platformTreasury",
864
+ "inputs": [],
865
+ "outputs": [
866
+ {
867
+ "name": "",
868
+ "type": "address",
869
+ "internalType": "contract IPlatformTreasury"
870
+ }
871
+ ],
872
+ "stateMutability": "view"
873
+ },
874
+ {
875
+ "type": "function",
876
+ "name": "postResultRoot",
877
+ "inputs": [
878
+ {
879
+ "name": "proof",
880
+ "type": "tuple",
881
+ "internalType": "struct ITaskEscrow.SettlementProof",
882
+ "components": [
883
+ {
884
+ "name": "taskId",
885
+ "type": "bytes32",
886
+ "internalType": "bytes32"
887
+ },
888
+ {
889
+ "name": "lockedTier",
890
+ "type": "uint8",
891
+ "internalType": "enum ITaskEscrow.Tier"
892
+ },
893
+ {
894
+ "name": "lockedAt",
895
+ "type": "uint64",
896
+ "internalType": "uint64"
897
+ },
898
+ {
899
+ "name": "billedUntil",
900
+ "type": "uint64",
901
+ "internalType": "uint64"
902
+ },
903
+ {
904
+ "name": "deductionAgt",
905
+ "type": "uint256",
906
+ "internalType": "uint256"
907
+ },
908
+ {
909
+ "name": "executorPoolAgt",
910
+ "type": "uint256",
911
+ "internalType": "uint256"
912
+ },
913
+ {
914
+ "name": "testerPoolAgt",
915
+ "type": "uint256",
916
+ "internalType": "uint256"
917
+ },
918
+ {
919
+ "name": "reviewerPoolAgt",
920
+ "type": "uint256",
921
+ "internalType": "uint256"
922
+ },
923
+ {
924
+ "name": "platformAgt",
925
+ "type": "uint256",
926
+ "internalType": "uint256"
927
+ },
928
+ {
929
+ "name": "executorPoolPi",
930
+ "type": "uint256",
931
+ "internalType": "uint256"
932
+ },
933
+ {
934
+ "name": "hourId",
935
+ "type": "uint64",
936
+ "internalType": "uint64"
937
+ },
938
+ {
939
+ "name": "resultsHash",
940
+ "type": "bytes32",
941
+ "internalType": "bytes32"
942
+ },
943
+ {
944
+ "name": "nonce",
945
+ "type": "uint256",
946
+ "internalType": "uint256"
947
+ },
948
+ {
949
+ "name": "deadline",
950
+ "type": "uint64",
951
+ "internalType": "uint64"
952
+ },
953
+ {
954
+ "name": "signature",
955
+ "type": "bytes",
956
+ "internalType": "bytes"
957
+ }
958
+ ]
959
+ },
960
+ {
961
+ "name": "payees",
962
+ "type": "tuple",
963
+ "internalType": "struct ITaskEscrow.RootPayees",
964
+ "components": [
965
+ {
966
+ "name": "executorsRoot",
967
+ "type": "bytes32",
968
+ "internalType": "bytes32"
969
+ },
970
+ {
971
+ "name": "executorCount",
972
+ "type": "uint32",
973
+ "internalType": "uint32"
974
+ },
975
+ {
976
+ "name": "totalShares",
977
+ "type": "uint256",
978
+ "internalType": "uint256"
979
+ },
980
+ {
981
+ "name": "primaryExecutor",
982
+ "type": "address",
983
+ "internalType": "address"
984
+ },
985
+ {
986
+ "name": "testers",
987
+ "type": "address[]",
988
+ "internalType": "address[]"
989
+ },
990
+ {
991
+ "name": "reviewers",
992
+ "type": "address[]",
993
+ "internalType": "address[]"
994
+ }
995
+ ]
996
+ },
997
+ {
998
+ "name": "piProof",
999
+ "type": "tuple",
1000
+ "internalType": "struct ITaskEscrow.PiProof",
1001
+ "components": [
1002
+ {
1003
+ "name": "leaf",
1004
+ "type": "bytes32",
1005
+ "internalType": "bytes32"
1006
+ },
1007
+ {
1008
+ "name": "proof",
1009
+ "type": "bytes32[]",
1010
+ "internalType": "bytes32[]"
1011
+ }
1012
+ ]
1013
+ }
1014
+ ],
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable"
1017
+ },
1018
+ {
1019
+ "type": "function",
1020
+ "name": "protocolProof",
1021
+ "inputs": [],
1022
+ "outputs": [
1023
+ {
1024
+ "name": "",
1025
+ "type": "address",
1026
+ "internalType": "contract IProtocolProof"
1027
+ }
1028
+ ],
1029
+ "stateMutability": "view"
1030
+ },
1031
+ {
1032
+ "type": "function",
1033
+ "name": "proxiableUUID",
1034
+ "inputs": [],
1035
+ "outputs": [
1036
+ {
1037
+ "name": "",
1038
+ "type": "bytes32",
1039
+ "internalType": "bytes32"
1040
+ }
1041
+ ],
1042
+ "stateMutability": "view"
1043
+ },
1044
+ {
1045
+ "type": "function",
1046
+ "name": "publisherStaking",
1047
+ "inputs": [],
1048
+ "outputs": [
1049
+ {
1050
+ "name": "",
1051
+ "type": "address",
1052
+ "internalType": "contract IPublisherStaking"
1053
+ }
1054
+ ],
1055
+ "stateMutability": "view"
1056
+ },
1057
+ {
1058
+ "type": "function",
1059
+ "name": "resultPostedAt",
1060
+ "inputs": [
1061
+ {
1062
+ "name": "taskId",
1063
+ "type": "bytes32",
1064
+ "internalType": "bytes32"
1065
+ }
1066
+ ],
1067
+ "outputs": [
1068
+ {
1069
+ "name": "",
1070
+ "type": "uint64",
1071
+ "internalType": "uint64"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "view"
1075
+ },
1076
+ {
1077
+ "type": "function",
1078
+ "name": "rewardVesting",
1079
+ "inputs": [],
1080
+ "outputs": [
1081
+ {
1082
+ "name": "",
1083
+ "type": "address",
1084
+ "internalType": "contract IRewardVesting"
1085
+ }
1086
+ ],
1087
+ "stateMutability": "view"
1088
+ },
1089
+ {
1090
+ "type": "function",
1091
+ "name": "rootResultOf",
1092
+ "inputs": [
1093
+ {
1094
+ "name": "taskId",
1095
+ "type": "bytes32",
1096
+ "internalType": "bytes32"
1097
+ }
1098
+ ],
1099
+ "outputs": [
1100
+ {
1101
+ "name": "",
1102
+ "type": "tuple",
1103
+ "internalType": "struct ITaskEscrow.RootResult",
1104
+ "components": [
1105
+ {
1106
+ "name": "executorsRoot",
1107
+ "type": "bytes32",
1108
+ "internalType": "bytes32"
1109
+ },
1110
+ {
1111
+ "name": "primaryExecutor",
1112
+ "type": "address",
1113
+ "internalType": "address"
1114
+ },
1115
+ {
1116
+ "name": "executorCount",
1117
+ "type": "uint32",
1118
+ "internalType": "uint32"
1119
+ },
1120
+ {
1121
+ "name": "waiveCount",
1122
+ "type": "uint32",
1123
+ "internalType": "uint32"
1124
+ },
1125
+ {
1126
+ "name": "awardBps",
1127
+ "type": "uint16",
1128
+ "internalType": "uint16"
1129
+ },
1130
+ {
1131
+ "name": "settledAt",
1132
+ "type": "uint64",
1133
+ "internalType": "uint64"
1134
+ },
1135
+ {
1136
+ "name": "poolPi",
1137
+ "type": "uint256",
1138
+ "internalType": "uint256"
1139
+ }
1140
+ ]
1141
+ }
1142
+ ],
1143
+ "stateMutability": "view"
1144
+ },
1145
+ {
1146
+ "type": "function",
1147
+ "name": "settleNoSubmission",
1148
+ "inputs": [
1149
+ {
1150
+ "name": "proof",
1151
+ "type": "tuple",
1152
+ "internalType": "struct ITaskEscrow.SettlementProof",
1153
+ "components": [
1154
+ {
1155
+ "name": "taskId",
1156
+ "type": "bytes32",
1157
+ "internalType": "bytes32"
1158
+ },
1159
+ {
1160
+ "name": "lockedTier",
1161
+ "type": "uint8",
1162
+ "internalType": "enum ITaskEscrow.Tier"
1163
+ },
1164
+ {
1165
+ "name": "lockedAt",
1166
+ "type": "uint64",
1167
+ "internalType": "uint64"
1168
+ },
1169
+ {
1170
+ "name": "billedUntil",
1171
+ "type": "uint64",
1172
+ "internalType": "uint64"
1173
+ },
1174
+ {
1175
+ "name": "deductionAgt",
1176
+ "type": "uint256",
1177
+ "internalType": "uint256"
1178
+ },
1179
+ {
1180
+ "name": "executorPoolAgt",
1181
+ "type": "uint256",
1182
+ "internalType": "uint256"
1183
+ },
1184
+ {
1185
+ "name": "testerPoolAgt",
1186
+ "type": "uint256",
1187
+ "internalType": "uint256"
1188
+ },
1189
+ {
1190
+ "name": "reviewerPoolAgt",
1191
+ "type": "uint256",
1192
+ "internalType": "uint256"
1193
+ },
1194
+ {
1195
+ "name": "platformAgt",
1196
+ "type": "uint256",
1197
+ "internalType": "uint256"
1198
+ },
1199
+ {
1200
+ "name": "executorPoolPi",
1201
+ "type": "uint256",
1202
+ "internalType": "uint256"
1203
+ },
1204
+ {
1205
+ "name": "hourId",
1206
+ "type": "uint64",
1207
+ "internalType": "uint64"
1208
+ },
1209
+ {
1210
+ "name": "resultsHash",
1211
+ "type": "bytes32",
1212
+ "internalType": "bytes32"
1213
+ },
1214
+ {
1215
+ "name": "nonce",
1216
+ "type": "uint256",
1217
+ "internalType": "uint256"
1218
+ },
1219
+ {
1220
+ "name": "deadline",
1221
+ "type": "uint64",
1222
+ "internalType": "uint64"
1223
+ },
1224
+ {
1225
+ "name": "signature",
1226
+ "type": "bytes",
1227
+ "internalType": "bytes"
1228
+ }
1229
+ ]
1230
+ }
1231
+ ],
1232
+ "outputs": [],
1233
+ "stateMutability": "nonpayable"
1234
+ },
1235
+ {
1236
+ "type": "function",
1237
+ "name": "specHashOf",
1238
+ "inputs": [
1239
+ {
1240
+ "name": "taskId",
1241
+ "type": "bytes32",
1242
+ "internalType": "bytes32"
1243
+ }
1244
+ ],
1245
+ "outputs": [
1246
+ {
1247
+ "name": "",
1248
+ "type": "bytes32",
1249
+ "internalType": "bytes32"
1250
+ }
1251
+ ],
1252
+ "stateMutability": "view"
1253
+ },
1254
+ {
1255
+ "type": "function",
1256
+ "name": "statusOf",
1257
+ "inputs": [
1258
+ {
1259
+ "name": "taskId",
1260
+ "type": "bytes32",
1261
+ "internalType": "bytes32"
1262
+ }
1263
+ ],
1264
+ "outputs": [
1265
+ {
1266
+ "name": "",
1267
+ "type": "uint8",
1268
+ "internalType": "enum ITaskEscrow.Status"
1269
+ }
1270
+ ],
1271
+ "stateMutability": "view"
1272
+ },
1273
+ {
1274
+ "type": "function",
1275
+ "name": "taskDailyFeeWei",
1276
+ "inputs": [
1277
+ {
1278
+ "name": "taskId",
1279
+ "type": "bytes32",
1280
+ "internalType": "bytes32"
1281
+ },
1282
+ {
1283
+ "name": "tier",
1284
+ "type": "uint8",
1285
+ "internalType": "uint8"
1286
+ }
1287
+ ],
1288
+ "outputs": [
1289
+ {
1290
+ "name": "",
1291
+ "type": "uint256",
1292
+ "internalType": "uint256"
1293
+ }
1294
+ ],
1295
+ "stateMutability": "view"
1296
+ },
1297
+ {
1298
+ "type": "function",
1299
+ "name": "testerAssignment",
1300
+ "inputs": [],
1301
+ "outputs": [
1302
+ {
1303
+ "name": "",
1304
+ "type": "address",
1305
+ "internalType": "contract ITesterAssignment"
1306
+ }
1307
+ ],
1308
+ "stateMutability": "view"
1309
+ },
1310
+ {
1311
+ "type": "function",
1312
+ "name": "testerSeatClaimed",
1313
+ "inputs": [
1314
+ {
1315
+ "name": "taskId",
1316
+ "type": "bytes32",
1317
+ "internalType": "bytes32"
1318
+ },
1319
+ {
1320
+ "name": "tester",
1321
+ "type": "address",
1322
+ "internalType": "address"
1323
+ }
1324
+ ],
1325
+ "outputs": [
1326
+ {
1327
+ "name": "",
1328
+ "type": "uint256",
1329
+ "internalType": "uint256"
1330
+ }
1331
+ ],
1332
+ "stateMutability": "view"
1333
+ },
1334
+ {
1335
+ "type": "function",
1336
+ "name": "token",
1337
+ "inputs": [],
1338
+ "outputs": [
1339
+ {
1340
+ "name": "",
1341
+ "type": "address",
1342
+ "internalType": "contract IERC20"
1343
+ }
1344
+ ],
1345
+ "stateMutability": "view"
1346
+ },
1347
+ {
1348
+ "type": "function",
1349
+ "name": "totalAllocated",
1350
+ "inputs": [],
1351
+ "outputs": [
1352
+ {
1353
+ "name": "",
1354
+ "type": "uint256",
1355
+ "internalType": "uint256"
1356
+ }
1357
+ ],
1358
+ "stateMutability": "view"
1359
+ },
1360
+ {
1361
+ "type": "function",
1362
+ "name": "totalEscrowed",
1363
+ "inputs": [],
1364
+ "outputs": [
1365
+ {
1366
+ "name": "",
1367
+ "type": "uint256",
1368
+ "internalType": "uint256"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "view"
1372
+ },
1373
+ {
1374
+ "type": "function",
1375
+ "name": "unallocatedEscrow",
1376
+ "inputs": [],
1377
+ "outputs": [
1378
+ {
1379
+ "name": "",
1380
+ "type": "uint256",
1381
+ "internalType": "uint256"
1382
+ }
1383
+ ],
1384
+ "stateMutability": "view"
1385
+ },
1386
+ {
1387
+ "type": "function",
1388
+ "name": "upgradeToAndCall",
1389
+ "inputs": [
1390
+ {
1391
+ "name": "newImplementation",
1392
+ "type": "address",
1393
+ "internalType": "address"
1394
+ },
1395
+ {
1396
+ "name": "data",
1397
+ "type": "bytes",
1398
+ "internalType": "bytes"
1399
+ }
1400
+ ],
1401
+ "outputs": [],
1402
+ "stateMutability": "payable"
1403
+ },
1404
+ {
1405
+ "type": "function",
1406
+ "name": "validatorStaking",
1407
+ "inputs": [],
1408
+ "outputs": [
1409
+ {
1410
+ "name": "",
1411
+ "type": "address",
1412
+ "internalType": "contract IValidatorStaking"
1413
+ }
1414
+ ],
1415
+ "stateMutability": "view"
1416
+ },
1417
+ {
1418
+ "type": "function",
1419
+ "name": "waiveAppeal",
1420
+ "inputs": [
1421
+ {
1422
+ "name": "taskId",
1423
+ "type": "bytes32",
1424
+ "internalType": "bytes32"
1425
+ },
1426
+ {
1427
+ "name": "share",
1428
+ "type": "uint256",
1429
+ "internalType": "uint256"
1430
+ },
1431
+ {
1432
+ "name": "proof",
1433
+ "type": "bytes32[]",
1434
+ "internalType": "bytes32[]"
1435
+ }
1436
+ ],
1437
+ "outputs": [],
1438
+ "stateMutability": "nonpayable"
1439
+ },
1440
+ {
1441
+ "type": "event",
1442
+ "name": "AppealOpened",
1443
+ "inputs": [
1444
+ {
1445
+ "name": "taskId",
1446
+ "type": "bytes32",
1447
+ "indexed": true,
1448
+ "internalType": "bytes32"
1449
+ },
1450
+ {
1451
+ "name": "caseId",
1452
+ "type": "bytes32",
1453
+ "indexed": true,
1454
+ "internalType": "bytes32"
1455
+ },
1456
+ {
1457
+ "name": "reasonHash",
1458
+ "type": "bytes32",
1459
+ "indexed": true,
1460
+ "internalType": "bytes32"
1461
+ },
1462
+ {
1463
+ "name": "appealFee",
1464
+ "type": "uint256",
1465
+ "indexed": false,
1466
+ "internalType": "uint256"
1467
+ }
1468
+ ],
1469
+ "anonymous": false
1470
+ },
1471
+ {
1472
+ "type": "event",
1473
+ "name": "AppealWaived",
1474
+ "inputs": [
1475
+ {
1476
+ "name": "taskId",
1477
+ "type": "bytes32",
1478
+ "indexed": true,
1479
+ "internalType": "bytes32"
1480
+ },
1481
+ {
1482
+ "name": "executor",
1483
+ "type": "address",
1484
+ "indexed": true,
1485
+ "internalType": "address"
1486
+ }
1487
+ ],
1488
+ "anonymous": false
1489
+ },
1490
+ {
1491
+ "type": "event",
1492
+ "name": "ArbitrationSharePaid",
1493
+ "inputs": [
1494
+ {
1495
+ "name": "taskId",
1496
+ "type": "bytes32",
1497
+ "indexed": true,
1498
+ "internalType": "bytes32"
1499
+ },
1500
+ {
1501
+ "name": "caseId",
1502
+ "type": "bytes32",
1503
+ "indexed": true,
1504
+ "internalType": "bytes32"
1505
+ },
1506
+ {
1507
+ "name": "amount",
1508
+ "type": "uint256",
1509
+ "indexed": false,
1510
+ "internalType": "uint256"
1511
+ }
1512
+ ],
1513
+ "anonymous": false
1514
+ },
1515
+ {
1516
+ "type": "event",
1517
+ "name": "BilledVolumeRecorded",
1518
+ "inputs": [
1519
+ {
1520
+ "name": "taskId",
1521
+ "type": "bytes32",
1522
+ "indexed": true,
1523
+ "internalType": "bytes32"
1524
+ },
1525
+ {
1526
+ "name": "epoch",
1527
+ "type": "uint64",
1528
+ "indexed": true,
1529
+ "internalType": "uint64"
1530
+ },
1531
+ {
1532
+ "name": "amount",
1533
+ "type": "uint256",
1534
+ "indexed": false,
1535
+ "internalType": "uint256"
1536
+ }
1537
+ ],
1538
+ "anonymous": false
1539
+ },
1540
+ {
1541
+ "type": "event",
1542
+ "name": "CancellationClaimWindowOpened",
1543
+ "inputs": [
1544
+ {
1545
+ "name": "taskId",
1546
+ "type": "bytes32",
1547
+ "indexed": true,
1548
+ "internalType": "bytes32"
1549
+ },
1550
+ {
1551
+ "name": "claimDeadline",
1552
+ "type": "uint64",
1553
+ "indexed": false,
1554
+ "internalType": "uint64"
1555
+ }
1556
+ ],
1557
+ "anonymous": false
1558
+ },
1559
+ {
1560
+ "type": "event",
1561
+ "name": "CancellationCompensationClaimed",
1562
+ "inputs": [
1563
+ {
1564
+ "name": "taskId",
1565
+ "type": "bytes32",
1566
+ "indexed": true,
1567
+ "internalType": "bytes32"
1568
+ },
1569
+ {
1570
+ "name": "executor",
1571
+ "type": "address",
1572
+ "indexed": true,
1573
+ "internalType": "address"
1574
+ },
1575
+ {
1576
+ "name": "nonce",
1577
+ "type": "uint256",
1578
+ "indexed": false,
1579
+ "internalType": "uint256"
1580
+ }
1581
+ ],
1582
+ "anonymous": false
1583
+ },
1584
+ {
1585
+ "type": "event",
1586
+ "name": "CancellationFinalized",
1587
+ "inputs": [
1588
+ {
1589
+ "name": "taskId",
1590
+ "type": "bytes32",
1591
+ "indexed": true,
1592
+ "internalType": "bytes32"
1593
+ },
1594
+ {
1595
+ "name": "refund",
1596
+ "type": "uint256",
1597
+ "indexed": false,
1598
+ "internalType": "uint256"
1599
+ }
1600
+ ],
1601
+ "anonymous": false
1602
+ },
1603
+ {
1604
+ "type": "event",
1605
+ "name": "ExecutorMiningSettled",
1606
+ "inputs": [
1607
+ {
1608
+ "name": "taskId",
1609
+ "type": "bytes32",
1610
+ "indexed": true,
1611
+ "internalType": "bytes32"
1612
+ },
1613
+ {
1614
+ "name": "poolPi",
1615
+ "type": "uint256",
1616
+ "indexed": false,
1617
+ "internalType": "uint256"
1618
+ },
1619
+ {
1620
+ "name": "vested",
1621
+ "type": "uint256",
1622
+ "indexed": false,
1623
+ "internalType": "uint256"
1624
+ },
1625
+ {
1626
+ "name": "burned",
1627
+ "type": "uint256",
1628
+ "indexed": false,
1629
+ "internalType": "uint256"
1630
+ },
1631
+ {
1632
+ "name": "awardBps",
1633
+ "type": "uint16",
1634
+ "indexed": false,
1635
+ "internalType": "uint16"
1636
+ }
1637
+ ],
1638
+ "anonymous": false
1639
+ },
1640
+ {
1641
+ "type": "event",
1642
+ "name": "ExecutorShareClaimed",
1643
+ "inputs": [
1644
+ {
1645
+ "name": "taskId",
1646
+ "type": "bytes32",
1647
+ "indexed": true,
1648
+ "internalType": "bytes32"
1649
+ },
1650
+ {
1651
+ "name": "executor",
1652
+ "type": "address",
1653
+ "indexed": true,
1654
+ "internalType": "address"
1655
+ },
1656
+ {
1657
+ "name": "amount",
1658
+ "type": "uint256",
1659
+ "indexed": false,
1660
+ "internalType": "uint256"
1661
+ },
1662
+ {
1663
+ "name": "burned",
1664
+ "type": "bool",
1665
+ "indexed": false,
1666
+ "internalType": "bool"
1667
+ }
1668
+ ],
1669
+ "anonymous": false
1670
+ },
1671
+ {
1672
+ "type": "event",
1673
+ "name": "Initialized",
1674
+ "inputs": [
1675
+ {
1676
+ "name": "version",
1677
+ "type": "uint64",
1678
+ "indexed": false,
1679
+ "internalType": "uint64"
1680
+ }
1681
+ ],
1682
+ "anonymous": false
1683
+ },
1684
+ {
1685
+ "type": "event",
1686
+ "name": "MaintenanceDefectResolved",
1687
+ "inputs": [
1688
+ {
1689
+ "name": "taskId",
1690
+ "type": "bytes32",
1691
+ "indexed": true,
1692
+ "internalType": "bytes32"
1693
+ },
1694
+ {
1695
+ "name": "burned",
1696
+ "type": "uint256",
1697
+ "indexed": false,
1698
+ "internalType": "uint256"
1699
+ }
1700
+ ],
1701
+ "anonymous": false
1702
+ },
1703
+ {
1704
+ "type": "event",
1705
+ "name": "MaintenanceDisputeOpened",
1706
+ "inputs": [
1707
+ {
1708
+ "name": "taskId",
1709
+ "type": "bytes32",
1710
+ "indexed": true,
1711
+ "internalType": "bytes32"
1712
+ },
1713
+ {
1714
+ "name": "caseId",
1715
+ "type": "bytes32",
1716
+ "indexed": true,
1717
+ "internalType": "bytes32"
1718
+ },
1719
+ {
1720
+ "name": "reasonHash",
1721
+ "type": "bytes32",
1722
+ "indexed": true,
1723
+ "internalType": "bytes32"
1724
+ }
1725
+ ],
1726
+ "anonymous": false
1727
+ },
1728
+ {
1729
+ "type": "event",
1730
+ "name": "MaintenanceFinalized",
1731
+ "inputs": [
1732
+ {
1733
+ "name": "taskId",
1734
+ "type": "bytes32",
1735
+ "indexed": true,
1736
+ "internalType": "bytes32"
1737
+ }
1738
+ ],
1739
+ "anonymous": false
1740
+ },
1741
+ {
1742
+ "type": "event",
1743
+ "name": "ResultPosted",
1744
+ "inputs": [
1745
+ {
1746
+ "name": "taskId",
1747
+ "type": "bytes32",
1748
+ "indexed": true,
1749
+ "internalType": "bytes32"
1750
+ },
1751
+ {
1752
+ "name": "resultsHash",
1753
+ "type": "bytes32",
1754
+ "indexed": true,
1755
+ "internalType": "bytes32"
1756
+ },
1757
+ {
1758
+ "name": "reviewDeadline",
1759
+ "type": "uint64",
1760
+ "indexed": false,
1761
+ "internalType": "uint64"
1762
+ },
1763
+ {
1764
+ "name": "appealDeadline",
1765
+ "type": "uint64",
1766
+ "indexed": false,
1767
+ "internalType": "uint64"
1768
+ }
1769
+ ],
1770
+ "anonymous": false
1771
+ },
1772
+ {
1773
+ "type": "event",
1774
+ "name": "TaskCancelled",
1775
+ "inputs": [
1776
+ {
1777
+ "name": "taskId",
1778
+ "type": "bytes32",
1779
+ "indexed": true,
1780
+ "internalType": "bytes32"
1781
+ },
1782
+ {
1783
+ "name": "outcome",
1784
+ "type": "uint8",
1785
+ "indexed": false,
1786
+ "internalType": "enum ITaskEscrow.Outcome"
1787
+ }
1788
+ ],
1789
+ "anonymous": false
1790
+ },
1791
+ {
1792
+ "type": "event",
1793
+ "name": "TaskCreated",
1794
+ "inputs": [
1795
+ {
1796
+ "name": "taskId",
1797
+ "type": "bytes32",
1798
+ "indexed": true,
1799
+ "internalType": "bytes32"
1800
+ },
1801
+ {
1802
+ "name": "publisher",
1803
+ "type": "address",
1804
+ "indexed": true,
1805
+ "internalType": "address"
1806
+ },
1807
+ {
1808
+ "name": "specHash",
1809
+ "type": "bytes32",
1810
+ "indexed": true,
1811
+ "internalType": "bytes32"
1812
+ },
1813
+ {
1814
+ "name": "reserveAgt",
1815
+ "type": "uint256",
1816
+ "indexed": false,
1817
+ "internalType": "uint256"
1818
+ },
1819
+ {
1820
+ "name": "startTier",
1821
+ "type": "uint8",
1822
+ "indexed": false,
1823
+ "internalType": "enum ITaskEscrow.Tier"
1824
+ },
1825
+ {
1826
+ "name": "maxTier",
1827
+ "type": "uint8",
1828
+ "indexed": false,
1829
+ "internalType": "enum ITaskEscrow.Tier"
1830
+ },
1831
+ {
1832
+ "name": "runDays",
1833
+ "type": "uint16",
1834
+ "indexed": false,
1835
+ "internalType": "uint16"
1836
+ },
1837
+ {
1838
+ "name": "allocationMode",
1839
+ "type": "uint8",
1840
+ "indexed": false,
1841
+ "internalType": "enum ITaskEscrow.AllocationMode"
1842
+ },
1843
+ {
1844
+ "name": "maxParticipants",
1845
+ "type": "uint16",
1846
+ "indexed": false,
1847
+ "internalType": "uint16"
1848
+ }
1849
+ ],
1850
+ "anonymous": false
1851
+ },
1852
+ {
1853
+ "type": "event",
1854
+ "name": "TaskPoolBurned",
1855
+ "inputs": [
1856
+ {
1857
+ "name": "taskId",
1858
+ "type": "bytes32",
1859
+ "indexed": true,
1860
+ "internalType": "bytes32"
1861
+ },
1862
+ {
1863
+ "name": "hourId",
1864
+ "type": "uint64",
1865
+ "indexed": true,
1866
+ "internalType": "uint64"
1867
+ },
1868
+ {
1869
+ "name": "amount",
1870
+ "type": "uint256",
1871
+ "indexed": false,
1872
+ "internalType": "uint256"
1873
+ },
1874
+ {
1875
+ "name": "cumulativePi",
1876
+ "type": "uint256",
1877
+ "indexed": false,
1878
+ "internalType": "uint256"
1879
+ }
1880
+ ],
1881
+ "anonymous": false
1882
+ },
1883
+ {
1884
+ "type": "event",
1885
+ "name": "TaskSettled",
1886
+ "inputs": [
1887
+ {
1888
+ "name": "taskId",
1889
+ "type": "bytes32",
1890
+ "indexed": true,
1891
+ "internalType": "bytes32"
1892
+ },
1893
+ {
1894
+ "name": "outcome",
1895
+ "type": "uint8",
1896
+ "indexed": false,
1897
+ "internalType": "enum ITaskEscrow.Outcome"
1898
+ },
1899
+ {
1900
+ "name": "deductionAgt",
1901
+ "type": "uint256",
1902
+ "indexed": false,
1903
+ "internalType": "uint256"
1904
+ },
1905
+ {
1906
+ "name": "publisherRefund",
1907
+ "type": "uint256",
1908
+ "indexed": false,
1909
+ "internalType": "uint256"
1910
+ },
1911
+ {
1912
+ "name": "executorPoolPi",
1913
+ "type": "uint256",
1914
+ "indexed": false,
1915
+ "internalType": "uint256"
1916
+ },
1917
+ {
1918
+ "name": "testerMiningPaid",
1919
+ "type": "uint256",
1920
+ "indexed": false,
1921
+ "internalType": "uint256"
1922
+ },
1923
+ {
1924
+ "name": "platformAmount",
1925
+ "type": "uint256",
1926
+ "indexed": false,
1927
+ "internalType": "uint256"
1928
+ }
1929
+ ],
1930
+ "anonymous": false
1931
+ },
1932
+ {
1933
+ "type": "event",
1934
+ "name": "TaskSpecAmended",
1935
+ "inputs": [
1936
+ {
1937
+ "name": "taskId",
1938
+ "type": "bytes32",
1939
+ "indexed": true,
1940
+ "internalType": "bytes32"
1941
+ },
1942
+ {
1943
+ "name": "previousSpecHash",
1944
+ "type": "bytes32",
1945
+ "indexed": true,
1946
+ "internalType": "bytes32"
1947
+ },
1948
+ {
1949
+ "name": "newSpecHash",
1950
+ "type": "bytes32",
1951
+ "indexed": true,
1952
+ "internalType": "bytes32"
1953
+ },
1954
+ {
1955
+ "name": "amendedAt",
1956
+ "type": "uint64",
1957
+ "indexed": false,
1958
+ "internalType": "uint64"
1959
+ }
1960
+ ],
1961
+ "anonymous": false
1962
+ },
1963
+ {
1964
+ "type": "event",
1965
+ "name": "TesterSeatClaimed",
1966
+ "inputs": [
1967
+ {
1968
+ "name": "taskId",
1969
+ "type": "bytes32",
1970
+ "indexed": true,
1971
+ "internalType": "bytes32"
1972
+ },
1973
+ {
1974
+ "name": "tester",
1975
+ "type": "address",
1976
+ "indexed": true,
1977
+ "internalType": "address"
1978
+ },
1979
+ {
1980
+ "name": "amount",
1981
+ "type": "uint256",
1982
+ "indexed": false,
1983
+ "internalType": "uint256"
1984
+ }
1985
+ ],
1986
+ "anonymous": false
1987
+ },
1988
+ {
1989
+ "type": "event",
1990
+ "name": "Upgraded",
1991
+ "inputs": [
1992
+ {
1993
+ "name": "implementation",
1994
+ "type": "address",
1995
+ "indexed": true,
1996
+ "internalType": "address"
1997
+ }
1998
+ ],
1999
+ "anonymous": false
2000
+ },
2001
+ {
2002
+ "type": "error",
2003
+ "name": "AddressEmptyCode",
2004
+ "inputs": [
2005
+ {
2006
+ "name": "target",
2007
+ "type": "address",
2008
+ "internalType": "address"
2009
+ }
2010
+ ]
2011
+ },
2012
+ {
2013
+ "type": "error",
2014
+ "name": "AddressInsufficientBalance",
2015
+ "inputs": [
2016
+ {
2017
+ "name": "account",
2018
+ "type": "address",
2019
+ "internalType": "address"
2020
+ }
2021
+ ]
2022
+ },
2023
+ {
2024
+ "type": "error",
2025
+ "name": "AlreadyWaived",
2026
+ "inputs": []
2027
+ },
2028
+ {
2029
+ "type": "error",
2030
+ "name": "AppealWindowClosed",
2031
+ "inputs": []
2032
+ },
2033
+ {
2034
+ "type": "error",
2035
+ "name": "AppealWindowOpen",
2036
+ "inputs": []
2037
+ },
2038
+ {
2039
+ "type": "error",
2040
+ "name": "ArbitrationCapacityInsufficient",
2041
+ "inputs": [
2042
+ {
2043
+ "name": "disputeValue",
2044
+ "type": "uint256",
2045
+ "internalType": "uint256"
2046
+ },
2047
+ {
2048
+ "name": "maximum",
2049
+ "type": "uint256",
2050
+ "internalType": "uint256"
2051
+ }
2052
+ ]
2053
+ },
2054
+ {
2055
+ "type": "error",
2056
+ "name": "CancellationDisabled",
2057
+ "inputs": []
2058
+ },
2059
+ {
2060
+ "type": "error",
2061
+ "name": "CourtUnavailable",
2062
+ "inputs": []
2063
+ },
2064
+ {
2065
+ "type": "error",
2066
+ "name": "DeadlineExpired",
2067
+ "inputs": []
2068
+ },
2069
+ {
2070
+ "type": "error",
2071
+ "name": "ERC1967InvalidImplementation",
2072
+ "inputs": [
2073
+ {
2074
+ "name": "implementation",
2075
+ "type": "address",
2076
+ "internalType": "address"
2077
+ }
2078
+ ]
2079
+ },
2080
+ {
2081
+ "type": "error",
2082
+ "name": "ERC1967NonPayable",
2083
+ "inputs": []
2084
+ },
2085
+ {
2086
+ "type": "error",
2087
+ "name": "EscrowMismatch",
2088
+ "inputs": []
2089
+ },
2090
+ {
2091
+ "type": "error",
2092
+ "name": "FailedInnerCall",
2093
+ "inputs": []
2094
+ },
2095
+ {
2096
+ "type": "error",
2097
+ "name": "InvalidAddress",
2098
+ "inputs": []
2099
+ },
2100
+ {
2101
+ "type": "error",
2102
+ "name": "InvalidAmount",
2103
+ "inputs": []
2104
+ },
2105
+ {
2106
+ "type": "error",
2107
+ "name": "InvalidInitialization",
2108
+ "inputs": []
2109
+ },
2110
+ {
2111
+ "type": "error",
2112
+ "name": "InvalidRuling",
2113
+ "inputs": []
2114
+ },
2115
+ {
2116
+ "type": "error",
2117
+ "name": "InvalidSeatProof",
2118
+ "inputs": []
2119
+ },
2120
+ {
2121
+ "type": "error",
2122
+ "name": "InvalidShareProof",
2123
+ "inputs": []
2124
+ },
2125
+ {
2126
+ "type": "error",
2127
+ "name": "InvalidSpecHash",
2128
+ "inputs": []
2129
+ },
2130
+ {
2131
+ "type": "error",
2132
+ "name": "InvalidTransition",
2133
+ "inputs": []
2134
+ },
2135
+ {
2136
+ "type": "error",
2137
+ "name": "NotInitializing",
2138
+ "inputs": []
2139
+ },
2140
+ {
2141
+ "type": "error",
2142
+ "name": "NotPostedExecutor",
2143
+ "inputs": []
2144
+ },
2145
+ {
2146
+ "type": "error",
2147
+ "name": "NothingToClaim",
2148
+ "inputs": []
2149
+ },
2150
+ {
2151
+ "type": "error",
2152
+ "name": "ReentrancyGuardReentrantCall",
2153
+ "inputs": []
2154
+ },
2155
+ {
2156
+ "type": "error",
2157
+ "name": "ReviewNotExpired",
2158
+ "inputs": []
2159
+ },
2160
+ {
2161
+ "type": "error",
2162
+ "name": "SafeERC20FailedOperation",
2163
+ "inputs": [
2164
+ {
2165
+ "name": "token",
2166
+ "type": "address",
2167
+ "internalType": "address"
2168
+ }
2169
+ ]
2170
+ },
2171
+ {
2172
+ "type": "error",
2173
+ "name": "SpecAlreadyAmended",
2174
+ "inputs": []
2175
+ },
2176
+ {
2177
+ "type": "error",
2178
+ "name": "TesterSeatUnavailable",
2179
+ "inputs": []
2180
+ },
2181
+ {
2182
+ "type": "error",
2183
+ "name": "UUPSUnauthorizedCallContext",
2184
+ "inputs": []
2185
+ },
2186
+ {
2187
+ "type": "error",
2188
+ "name": "UUPSUnsupportedProxiableUUID",
2189
+ "inputs": [
2190
+ {
2191
+ "name": "slot",
2192
+ "type": "bytes32",
2193
+ "internalType": "bytes32"
2194
+ }
2195
+ ]
2196
+ },
2197
+ {
2198
+ "type": "error",
2199
+ "name": "Unauthorized",
2200
+ "inputs": [
2201
+ {
2202
+ "name": "caller",
2203
+ "type": "address",
2204
+ "internalType": "address"
2205
+ }
2206
+ ]
2207
+ },
2208
+ {
2209
+ "type": "error",
2210
+ "name": "UpgradeUnauthorized",
2211
+ "inputs": [
2212
+ {
2213
+ "name": "caller",
2214
+ "type": "address",
2215
+ "internalType": "address"
2216
+ }
2217
+ ]
2218
+ }
2219
+ ];
2220
+ //# sourceMappingURL=TaskEscrow.js.map