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