@gala-chain/launchpad-mcp-server 5.0.3 → 5.0.4-beta.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 (522) hide show
  1. package/README.md +49 -21
  2. package/dist/ai-docs.json +7357 -0
  3. package/dist/constants/mcpToolNames.d.ts +3 -1
  4. package/dist/constants/mcpToolNames.d.ts.map +1 -1
  5. package/dist/constants/mcpToolNames.js +2 -1
  6. package/dist/constants/mcpToolNames.js.map +1 -1
  7. package/dist/explain-sdk-usage-ai.json +3445 -0
  8. package/dist/generated/version.d.ts +1 -1
  9. package/dist/generated/version.d.ts.map +1 -1
  10. package/dist/generated/version.js +1 -1
  11. package/dist/generated/version.js.map +1 -1
  12. package/dist/prompts/account.d.ts +24 -0
  13. package/dist/prompts/account.d.ts.map +1 -0
  14. package/dist/prompts/account.js +89 -0
  15. package/dist/prompts/account.js.map +1 -0
  16. package/dist/prompts/api-keys.d.ts +36 -0
  17. package/dist/prompts/api-keys.d.ts.map +1 -0
  18. package/dist/prompts/api-keys.js +251 -0
  19. package/dist/prompts/api-keys.js.map +1 -0
  20. package/dist/prompts/auth.d.ts +29 -0
  21. package/dist/prompts/auth.d.ts.map +1 -0
  22. package/dist/prompts/auth.js +127 -0
  23. package/dist/prompts/auth.js.map +1 -0
  24. package/dist/prompts/balances.d.ts.map +1 -1
  25. package/dist/prompts/balances.js +17 -17
  26. package/dist/prompts/balances.js.map +1 -1
  27. package/dist/prompts/bans.d.ts +23 -0
  28. package/dist/prompts/bans.d.ts.map +1 -0
  29. package/dist/prompts/bans.js +82 -0
  30. package/dist/prompts/bans.js.map +1 -0
  31. package/dist/prompts/bridge.d.ts +2 -1
  32. package/dist/prompts/bridge.d.ts.map +1 -1
  33. package/dist/prompts/bridge.js +91 -227
  34. package/dist/prompts/bridge.js.map +1 -1
  35. package/dist/prompts/burns.d.ts +30 -0
  36. package/dist/prompts/burns.d.ts.map +1 -0
  37. package/dist/prompts/burns.js +127 -0
  38. package/dist/prompts/burns.js.map +1 -0
  39. package/dist/prompts/chat-messages.d.ts +21 -0
  40. package/dist/prompts/chat-messages.d.ts.map +1 -0
  41. package/dist/prompts/chat-messages.js +103 -0
  42. package/dist/prompts/chat-messages.js.map +1 -0
  43. package/dist/prompts/chat.d.ts +67 -0
  44. package/dist/prompts/chat.d.ts.map +1 -0
  45. package/dist/prompts/chat.js +355 -0
  46. package/dist/prompts/chat.js.map +1 -0
  47. package/dist/prompts/comments.d.ts +29 -0
  48. package/dist/prompts/comments.d.ts.map +1 -0
  49. package/dist/prompts/comments.js +133 -0
  50. package/dist/prompts/comments.js.map +1 -0
  51. package/dist/prompts/content-flags.d.ts +29 -0
  52. package/dist/prompts/content-flags.d.ts.map +1 -0
  53. package/dist/prompts/content-flags.js +248 -0
  54. package/dist/prompts/content-flags.js.map +1 -0
  55. package/dist/prompts/content-reactions.d.ts +29 -0
  56. package/dist/prompts/content-reactions.d.ts.map +1 -0
  57. package/dist/prompts/content-reactions.js +77 -0
  58. package/dist/prompts/content-reactions.js.map +1 -0
  59. package/dist/prompts/create-token.d.ts.map +1 -1
  60. package/dist/prompts/create-token.js +11 -18
  61. package/dist/prompts/create-token.js.map +1 -1
  62. package/dist/prompts/dex-trading.d.ts.map +1 -1
  63. package/dist/prompts/dex-trading.js +11 -42
  64. package/dist/prompts/dex-trading.js.map +1 -1
  65. package/dist/prompts/discover-tokens.d.ts.map +1 -1
  66. package/dist/prompts/discover-tokens.js +11 -26
  67. package/dist/prompts/discover-tokens.js.map +1 -1
  68. package/dist/prompts/event-subscriptions.d.ts +45 -0
  69. package/dist/prompts/event-subscriptions.d.ts.map +1 -0
  70. package/dist/prompts/event-subscriptions.js +330 -0
  71. package/dist/prompts/event-subscriptions.js.map +1 -0
  72. package/dist/prompts/explore-dex-pools.d.ts +2 -0
  73. package/dist/prompts/explore-dex-pools.d.ts.map +1 -1
  74. package/dist/prompts/explore-dex-pools.js +26 -104
  75. package/dist/prompts/explore-dex-pools.js.map +1 -1
  76. package/dist/prompts/factories/balance-prompt-factory.d.ts +102 -0
  77. package/dist/prompts/factories/balance-prompt-factory.d.ts.map +1 -0
  78. package/dist/prompts/factories/balance-prompt-factory.js +176 -0
  79. package/dist/prompts/factories/balance-prompt-factory.js.map +1 -0
  80. package/dist/prompts/factories/ban-management-factory.d.ts +90 -0
  81. package/dist/prompts/factories/ban-management-factory.d.ts.map +1 -0
  82. package/dist/prompts/factories/ban-management-factory.js +330 -0
  83. package/dist/prompts/factories/ban-management-factory.js.map +1 -0
  84. package/dist/prompts/factories/calculation-prompt-factory.d.ts +119 -0
  85. package/dist/prompts/factories/calculation-prompt-factory.d.ts.map +1 -0
  86. package/dist/prompts/factories/calculation-prompt-factory.js +183 -0
  87. package/dist/prompts/factories/calculation-prompt-factory.js.map +1 -0
  88. package/dist/prompts/factories/discovery-prompt-factory.d.ts +135 -0
  89. package/dist/prompts/factories/discovery-prompt-factory.d.ts.map +1 -0
  90. package/dist/prompts/factories/discovery-prompt-factory.js +240 -0
  91. package/dist/prompts/factories/discovery-prompt-factory.js.map +1 -0
  92. package/dist/prompts/factories/event-subscription-factory.d.ts +177 -0
  93. package/dist/prompts/factories/event-subscription-factory.d.ts.map +1 -0
  94. package/dist/prompts/factories/event-subscription-factory.js +329 -0
  95. package/dist/prompts/factories/event-subscription-factory.js.map +1 -0
  96. package/dist/prompts/factories/filtered-list-prompt-factory.d.ts +95 -0
  97. package/dist/prompts/factories/filtered-list-prompt-factory.d.ts.map +1 -0
  98. package/dist/prompts/factories/filtered-list-prompt-factory.js +147 -0
  99. package/dist/prompts/factories/filtered-list-prompt-factory.js.map +1 -0
  100. package/dist/prompts/factories/index.d.ts +33 -0
  101. package/dist/prompts/factories/index.d.ts.map +1 -0
  102. package/dist/prompts/factories/index.js +91 -0
  103. package/dist/prompts/factories/index.js.map +1 -0
  104. package/dist/prompts/factories/invite-management-factory.d.ts +88 -0
  105. package/dist/prompts/factories/invite-management-factory.d.ts.map +1 -0
  106. package/dist/prompts/factories/invite-management-factory.js +262 -0
  107. package/dist/prompts/factories/invite-management-factory.js.map +1 -0
  108. package/dist/prompts/factories/reaction-prompt-factory.d.ts +81 -0
  109. package/dist/prompts/factories/reaction-prompt-factory.d.ts.map +1 -0
  110. package/dist/prompts/factories/reaction-prompt-factory.js +188 -0
  111. package/dist/prompts/factories/reaction-prompt-factory.js.map +1 -0
  112. package/dist/prompts/factories/simple-operation-factory.d.ts +166 -0
  113. package/dist/prompts/factories/simple-operation-factory.d.ts.map +1 -0
  114. package/dist/prompts/factories/simple-operation-factory.js +218 -0
  115. package/dist/prompts/factories/simple-operation-factory.js.map +1 -0
  116. package/dist/prompts/index.d.ts +31 -6
  117. package/dist/prompts/index.d.ts.map +1 -1
  118. package/dist/prompts/index.js +136 -5
  119. package/dist/prompts/index.js.map +1 -1
  120. package/dist/prompts/locks.d.ts.map +1 -1
  121. package/dist/prompts/locks.js +32 -56
  122. package/dist/prompts/locks.js.map +1 -1
  123. package/dist/prompts/moderators.d.ts +22 -0
  124. package/dist/prompts/moderators.d.ts.map +1 -0
  125. package/dist/prompts/moderators.js +62 -0
  126. package/dist/prompts/moderators.js.map +1 -0
  127. package/dist/prompts/monitoring.d.ts +3 -1
  128. package/dist/prompts/monitoring.d.ts.map +1 -1
  129. package/dist/prompts/monitoring.js +52 -140
  130. package/dist/prompts/monitoring.js.map +1 -1
  131. package/dist/prompts/overseers.d.ts +34 -0
  132. package/dist/prompts/overseers.d.ts.map +1 -0
  133. package/dist/prompts/overseers.js +117 -0
  134. package/dist/prompts/overseers.js.map +1 -0
  135. package/dist/prompts/pools.d.ts +22 -20
  136. package/dist/prompts/pools.d.ts.map +1 -1
  137. package/dist/prompts/pools.js +150 -251
  138. package/dist/prompts/pools.js.map +1 -1
  139. package/dist/prompts/portfolio.d.ts.map +1 -1
  140. package/dist/prompts/portfolio.js +1 -9
  141. package/dist/prompts/portfolio.js.map +1 -1
  142. package/dist/prompts/prompt-factories.d.ts +179 -0
  143. package/dist/prompts/prompt-factories.d.ts.map +1 -0
  144. package/dist/prompts/prompt-factories.js +230 -0
  145. package/dist/prompts/prompt-factories.js.map +1 -0
  146. package/dist/prompts/referrals.d.ts +27 -0
  147. package/dist/prompts/referrals.d.ts.map +1 -0
  148. package/dist/prompts/referrals.js +176 -0
  149. package/dist/prompts/referrals.js.map +1 -0
  150. package/dist/prompts/streaming.d.ts +84 -0
  151. package/dist/prompts/streaming.d.ts.map +1 -0
  152. package/dist/prompts/streaming.js +411 -0
  153. package/dist/prompts/streaming.js.map +1 -0
  154. package/dist/prompts/tier1-bridge-operations.d.ts +30 -0
  155. package/dist/prompts/tier1-bridge-operations.d.ts.map +1 -0
  156. package/dist/prompts/tier1-bridge-operations.js +634 -0
  157. package/dist/prompts/tier1-bridge-operations.js.map +1 -0
  158. package/dist/prompts/tier1-liquidity-management.d.ts +30 -0
  159. package/dist/prompts/tier1-liquidity-management.d.ts.map +1 -0
  160. package/dist/prompts/tier1-liquidity-management.js +560 -0
  161. package/dist/prompts/tier1-liquidity-management.js.map +1 -0
  162. package/dist/prompts/tier1-pool-discovery.d.ts +30 -0
  163. package/dist/prompts/tier1-pool-discovery.d.ts.map +1 -0
  164. package/dist/prompts/tier1-pool-discovery.js +221 -0
  165. package/dist/prompts/tier1-pool-discovery.js.map +1 -0
  166. package/dist/prompts/tier1-price-history.d.ts +30 -0
  167. package/dist/prompts/tier1-price-history.d.ts.map +1 -0
  168. package/dist/prompts/tier1-price-history.js +429 -0
  169. package/dist/prompts/tier1-price-history.js.map +1 -0
  170. package/dist/prompts/tier1-token-analysis.d.ts +30 -0
  171. package/dist/prompts/tier1-token-analysis.d.ts.map +1 -0
  172. package/dist/prompts/tier1-token-analysis.js +376 -0
  173. package/dist/prompts/tier1-token-analysis.js.map +1 -0
  174. package/dist/prompts/tier2-account-setup.d.ts +24 -0
  175. package/dist/prompts/tier2-account-setup.d.ts.map +1 -0
  176. package/dist/prompts/tier2-account-setup.js +206 -0
  177. package/dist/prompts/tier2-account-setup.js.map +1 -0
  178. package/dist/prompts/tier2-advanced-liquidity.d.ts +24 -0
  179. package/dist/prompts/tier2-advanced-liquidity.d.ts.map +1 -0
  180. package/dist/prompts/tier2-advanced-liquidity.js +298 -0
  181. package/dist/prompts/tier2-advanced-liquidity.js.map +1 -0
  182. package/dist/prompts/tier2-asset-management.d.ts +25 -0
  183. package/dist/prompts/tier2-asset-management.d.ts.map +1 -0
  184. package/dist/prompts/tier2-asset-management.js +246 -0
  185. package/dist/prompts/tier2-asset-management.js.map +1 -0
  186. package/dist/prompts/tier2-token-lifecycle.d.ts +25 -0
  187. package/dist/prompts/tier2-token-lifecycle.d.ts.map +1 -0
  188. package/dist/prompts/tier2-token-lifecycle.js +241 -0
  189. package/dist/prompts/tier2-token-lifecycle.js.map +1 -0
  190. package/dist/prompts/tier3-community-engagement.d.ts +26 -0
  191. package/dist/prompts/tier3-community-engagement.d.ts.map +1 -0
  192. package/dist/prompts/tier3-community-engagement.js +610 -0
  193. package/dist/prompts/tier3-community-engagement.js.map +1 -0
  194. package/dist/prompts/tier3-moderation-workflows.d.ts +31 -0
  195. package/dist/prompts/tier3-moderation-workflows.d.ts.map +1 -0
  196. package/dist/prompts/tier3-moderation-workflows.js +511 -0
  197. package/dist/prompts/tier3-moderation-workflows.js.map +1 -0
  198. package/dist/prompts/tier3-streaming-management.d.ts +26 -0
  199. package/dist/prompts/tier3-streaming-management.d.ts.map +1 -0
  200. package/dist/prompts/tier3-streaming-management.js +797 -0
  201. package/dist/prompts/tier3-streaming-management.js.map +1 -0
  202. package/dist/prompts/token-bans.d.ts +27 -0
  203. package/dist/prompts/token-bans.d.ts.map +1 -0
  204. package/dist/prompts/token-bans.js +77 -0
  205. package/dist/prompts/token-bans.js.map +1 -0
  206. package/dist/prompts/trades.d.ts +22 -0
  207. package/dist/prompts/trades.d.ts.map +1 -0
  208. package/dist/prompts/trades.js +107 -0
  209. package/dist/prompts/trades.js.map +1 -0
  210. package/dist/prompts/trading-calculations.d.ts +3 -1
  211. package/dist/prompts/trading-calculations.d.ts.map +1 -1
  212. package/dist/prompts/trading-calculations.js +134 -270
  213. package/dist/prompts/trading-calculations.js.map +1 -1
  214. package/dist/prompts/trading.d.ts +10 -1
  215. package/dist/prompts/trading.d.ts.map +1 -1
  216. package/dist/prompts/trading.js +128 -2
  217. package/dist/prompts/trading.js.map +1 -1
  218. package/dist/prompts/transfers.d.ts +2 -1
  219. package/dist/prompts/transfers.d.ts.map +1 -1
  220. package/dist/prompts/transfers.js +26 -30
  221. package/dist/prompts/transfers.js.map +1 -1
  222. package/dist/prompts/uploads.d.ts +19 -0
  223. package/dist/prompts/uploads.d.ts.map +1 -0
  224. package/dist/prompts/uploads.js +114 -0
  225. package/dist/prompts/uploads.js.map +1 -0
  226. package/dist/prompts/utility-tools.d.ts.map +1 -1
  227. package/dist/prompts/utility-tools.js +27 -18
  228. package/dist/prompts/utility-tools.js.map +1 -1
  229. package/dist/prompts/utils/index.d.ts +21 -0
  230. package/dist/prompts/utils/index.d.ts.map +1 -0
  231. package/dist/prompts/utils/index.js +38 -0
  232. package/dist/prompts/utils/index.js.map +1 -0
  233. package/dist/prompts/utils/pagination-helpers.d.ts +95 -0
  234. package/dist/prompts/utils/pagination-helpers.d.ts.map +1 -0
  235. package/dist/prompts/utils/pagination-helpers.js +121 -0
  236. package/dist/prompts/utils/pagination-helpers.js.map +1 -0
  237. package/dist/prompts/utils/workflowTemplates.d.ts.map +1 -1
  238. package/dist/prompts/utils/workflowTemplates.js +4 -3
  239. package/dist/prompts/utils/workflowTemplates.js.map +1 -1
  240. package/dist/prompts/wallet.d.ts +24 -0
  241. package/dist/prompts/wallet.d.ts.map +1 -0
  242. package/dist/prompts/wallet.js +139 -0
  243. package/dist/prompts/wallet.js.map +1 -0
  244. package/dist/schemas/common-schemas.d.ts +890 -0
  245. package/dist/schemas/common-schemas.d.ts.map +1 -1
  246. package/dist/schemas/common-schemas.js +853 -1
  247. package/dist/schemas/common-schemas.js.map +1 -1
  248. package/dist/server.d.ts +31 -3
  249. package/dist/server.d.ts.map +1 -1
  250. package/dist/server.js +68 -7
  251. package/dist/server.js.map +1 -1
  252. package/dist/tools/api-keys/index.d.ts +41 -0
  253. package/dist/tools/api-keys/index.d.ts.map +1 -0
  254. package/dist/tools/api-keys/index.js +245 -0
  255. package/dist/tools/api-keys/index.js.map +1 -0
  256. package/dist/tools/auth/index.d.ts +19 -0
  257. package/dist/tools/auth/index.d.ts.map +1 -0
  258. package/dist/tools/auth/index.js +138 -0
  259. package/dist/tools/auth/index.js.map +1 -0
  260. package/dist/tools/balance/helpers/format-balance.d.ts +86 -0
  261. package/dist/tools/balance/helpers/format-balance.d.ts.map +1 -0
  262. package/dist/tools/balance/helpers/format-balance.js +87 -0
  263. package/dist/tools/balance/helpers/format-balance.js.map +1 -0
  264. package/dist/tools/balance/index.d.ts +4 -4
  265. package/dist/tools/balance/index.d.ts.map +1 -1
  266. package/dist/tools/balance/index.js +64 -176
  267. package/dist/tools/balance/index.js.map +1 -1
  268. package/dist/tools/ban/index.d.ts +37 -0
  269. package/dist/tools/ban/index.d.ts.map +1 -0
  270. package/dist/tools/ban/index.js +206 -0
  271. package/dist/tools/ban/index.js.map +1 -0
  272. package/dist/tools/bridge/helpers/bridgeable-token-tools.d.ts +87 -0
  273. package/dist/tools/bridge/helpers/bridgeable-token-tools.d.ts.map +1 -0
  274. package/dist/tools/bridge/helpers/bridgeable-token-tools.js +130 -0
  275. package/dist/tools/bridge/helpers/bridgeable-token-tools.js.map +1 -0
  276. package/dist/tools/bridge/helpers/external-chain-balance-tools.d.ts +87 -0
  277. package/dist/tools/bridge/helpers/external-chain-balance-tools.d.ts.map +1 -0
  278. package/dist/tools/bridge/helpers/external-chain-balance-tools.js +167 -0
  279. package/dist/tools/bridge/helpers/external-chain-balance-tools.js.map +1 -0
  280. package/dist/tools/bridge/index.d.ts +3 -7
  281. package/dist/tools/bridge/index.d.ts.map +1 -1
  282. package/dist/tools/bridge/index.js +89 -371
  283. package/dist/tools/bridge/index.js.map +1 -1
  284. package/dist/tools/burns/index.d.ts.map +1 -1
  285. package/dist/tools/burns/index.js +8 -36
  286. package/dist/tools/burns/index.js.map +1 -1
  287. package/dist/tools/chat/getPinnedChatMessage.d.ts +15 -0
  288. package/dist/tools/chat/getPinnedChatMessage.d.ts.map +1 -0
  289. package/dist/tools/chat/getPinnedChatMessage.js +37 -0
  290. package/dist/tools/chat/getPinnedChatMessage.js.map +1 -0
  291. package/dist/tools/chat/index.d.ts +73 -0
  292. package/dist/tools/chat/index.d.ts.map +1 -0
  293. package/dist/tools/chat/index.js +359 -0
  294. package/dist/tools/chat/index.js.map +1 -0
  295. package/dist/tools/chat/pinChatMessage.d.ts +16 -0
  296. package/dist/tools/chat/pinChatMessage.d.ts.map +1 -0
  297. package/dist/tools/chat/pinChatMessage.js +51 -0
  298. package/dist/tools/chat/pinChatMessage.js.map +1 -0
  299. package/dist/tools/chat/unpinChatMessage.d.ts +16 -0
  300. package/dist/tools/chat/unpinChatMessage.d.ts.map +1 -0
  301. package/dist/tools/chat/unpinChatMessage.js +39 -0
  302. package/dist/tools/chat/unpinChatMessage.js.map +1 -0
  303. package/dist/tools/chat-messages/index.d.ts +35 -0
  304. package/dist/tools/chat-messages/index.d.ts.map +1 -0
  305. package/dist/tools/chat-messages/index.js +165 -0
  306. package/dist/tools/chat-messages/index.js.map +1 -0
  307. package/dist/tools/comments/index.d.ts +44 -0
  308. package/dist/tools/comments/index.d.ts.map +1 -0
  309. package/dist/tools/comments/index.js +171 -0
  310. package/dist/tools/comments/index.js.map +1 -0
  311. package/dist/tools/content-flags/index.d.ts +38 -0
  312. package/dist/tools/content-flags/index.d.ts.map +1 -0
  313. package/dist/tools/content-flags/index.js +282 -0
  314. package/dist/tools/content-flags/index.js.map +1 -0
  315. package/dist/tools/content-reactions/index.d.ts +43 -0
  316. package/dist/tools/content-reactions/index.d.ts.map +1 -0
  317. package/dist/tools/content-reactions/index.js +135 -0
  318. package/dist/tools/content-reactions/index.js.map +1 -0
  319. package/dist/tools/creation/index.d.ts.map +1 -1
  320. package/dist/tools/creation/index.js +2 -5
  321. package/dist/tools/creation/index.js.map +1 -1
  322. package/dist/tools/dex/fetchAllDexPools.d.ts.map +1 -1
  323. package/dist/tools/dex/fetchAllDexPools.js +5 -21
  324. package/dist/tools/dex/fetchAllDexPools.js.map +1 -1
  325. package/dist/tools/dex/fetchDexPools.d.ts.map +1 -1
  326. package/dist/tools/dex/fetchDexPools.js +11 -28
  327. package/dist/tools/dex/fetchDexPools.js.map +1 -1
  328. package/dist/tools/dex/helpers.d.ts +479 -0
  329. package/dist/tools/dex/helpers.d.ts.map +1 -0
  330. package/dist/tools/dex/helpers.js +570 -0
  331. package/dist/tools/dex/helpers.js.map +1 -0
  332. package/dist/tools/dex/index.d.ts +50 -11
  333. package/dist/tools/dex/index.d.ts.map +1 -1
  334. package/dist/tools/dex/index.js +124 -486
  335. package/dist/tools/dex/index.js.map +1 -1
  336. package/dist/tools/dex/leaderboard.d.ts.map +1 -1
  337. package/dist/tools/dex/leaderboard.js +5 -70
  338. package/dist/tools/dex/leaderboard.js.map +1 -1
  339. package/dist/tools/dex/liquidity-positions.d.ts.map +1 -1
  340. package/dist/tools/dex/liquidity-positions.js +20 -91
  341. package/dist/tools/dex/liquidity-positions.js.map +1 -1
  342. package/dist/tools/dex/volume.d.ts.map +1 -1
  343. package/dist/tools/dex/volume.js +6 -21
  344. package/dist/tools/dex/volume.js.map +1 -1
  345. package/dist/tools/dex-analytics/index.d.ts +48 -0
  346. package/dist/tools/dex-analytics/index.d.ts.map +1 -0
  347. package/dist/tools/dex-analytics/index.js +111 -0
  348. package/dist/tools/dex-analytics/index.js.map +1 -0
  349. package/dist/tools/dex-liquidity/index.d.ts +22 -0
  350. package/dist/tools/dex-liquidity/index.d.ts.map +1 -0
  351. package/dist/tools/dex-liquidity/index.js +384 -0
  352. package/dist/tools/dex-liquidity/index.js.map +1 -0
  353. package/dist/tools/dex-pools/index.d.ts +60 -0
  354. package/dist/tools/dex-pools/index.d.ts.map +1 -0
  355. package/dist/tools/dex-pools/index.js +231 -0
  356. package/dist/tools/dex-pools/index.js.map +1 -0
  357. package/dist/tools/handler-factories.d.ts +1401 -0
  358. package/dist/tools/handler-factories.d.ts.map +1 -0
  359. package/dist/tools/handler-factories.js +1680 -0
  360. package/dist/tools/handler-factories.js.map +1 -0
  361. package/dist/tools/index.d.ts +1 -11
  362. package/dist/tools/index.d.ts.map +1 -1
  363. package/dist/tools/index.js +171 -27
  364. package/dist/tools/index.js.map +1 -1
  365. package/dist/tools/locks/index.d.ts +2 -0
  366. package/dist/tools/locks/index.d.ts.map +1 -1
  367. package/dist/tools/locks/index.js +9 -86
  368. package/dist/tools/locks/index.js.map +1 -1
  369. package/dist/tools/moderators/index.d.ts +53 -0
  370. package/dist/tools/moderators/index.d.ts.map +1 -0
  371. package/dist/tools/moderators/index.js +258 -0
  372. package/dist/tools/moderators/index.js.map +1 -0
  373. package/dist/tools/overseers/getOverseerUserSummary.d.ts +15 -0
  374. package/dist/tools/overseers/getOverseerUserSummary.d.ts.map +1 -0
  375. package/dist/tools/overseers/getOverseerUserSummary.js +40 -0
  376. package/dist/tools/overseers/getOverseerUserSummary.js.map +1 -0
  377. package/dist/tools/overseers/index.d.ts +58 -0
  378. package/dist/tools/overseers/index.d.ts.map +1 -0
  379. package/dist/tools/overseers/index.js +325 -0
  380. package/dist/tools/overseers/index.js.map +1 -0
  381. package/dist/tools/overseers/listOverseerUsers.d.ts +15 -0
  382. package/dist/tools/overseers/listOverseerUsers.d.ts.map +1 -0
  383. package/dist/tools/overseers/listOverseerUsers.js +76 -0
  384. package/dist/tools/overseers/listOverseerUsers.js.map +1 -0
  385. package/dist/tools/pagination-handler-factory.d.ts +131 -0
  386. package/dist/tools/pagination-handler-factory.d.ts.map +1 -0
  387. package/dist/tools/pagination-handler-factory.js +159 -0
  388. package/dist/tools/pagination-handler-factory.js.map +1 -0
  389. package/dist/tools/pools/checkPoolExists.d.ts +16 -0
  390. package/dist/tools/pools/checkPoolExists.d.ts.map +1 -0
  391. package/dist/tools/pools/checkPoolExists.js +48 -0
  392. package/dist/tools/pools/checkPoolExists.js.map +1 -0
  393. package/dist/tools/pools/fetchAllPools.d.ts.map +1 -1
  394. package/dist/tools/pools/fetchAllPools.js +51 -11
  395. package/dist/tools/pools/fetchAllPools.js.map +1 -1
  396. package/dist/tools/pools/fetchAllPriceHistory.d.ts.map +1 -1
  397. package/dist/tools/pools/fetchAllPriceHistory.js +11 -51
  398. package/dist/tools/pools/fetchAllPriceHistory.js.map +1 -1
  399. package/dist/tools/pools/fetchPoolDetails.d.ts.map +1 -1
  400. package/dist/tools/pools/fetchPoolDetails.js +4 -11
  401. package/dist/tools/pools/fetchPoolDetails.js.map +1 -1
  402. package/dist/tools/pools/fetchPools.d.ts.map +1 -1
  403. package/dist/tools/pools/fetchPools.js +40 -20
  404. package/dist/tools/pools/fetchPools.js.map +1 -1
  405. package/dist/tools/pools/fetchPriceHistory.d.ts.map +1 -1
  406. package/dist/tools/pools/fetchPriceHistory.js +10 -51
  407. package/dist/tools/pools/fetchPriceHistory.js.map +1 -1
  408. package/dist/tools/pools/fetchTokenDetails.d.ts.map +1 -1
  409. package/dist/tools/pools/fetchTokenDetails.js +4 -35
  410. package/dist/tools/pools/fetchTokenDetails.js.map +1 -1
  411. package/dist/tools/pools/index.d.ts +2 -0
  412. package/dist/tools/pools/index.d.ts.map +1 -1
  413. package/dist/tools/pools/index.js +103 -35
  414. package/dist/tools/pools/index.js.map +1 -1
  415. package/dist/tools/pools/onDexPoolCreation.d.ts +1 -2
  416. package/dist/tools/pools/onDexPoolCreation.d.ts.map +1 -1
  417. package/dist/tools/pools/onDexPoolCreation.js +14 -48
  418. package/dist/tools/pools/onDexPoolCreation.js.map +1 -1
  419. package/dist/tools/pools/onLaunchpadTokenCreation.d.ts +1 -2
  420. package/dist/tools/pools/onLaunchpadTokenCreation.d.ts.map +1 -1
  421. package/dist/tools/pools/onLaunchpadTokenCreation.js +9 -42
  422. package/dist/tools/pools/onLaunchpadTokenCreation.js.map +1 -1
  423. package/dist/tools/pools/priceHistoryFactory.d.ts +44 -0
  424. package/dist/tools/pools/priceHistoryFactory.d.ts.map +1 -0
  425. package/dist/tools/pools/priceHistoryFactory.js +154 -0
  426. package/dist/tools/pools/priceHistoryFactory.js.map +1 -0
  427. package/dist/tools/pools/updateTokenSocials.d.ts +16 -0
  428. package/dist/tools/pools/updateTokenSocials.d.ts.map +1 -0
  429. package/dist/tools/pools/updateTokenSocials.js +84 -0
  430. package/dist/tools/pools/updateTokenSocials.js.map +1 -0
  431. package/dist/tools/referrals/index.d.ts +12 -0
  432. package/dist/tools/referrals/index.d.ts.map +1 -0
  433. package/dist/tools/referrals/index.js +110 -0
  434. package/dist/tools/referrals/index.js.map +1 -0
  435. package/dist/tools/streaming/index.d.ts +94 -0
  436. package/dist/tools/streaming/index.d.ts.map +1 -0
  437. package/dist/tools/streaming/index.js +549 -0
  438. package/dist/tools/streaming/index.js.map +1 -0
  439. package/dist/tools/streaming/setNextLiveStreamCountdown.d.ts +16 -0
  440. package/dist/tools/streaming/setNextLiveStreamCountdown.d.ts.map +1 -0
  441. package/dist/tools/streaming/setNextLiveStreamCountdown.js +62 -0
  442. package/dist/tools/streaming/setNextLiveStreamCountdown.js.map +1 -0
  443. package/dist/tools/token-ban/index.d.ts +39 -0
  444. package/dist/tools/token-ban/index.d.ts.map +1 -0
  445. package/dist/tools/token-ban/index.js +177 -0
  446. package/dist/tools/token-ban/index.js.map +1 -0
  447. package/dist/tools/tool-factory.d.ts +84 -0
  448. package/dist/tools/tool-factory.d.ts.map +1 -0
  449. package/dist/tools/tool-factory.js +135 -0
  450. package/dist/tools/tool-factory.js.map +1 -0
  451. package/dist/tools/trades/index.d.ts +20 -0
  452. package/dist/tools/trades/index.d.ts.map +1 -0
  453. package/dist/tools/trades/index.js +113 -0
  454. package/dist/tools/trades/index.js.map +1 -0
  455. package/dist/tools/trading/helpers/arg-extractors.d.ts +128 -0
  456. package/dist/tools/trading/helpers/arg-extractors.d.ts.map +1 -0
  457. package/dist/tools/trading/helpers/arg-extractors.js +215 -0
  458. package/dist/tools/trading/helpers/arg-extractors.js.map +1 -0
  459. package/dist/tools/trading/helpers/index.d.ts +8 -0
  460. package/dist/tools/trading/helpers/index.d.ts.map +1 -0
  461. package/dist/tools/trading/helpers/index.js +24 -0
  462. package/dist/tools/trading/helpers/index.js.map +1 -0
  463. package/dist/tools/trading/helpers/trading-schemas.d.ts +276 -0
  464. package/dist/tools/trading/helpers/trading-schemas.d.ts.map +1 -0
  465. package/dist/tools/trading/helpers/trading-schemas.js +310 -0
  466. package/dist/tools/trading/helpers/trading-schemas.js.map +1 -0
  467. package/dist/tools/trading/index.d.ts +2 -0
  468. package/dist/tools/trading/index.d.ts.map +1 -1
  469. package/dist/tools/trading/index.js +148 -371
  470. package/dist/tools/trading/index.js.map +1 -1
  471. package/dist/tools/transfers/index.d.ts +3 -0
  472. package/dist/tools/transfers/index.d.ts.map +1 -1
  473. package/dist/tools/transfers/index.js +72 -52
  474. package/dist/tools/transfers/index.js.map +1 -1
  475. package/dist/tools/utils/cleanup.d.ts.map +1 -1
  476. package/dist/tools/utils/cleanup.js +2 -9
  477. package/dist/tools/utils/cleanup.js.map +1 -1
  478. package/dist/tools/utils/clearCache.d.ts.map +1 -1
  479. package/dist/tools/utils/clearCache.js +5 -7
  480. package/dist/tools/utils/clearCache.js.map +1 -1
  481. package/dist/tools/utils/explainSdkUsage.d.ts +52 -0
  482. package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
  483. package/dist/tools/utils/explainSdkUsage.js +1905 -93
  484. package/dist/tools/utils/explainSdkUsage.js.map +1 -1
  485. package/dist/tools/utils/getEthereumAddressFromPrivateKey.d.ts.map +1 -1
  486. package/dist/tools/utils/getEthereumAddressFromPrivateKey.js +2 -1
  487. package/dist/tools/utils/getEthereumAddressFromPrivateKey.js.map +1 -1
  488. package/dist/tools/utils/index.d.ts +2 -0
  489. package/dist/tools/utils/index.d.ts.map +1 -1
  490. package/dist/tools/utils/index.js +2 -12
  491. package/dist/tools/utils/index.js.map +1 -1
  492. package/dist/tools/wallet/index.d.ts +7 -0
  493. package/dist/tools/wallet/index.d.ts.map +1 -0
  494. package/dist/tools/wallet/index.js +24 -0
  495. package/dist/tools/wallet/index.js.map +1 -0
  496. package/dist/utils/date-converter.d.ts +58 -0
  497. package/dist/utils/date-converter.d.ts.map +1 -0
  498. package/dist/utils/date-converter.js +83 -0
  499. package/dist/utils/date-converter.js.map +1 -0
  500. package/dist/utils/pool-filter-builder.d.ts +78 -0
  501. package/dist/utils/pool-filter-builder.d.ts.map +1 -0
  502. package/dist/utils/pool-filter-builder.js +130 -0
  503. package/dist/utils/pool-filter-builder.js.map +1 -0
  504. package/dist/utils/safe-parsers.d.ts +87 -0
  505. package/dist/utils/safe-parsers.d.ts.map +1 -0
  506. package/dist/utils/safe-parsers.js +134 -0
  507. package/dist/utils/safe-parsers.js.map +1 -0
  508. package/dist/utils/validation.d.ts +5 -5
  509. package/dist/utils/validation.d.ts.map +1 -1
  510. package/dist/utils/validation.js +23 -21
  511. package/dist/utils/validation.js.map +1 -1
  512. package/package.json +23 -15
  513. package/.env.example +0 -21
  514. package/.eslintrc.json +0 -88
  515. package/CHANGELOG.md +0 -2161
  516. package/DOCS_AUDIT_REPORT.md +0 -189
  517. package/DRY_REFACTORING_GUIDE.md +0 -271
  518. package/MCP_COVERAGE_REPORT.md +0 -164
  519. package/MCP_TEST_ANALYSIS.md +0 -317
  520. package/jest.integration.config.js +0 -70
  521. package/scripts/inject-version.ts +0 -31
  522. package/scripts/validate-mcp-test-analysis.ts +0 -250
