@gala-chain/launchpad-mcp-server 5.0.3 → 5.0.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -21
- package/dist/ai-docs.json +7357 -0
- package/dist/constants/mcpToolNames.d.ts +3 -1
- package/dist/constants/mcpToolNames.d.ts.map +1 -1
- package/dist/constants/mcpToolNames.js +2 -1
- package/dist/constants/mcpToolNames.js.map +1 -1
- package/dist/explain-sdk-usage-ai.json +3445 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.d.ts.map +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/generated/version.js.map +1 -1
- package/dist/prompts/account.d.ts +24 -0
- package/dist/prompts/account.d.ts.map +1 -0
- package/dist/prompts/account.js +89 -0
- package/dist/prompts/account.js.map +1 -0
- package/dist/prompts/api-keys.d.ts +36 -0
- package/dist/prompts/api-keys.d.ts.map +1 -0
- package/dist/prompts/api-keys.js +251 -0
- package/dist/prompts/api-keys.js.map +1 -0
- package/dist/prompts/auth.d.ts +29 -0
- package/dist/prompts/auth.d.ts.map +1 -0
- package/dist/prompts/auth.js +127 -0
- package/dist/prompts/auth.js.map +1 -0
- package/dist/prompts/balances.d.ts.map +1 -1
- package/dist/prompts/balances.js +17 -17
- package/dist/prompts/balances.js.map +1 -1
- package/dist/prompts/bans.d.ts +23 -0
- package/dist/prompts/bans.d.ts.map +1 -0
- package/dist/prompts/bans.js +82 -0
- package/dist/prompts/bans.js.map +1 -0
- package/dist/prompts/bridge.d.ts +2 -1
- package/dist/prompts/bridge.d.ts.map +1 -1
- package/dist/prompts/bridge.js +91 -227
- package/dist/prompts/bridge.js.map +1 -1
- package/dist/prompts/burns.d.ts +30 -0
- package/dist/prompts/burns.d.ts.map +1 -0
- package/dist/prompts/burns.js +127 -0
- package/dist/prompts/burns.js.map +1 -0
- package/dist/prompts/chat-messages.d.ts +21 -0
- package/dist/prompts/chat-messages.d.ts.map +1 -0
- package/dist/prompts/chat-messages.js +103 -0
- package/dist/prompts/chat-messages.js.map +1 -0
- package/dist/prompts/chat.d.ts +67 -0
- package/dist/prompts/chat.d.ts.map +1 -0
- package/dist/prompts/chat.js +355 -0
- package/dist/prompts/chat.js.map +1 -0
- package/dist/prompts/comments.d.ts +29 -0
- package/dist/prompts/comments.d.ts.map +1 -0
- package/dist/prompts/comments.js +133 -0
- package/dist/prompts/comments.js.map +1 -0
- package/dist/prompts/content-flags.d.ts +29 -0
- package/dist/prompts/content-flags.d.ts.map +1 -0
- package/dist/prompts/content-flags.js +248 -0
- package/dist/prompts/content-flags.js.map +1 -0
- package/dist/prompts/content-reactions.d.ts +29 -0
- package/dist/prompts/content-reactions.d.ts.map +1 -0
- package/dist/prompts/content-reactions.js +77 -0
- package/dist/prompts/content-reactions.js.map +1 -0
- package/dist/prompts/create-token.d.ts.map +1 -1
- package/dist/prompts/create-token.js +11 -18
- package/dist/prompts/create-token.js.map +1 -1
- package/dist/prompts/dex-trading.d.ts.map +1 -1
- package/dist/prompts/dex-trading.js +11 -42
- package/dist/prompts/dex-trading.js.map +1 -1
- package/dist/prompts/discover-tokens.d.ts.map +1 -1
- package/dist/prompts/discover-tokens.js +11 -26
- package/dist/prompts/discover-tokens.js.map +1 -1
- package/dist/prompts/event-subscriptions.d.ts +45 -0
- package/dist/prompts/event-subscriptions.d.ts.map +1 -0
- package/dist/prompts/event-subscriptions.js +330 -0
- package/dist/prompts/event-subscriptions.js.map +1 -0
- package/dist/prompts/explore-dex-pools.d.ts +2 -0
- package/dist/prompts/explore-dex-pools.d.ts.map +1 -1
- package/dist/prompts/explore-dex-pools.js +26 -104
- package/dist/prompts/explore-dex-pools.js.map +1 -1
- package/dist/prompts/factories/balance-prompt-factory.d.ts +102 -0
- package/dist/prompts/factories/balance-prompt-factory.d.ts.map +1 -0
- package/dist/prompts/factories/balance-prompt-factory.js +176 -0
- package/dist/prompts/factories/balance-prompt-factory.js.map +1 -0
- package/dist/prompts/factories/ban-management-factory.d.ts +90 -0
- package/dist/prompts/factories/ban-management-factory.d.ts.map +1 -0
- package/dist/prompts/factories/ban-management-factory.js +330 -0
- package/dist/prompts/factories/ban-management-factory.js.map +1 -0
- package/dist/prompts/factories/calculation-prompt-factory.d.ts +119 -0
- package/dist/prompts/factories/calculation-prompt-factory.d.ts.map +1 -0
- package/dist/prompts/factories/calculation-prompt-factory.js +183 -0
- package/dist/prompts/factories/calculation-prompt-factory.js.map +1 -0
- package/dist/prompts/factories/discovery-prompt-factory.d.ts +135 -0
- package/dist/prompts/factories/discovery-prompt-factory.d.ts.map +1 -0
- package/dist/prompts/factories/discovery-prompt-factory.js +240 -0
- package/dist/prompts/factories/discovery-prompt-factory.js.map +1 -0
- package/dist/prompts/factories/event-subscription-factory.d.ts +177 -0
- package/dist/prompts/factories/event-subscription-factory.d.ts.map +1 -0
- package/dist/prompts/factories/event-subscription-factory.js +329 -0
- package/dist/prompts/factories/event-subscription-factory.js.map +1 -0
- package/dist/prompts/factories/filtered-list-prompt-factory.d.ts +95 -0
- package/dist/prompts/factories/filtered-list-prompt-factory.d.ts.map +1 -0
- package/dist/prompts/factories/filtered-list-prompt-factory.js +147 -0
- package/dist/prompts/factories/filtered-list-prompt-factory.js.map +1 -0
- package/dist/prompts/factories/index.d.ts +33 -0
- package/dist/prompts/factories/index.d.ts.map +1 -0
- package/dist/prompts/factories/index.js +91 -0
- package/dist/prompts/factories/index.js.map +1 -0
- package/dist/prompts/factories/invite-management-factory.d.ts +88 -0
- package/dist/prompts/factories/invite-management-factory.d.ts.map +1 -0
- package/dist/prompts/factories/invite-management-factory.js +262 -0
- package/dist/prompts/factories/invite-management-factory.js.map +1 -0
- package/dist/prompts/factories/reaction-prompt-factory.d.ts +81 -0
- package/dist/prompts/factories/reaction-prompt-factory.d.ts.map +1 -0
- package/dist/prompts/factories/reaction-prompt-factory.js +188 -0
- package/dist/prompts/factories/reaction-prompt-factory.js.map +1 -0
- package/dist/prompts/factories/simple-operation-factory.d.ts +166 -0
- package/dist/prompts/factories/simple-operation-factory.d.ts.map +1 -0
- package/dist/prompts/factories/simple-operation-factory.js +218 -0
- package/dist/prompts/factories/simple-operation-factory.js.map +1 -0
- package/dist/prompts/index.d.ts +31 -6
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +136 -5
- package/dist/prompts/index.js.map +1 -1
- package/dist/prompts/locks.d.ts.map +1 -1
- package/dist/prompts/locks.js +32 -56
- package/dist/prompts/locks.js.map +1 -1
- package/dist/prompts/moderators.d.ts +22 -0
- package/dist/prompts/moderators.d.ts.map +1 -0
- package/dist/prompts/moderators.js +62 -0
- package/dist/prompts/moderators.js.map +1 -0
- package/dist/prompts/monitoring.d.ts +3 -1
- package/dist/prompts/monitoring.d.ts.map +1 -1
- package/dist/prompts/monitoring.js +52 -140
- package/dist/prompts/monitoring.js.map +1 -1
- package/dist/prompts/overseers.d.ts +34 -0
- package/dist/prompts/overseers.d.ts.map +1 -0
- package/dist/prompts/overseers.js +117 -0
- package/dist/prompts/overseers.js.map +1 -0
- package/dist/prompts/pools.d.ts +22 -20
- package/dist/prompts/pools.d.ts.map +1 -1
- package/dist/prompts/pools.js +150 -251
- package/dist/prompts/pools.js.map +1 -1
- package/dist/prompts/portfolio.d.ts.map +1 -1
- package/dist/prompts/portfolio.js +1 -9
- package/dist/prompts/portfolio.js.map +1 -1
- package/dist/prompts/prompt-factories.d.ts +179 -0
- package/dist/prompts/prompt-factories.d.ts.map +1 -0
- package/dist/prompts/prompt-factories.js +230 -0
- package/dist/prompts/prompt-factories.js.map +1 -0
- package/dist/prompts/referrals.d.ts +27 -0
- package/dist/prompts/referrals.d.ts.map +1 -0
- package/dist/prompts/referrals.js +176 -0
- package/dist/prompts/referrals.js.map +1 -0
- package/dist/prompts/streaming.d.ts +84 -0
- package/dist/prompts/streaming.d.ts.map +1 -0
- package/dist/prompts/streaming.js +411 -0
- package/dist/prompts/streaming.js.map +1 -0
- package/dist/prompts/tier1-bridge-operations.d.ts +30 -0
- package/dist/prompts/tier1-bridge-operations.d.ts.map +1 -0
- package/dist/prompts/tier1-bridge-operations.js +634 -0
- package/dist/prompts/tier1-bridge-operations.js.map +1 -0
- package/dist/prompts/tier1-liquidity-management.d.ts +30 -0
- package/dist/prompts/tier1-liquidity-management.d.ts.map +1 -0
- package/dist/prompts/tier1-liquidity-management.js +560 -0
- package/dist/prompts/tier1-liquidity-management.js.map +1 -0
- package/dist/prompts/tier1-pool-discovery.d.ts +30 -0
- package/dist/prompts/tier1-pool-discovery.d.ts.map +1 -0
- package/dist/prompts/tier1-pool-discovery.js +221 -0
- package/dist/prompts/tier1-pool-discovery.js.map +1 -0
- package/dist/prompts/tier1-price-history.d.ts +30 -0
- package/dist/prompts/tier1-price-history.d.ts.map +1 -0
- package/dist/prompts/tier1-price-history.js +429 -0
- package/dist/prompts/tier1-price-history.js.map +1 -0
- package/dist/prompts/tier1-token-analysis.d.ts +30 -0
- package/dist/prompts/tier1-token-analysis.d.ts.map +1 -0
- package/dist/prompts/tier1-token-analysis.js +376 -0
- package/dist/prompts/tier1-token-analysis.js.map +1 -0
- package/dist/prompts/tier2-account-setup.d.ts +24 -0
- package/dist/prompts/tier2-account-setup.d.ts.map +1 -0
- package/dist/prompts/tier2-account-setup.js +206 -0
- package/dist/prompts/tier2-account-setup.js.map +1 -0
- package/dist/prompts/tier2-advanced-liquidity.d.ts +24 -0
- package/dist/prompts/tier2-advanced-liquidity.d.ts.map +1 -0
- package/dist/prompts/tier2-advanced-liquidity.js +298 -0
- package/dist/prompts/tier2-advanced-liquidity.js.map +1 -0
- package/dist/prompts/tier2-asset-management.d.ts +25 -0
- package/dist/prompts/tier2-asset-management.d.ts.map +1 -0
- package/dist/prompts/tier2-asset-management.js +246 -0
- package/dist/prompts/tier2-asset-management.js.map +1 -0
- package/dist/prompts/tier2-token-lifecycle.d.ts +25 -0
- package/dist/prompts/tier2-token-lifecycle.d.ts.map +1 -0
- package/dist/prompts/tier2-token-lifecycle.js +241 -0
- package/dist/prompts/tier2-token-lifecycle.js.map +1 -0
- package/dist/prompts/tier3-community-engagement.d.ts +26 -0
- package/dist/prompts/tier3-community-engagement.d.ts.map +1 -0
- package/dist/prompts/tier3-community-engagement.js +610 -0
- package/dist/prompts/tier3-community-engagement.js.map +1 -0
- package/dist/prompts/tier3-moderation-workflows.d.ts +31 -0
- package/dist/prompts/tier3-moderation-workflows.d.ts.map +1 -0
- package/dist/prompts/tier3-moderation-workflows.js +511 -0
- package/dist/prompts/tier3-moderation-workflows.js.map +1 -0
- package/dist/prompts/tier3-streaming-management.d.ts +26 -0
- package/dist/prompts/tier3-streaming-management.d.ts.map +1 -0
- package/dist/prompts/tier3-streaming-management.js +797 -0
- package/dist/prompts/tier3-streaming-management.js.map +1 -0
- package/dist/prompts/token-bans.d.ts +27 -0
- package/dist/prompts/token-bans.d.ts.map +1 -0
- package/dist/prompts/token-bans.js +77 -0
- package/dist/prompts/token-bans.js.map +1 -0
- package/dist/prompts/trades.d.ts +22 -0
- package/dist/prompts/trades.d.ts.map +1 -0
- package/dist/prompts/trades.js +107 -0
- package/dist/prompts/trades.js.map +1 -0
- package/dist/prompts/trading-calculations.d.ts +3 -1
- package/dist/prompts/trading-calculations.d.ts.map +1 -1
- package/dist/prompts/trading-calculations.js +134 -270
- package/dist/prompts/trading-calculations.js.map +1 -1
- package/dist/prompts/trading.d.ts +10 -1
- package/dist/prompts/trading.d.ts.map +1 -1
- package/dist/prompts/trading.js +128 -2
- package/dist/prompts/trading.js.map +1 -1
- package/dist/prompts/transfers.d.ts +2 -1
- package/dist/prompts/transfers.d.ts.map +1 -1
- package/dist/prompts/transfers.js +26 -30
- package/dist/prompts/transfers.js.map +1 -1
- package/dist/prompts/uploads.d.ts +19 -0
- package/dist/prompts/uploads.d.ts.map +1 -0
- package/dist/prompts/uploads.js +114 -0
- package/dist/prompts/uploads.js.map +1 -0
- package/dist/prompts/utility-tools.d.ts.map +1 -1
- package/dist/prompts/utility-tools.js +27 -18
- package/dist/prompts/utility-tools.js.map +1 -1
- package/dist/prompts/utils/index.d.ts +21 -0
- package/dist/prompts/utils/index.d.ts.map +1 -0
- package/dist/prompts/utils/index.js +38 -0
- package/dist/prompts/utils/index.js.map +1 -0
- package/dist/prompts/utils/pagination-helpers.d.ts +95 -0
- package/dist/prompts/utils/pagination-helpers.d.ts.map +1 -0
- package/dist/prompts/utils/pagination-helpers.js +121 -0
- package/dist/prompts/utils/pagination-helpers.js.map +1 -0
- package/dist/prompts/utils/workflowTemplates.d.ts.map +1 -1
- package/dist/prompts/utils/workflowTemplates.js +4 -3
- package/dist/prompts/utils/workflowTemplates.js.map +1 -1
- package/dist/prompts/wallet.d.ts +24 -0
- package/dist/prompts/wallet.d.ts.map +1 -0
- package/dist/prompts/wallet.js +139 -0
- package/dist/prompts/wallet.js.map +1 -0
- package/dist/schemas/common-schemas.d.ts +890 -0
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +853 -1
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/server.d.ts +31 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +68 -7
- package/dist/server.js.map +1 -1
- package/dist/tools/api-keys/index.d.ts +41 -0
- package/dist/tools/api-keys/index.d.ts.map +1 -0
- package/dist/tools/api-keys/index.js +245 -0
- package/dist/tools/api-keys/index.js.map +1 -0
- package/dist/tools/auth/index.d.ts +19 -0
- package/dist/tools/auth/index.d.ts.map +1 -0
- package/dist/tools/auth/index.js +138 -0
- package/dist/tools/auth/index.js.map +1 -0
- package/dist/tools/balance/helpers/format-balance.d.ts +86 -0
- package/dist/tools/balance/helpers/format-balance.d.ts.map +1 -0
- package/dist/tools/balance/helpers/format-balance.js +87 -0
- package/dist/tools/balance/helpers/format-balance.js.map +1 -0
- package/dist/tools/balance/index.d.ts +4 -4
- package/dist/tools/balance/index.d.ts.map +1 -1
- package/dist/tools/balance/index.js +64 -176
- package/dist/tools/balance/index.js.map +1 -1
- package/dist/tools/ban/index.d.ts +37 -0
- package/dist/tools/ban/index.d.ts.map +1 -0
- package/dist/tools/ban/index.js +206 -0
- package/dist/tools/ban/index.js.map +1 -0
- package/dist/tools/bridge/helpers/bridgeable-token-tools.d.ts +87 -0
- package/dist/tools/bridge/helpers/bridgeable-token-tools.d.ts.map +1 -0
- package/dist/tools/bridge/helpers/bridgeable-token-tools.js +130 -0
- package/dist/tools/bridge/helpers/bridgeable-token-tools.js.map +1 -0
- package/dist/tools/bridge/helpers/external-chain-balance-tools.d.ts +87 -0
- package/dist/tools/bridge/helpers/external-chain-balance-tools.d.ts.map +1 -0
- package/dist/tools/bridge/helpers/external-chain-balance-tools.js +167 -0
- package/dist/tools/bridge/helpers/external-chain-balance-tools.js.map +1 -0
- package/dist/tools/bridge/index.d.ts +3 -7
- package/dist/tools/bridge/index.d.ts.map +1 -1
- package/dist/tools/bridge/index.js +89 -371
- package/dist/tools/bridge/index.js.map +1 -1
- package/dist/tools/burns/index.d.ts.map +1 -1
- package/dist/tools/burns/index.js +8 -36
- package/dist/tools/burns/index.js.map +1 -1
- package/dist/tools/chat/getPinnedChatMessage.d.ts +15 -0
- package/dist/tools/chat/getPinnedChatMessage.d.ts.map +1 -0
- package/dist/tools/chat/getPinnedChatMessage.js +37 -0
- package/dist/tools/chat/getPinnedChatMessage.js.map +1 -0
- package/dist/tools/chat/index.d.ts +73 -0
- package/dist/tools/chat/index.d.ts.map +1 -0
- package/dist/tools/chat/index.js +359 -0
- package/dist/tools/chat/index.js.map +1 -0
- package/dist/tools/chat/pinChatMessage.d.ts +16 -0
- package/dist/tools/chat/pinChatMessage.d.ts.map +1 -0
- package/dist/tools/chat/pinChatMessage.js +51 -0
- package/dist/tools/chat/pinChatMessage.js.map +1 -0
- package/dist/tools/chat/unpinChatMessage.d.ts +16 -0
- package/dist/tools/chat/unpinChatMessage.d.ts.map +1 -0
- package/dist/tools/chat/unpinChatMessage.js +39 -0
- package/dist/tools/chat/unpinChatMessage.js.map +1 -0
- package/dist/tools/chat-messages/index.d.ts +35 -0
- package/dist/tools/chat-messages/index.d.ts.map +1 -0
- package/dist/tools/chat-messages/index.js +165 -0
- package/dist/tools/chat-messages/index.js.map +1 -0
- package/dist/tools/comments/index.d.ts +44 -0
- package/dist/tools/comments/index.d.ts.map +1 -0
- package/dist/tools/comments/index.js +171 -0
- package/dist/tools/comments/index.js.map +1 -0
- package/dist/tools/content-flags/index.d.ts +38 -0
- package/dist/tools/content-flags/index.d.ts.map +1 -0
- package/dist/tools/content-flags/index.js +282 -0
- package/dist/tools/content-flags/index.js.map +1 -0
- package/dist/tools/content-reactions/index.d.ts +43 -0
- package/dist/tools/content-reactions/index.d.ts.map +1 -0
- package/dist/tools/content-reactions/index.js +135 -0
- package/dist/tools/content-reactions/index.js.map +1 -0
- package/dist/tools/creation/index.d.ts.map +1 -1
- package/dist/tools/creation/index.js +2 -5
- package/dist/tools/creation/index.js.map +1 -1
- package/dist/tools/dex/fetchAllDexPools.d.ts.map +1 -1
- package/dist/tools/dex/fetchAllDexPools.js +5 -21
- package/dist/tools/dex/fetchAllDexPools.js.map +1 -1
- package/dist/tools/dex/fetchDexPools.d.ts.map +1 -1
- package/dist/tools/dex/fetchDexPools.js +11 -28
- package/dist/tools/dex/fetchDexPools.js.map +1 -1
- package/dist/tools/dex/helpers.d.ts +479 -0
- package/dist/tools/dex/helpers.d.ts.map +1 -0
- package/dist/tools/dex/helpers.js +570 -0
- package/dist/tools/dex/helpers.js.map +1 -0
- package/dist/tools/dex/index.d.ts +50 -11
- package/dist/tools/dex/index.d.ts.map +1 -1
- package/dist/tools/dex/index.js +124 -486
- package/dist/tools/dex/index.js.map +1 -1
- package/dist/tools/dex/leaderboard.d.ts.map +1 -1
- package/dist/tools/dex/leaderboard.js +5 -70
- package/dist/tools/dex/leaderboard.js.map +1 -1
- package/dist/tools/dex/liquidity-positions.d.ts.map +1 -1
- package/dist/tools/dex/liquidity-positions.js +20 -91
- package/dist/tools/dex/liquidity-positions.js.map +1 -1
- package/dist/tools/dex/volume.d.ts.map +1 -1
- package/dist/tools/dex/volume.js +6 -21
- package/dist/tools/dex/volume.js.map +1 -1
- package/dist/tools/dex-analytics/index.d.ts +48 -0
- package/dist/tools/dex-analytics/index.d.ts.map +1 -0
- package/dist/tools/dex-analytics/index.js +111 -0
- package/dist/tools/dex-analytics/index.js.map +1 -0
- package/dist/tools/dex-liquidity/index.d.ts +22 -0
- package/dist/tools/dex-liquidity/index.d.ts.map +1 -0
- package/dist/tools/dex-liquidity/index.js +384 -0
- package/dist/tools/dex-liquidity/index.js.map +1 -0
- package/dist/tools/dex-pools/index.d.ts +60 -0
- package/dist/tools/dex-pools/index.d.ts.map +1 -0
- package/dist/tools/dex-pools/index.js +231 -0
- package/dist/tools/dex-pools/index.js.map +1 -0
- package/dist/tools/handler-factories.d.ts +1401 -0
- package/dist/tools/handler-factories.d.ts.map +1 -0
- package/dist/tools/handler-factories.js +1680 -0
- package/dist/tools/handler-factories.js.map +1 -0
- package/dist/tools/index.d.ts +1 -11
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +171 -27
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/locks/index.d.ts +2 -0
- package/dist/tools/locks/index.d.ts.map +1 -1
- package/dist/tools/locks/index.js +9 -86
- package/dist/tools/locks/index.js.map +1 -1
- package/dist/tools/moderators/index.d.ts +53 -0
- package/dist/tools/moderators/index.d.ts.map +1 -0
- package/dist/tools/moderators/index.js +258 -0
- package/dist/tools/moderators/index.js.map +1 -0
- package/dist/tools/overseers/getOverseerUserSummary.d.ts +15 -0
- package/dist/tools/overseers/getOverseerUserSummary.d.ts.map +1 -0
- package/dist/tools/overseers/getOverseerUserSummary.js +40 -0
- package/dist/tools/overseers/getOverseerUserSummary.js.map +1 -0
- package/dist/tools/overseers/index.d.ts +58 -0
- package/dist/tools/overseers/index.d.ts.map +1 -0
- package/dist/tools/overseers/index.js +325 -0
- package/dist/tools/overseers/index.js.map +1 -0
- package/dist/tools/overseers/listOverseerUsers.d.ts +15 -0
- package/dist/tools/overseers/listOverseerUsers.d.ts.map +1 -0
- package/dist/tools/overseers/listOverseerUsers.js +76 -0
- package/dist/tools/overseers/listOverseerUsers.js.map +1 -0
- package/dist/tools/pagination-handler-factory.d.ts +131 -0
- package/dist/tools/pagination-handler-factory.d.ts.map +1 -0
- package/dist/tools/pagination-handler-factory.js +159 -0
- package/dist/tools/pagination-handler-factory.js.map +1 -0
- package/dist/tools/pools/checkPoolExists.d.ts +16 -0
- package/dist/tools/pools/checkPoolExists.d.ts.map +1 -0
- package/dist/tools/pools/checkPoolExists.js +48 -0
- package/dist/tools/pools/checkPoolExists.js.map +1 -0
- package/dist/tools/pools/fetchAllPools.d.ts.map +1 -1
- package/dist/tools/pools/fetchAllPools.js +51 -11
- package/dist/tools/pools/fetchAllPools.js.map +1 -1
- package/dist/tools/pools/fetchAllPriceHistory.d.ts.map +1 -1
- package/dist/tools/pools/fetchAllPriceHistory.js +11 -51
- package/dist/tools/pools/fetchAllPriceHistory.js.map +1 -1
- package/dist/tools/pools/fetchPoolDetails.d.ts.map +1 -1
- package/dist/tools/pools/fetchPoolDetails.js +4 -11
- package/dist/tools/pools/fetchPoolDetails.js.map +1 -1
- package/dist/tools/pools/fetchPools.d.ts.map +1 -1
- package/dist/tools/pools/fetchPools.js +40 -20
- package/dist/tools/pools/fetchPools.js.map +1 -1
- package/dist/tools/pools/fetchPriceHistory.d.ts.map +1 -1
- package/dist/tools/pools/fetchPriceHistory.js +10 -51
- package/dist/tools/pools/fetchPriceHistory.js.map +1 -1
- package/dist/tools/pools/fetchTokenDetails.d.ts.map +1 -1
- package/dist/tools/pools/fetchTokenDetails.js +4 -35
- package/dist/tools/pools/fetchTokenDetails.js.map +1 -1
- package/dist/tools/pools/index.d.ts +2 -0
- package/dist/tools/pools/index.d.ts.map +1 -1
- package/dist/tools/pools/index.js +103 -35
- package/dist/tools/pools/index.js.map +1 -1
- package/dist/tools/pools/onDexPoolCreation.d.ts +1 -2
- package/dist/tools/pools/onDexPoolCreation.d.ts.map +1 -1
- package/dist/tools/pools/onDexPoolCreation.js +14 -48
- package/dist/tools/pools/onDexPoolCreation.js.map +1 -1
- package/dist/tools/pools/onLaunchpadTokenCreation.d.ts +1 -2
- package/dist/tools/pools/onLaunchpadTokenCreation.d.ts.map +1 -1
- package/dist/tools/pools/onLaunchpadTokenCreation.js +9 -42
- package/dist/tools/pools/onLaunchpadTokenCreation.js.map +1 -1
- package/dist/tools/pools/priceHistoryFactory.d.ts +44 -0
- package/dist/tools/pools/priceHistoryFactory.d.ts.map +1 -0
- package/dist/tools/pools/priceHistoryFactory.js +154 -0
- package/dist/tools/pools/priceHistoryFactory.js.map +1 -0
- package/dist/tools/pools/updateTokenSocials.d.ts +16 -0
- package/dist/tools/pools/updateTokenSocials.d.ts.map +1 -0
- package/dist/tools/pools/updateTokenSocials.js +84 -0
- package/dist/tools/pools/updateTokenSocials.js.map +1 -0
- package/dist/tools/referrals/index.d.ts +12 -0
- package/dist/tools/referrals/index.d.ts.map +1 -0
- package/dist/tools/referrals/index.js +110 -0
- package/dist/tools/referrals/index.js.map +1 -0
- package/dist/tools/streaming/index.d.ts +94 -0
- package/dist/tools/streaming/index.d.ts.map +1 -0
- package/dist/tools/streaming/index.js +549 -0
- package/dist/tools/streaming/index.js.map +1 -0
- package/dist/tools/streaming/setNextLiveStreamCountdown.d.ts +16 -0
- package/dist/tools/streaming/setNextLiveStreamCountdown.d.ts.map +1 -0
- package/dist/tools/streaming/setNextLiveStreamCountdown.js +62 -0
- package/dist/tools/streaming/setNextLiveStreamCountdown.js.map +1 -0
- package/dist/tools/token-ban/index.d.ts +39 -0
- package/dist/tools/token-ban/index.d.ts.map +1 -0
- package/dist/tools/token-ban/index.js +177 -0
- package/dist/tools/token-ban/index.js.map +1 -0
- package/dist/tools/tool-factory.d.ts +84 -0
- package/dist/tools/tool-factory.d.ts.map +1 -0
- package/dist/tools/tool-factory.js +135 -0
- package/dist/tools/tool-factory.js.map +1 -0
- package/dist/tools/trades/index.d.ts +20 -0
- package/dist/tools/trades/index.d.ts.map +1 -0
- package/dist/tools/trades/index.js +113 -0
- package/dist/tools/trades/index.js.map +1 -0
- package/dist/tools/trading/helpers/arg-extractors.d.ts +128 -0
- package/dist/tools/trading/helpers/arg-extractors.d.ts.map +1 -0
- package/dist/tools/trading/helpers/arg-extractors.js +215 -0
- package/dist/tools/trading/helpers/arg-extractors.js.map +1 -0
- package/dist/tools/trading/helpers/index.d.ts +8 -0
- package/dist/tools/trading/helpers/index.d.ts.map +1 -0
- package/dist/tools/trading/helpers/index.js +24 -0
- package/dist/tools/trading/helpers/index.js.map +1 -0
- package/dist/tools/trading/helpers/trading-schemas.d.ts +276 -0
- package/dist/tools/trading/helpers/trading-schemas.d.ts.map +1 -0
- package/dist/tools/trading/helpers/trading-schemas.js +310 -0
- package/dist/tools/trading/helpers/trading-schemas.js.map +1 -0
- package/dist/tools/trading/index.d.ts +2 -0
- package/dist/tools/trading/index.d.ts.map +1 -1
- package/dist/tools/trading/index.js +148 -371
- package/dist/tools/trading/index.js.map +1 -1
- package/dist/tools/transfers/index.d.ts +3 -0
- package/dist/tools/transfers/index.d.ts.map +1 -1
- package/dist/tools/transfers/index.js +72 -52
- package/dist/tools/transfers/index.js.map +1 -1
- package/dist/tools/utils/cleanup.d.ts.map +1 -1
- package/dist/tools/utils/cleanup.js +2 -9
- package/dist/tools/utils/cleanup.js.map +1 -1
- package/dist/tools/utils/clearCache.d.ts.map +1 -1
- package/dist/tools/utils/clearCache.js +5 -7
- package/dist/tools/utils/clearCache.js.map +1 -1
- package/dist/tools/utils/explainSdkUsage.d.ts +52 -0
- package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
- package/dist/tools/utils/explainSdkUsage.js +1905 -93
- package/dist/tools/utils/explainSdkUsage.js.map +1 -1
- package/dist/tools/utils/getEthereumAddressFromPrivateKey.d.ts.map +1 -1
- package/dist/tools/utils/getEthereumAddressFromPrivateKey.js +2 -1
- package/dist/tools/utils/getEthereumAddressFromPrivateKey.js.map +1 -1
- package/dist/tools/utils/index.d.ts +2 -0
- package/dist/tools/utils/index.d.ts.map +1 -1
- package/dist/tools/utils/index.js +2 -12
- package/dist/tools/utils/index.js.map +1 -1
- package/dist/tools/wallet/index.d.ts +7 -0
- package/dist/tools/wallet/index.d.ts.map +1 -0
- package/dist/tools/wallet/index.js +24 -0
- package/dist/tools/wallet/index.js.map +1 -0
- package/dist/utils/date-converter.d.ts +58 -0
- package/dist/utils/date-converter.d.ts.map +1 -0
- package/dist/utils/date-converter.js +83 -0
- package/dist/utils/date-converter.js.map +1 -0
- package/dist/utils/pool-filter-builder.d.ts +78 -0
- package/dist/utils/pool-filter-builder.d.ts.map +1 -0
- package/dist/utils/pool-filter-builder.js +130 -0
- package/dist/utils/pool-filter-builder.js.map +1 -0
- package/dist/utils/safe-parsers.d.ts +87 -0
- package/dist/utils/safe-parsers.d.ts.map +1 -0
- package/dist/utils/safe-parsers.js +134 -0
- package/dist/utils/safe-parsers.js.map +1 -0
- package/dist/utils/validation.d.ts +5 -5
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +24 -21
- package/dist/utils/validation.js.map +1 -1
- package/package.json +23 -15
- package/.env.example +0 -21
- package/.eslintrc.json +0 -88
- package/CHANGELOG.md +0 -2161
- package/DOCS_AUDIT_REPORT.md +0 -189
- package/DRY_REFACTORING_GUIDE.md +0 -271
- package/MCP_COVERAGE_REPORT.md +0 -164
- package/MCP_TEST_ANALYSIS.md +0 -317
- package/jest.integration.config.js +0 -70
- package/scripts/inject-version.ts +0 -31
- 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
|