@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,1437 @@
1
+ export const emissionControllerAbi = [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "config",
7
+ "type": "tuple",
8
+ "internalType": "struct EmissionController.ConstructorConfig",
9
+ "components": [
10
+ {
11
+ "name": "token",
12
+ "type": "address",
13
+ "internalType": "contract IERC20"
14
+ },
15
+ {
16
+ "name": "params",
17
+ "type": "address",
18
+ "internalType": "contract IParamRegistry"
19
+ },
20
+ {
21
+ "name": "vault",
22
+ "type": "address",
23
+ "internalType": "contract IncentiveVault"
24
+ },
25
+ {
26
+ "name": "protocolProof",
27
+ "type": "address",
28
+ "internalType": "contract IProtocolProof"
29
+ },
30
+ {
31
+ "name": "platformTreasury",
32
+ "type": "address",
33
+ "internalType": "contract IPlatformTreasury"
34
+ },
35
+ {
36
+ "name": "arbitrationStream",
37
+ "type": "address",
38
+ "internalType": "contract IArbitrationStream"
39
+ }
40
+ ]
41
+ }
42
+ ],
43
+ "stateMutability": "nonpayable"
44
+ },
45
+ {
46
+ "type": "function",
47
+ "name": "BURN_ADDRESS",
48
+ "inputs": [],
49
+ "outputs": [
50
+ {
51
+ "name": "",
52
+ "type": "address",
53
+ "internalType": "address"
54
+ }
55
+ ],
56
+ "stateMutability": "view"
57
+ },
58
+ {
59
+ "type": "function",
60
+ "name": "DEFAULT_ADMIN_ROLE",
61
+ "inputs": [],
62
+ "outputs": [
63
+ {
64
+ "name": "",
65
+ "type": "bytes32",
66
+ "internalType": "bytes32"
67
+ }
68
+ ],
69
+ "stateMutability": "view"
70
+ },
71
+ {
72
+ "type": "function",
73
+ "name": "ESCROW_ROLE",
74
+ "inputs": [],
75
+ "outputs": [
76
+ {
77
+ "name": "",
78
+ "type": "bytes32",
79
+ "internalType": "bytes32"
80
+ }
81
+ ],
82
+ "stateMutability": "view"
83
+ },
84
+ {
85
+ "type": "function",
86
+ "name": "GOVERNANCE_ROLE",
87
+ "inputs": [],
88
+ "outputs": [
89
+ {
90
+ "name": "",
91
+ "type": "bytes32",
92
+ "internalType": "bytes32"
93
+ }
94
+ ],
95
+ "stateMutability": "view"
96
+ },
97
+ {
98
+ "type": "function",
99
+ "name": "HOUR",
100
+ "inputs": [],
101
+ "outputs": [
102
+ {
103
+ "name": "",
104
+ "type": "uint256",
105
+ "internalType": "uint256"
106
+ }
107
+ ],
108
+ "stateMutability": "view"
109
+ },
110
+ {
111
+ "type": "function",
112
+ "name": "MAX_BATCH_HOURS",
113
+ "inputs": [],
114
+ "outputs": [
115
+ {
116
+ "name": "",
117
+ "type": "uint256",
118
+ "internalType": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view"
122
+ },
123
+ {
124
+ "type": "function",
125
+ "name": "UPGRADER_ROLE",
126
+ "inputs": [],
127
+ "outputs": [
128
+ {
129
+ "name": "",
130
+ "type": "bytes32",
131
+ "internalType": "bytes32"
132
+ }
133
+ ],
134
+ "stateMutability": "view"
135
+ },
136
+ {
137
+ "type": "function",
138
+ "name": "UPGRADE_INTERFACE_VERSION",
139
+ "inputs": [],
140
+ "outputs": [
141
+ {
142
+ "name": "",
143
+ "type": "string",
144
+ "internalType": "string"
145
+ }
146
+ ],
147
+ "stateMutability": "view"
148
+ },
149
+ {
150
+ "type": "function",
151
+ "name": "arbitrationEmitted",
152
+ "inputs": [
153
+ {
154
+ "name": "from",
155
+ "type": "uint64",
156
+ "internalType": "uint64"
157
+ },
158
+ {
159
+ "name": "to",
160
+ "type": "uint64",
161
+ "internalType": "uint64"
162
+ }
163
+ ],
164
+ "outputs": [
165
+ {
166
+ "name": "",
167
+ "type": "uint256",
168
+ "internalType": "uint256"
169
+ }
170
+ ],
171
+ "stateMutability": "view"
172
+ },
173
+ {
174
+ "type": "function",
175
+ "name": "arbitrationReleased",
176
+ "inputs": [],
177
+ "outputs": [
178
+ {
179
+ "name": "",
180
+ "type": "uint256",
181
+ "internalType": "uint256"
182
+ }
183
+ ],
184
+ "stateMutability": "view"
185
+ },
186
+ {
187
+ "type": "function",
188
+ "name": "arbitrationScheduled",
189
+ "inputs": [
190
+ {
191
+ "name": "from",
192
+ "type": "uint64",
193
+ "internalType": "uint64"
194
+ },
195
+ {
196
+ "name": "to",
197
+ "type": "uint64",
198
+ "internalType": "uint64"
199
+ }
200
+ ],
201
+ "outputs": [
202
+ {
203
+ "name": "",
204
+ "type": "uint256",
205
+ "internalType": "uint256"
206
+ }
207
+ ],
208
+ "stateMutability": "view"
209
+ },
210
+ {
211
+ "type": "function",
212
+ "name": "arbitrationStream",
213
+ "inputs": [],
214
+ "outputs": [
215
+ {
216
+ "name": "",
217
+ "type": "address",
218
+ "internalType": "contract IArbitrationStream"
219
+ }
220
+ ],
221
+ "stateMutability": "view"
222
+ },
223
+ {
224
+ "type": "function",
225
+ "name": "cumulativeReleased",
226
+ "inputs": [
227
+ {
228
+ "name": "t",
229
+ "type": "uint64",
230
+ "internalType": "uint64"
231
+ }
232
+ ],
233
+ "outputs": [
234
+ {
235
+ "name": "",
236
+ "type": "uint256",
237
+ "internalType": "uint256"
238
+ }
239
+ ],
240
+ "stateMutability": "view"
241
+ },
242
+ {
243
+ "type": "function",
244
+ "name": "cumulativeShares",
245
+ "inputs": [
246
+ {
247
+ "name": "t",
248
+ "type": "uint64",
249
+ "internalType": "uint64"
250
+ }
251
+ ],
252
+ "outputs": [
253
+ {
254
+ "name": "released",
255
+ "type": "uint256",
256
+ "internalType": "uint256"
257
+ },
258
+ {
259
+ "name": "platform",
260
+ "type": "uint256",
261
+ "internalType": "uint256"
262
+ },
263
+ {
264
+ "name": "exec",
265
+ "type": "uint256",
266
+ "internalType": "uint256"
267
+ },
268
+ {
269
+ "name": "test",
270
+ "type": "uint256",
271
+ "internalType": "uint256"
272
+ },
273
+ {
274
+ "name": "arb",
275
+ "type": "uint256",
276
+ "internalType": "uint256"
277
+ }
278
+ ],
279
+ "stateMutability": "view"
280
+ },
281
+ {
282
+ "type": "function",
283
+ "name": "execBps",
284
+ "inputs": [],
285
+ "outputs": [
286
+ {
287
+ "name": "",
288
+ "type": "uint16",
289
+ "internalType": "uint16"
290
+ }
291
+ ],
292
+ "stateMutability": "view"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "executorEscrowBalance",
297
+ "inputs": [],
298
+ "outputs": [
299
+ {
300
+ "name": "",
301
+ "type": "uint256",
302
+ "internalType": "uint256"
303
+ }
304
+ ],
305
+ "stateMutability": "view"
306
+ },
307
+ {
308
+ "type": "function",
309
+ "name": "getRoleAdmin",
310
+ "inputs": [
311
+ {
312
+ "name": "role",
313
+ "type": "bytes32",
314
+ "internalType": "bytes32"
315
+ }
316
+ ],
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "type": "bytes32",
321
+ "internalType": "bytes32"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "grantRole",
329
+ "inputs": [
330
+ {
331
+ "name": "role",
332
+ "type": "bytes32",
333
+ "internalType": "bytes32"
334
+ },
335
+ {
336
+ "name": "account",
337
+ "type": "address",
338
+ "internalType": "address"
339
+ }
340
+ ],
341
+ "outputs": [],
342
+ "stateMutability": "nonpayable"
343
+ },
344
+ {
345
+ "type": "function",
346
+ "name": "hasRole",
347
+ "inputs": [
348
+ {
349
+ "name": "role",
350
+ "type": "bytes32",
351
+ "internalType": "bytes32"
352
+ },
353
+ {
354
+ "name": "account",
355
+ "type": "address",
356
+ "internalType": "address"
357
+ }
358
+ ],
359
+ "outputs": [
360
+ {
361
+ "name": "",
362
+ "type": "bool",
363
+ "internalType": "bool"
364
+ }
365
+ ],
366
+ "stateMutability": "view"
367
+ },
368
+ {
369
+ "type": "function",
370
+ "name": "hasSettledHour",
371
+ "inputs": [],
372
+ "outputs": [
373
+ {
374
+ "name": "",
375
+ "type": "bool",
376
+ "internalType": "bool"
377
+ }
378
+ ],
379
+ "stateMutability": "view"
380
+ },
381
+ {
382
+ "type": "function",
383
+ "name": "hourDecay18",
384
+ "inputs": [],
385
+ "outputs": [
386
+ {
387
+ "name": "",
388
+ "type": "uint256",
389
+ "internalType": "uint256"
390
+ }
391
+ ],
392
+ "stateMutability": "view"
393
+ },
394
+ {
395
+ "type": "function",
396
+ "name": "hourShares",
397
+ "inputs": [
398
+ {
399
+ "name": "fromHour",
400
+ "type": "uint64",
401
+ "internalType": "uint64"
402
+ },
403
+ {
404
+ "name": "toHour",
405
+ "type": "uint64",
406
+ "internalType": "uint64"
407
+ }
408
+ ],
409
+ "outputs": [
410
+ {
411
+ "name": "shares",
412
+ "type": "tuple[]",
413
+ "internalType": "struct EmissionController.HourShares[]",
414
+ "components": [
415
+ {
416
+ "name": "emission",
417
+ "type": "uint256",
418
+ "internalType": "uint256"
419
+ },
420
+ {
421
+ "name": "platform",
422
+ "type": "uint256",
423
+ "internalType": "uint256"
424
+ },
425
+ {
426
+ "name": "exec",
427
+ "type": "uint256",
428
+ "internalType": "uint256"
429
+ },
430
+ {
431
+ "name": "test",
432
+ "type": "uint256",
433
+ "internalType": "uint256"
434
+ },
435
+ {
436
+ "name": "arb",
437
+ "type": "uint256",
438
+ "internalType": "uint256"
439
+ }
440
+ ]
441
+ }
442
+ ],
443
+ "stateMutability": "view"
444
+ },
445
+ {
446
+ "type": "function",
447
+ "name": "hourlyAnchor",
448
+ "inputs": [],
449
+ "outputs": [
450
+ {
451
+ "name": "",
452
+ "type": "address",
453
+ "internalType": "contract IHourlyAnchor"
454
+ }
455
+ ],
456
+ "stateMutability": "view"
457
+ },
458
+ {
459
+ "type": "function",
460
+ "name": "initialBalance",
461
+ "inputs": [],
462
+ "outputs": [
463
+ {
464
+ "name": "",
465
+ "type": "uint256",
466
+ "internalType": "uint256"
467
+ }
468
+ ],
469
+ "stateMutability": "view"
470
+ },
471
+ {
472
+ "type": "function",
473
+ "name": "initialize",
474
+ "inputs": [
475
+ {
476
+ "name": "governance",
477
+ "type": "address",
478
+ "internalType": "address"
479
+ },
480
+ {
481
+ "name": "escrow",
482
+ "type": "address",
483
+ "internalType": "address"
484
+ },
485
+ {
486
+ "name": "hourlyAnchor_",
487
+ "type": "address",
488
+ "internalType": "address"
489
+ }
490
+ ],
491
+ "outputs": [],
492
+ "stateMutability": "nonpayable"
493
+ },
494
+ {
495
+ "type": "function",
496
+ "name": "lastSettledHour",
497
+ "inputs": [],
498
+ "outputs": [
499
+ {
500
+ "name": "",
501
+ "type": "uint64",
502
+ "internalType": "uint64"
503
+ }
504
+ ],
505
+ "stateMutability": "view"
506
+ },
507
+ {
508
+ "type": "function",
509
+ "name": "params",
510
+ "inputs": [],
511
+ "outputs": [
512
+ {
513
+ "name": "",
514
+ "type": "address",
515
+ "internalType": "contract IParamRegistry"
516
+ }
517
+ ],
518
+ "stateMutability": "view"
519
+ },
520
+ {
521
+ "type": "function",
522
+ "name": "platformBps",
523
+ "inputs": [],
524
+ "outputs": [
525
+ {
526
+ "name": "",
527
+ "type": "uint16",
528
+ "internalType": "uint16"
529
+ }
530
+ ],
531
+ "stateMutability": "view"
532
+ },
533
+ {
534
+ "type": "function",
535
+ "name": "platformTreasury",
536
+ "inputs": [],
537
+ "outputs": [
538
+ {
539
+ "name": "",
540
+ "type": "address",
541
+ "internalType": "contract IPlatformTreasury"
542
+ }
543
+ ],
544
+ "stateMutability": "view"
545
+ },
546
+ {
547
+ "type": "function",
548
+ "name": "protocolProof",
549
+ "inputs": [],
550
+ "outputs": [
551
+ {
552
+ "name": "",
553
+ "type": "address",
554
+ "internalType": "contract IProtocolProof"
555
+ }
556
+ ],
557
+ "stateMutability": "view"
558
+ },
559
+ {
560
+ "type": "function",
561
+ "name": "proxiableUUID",
562
+ "inputs": [],
563
+ "outputs": [
564
+ {
565
+ "name": "",
566
+ "type": "bytes32",
567
+ "internalType": "bytes32"
568
+ }
569
+ ],
570
+ "stateMutability": "view"
571
+ },
572
+ {
573
+ "type": "function",
574
+ "name": "pullExecutorEscrow",
575
+ "inputs": [
576
+ {
577
+ "name": "to",
578
+ "type": "address",
579
+ "internalType": "address"
580
+ },
581
+ {
582
+ "name": "amount",
583
+ "type": "uint256",
584
+ "internalType": "uint256"
585
+ }
586
+ ],
587
+ "outputs": [],
588
+ "stateMutability": "nonpayable"
589
+ },
590
+ {
591
+ "type": "function",
592
+ "name": "pullTesterEscrow",
593
+ "inputs": [
594
+ {
595
+ "name": "to",
596
+ "type": "address",
597
+ "internalType": "address"
598
+ },
599
+ {
600
+ "name": "amount",
601
+ "type": "uint256",
602
+ "internalType": "uint256"
603
+ }
604
+ ],
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable"
607
+ },
608
+ {
609
+ "type": "function",
610
+ "name": "releaseArbitration",
611
+ "inputs": [
612
+ {
613
+ "name": "to",
614
+ "type": "address",
615
+ "internalType": "address"
616
+ },
617
+ {
618
+ "name": "amount",
619
+ "type": "uint256",
620
+ "internalType": "uint256"
621
+ }
622
+ ],
623
+ "outputs": [],
624
+ "stateMutability": "nonpayable"
625
+ },
626
+ {
627
+ "type": "function",
628
+ "name": "renounceRole",
629
+ "inputs": [
630
+ {
631
+ "name": "role",
632
+ "type": "bytes32",
633
+ "internalType": "bytes32"
634
+ },
635
+ {
636
+ "name": "callerConfirmation",
637
+ "type": "address",
638
+ "internalType": "address"
639
+ }
640
+ ],
641
+ "outputs": [],
642
+ "stateMutability": "nonpayable"
643
+ },
644
+ {
645
+ "type": "function",
646
+ "name": "revokeRole",
647
+ "inputs": [
648
+ {
649
+ "name": "role",
650
+ "type": "bytes32",
651
+ "internalType": "bytes32"
652
+ },
653
+ {
654
+ "name": "account",
655
+ "type": "address",
656
+ "internalType": "address"
657
+ }
658
+ ],
659
+ "outputs": [],
660
+ "stateMutability": "nonpayable"
661
+ },
662
+ {
663
+ "type": "function",
664
+ "name": "scheduleStarted",
665
+ "inputs": [],
666
+ "outputs": [
667
+ {
668
+ "name": "",
669
+ "type": "bool",
670
+ "internalType": "bool"
671
+ }
672
+ ],
673
+ "stateMutability": "view"
674
+ },
675
+ {
676
+ "type": "function",
677
+ "name": "settleHours",
678
+ "inputs": [
679
+ {
680
+ "name": "fromHour",
681
+ "type": "uint64",
682
+ "internalType": "uint64"
683
+ },
684
+ {
685
+ "name": "toHour",
686
+ "type": "uint64",
687
+ "internalType": "uint64"
688
+ },
689
+ {
690
+ "name": "entries",
691
+ "type": "tuple[]",
692
+ "internalType": "struct EmissionController.HourSettlement[]",
693
+ "components": [
694
+ {
695
+ "name": "recordsRoot",
696
+ "type": "bytes32",
697
+ "internalType": "bytes32"
698
+ },
699
+ {
700
+ "name": "poolSnapshotRoot",
701
+ "type": "bytes32",
702
+ "internalType": "bytes32"
703
+ },
704
+ {
705
+ "name": "seatSnapshotRoot",
706
+ "type": "bytes32",
707
+ "internalType": "bytes32"
708
+ },
709
+ {
710
+ "name": "execAccrued",
711
+ "type": "uint256",
712
+ "internalType": "uint256"
713
+ },
714
+ {
715
+ "name": "testAccrued",
716
+ "type": "uint256",
717
+ "internalType": "uint256"
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "name": "nonce",
723
+ "type": "uint256",
724
+ "internalType": "uint256"
725
+ },
726
+ {
727
+ "name": "deadline",
728
+ "type": "uint64",
729
+ "internalType": "uint64"
730
+ },
731
+ {
732
+ "name": "signature",
733
+ "type": "bytes",
734
+ "internalType": "bytes"
735
+ }
736
+ ],
737
+ "outputs": [],
738
+ "stateMutability": "nonpayable"
739
+ },
740
+ {
741
+ "type": "function",
742
+ "name": "startSchedule",
743
+ "inputs": [
744
+ {
745
+ "name": "amount",
746
+ "type": "uint256",
747
+ "internalType": "uint256"
748
+ },
749
+ {
750
+ "name": "fundedAt",
751
+ "type": "uint64",
752
+ "internalType": "uint64"
753
+ }
754
+ ],
755
+ "outputs": [],
756
+ "stateMutability": "nonpayable"
757
+ },
758
+ {
759
+ "type": "function",
760
+ "name": "startTime",
761
+ "inputs": [],
762
+ "outputs": [
763
+ {
764
+ "name": "",
765
+ "type": "uint64",
766
+ "internalType": "uint64"
767
+ }
768
+ ],
769
+ "stateMutability": "view"
770
+ },
771
+ {
772
+ "type": "function",
773
+ "name": "supportsInterface",
774
+ "inputs": [
775
+ {
776
+ "name": "interfaceId",
777
+ "type": "bytes4",
778
+ "internalType": "bytes4"
779
+ }
780
+ ],
781
+ "outputs": [
782
+ {
783
+ "name": "",
784
+ "type": "bool",
785
+ "internalType": "bool"
786
+ }
787
+ ],
788
+ "stateMutability": "view"
789
+ },
790
+ {
791
+ "type": "function",
792
+ "name": "testBps",
793
+ "inputs": [],
794
+ "outputs": [
795
+ {
796
+ "name": "",
797
+ "type": "uint16",
798
+ "internalType": "uint16"
799
+ }
800
+ ],
801
+ "stateMutability": "view"
802
+ },
803
+ {
804
+ "type": "function",
805
+ "name": "testerEscrowBalance",
806
+ "inputs": [],
807
+ "outputs": [
808
+ {
809
+ "name": "",
810
+ "type": "uint256",
811
+ "internalType": "uint256"
812
+ }
813
+ ],
814
+ "stateMutability": "view"
815
+ },
816
+ {
817
+ "type": "function",
818
+ "name": "token",
819
+ "inputs": [],
820
+ "outputs": [
821
+ {
822
+ "name": "",
823
+ "type": "address",
824
+ "internalType": "contract IERC20"
825
+ }
826
+ ],
827
+ "stateMutability": "view"
828
+ },
829
+ {
830
+ "type": "function",
831
+ "name": "upgradeToAndCall",
832
+ "inputs": [
833
+ {
834
+ "name": "newImplementation",
835
+ "type": "address",
836
+ "internalType": "address"
837
+ },
838
+ {
839
+ "name": "data",
840
+ "type": "bytes",
841
+ "internalType": "bytes"
842
+ }
843
+ ],
844
+ "outputs": [],
845
+ "stateMutability": "payable"
846
+ },
847
+ {
848
+ "type": "function",
849
+ "name": "vault",
850
+ "inputs": [],
851
+ "outputs": [
852
+ {
853
+ "name": "",
854
+ "type": "address",
855
+ "internalType": "contract IncentiveVault"
856
+ }
857
+ ],
858
+ "stateMutability": "view"
859
+ },
860
+ {
861
+ "type": "event",
862
+ "name": "ArbitrationReleased",
863
+ "inputs": [
864
+ {
865
+ "name": "to",
866
+ "type": "address",
867
+ "indexed": true,
868
+ "internalType": "address"
869
+ },
870
+ {
871
+ "name": "amount",
872
+ "type": "uint256",
873
+ "indexed": false,
874
+ "internalType": "uint256"
875
+ },
876
+ {
877
+ "name": "totalReleased",
878
+ "type": "uint256",
879
+ "indexed": false,
880
+ "internalType": "uint256"
881
+ }
882
+ ],
883
+ "anonymous": false
884
+ },
885
+ {
886
+ "type": "event",
887
+ "name": "EmissionBurned",
888
+ "inputs": [
889
+ {
890
+ "name": "hourId",
891
+ "type": "uint64",
892
+ "indexed": true,
893
+ "internalType": "uint64"
894
+ },
895
+ {
896
+ "name": "amount",
897
+ "type": "uint256",
898
+ "indexed": false,
899
+ "internalType": "uint256"
900
+ },
901
+ {
902
+ "name": "burnAddress",
903
+ "type": "address",
904
+ "indexed": true,
905
+ "internalType": "address"
906
+ }
907
+ ],
908
+ "anonymous": false
909
+ },
910
+ {
911
+ "type": "event",
912
+ "name": "ExecutorEscrowPulled",
913
+ "inputs": [
914
+ {
915
+ "name": "to",
916
+ "type": "address",
917
+ "indexed": true,
918
+ "internalType": "address"
919
+ },
920
+ {
921
+ "name": "amount",
922
+ "type": "uint256",
923
+ "indexed": false,
924
+ "internalType": "uint256"
925
+ }
926
+ ],
927
+ "anonymous": false
928
+ },
929
+ {
930
+ "type": "event",
931
+ "name": "HourSettled",
932
+ "inputs": [
933
+ {
934
+ "name": "hourId",
935
+ "type": "uint64",
936
+ "indexed": true,
937
+ "internalType": "uint64"
938
+ },
939
+ {
940
+ "name": "emission",
941
+ "type": "uint256",
942
+ "indexed": false,
943
+ "internalType": "uint256"
944
+ },
945
+ {
946
+ "name": "platform",
947
+ "type": "uint256",
948
+ "indexed": false,
949
+ "internalType": "uint256"
950
+ },
951
+ {
952
+ "name": "exec",
953
+ "type": "uint256",
954
+ "indexed": false,
955
+ "internalType": "uint256"
956
+ },
957
+ {
958
+ "name": "test",
959
+ "type": "uint256",
960
+ "indexed": false,
961
+ "internalType": "uint256"
962
+ },
963
+ {
964
+ "name": "arb",
965
+ "type": "uint256",
966
+ "indexed": false,
967
+ "internalType": "uint256"
968
+ },
969
+ {
970
+ "name": "burned",
971
+ "type": "uint256",
972
+ "indexed": false,
973
+ "internalType": "uint256"
974
+ }
975
+ ],
976
+ "anonymous": false
977
+ },
978
+ {
979
+ "type": "event",
980
+ "name": "HoursSettled",
981
+ "inputs": [
982
+ {
983
+ "name": "fromHour",
984
+ "type": "uint64",
985
+ "indexed": true,
986
+ "internalType": "uint64"
987
+ },
988
+ {
989
+ "name": "toHour",
990
+ "type": "uint64",
991
+ "indexed": true,
992
+ "internalType": "uint64"
993
+ },
994
+ {
995
+ "name": "platformAmount",
996
+ "type": "uint256",
997
+ "indexed": false,
998
+ "internalType": "uint256"
999
+ },
1000
+ {
1001
+ "name": "execEscrowed",
1002
+ "type": "uint256",
1003
+ "indexed": false,
1004
+ "internalType": "uint256"
1005
+ },
1006
+ {
1007
+ "name": "testEscrowed",
1008
+ "type": "uint256",
1009
+ "indexed": false,
1010
+ "internalType": "uint256"
1011
+ },
1012
+ {
1013
+ "name": "burnedAmount",
1014
+ "type": "uint256",
1015
+ "indexed": false,
1016
+ "internalType": "uint256"
1017
+ }
1018
+ ],
1019
+ "anonymous": false
1020
+ },
1021
+ {
1022
+ "type": "event",
1023
+ "name": "Initialized",
1024
+ "inputs": [
1025
+ {
1026
+ "name": "version",
1027
+ "type": "uint64",
1028
+ "indexed": false,
1029
+ "internalType": "uint64"
1030
+ }
1031
+ ],
1032
+ "anonymous": false
1033
+ },
1034
+ {
1035
+ "type": "event",
1036
+ "name": "RoleAdminChanged",
1037
+ "inputs": [
1038
+ {
1039
+ "name": "role",
1040
+ "type": "bytes32",
1041
+ "indexed": true,
1042
+ "internalType": "bytes32"
1043
+ },
1044
+ {
1045
+ "name": "previousAdminRole",
1046
+ "type": "bytes32",
1047
+ "indexed": true,
1048
+ "internalType": "bytes32"
1049
+ },
1050
+ {
1051
+ "name": "newAdminRole",
1052
+ "type": "bytes32",
1053
+ "indexed": true,
1054
+ "internalType": "bytes32"
1055
+ }
1056
+ ],
1057
+ "anonymous": false
1058
+ },
1059
+ {
1060
+ "type": "event",
1061
+ "name": "RoleGranted",
1062
+ "inputs": [
1063
+ {
1064
+ "name": "role",
1065
+ "type": "bytes32",
1066
+ "indexed": true,
1067
+ "internalType": "bytes32"
1068
+ },
1069
+ {
1070
+ "name": "account",
1071
+ "type": "address",
1072
+ "indexed": true,
1073
+ "internalType": "address"
1074
+ },
1075
+ {
1076
+ "name": "sender",
1077
+ "type": "address",
1078
+ "indexed": true,
1079
+ "internalType": "address"
1080
+ }
1081
+ ],
1082
+ "anonymous": false
1083
+ },
1084
+ {
1085
+ "type": "event",
1086
+ "name": "RoleRevoked",
1087
+ "inputs": [
1088
+ {
1089
+ "name": "role",
1090
+ "type": "bytes32",
1091
+ "indexed": true,
1092
+ "internalType": "bytes32"
1093
+ },
1094
+ {
1095
+ "name": "account",
1096
+ "type": "address",
1097
+ "indexed": true,
1098
+ "internalType": "address"
1099
+ },
1100
+ {
1101
+ "name": "sender",
1102
+ "type": "address",
1103
+ "indexed": true,
1104
+ "internalType": "address"
1105
+ }
1106
+ ],
1107
+ "anonymous": false
1108
+ },
1109
+ {
1110
+ "type": "event",
1111
+ "name": "ScheduleStarted",
1112
+ "inputs": [
1113
+ {
1114
+ "name": "fundedAt",
1115
+ "type": "uint64",
1116
+ "indexed": true,
1117
+ "internalType": "uint64"
1118
+ },
1119
+ {
1120
+ "name": "amount",
1121
+ "type": "uint256",
1122
+ "indexed": false,
1123
+ "internalType": "uint256"
1124
+ },
1125
+ {
1126
+ "name": "hourDecay18",
1127
+ "type": "uint256",
1128
+ "indexed": false,
1129
+ "internalType": "uint256"
1130
+ }
1131
+ ],
1132
+ "anonymous": false
1133
+ },
1134
+ {
1135
+ "type": "event",
1136
+ "name": "TesterEscrowPulled",
1137
+ "inputs": [
1138
+ {
1139
+ "name": "to",
1140
+ "type": "address",
1141
+ "indexed": true,
1142
+ "internalType": "address"
1143
+ },
1144
+ {
1145
+ "name": "amount",
1146
+ "type": "uint256",
1147
+ "indexed": false,
1148
+ "internalType": "uint256"
1149
+ }
1150
+ ],
1151
+ "anonymous": false
1152
+ },
1153
+ {
1154
+ "type": "event",
1155
+ "name": "Upgraded",
1156
+ "inputs": [
1157
+ {
1158
+ "name": "implementation",
1159
+ "type": "address",
1160
+ "indexed": true,
1161
+ "internalType": "address"
1162
+ }
1163
+ ],
1164
+ "anonymous": false
1165
+ },
1166
+ {
1167
+ "type": "error",
1168
+ "name": "AccessControlBadConfirmation",
1169
+ "inputs": []
1170
+ },
1171
+ {
1172
+ "type": "error",
1173
+ "name": "AccessControlUnauthorizedAccount",
1174
+ "inputs": [
1175
+ {
1176
+ "name": "account",
1177
+ "type": "address",
1178
+ "internalType": "address"
1179
+ },
1180
+ {
1181
+ "name": "neededRole",
1182
+ "type": "bytes32",
1183
+ "internalType": "bytes32"
1184
+ }
1185
+ ]
1186
+ },
1187
+ {
1188
+ "type": "error",
1189
+ "name": "AddressEmptyCode",
1190
+ "inputs": [
1191
+ {
1192
+ "name": "target",
1193
+ "type": "address",
1194
+ "internalType": "address"
1195
+ }
1196
+ ]
1197
+ },
1198
+ {
1199
+ "type": "error",
1200
+ "name": "AddressInsufficientBalance",
1201
+ "inputs": [
1202
+ {
1203
+ "name": "account",
1204
+ "type": "address",
1205
+ "internalType": "address"
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "type": "error",
1211
+ "name": "ERC1967InvalidImplementation",
1212
+ "inputs": [
1213
+ {
1214
+ "name": "implementation",
1215
+ "type": "address",
1216
+ "internalType": "address"
1217
+ }
1218
+ ]
1219
+ },
1220
+ {
1221
+ "type": "error",
1222
+ "name": "ERC1967NonPayable",
1223
+ "inputs": []
1224
+ },
1225
+ {
1226
+ "type": "error",
1227
+ "name": "FailedInnerCall",
1228
+ "inputs": []
1229
+ },
1230
+ {
1231
+ "type": "error",
1232
+ "name": "HourlyAnchorUnset",
1233
+ "inputs": []
1234
+ },
1235
+ {
1236
+ "type": "error",
1237
+ "name": "InsufficientEscrow",
1238
+ "inputs": [
1239
+ {
1240
+ "name": "available",
1241
+ "type": "uint256",
1242
+ "internalType": "uint256"
1243
+ },
1244
+ {
1245
+ "name": "requested",
1246
+ "type": "uint256",
1247
+ "internalType": "uint256"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "type": "error",
1253
+ "name": "InvalidAccrual",
1254
+ "inputs": [
1255
+ {
1256
+ "name": "accrued",
1257
+ "type": "uint256",
1258
+ "internalType": "uint256"
1259
+ },
1260
+ {
1261
+ "name": "share",
1262
+ "type": "uint256",
1263
+ "internalType": "uint256"
1264
+ }
1265
+ ]
1266
+ },
1267
+ {
1268
+ "type": "error",
1269
+ "name": "InvalidAddress",
1270
+ "inputs": []
1271
+ },
1272
+ {
1273
+ "type": "error",
1274
+ "name": "InvalidAmount",
1275
+ "inputs": []
1276
+ },
1277
+ {
1278
+ "type": "error",
1279
+ "name": "InvalidConfiguration",
1280
+ "inputs": []
1281
+ },
1282
+ {
1283
+ "type": "error",
1284
+ "name": "InvalidHourBatch",
1285
+ "inputs": [
1286
+ {
1287
+ "name": "fromHour",
1288
+ "type": "uint64",
1289
+ "internalType": "uint64"
1290
+ },
1291
+ {
1292
+ "name": "toHour",
1293
+ "type": "uint64",
1294
+ "internalType": "uint64"
1295
+ }
1296
+ ]
1297
+ },
1298
+ {
1299
+ "type": "error",
1300
+ "name": "InvalidHourId",
1301
+ "inputs": [
1302
+ {
1303
+ "name": "hourId",
1304
+ "type": "uint64",
1305
+ "internalType": "uint64"
1306
+ }
1307
+ ]
1308
+ },
1309
+ {
1310
+ "type": "error",
1311
+ "name": "InvalidHourOrder",
1312
+ "inputs": [
1313
+ {
1314
+ "name": "expected",
1315
+ "type": "uint64",
1316
+ "internalType": "uint64"
1317
+ },
1318
+ {
1319
+ "name": "actual",
1320
+ "type": "uint64",
1321
+ "internalType": "uint64"
1322
+ }
1323
+ ]
1324
+ },
1325
+ {
1326
+ "type": "error",
1327
+ "name": "InvalidInitialization",
1328
+ "inputs": []
1329
+ },
1330
+ {
1331
+ "type": "error",
1332
+ "name": "InvalidRoot",
1333
+ "inputs": []
1334
+ },
1335
+ {
1336
+ "type": "error",
1337
+ "name": "MathOverflowedMulDiv",
1338
+ "inputs": []
1339
+ },
1340
+ {
1341
+ "type": "error",
1342
+ "name": "NotArbitrationStream",
1343
+ "inputs": [
1344
+ {
1345
+ "name": "caller",
1346
+ "type": "address",
1347
+ "internalType": "address"
1348
+ }
1349
+ ]
1350
+ },
1351
+ {
1352
+ "type": "error",
1353
+ "name": "NotInitializing",
1354
+ "inputs": []
1355
+ },
1356
+ {
1357
+ "type": "error",
1358
+ "name": "NotVault",
1359
+ "inputs": [
1360
+ {
1361
+ "name": "caller",
1362
+ "type": "address",
1363
+ "internalType": "address"
1364
+ }
1365
+ ]
1366
+ },
1367
+ {
1368
+ "type": "error",
1369
+ "name": "ReentrancyGuardReentrantCall",
1370
+ "inputs": []
1371
+ },
1372
+ {
1373
+ "type": "error",
1374
+ "name": "SafeERC20FailedOperation",
1375
+ "inputs": [
1376
+ {
1377
+ "name": "token",
1378
+ "type": "address",
1379
+ "internalType": "address"
1380
+ }
1381
+ ]
1382
+ },
1383
+ {
1384
+ "type": "error",
1385
+ "name": "ScheduleAlreadyStarted",
1386
+ "inputs": []
1387
+ },
1388
+ {
1389
+ "type": "error",
1390
+ "name": "ScheduleNotStarted",
1391
+ "inputs": []
1392
+ },
1393
+ {
1394
+ "type": "error",
1395
+ "name": "UUPSUnauthorizedCallContext",
1396
+ "inputs": []
1397
+ },
1398
+ {
1399
+ "type": "error",
1400
+ "name": "UUPSUnsupportedProxiableUUID",
1401
+ "inputs": [
1402
+ {
1403
+ "name": "slot",
1404
+ "type": "bytes32",
1405
+ "internalType": "bytes32"
1406
+ }
1407
+ ]
1408
+ },
1409
+ {
1410
+ "type": "error",
1411
+ "name": "UpgradeUnauthorized",
1412
+ "inputs": [
1413
+ {
1414
+ "name": "caller",
1415
+ "type": "address",
1416
+ "internalType": "address"
1417
+ }
1418
+ ]
1419
+ },
1420
+ {
1421
+ "type": "error",
1422
+ "name": "VaultCapExceeded",
1423
+ "inputs": [
1424
+ {
1425
+ "name": "available",
1426
+ "type": "uint256",
1427
+ "internalType": "uint256"
1428
+ },
1429
+ {
1430
+ "name": "requested",
1431
+ "type": "uint256",
1432
+ "internalType": "uint256"
1433
+ }
1434
+ ]
1435
+ }
1436
+ ];
1437
+ //# sourceMappingURL=EmissionController.js.map