@@ -8,6 +8,7 @@
8
8
  *
9
9
  * @see https://modelcontextprotocol.io/docs/concepts/tools
10
10
  */
11
+ import { ContentType, FlagReason, FlagStatus, FlagAction } from '@gala-chain/launchpad-sdk';
11
12
  /**
12
13
  * Token name schema - used in 11+ tools
13
14
  *
@@ -59,6 +60,31 @@ export declare const PRIVATE_KEY_SCHEMA: Record<string, unknown>;
59
60
  * @example "eth|1234567890abcdef1234567890abcdef12345678"
60
61
  */
61
62
  export declare const ADDRESS_SCHEMA: Record<string, unknown>;
63
+ /**
64
+ * Optional wallet address schema - for queries without a required wallet parameter
65
+ *
66
+ * @description Optional wallet address (defaults to SDK wallet if not provided)
67
+ * @example "0x1234567890abcdef1234567890abcdef12345678"
68
+ * @example "eth|1234567890abcdef1234567890abcdef12345678"
69
+ * @note If not provided, uses the MCP server's default wallet
70
+ */
71
+ export declare const OPTIONAL_ADDRESS_SCHEMA: Record<string, unknown>;
72
+ /**
73
+ * Recipient wallet address schema - for transfer operations
74
+ *
75
+ * @description Recipient wallet address for token transfers
76
+ * @example "0x1234567890abcdef1234567890abcdef12345678"
77
+ * @example "eth|1234567890abcdef1234567890abcdef12345678"
78
+ */
79
+ export declare const RECIPIENT_ADDRESS_SCHEMA: Record<string, unknown>;
80
+ /**
81
+ * Wallet address for position owner lookups
82
+ *
83
+ * @description Wallet address to query liquidity positions, holdings, or portfolio for
84
+ * @example "0x1234567890abcdef1234567890abcdef12345678"
85
+ * @example "eth|1234567890abcdef1234567890abcdef12345678"
86
+ */
87
+ export declare const OWNER_ADDRESS_SCHEMA: Record<string, unknown>;
62
88
  /**
63
89
  * Decimal amount schema - used in trading and transfer tools
64
90
  *
@@ -174,6 +200,43 @@ export declare function createLimitSchema(operationType: 'trade' | 'user' | 'poo
174
200
  maximum: number;
175
201
  description: string;
176
202
  };
203
+ /**
204
+ * User portfolio query input schema properties
205
+ *
206
+ * Composite schema for tools that query user holdings with:
207
+ * - Required address parameter
208
+ * - Optional tokenName exact filter
209
+ * - Optional search fuzzy filter
210
+ * - Standard pagination (page/limit)
211
+ *
212
+ * Used by: fetchTokensHeld, fetchTokensCreated
213
+ *
214
+ * @description Pre-built properties object for user portfolio query schemas
215
+ * @usage Spread into tool inputSchema properties: { ...USER_PORTFOLIO_QUERY_SCHEMA }
216
+ *
217
+ * @example
218
+ * ```typescript
219
+ * inputSchema: {
220
+ * type: 'object',
221
+ * properties: USER_PORTFOLIO_QUERY_SCHEMA,
222
+ * required: ['address'],
223
+ * }
224
+ * ```
225
+ */
226
+ export declare const USER_PORTFOLIO_QUERY_SCHEMA: {
227
+ address: Record<string, unknown>;
228
+ page: Record<string, unknown>;
229
+ limit: {
230
+ type: "number";
231
+ minimum: number;
232
+ maximum: number;
233
+ description: string;
234
+ };
235
+ tokenName: {
236
+ description: string;
237
+ };
238
+ search: Record<string, unknown>;
239
+ };
177
240
  /**
178
241
  * Slippage tolerance factor schema
179
242
  *
@@ -337,4 +400,831 @@ export declare const FLEXIBLE_TOKEN_ID_SCHEMA: {
337
400
  required: string[];
338
401
  })[];
339
402
  };
403
+ /**
404
+ * DEX token symbol schema - for pipe-delimited token identification in DEX trading
405
+ *
406
+ * @description Used in DEX swap, liquidity, and pool operations for EXISTING tokens.
407
+ * This schema is for READING/TRADING tokens, not creating them.
408
+ * @format Pipe-delimited: "collection|category|type|additionalKey"
409
+ * @example "GALA|Unit|none|none", "Token|Unit|BENE|client:xxx"
410
+ * @note NOT for token creation - use TOKEN_SYMBOL_SCHEMA for creating new tokens
411
+ * @see TOKEN_SYMBOL_SCHEMA for token creation operations
412
+ */
413
+ export declare const DEX_TOKEN_SYMBOL_SCHEMA: {
414
+ type: "string";
415
+ minLength: number;
416
+ maxLength: number;
417
+ description: string;
418
+ };
419
+ /**
420
+ * Fee tier schema - for GalaSwap DEX operations
421
+ *
422
+ * @description Represents the fee tier in basis points
423
+ * @type number
424
+ * @enum [500, 3000, 10000]
425
+ * @example 500 (0.05%), 3000 (0.30%), 10000 (1.00%)
426
+ * @note Standard Uniswap V3-style fee tiers
427
+ * @throws {ValidationError} If value not in enum (500, 3000, 10000)
428
+ */
429
+ export declare const FEE_TIER_SCHEMA: {
430
+ type: "number";
431
+ enum: number[];
432
+ description: string;
433
+ };
434
+ /**
435
+ * Generic positive integer ID schema - for invite IDs, API key IDs, etc.
436
+ *
437
+ * @description Reusable ID schema for database entities
438
+ * @type number
439
+ * @minimum 1
440
+ * @example 1, 42, 999
441
+ */
442
+ export declare const ENTITY_ID_SCHEMA: {
443
+ type: "number";
444
+ minimum: number;
445
+ description: string;
446
+ };
447
+ /**
448
+ * Generic description schema - for invites, API keys, etc.
449
+ *
450
+ * @description Reusable description field with 255 character limit
451
+ * @type string
452
+ * @maxLength 255
453
+ * @example "John - Friday shows", "Production API key"
454
+ */
455
+ export declare const ENTITY_DESCRIPTION_SCHEMA: {
456
+ type: "string";
457
+ maxLength: number;
458
+ description: string;
459
+ };
460
+ /**
461
+ * Generic expiration schema - for invites, API keys, bans, etc.
462
+ *
463
+ * @description ISO 8601 date-time for expiration
464
+ * @type string
465
+ * @example "2025-12-31T23:59:59Z"
466
+ */
467
+ export declare const EXPIRES_AT_SCHEMA: {
468
+ type: "string";
469
+ description: string;
470
+ };
471
+ /**
472
+ * Moderator/API key role schema - shared base for role definitions
473
+ *
474
+ * @description Role enum used by moderator invites and API keys
475
+ * @type string
476
+ * @enum ['MODERATOR', 'TECHNICAL_PRODUCER', 'MANAGER']
477
+ * @note API keys also have 'OWNER' role; moderator invites do not
478
+ */
479
+ export declare const MODERATOR_ROLE_SCHEMA: {
480
+ type: "string";
481
+ enum: string[];
482
+ description: string;
483
+ };
484
+ /**
485
+ * API key role schema - extends moderator roles with OWNER
486
+ *
487
+ * @description Role enum for API keys (includes OWNER)
488
+ * @type string
489
+ * @enum ['MODERATOR', 'TECHNICAL_PRODUCER', 'MANAGER', 'OWNER']
490
+ */
491
+ export declare const API_KEY_ROLE_SCHEMA: {
492
+ type: "string";
493
+ enum: string[];
494
+ description: string;
495
+ };
496
+ /**
497
+ * Invite code schema - for moderator invite magic links
498
+ *
499
+ * @description 64-character hex code from invite URL
500
+ * @type string
501
+ * @pattern ^[a-fA-F0-9]{64}$
502
+ * @example "abc123..." (64 hex characters)
503
+ */
504
+ export declare const INVITE_CODE_SCHEMA: {
505
+ type: "string";
506
+ pattern: string;
507
+ description: string;
508
+ };
509
+ /**
510
+ * Invite status schema - for filtering moderator invites
511
+ *
512
+ * @description Status enum for invite filtering
513
+ * @type string
514
+ * @enum ['PENDING', 'CLAIMED', 'REVOKED', 'EXPIRED']
515
+ */
516
+ export declare const INVITE_STATUS_SCHEMA: {
517
+ type: "string";
518
+ enum: string[];
519
+ description: string;
520
+ };
521
+ /**
522
+ * Invite scope schema - for moderator invite scope selection
523
+ *
524
+ * @description Scope enum for invite creation
525
+ * @type string
526
+ * @enum ['TOKEN', 'ALL_OWNER_TOKENS']
527
+ */
528
+ export declare const INVITE_SCOPE_SCHEMA: {
529
+ type: "string";
530
+ enum: string[];
531
+ description: string;
532
+ };
533
+ /**
534
+ * Ban reason schema - for user ban operations
535
+ *
536
+ * @description Optional ban reason with 500 character limit
537
+ * @type string
538
+ * @maxLength 500
539
+ */
540
+ export declare const BAN_REASON_SCHEMA: {
541
+ type: "string";
542
+ maxLength: number;
543
+ description: string;
544
+ };
545
+ /**
546
+ * Ban duration schema - for temporary bans
547
+ *
548
+ * @description Duration in seconds (60 to 31536000)
549
+ * @type number
550
+ * @minimum 60
551
+ * @maximum 31536000
552
+ * @note Presets: 3600 (1h), 86400 (1d), 604800 (1w), 2592000 (1mo)
553
+ */
554
+ export declare const BAN_DURATION_SCHEMA: {
555
+ type: "number";
556
+ minimum: number;
557
+ maximum: number;
558
+ description: string;
559
+ };
560
+ /**
561
+ * Active user type schema - for getActiveUsers
562
+ *
563
+ * @description Type of active users to fetch
564
+ * @type string
565
+ * @enum ['viewers', 'chat_participants']
566
+ */
567
+ export declare const ACTIVE_USER_TYPE_SCHEMA: {
568
+ type: "string";
569
+ enum: string[];
570
+ description: string;
571
+ };
572
+ /**
573
+ * Pool discovery search schema - used in DEX pool discovery tools
574
+ *
575
+ * @description Search filter for token symbols in pool pair
576
+ * @type string
577
+ * @minLength 1
578
+ * @maxLength 100
579
+ * @example "GALA", "GUSDC", "dragon"
580
+ * @note Fuzzy match - case-insensitive partial matching
581
+ */
582
+ export declare const POOL_DISCOVERY_SEARCH_SCHEMA: {
583
+ type: "string";
584
+ minLength: number;
585
+ maxLength: number;
586
+ description: string;
587
+ };
588
+ /**
589
+ * Pool discovery sort field schema - used in DEX pool discovery tools
590
+ *
591
+ * @description Field to sort results by
592
+ * @type string
593
+ * @enum ['tvl', 'volume30d', 'volume1d']
594
+ * @example "tvl" (total value locked), "volume30d" (30-day volume)
595
+ * @note Default: 'tvl'
596
+ */
597
+ export declare const POOL_DISCOVERY_SORT_BY_SCHEMA: {
598
+ type: "string";
599
+ enum: string[];
600
+ description: string;
601
+ };
602
+ /**
603
+ * Pool discovery sort order schema - used in DEX pool discovery tools
604
+ *
605
+ * @description Sort direction
606
+ * @type string
607
+ * @enum ['asc', 'desc']
608
+ * @example "asc" (ascending), "desc" (descending)
609
+ * @note Default: 'desc'
610
+ */
611
+ export declare const POOL_DISCOVERY_SORT_ORDER_SCHEMA: {
612
+ type: "string";
613
+ enum: string[];
614
+ description: string;
615
+ };
616
+ /**
617
+ * Pool discovery schema bundle - all three fields combined for spread usage
618
+ *
619
+ * @description Complete pool discovery filtering schema for DEX pool tools
620
+ * @usage Spread into tool inputSchema properties: { ...POOL_DISCOVERY_SCHEMA, otherField: ... }
621
+ */
622
+ export declare const POOL_DISCOVERY_SCHEMA: {
623
+ search: {
624
+ type: "string";
625
+ minLength: number;
626
+ maxLength: number;
627
+ description: string;
628
+ };
629
+ sortBy: {
630
+ type: "string";
631
+ enum: string[];
632
+ description: string;
633
+ };
634
+ sortOrder: {
635
+ type: "string";
636
+ enum: string[];
637
+ description: string;
638
+ };
639
+ };
640
+ /**
641
+ * Configuration for creating pool discovery tool schemas.
642
+ *
643
+ * This factory eliminates duplication between paginated and auto-paginated
644
+ * pool discovery tools (fetchDexPools, fetchAllDexPools).
645
+ */
646
+ export interface PoolDiscoveryToolConfig {
647
+ /** Whether to include page/limit pagination (for paginated tools) */
648
+ includePagination?: boolean;
649
+ /** Default limit value for pagination (used in description) */
650
+ defaultLimit?: number;
651
+ /** Additional properties beyond pool discovery schema */
652
+ additionalProperties?: Record<string, unknown>;
653
+ }
654
+ /**
655
+ * Factory function to create pool discovery tool inputSchema.
656
+ *
657
+ * Generates consistent inputSchema for pool discovery tools with optional
658
+ * pagination and additional properties.
659
+ *
660
+ * @param config - Configuration for the pool discovery tool
661
+ * @returns Object containing inputSchema definition
662
+ *
663
+ * @example
664
+ * // Paginated tool
665
+ * const schema = createPoolDiscoverySchema({
666
+ * includePagination: true,
667
+ * defaultLimit: 10,
668
+ * });
669
+ *
670
+ * @example
671
+ * // Auto-paginated tool with additional property
672
+ * const schema = createPoolDiscoverySchema({
673
+ * additionalProperties: {
674
+ * withPrices: {
675
+ * type: 'boolean',
676
+ * description: 'Whether to fetch real-time pricing data',
677
+ * },
678
+ * },
679
+ * });
680
+ *
681
+ * @since 6.10.0
682
+ */
683
+ export declare function createPoolDiscoverySchema(config?: PoolDiscoveryToolConfig): {
684
+ type: 'object';
685
+ properties: Record<string, unknown>;
686
+ };
687
+ /**
688
+ * Message ID schema - unified support for both chat and comment formats
689
+ *
690
+ * Supports both formats:
691
+ * - New format: msg-{timestamp13}-{uuid32} (comments, modern)
692
+ * - Legacy format: chat-{timestamp13}-{uuid-with-dashes} (chat messages)
693
+ *
694
+ * @description Unified message identifier schema for content reactions and operations
695
+ * @type string
696
+ * @pattern ^(msg-\d{13}-[a-f0-9]{32}|chat-\d{13}-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$
697
+ * @maxLength 64
698
+ * @example "msg-1703443200000-a1b2c3d4e5f6789012345678901234ab"
699
+ * @example "chat-1734445623456-550e8400-e29b-41d4-a716-446655440000"
700
+ * @note Backwards compatible with both new msg-* and legacy chat-* formats
701
+ */
702
+ export declare const MESSAGE_ID_SCHEMA: {
703
+ type: "string";
704
+ maxLength: number;
705
+ pattern: string;
706
+ description: string;
707
+ };
708
+ /**
709
+ * Chat content schema - for chat messages
710
+ *
711
+ * @description Text content for chat messages with 500 character limit
712
+ * @type string
713
+ * @minLength 1
714
+ * @maxLength 500
715
+ * @example "Hello, this is a chat message!"
716
+ * @note Shorter than comments (max 2000 chars) for real-time chat context
717
+ */
718
+ export declare const CHAT_CONTENT_SCHEMA: {
719
+ type: "string";
720
+ minLength: number;
721
+ maxLength: number;
722
+ description: string;
723
+ };
724
+ /**
725
+ * Content reaction type schema
726
+ *
727
+ * @description Type of reaction to add/remove on messages
728
+ * @type string
729
+ * @enum ['heart', 'fire', 'laugh', 'wow', 'thumbs_up']
730
+ * @example "heart", "fire", "laugh", "wow", "thumbs_up"
731
+ */
732
+ export declare const REACTION_TYPE_SCHEMA: {
733
+ type: "string";
734
+ enum: string[];
735
+ description: string;
736
+ };
737
+ /**
738
+ * Combined reaction input schema - shared by 6 content reaction tools
739
+ *
740
+ * Encapsulates the tokenName, messageId, and reactionType required for
741
+ * adding/removing reactions on pool messages (chat messages and comments).
742
+ *
743
+ * @description Unified input schema for all reaction tools
744
+ * @type object
745
+ * @properties
746
+ * - tokenName: Token identifier (3-20 alphanumeric characters)
747
+ * - messageId: Message identifier (msg-* or chat-* format)
748
+ * - reactionType: Type of reaction to add/remove
749
+ * @required ['tokenName', 'messageId', 'reactionType']
750
+ *
751
+ * @see addContentReactionTool
752
+ * @see removeContentReactionTool
753
+ * @see addReactionToChatMessageTool
754
+ * @see removeReactionFromChatMessageTool
755
+ * @see addReactionToCommentTool
756
+ * @see removeReactionFromCommentTool
757
+ */
758
+ export declare const REACTION_INPUT_SCHEMA: {
759
+ type: "object";
760
+ properties: {
761
+ tokenName: Record<string, unknown>;
762
+ messageId: {
763
+ type: "string";
764
+ maxLength: number;
765
+ pattern: string;
766
+ description: string;
767
+ };
768
+ reactionType: {
769
+ type: "string";
770
+ enum: string[];
771
+ description: string;
772
+ };
773
+ };
774
+ required: string[];
775
+ };
776
+ /**
777
+ * DEX token class key schema - for full pipe-delimited token identification in DEX operations
778
+ *
779
+ * Used in DEX swap, liquidity, and pool operations for identifying tokens.
780
+ * Unlike TOKEN_CLASS_KEY_SCHEMA (object format), this is a simple string format.
781
+ *
782
+ * @description String format for token class key in DEX operations
783
+ * @format Pipe-delimited: "collection|category|type|additionalKey"
784
+ * @example "GALA|Unit|none|none", "Token|Unit|SYMBOL|client:xxx"
785
+ * @note For DEX trading operations, NOT for token creation
786
+ * @see DEX_TOKEN_SYMBOL_SCHEMA for similar usage in swap operations
787
+ */
788
+ export declare const DEX_TOKEN_CLASS_KEY_SCHEMA: {
789
+ type: "string";
790
+ description: string;
791
+ };
792
+ /**
793
+ * Token pair schema - for operations requiring token0, token1, and fee tier
794
+ *
795
+ * Combines token class key identifiers with fee tier for DEX pool operations.
796
+ * Used in liquidity positions, pool quotes, and swap operations.
797
+ *
798
+ * @description Common properties for token pair + fee tier operations
799
+ * @see addLiquidityByPriceTool, addLiquidityByTicksTool, fetchSwapPositionDirectTool
800
+ */
801
+ export declare const TOKEN_PAIR_SCHEMA: {
802
+ token0: {
803
+ description: string;
804
+ type: "string";
805
+ minLength: number;
806
+ maxLength: number;
807
+ };
808
+ token1: {
809
+ description: string;
810
+ type: "string";
811
+ minLength: number;
812
+ maxLength: number;
813
+ };
814
+ fee: {
815
+ type: "number";
816
+ enum: number[];
817
+ description: string;
818
+ };
819
+ };
820
+ /**
821
+ * Token pair with tick range schema - extends token pair with tick boundaries
822
+ *
823
+ * Used in liquidity position operations that require price range specification.
824
+ *
825
+ * @description Token pair + tick range for concentrated liquidity operations
826
+ * @see getLiquidityPositionTool, estimateRemoveLiquidityTool, fetchSwapPositionDirectTool
827
+ */
828
+ export declare const TOKEN_PAIR_WITH_TICKS_SCHEMA: {
829
+ tickLower: {
830
+ type: "number";
831
+ description: string;
832
+ };
833
+ tickUpper: {
834
+ type: "number";
835
+ description: string;
836
+ };
837
+ token0: {
838
+ description: string;
839
+ type: "string";
840
+ minLength: number;
841
+ maxLength: number;
842
+ };
843
+ token1: {
844
+ description: string;
845
+ type: "string";
846
+ minLength: number;
847
+ maxLength: number;
848
+ };
849
+ fee: {
850
+ type: "number";
851
+ enum: number[];
852
+ description: string;
853
+ };
854
+ };
855
+ /**
856
+ * Swap quote input schema - for swap quote operations
857
+ *
858
+ * Standardized input for both exactInput and exactOutput quote tools.
859
+ * Reduces duplication between getSwapQuoteExactInput and getSwapQuoteExactOutput.
860
+ *
861
+ * @description Common properties for swap quote operations
862
+ * @see getSwapQuoteExactInputTool, getSwapQuoteExactOutputTool
863
+ */
864
+ export declare const SWAP_QUOTE_INPUT_SCHEMA: {
865
+ fromToken: {
866
+ description: string;
867
+ type: "string";
868
+ minLength: number;
869
+ maxLength: number;
870
+ };
871
+ toToken: {
872
+ description: string;
873
+ type: "string";
874
+ minLength: number;
875
+ maxLength: number;
876
+ };
877
+ amount: {
878
+ description: string;
879
+ };
880
+ };
881
+ /**
882
+ * DEX pool quote input schema - for pool-specific quote operations
883
+ *
884
+ * Extends token pair with fromToken, toToken, and amount for DEX pool quotes.
885
+ * Used in local and external pool quote calculations.
886
+ *
887
+ * @description Token pair + swap direction + amount for pool quotes
888
+ * @see calculateDexPoolQuoteLocalTool, calculateDexPoolQuoteExternalTool
889
+ */
890
+ export declare const DEX_POOL_QUOTE_INPUT_SCHEMA: {
891
+ token0: {
892
+ description: string;
893
+ type: "string";
894
+ };
895
+ token1: {
896
+ description: string;
897
+ type: "string";
898
+ };
899
+ fee: {
900
+ type: "number";
901
+ enum: number[];
902
+ description: string;
903
+ };
904
+ fromToken: {
905
+ description: string;
906
+ type: "string";
907
+ };
908
+ toToken: {
909
+ description: string;
910
+ type: "string";
911
+ };
912
+ amount: {
913
+ description: string;
914
+ };
915
+ };
916
+ /**
917
+ * Liquidity amount schema - for add/remove liquidity operations
918
+ *
919
+ * Standardized desired and minimum amount properties for liquidity operations.
920
+ *
921
+ * @description Amount0/Amount1 desired and minimum for liquidity operations
922
+ * @see addLiquidityByPriceTool, addLiquidityByTicksTool
923
+ */
924
+ export declare const LIQUIDITY_AMOUNTS_SCHEMA: {
925
+ amount0Desired: {
926
+ description: string;
927
+ };
928
+ amount1Desired: {
929
+ description: string;
930
+ };
931
+ amount0Min: {
932
+ description: string;
933
+ };
934
+ amount1Min: {
935
+ description: string;
936
+ };
937
+ };
938
+ /**
939
+ * External network schema - for cross-chain bridge operations
940
+ *
941
+ * Identifies the target blockchain network for bridging operations.
942
+ * Currently supports Ethereum and Solana as external networks.
943
+ *
944
+ * @description Target external blockchain network for bridging
945
+ * @type string
946
+ * @enum ['Ethereum', 'Solana']
947
+ * @example "Ethereum", "Solana"
948
+ * @note Used in bridgeIn, bridgeOut, estimateBridgeFee operations
949
+ */
950
+ export declare const EXTERNAL_NETWORK_SCHEMA: {
951
+ type: "string";
952
+ enum: readonly ["Ethereum", "Solana"];
953
+ description: string;
954
+ };
955
+ /**
956
+ * Content type schema - for content flag/moderation operations
957
+ *
958
+ * Identifies the type of content being flagged or moderated.
959
+ * Values are derived from SDK ContentType enum.
960
+ *
961
+ * @description Type of content being flagged
962
+ * @type string
963
+ * @enum ContentType values from SDK
964
+ * @example "CHAT_MESSAGE", "COMMENT", "STREAM"
965
+ */
966
+ export declare const CONTENT_TYPE_SCHEMA: {
967
+ type: "string";
968
+ enum: ContentType[];
969
+ description: string;
970
+ };
971
+ /**
972
+ * Flag reason schema - for content flag operations
973
+ *
974
+ * Required for stream flags, optional for chat/comment flags.
975
+ * Values are derived from SDK FlagReason enum.
976
+ *
977
+ * @description Reason for flagging content
978
+ * @type string
979
+ * @enum FlagReason values from SDK
980
+ * @example "INAPPROPRIATE_CONTENT", "SPAM", "HARASSMENT", "SCAM", "OTHER"
981
+ */
982
+ export declare const FLAG_REASON_SCHEMA: {
983
+ type: "string";
984
+ enum: FlagReason[];
985
+ description: string;
986
+ };
987
+ /**
988
+ * Flag status schema - for filtering and querying flags
989
+ *
990
+ * Used to filter flags by their current status.
991
+ * Values are derived from SDK FlagStatus enum.
992
+ *
993
+ * @description Current status of a content flag
994
+ * @type string
995
+ * @enum FlagStatus values from SDK
996
+ * @example "PENDING", "DISMISSED", "ACTIONED"
997
+ */
998
+ export declare const FLAG_STATUS_SCHEMA: {
999
+ type: "string";
1000
+ enum: FlagStatus[];
1001
+ description: string;
1002
+ };
1003
+ /**
1004
+ * Flag action schema - for taking action on flagged content
1005
+ *
1006
+ * Specifies the action to take when moderating flagged content.
1007
+ * Values are derived from SDK FlagAction enum.
1008
+ *
1009
+ * @description Action to take on flagged content
1010
+ * @type string
1011
+ * @enum FlagAction values from SDK
1012
+ * @example "DELETE_CONTENT", "BAN_USER", "DELETE_AND_BAN"
1013
+ */
1014
+ export declare const FLAG_ACTION_SCHEMA: {
1015
+ type: "string";
1016
+ enum: FlagAction[];
1017
+ description: string;
1018
+ };
1019
+ /**
1020
+ * Base batch token item schema - core properties for all batch operations
1021
+ *
1022
+ * Contains tokenId OR tokenName for identification, plus amount.
1023
+ * Extended by lock-specific and other operation-specific schemas.
1024
+ *
1025
+ * @description Core properties shared by lock, unlock, burn, and transfer batch items
1026
+ * @see BATCH_TOKEN_LOCK_ITEM_SCHEMA for lock-specific extension
1027
+ */
1028
+ export declare const BATCH_TOKEN_ITEM_PROPERTIES: {
1029
+ tokenId: {
1030
+ description: string;
1031
+ oneOf: ({
1032
+ type: "string";
1033
+ description: string;
1034
+ } | {
1035
+ description: string;
1036
+ type: "object";
1037
+ properties: {
1038
+ collection: {
1039
+ type: "string";
1040
+ description: string;
1041
+ minLength: number;
1042
+ };
1043
+ category: {
1044
+ type: "string";
1045
+ description: string;
1046
+ minLength: number;
1047
+ };
1048
+ type: {
1049
+ type: "string";
1050
+ description: string;
1051
+ minLength: number;
1052
+ };
1053
+ additionalKey: {
1054
+ type: "string";
1055
+ description: string;
1056
+ minLength: number;
1057
+ };
1058
+ };
1059
+ required: string[];
1060
+ })[];
1061
+ };
1062
+ tokenName: {
1063
+ description: string;
1064
+ };
1065
+ amount: {
1066
+ description: string;
1067
+ type: "string";
1068
+ pattern: string;
1069
+ };
1070
+ };
1071
+ /**
1072
+ * Lock-specific properties for batch token lock items
1073
+ *
1074
+ * @description Additional properties only used in lock operations
1075
+ */
1076
+ export declare const BATCH_TOKEN_LOCK_EXTRA_PROPERTIES: {
1077
+ lockAuthority: {
1078
+ type: "string";
1079
+ description: string;
1080
+ };
1081
+ expires: {
1082
+ type: "number";
1083
+ description: string;
1084
+ };
1085
+ name: {
1086
+ type: "string";
1087
+ description: string;
1088
+ };
1089
+ };
1090
+ /**
1091
+ * Unlock-specific properties for batch token unlock items
1092
+ *
1093
+ * @description Additional properties only used in unlock operations
1094
+ */
1095
+ export declare const BATCH_TOKEN_UNLOCK_EXTRA_PROPERTIES: {
1096
+ name: {
1097
+ type: "string";
1098
+ description: string;
1099
+ };
1100
+ };
1101
+ /**
1102
+ * Creates a batch token array schema for batch operations
1103
+ *
1104
+ * @param itemDescription - Description for the array
1105
+ * @param extraProperties - Additional properties beyond base (tokenId, tokenName, amount)
1106
+ * @returns Schema for the tokens array
1107
+ */
1108
+ export declare function createBatchTokenArraySchema(itemDescription: string, extraProperties?: Record<string, unknown>): {
1109
+ type: 'array';
1110
+ description: string;
1111
+ items: {
1112
+ type: 'object';
1113
+ properties: Record<string, unknown>;
1114
+ required: string[];
1115
+ };
1116
+ minItems: number;
1117
+ };
1118
+ /**
1119
+ * Common batch operation base properties (uniqueKey, privateKey)
1120
+ *
1121
+ * @description Shared by lock, unlock, burn operations
1122
+ */
1123
+ export declare const BATCH_OPERATION_BASE_PROPERTIES: {
1124
+ uniqueKey: Record<string, unknown>;
1125
+ privateKey: Record<string, unknown>;
1126
+ };
1127
+ /**
1128
+ * Common wrap/unwrap operation properties
1129
+ *
1130
+ * Shared input schema properties for wrapToken and unwrapToken operations.
1131
+ * Both operations use the same structure, only differing in SDK method called.
1132
+ *
1133
+ * @description Input properties for wrap/unwrap cross-channel bridge operations
1134
+ * @see wrapTokenTool, unwrapTokenTool
1135
+ */
1136
+ export declare const WRAP_UNWRAP_PROPERTIES: {
1137
+ tokenId: {
1138
+ description: string;
1139
+ oneOf: ({
1140
+ type: "string";
1141
+ description: string;
1142
+ } | {
1143
+ description: string;
1144
+ type: "object";
1145
+ properties: {
1146
+ collection: {
1147
+ type: "string";
1148
+ description: string;
1149
+ minLength: number;
1150
+ };
1151
+ category: {
1152
+ type: "string";
1153
+ description: string;
1154
+ minLength: number;
1155
+ };
1156
+ type: {
1157
+ type: "string";
1158
+ description: string;
1159
+ minLength: number;
1160
+ };
1161
+ additionalKey: {
1162
+ type: "string";
1163
+ description: string;
1164
+ minLength: number;
1165
+ };
1166
+ };
1167
+ required: string[];
1168
+ })[];
1169
+ };
1170
+ amount: {
1171
+ description: string;
1172
+ };
1173
+ recipient: {
1174
+ description: string;
1175
+ };
1176
+ memo: {
1177
+ type: "string";
1178
+ description: string;
1179
+ };
1180
+ };
1181
+ /**
1182
+ * Admin pagination limit schema - for moderator/overseer management tools
1183
+ *
1184
+ * Used by moderator invites, overseer management, and similar admin tools.
1185
+ * Uses a max of 50 to match backend constraints for admin operations.
1186
+ *
1187
+ * @description Results per page for admin operations
1188
+ * @type number
1189
+ * @minimum 1
1190
+ * @maximum 50
1191
+ * @example 10, 20, 50
1192
+ */
1193
+ export declare const ADMIN_LIMIT_SCHEMA: {
1194
+ type: "number";
1195
+ minimum: number;
1196
+ maximum: number;
1197
+ description: string;
1198
+ };
1199
+ /**
1200
+ * RTMP URL schema - for streaming simulcast operations
1201
+ *
1202
+ * Validates RTMP and RTMPS URLs for streaming destinations.
1203
+ * Used in simulcast target configuration.
1204
+ *
1205
+ * @description Valid RTMP or RTMPS streaming URL
1206
+ * @type string
1207
+ * @pattern ^rtmps?://[a-zA-Z0-9.-]+(:[0-9]+)?(/.*)?$
1208
+ * @example "rtmp://a.rtmp.youtube.com/live2", "rtmps://live.twitch.tv/app"
1209
+ */
1210
+ export declare const RTMP_URL_SCHEMA: {
1211
+ type: "string";
1212
+ pattern: string;
1213
+ description: string;
1214
+ };
1215
+ /**
1216
+ * Empty input schema - for tools that require no parameters
1217
+ *
1218
+ * Reusable schema for MCP tools that don't accept any input parameters.
1219
+ * Used by read-only/status/list tools like fetchCurrentDexSeason, getSession, etc.
1220
+ *
1221
+ * @description Standard empty object schema for parameterless tools
1222
+ * @type object
1223
+ * @properties {}
1224
+ * @example Used by: fetchAllDexSeasons, fetchCurrentDexSeason, getSession, logout
1225
+ */
1226
+ export declare const EMPTY_INPUT_SCHEMA: {
1227
+ type: "object";
1228
+ properties: {};
1229
+ };
340
1230
  //# sourceMappingURL=common-schemas.d.ts.map