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