@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
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DEX Analytics Tools
|
|
4
|
+
*
|
|
5
|
+
* Tools for DEX leaderboard rankings, season management, and volume analytics.
|
|
6
|
+
* Provides access to seasonal leaderboards, current rankings, player achievements,
|
|
7
|
+
* and platform-wide trading volume statistics.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.dexAnalyticsTools = exports.volumeTools = exports.leaderboardTools = exports.fetchDexAggregatedVolumeSummaryTool = exports.fetchCurrentDexLeaderboardTool = exports.fetchDexLeaderboardBySeasonIdTool = exports.fetchCurrentDexSeasonTool = exports.fetchAllDexSeasonsTool = void 0;
|
|
11
|
+
const mcpToolNames_js_1 = require("../../constants/mcpToolNames.js");
|
|
12
|
+
const handler_factories_js_1 = require("../handler-factories.js");
|
|
13
|
+
const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
14
|
+
// Season ID schema for leaderboard queries
|
|
15
|
+
const SEASON_ID_SCHEMA = {
|
|
16
|
+
type: 'number',
|
|
17
|
+
minimum: 1,
|
|
18
|
+
description: 'DEX season identifier (positive integer)',
|
|
19
|
+
};
|
|
20
|
+
// ============================================================================
|
|
21
|
+
// LEADERBOARD TOOLS (4 tools)
|
|
22
|
+
// ============================================================================
|
|
23
|
+
/**
|
|
24
|
+
* 1. Fetch All DEX Seasons
|
|
25
|
+
*
|
|
26
|
+
* Returns all available DEX leaderboard seasons with start/end dates and rules.
|
|
27
|
+
* Non-paginated endpoint returning complete list of all seasons.
|
|
28
|
+
*/
|
|
29
|
+
exports.fetchAllDexSeasonsTool = {
|
|
30
|
+
name: 'gala_launchpad_fetch_all_dex_seasons',
|
|
31
|
+
description: 'Fetch all DEX leaderboard seasons - returns complete list of seasons with dates and rules',
|
|
32
|
+
inputSchema: common_schemas_js_1.EMPTY_INPUT_SCHEMA,
|
|
33
|
+
handler: (0, handler_factories_js_1.createConvenienceFetcher)('fetchAllDexSeasons'),
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* 2. Fetch Current DEX Season
|
|
37
|
+
*
|
|
38
|
+
* Returns the currently active DEX leaderboard season based on current date/time.
|
|
39
|
+
* Returns null if no season is currently active.
|
|
40
|
+
*/
|
|
41
|
+
exports.fetchCurrentDexSeasonTool = {
|
|
42
|
+
name: 'gala_launchpad_fetch_current_dex_season',
|
|
43
|
+
description: 'Fetch current active DEX leaderboard season - returns null if no season is active',
|
|
44
|
+
inputSchema: common_schemas_js_1.EMPTY_INPUT_SCHEMA,
|
|
45
|
+
handler: (0, handler_factories_js_1.createConvenienceFetcher)('fetchCurrentDexSeason'),
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* 3. Fetch DEX Leaderboard by Season ID
|
|
49
|
+
*
|
|
50
|
+
* Returns the leaderboard rankings for a specific season.
|
|
51
|
+
* Includes player rankings, XP metrics, and mastery achievements.
|
|
52
|
+
*/
|
|
53
|
+
exports.fetchDexLeaderboardBySeasonIdTool = {
|
|
54
|
+
name: 'gala_launchpad_fetch_dex_leaderboard_by_season_id',
|
|
55
|
+
description: 'Fetch DEX leaderboard for a specific season - returns rankings with XP metrics and achievements',
|
|
56
|
+
inputSchema: {
|
|
57
|
+
type: 'object',
|
|
58
|
+
properties: {
|
|
59
|
+
seasonId: SEASON_ID_SCHEMA,
|
|
60
|
+
},
|
|
61
|
+
required: ['seasonId'],
|
|
62
|
+
},
|
|
63
|
+
handler: (0, handler_factories_js_1.createSimpleHandler)('fetchDexLeaderboardBySeasonId', (args) => args.seasonId),
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* 4. Fetch Current DEX Leaderboard
|
|
67
|
+
*
|
|
68
|
+
* Returns the leaderboard for the currently active season.
|
|
69
|
+
* Combines current season detection with leaderboard retrieval.
|
|
70
|
+
* Returns null if no season is currently active.
|
|
71
|
+
*/
|
|
72
|
+
exports.fetchCurrentDexLeaderboardTool = {
|
|
73
|
+
name: 'gala_launchpad_fetch_current_dex_leaderboard',
|
|
74
|
+
description: 'Fetch current DEX leaderboard for active season - returns null if no active season',
|
|
75
|
+
inputSchema: common_schemas_js_1.EMPTY_INPUT_SCHEMA,
|
|
76
|
+
handler: (0, handler_factories_js_1.createConvenienceFetcher)('fetchCurrentDexLeaderboard'),
|
|
77
|
+
};
|
|
78
|
+
// ============================================================================
|
|
79
|
+
// VOLUME ANALYTICS TOOLS (1 tool)
|
|
80
|
+
// ============================================================================
|
|
81
|
+
/**
|
|
82
|
+
* 5. Fetch DEX aggregated volume summary
|
|
83
|
+
*
|
|
84
|
+
* Returns platform-wide trading volume statistics with 1-day, 7-day,
|
|
85
|
+
* and 30-day comparisons and percentage changes.
|
|
86
|
+
*/
|
|
87
|
+
exports.fetchDexAggregatedVolumeSummaryTool = {
|
|
88
|
+
name: mcpToolNames_js_1.MCP_TOOLS.FETCH_DEX_AGGREGATED_VOLUME_SUMMARY,
|
|
89
|
+
description: 'Fetch DEX aggregated volume summary with 1d/7d/30d metrics and trend analysis',
|
|
90
|
+
inputSchema: common_schemas_js_1.EMPTY_INPUT_SCHEMA,
|
|
91
|
+
handler: (0, handler_factories_js_1.createConvenienceFetcher)('fetchDexAggregatedVolumeSummary'),
|
|
92
|
+
};
|
|
93
|
+
// ============================================================================
|
|
94
|
+
// EXPORTS
|
|
95
|
+
// ============================================================================
|
|
96
|
+
// Export individual tools for selective imports
|
|
97
|
+
exports.leaderboardTools = [
|
|
98
|
+
exports.fetchAllDexSeasonsTool,
|
|
99
|
+
exports.fetchCurrentDexSeasonTool,
|
|
100
|
+
exports.fetchDexLeaderboardBySeasonIdTool,
|
|
101
|
+
exports.fetchCurrentDexLeaderboardTool,
|
|
102
|
+
];
|
|
103
|
+
exports.volumeTools = [
|
|
104
|
+
exports.fetchDexAggregatedVolumeSummaryTool,
|
|
105
|
+
];
|
|
106
|
+
// Export all analytics tools (4 leaderboard + 1 volume = 5 tools)
|
|
107
|
+
exports.dexAnalyticsTools = [
|
|
108
|
+
...exports.leaderboardTools,
|
|
109
|
+
...exports.volumeTools,
|
|
110
|
+
];
|
|
111
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/dex-analytics/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAGH,qEAA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BAAS,CAAC,mCAAmC;IACnD,WAAW,EAAE,+EAA+E;IAC5F,WAAW,EAAE,sCAAkB;IAC/B,OAAO,EAAE,IAAA,+CAAwB,EAAC,iCAAiC,CAAC;CACrE,CAAC;AAEF,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E,gDAAgD;AACnC,QAAA,gBAAgB,GAAc;IACzC,8BAAsB;IACtB,iCAAyB;IACzB,yCAAiC;IACjC,sCAA8B;CAC/B,CAAC;AAEW,QAAA,WAAW,GAAc;IACpC,2CAAmC;CACpC,CAAC;AAEF,kEAAkE;AACrD,QAAA,iBAAiB,GAAc;IAC1C,GAAG,wBAAgB;IACnB,GAAG,mBAAW;CACf,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DEX Liquidity Position Management Tools
|
|
3
|
+
*
|
|
4
|
+
* Tools for managing liquidity positions on GalaSwap DEX, including:
|
|
5
|
+
* - Querying user positions and position details
|
|
6
|
+
* - Estimating liquidity removal
|
|
7
|
+
* - Adding liquidity by price or tick range
|
|
8
|
+
* - Removing liquidity and collecting fees
|
|
9
|
+
*/
|
|
10
|
+
import type { MCPTool } from '../../types/mcp.js';
|
|
11
|
+
export declare const getUserLiquidityPositionsTool: MCPTool;
|
|
12
|
+
export declare const getAllUserLiquidityPositionsTool: MCPTool;
|
|
13
|
+
export declare const getLiquidityPositionByIdTool: MCPTool;
|
|
14
|
+
export declare const getLiquidityPositionTool: MCPTool;
|
|
15
|
+
export declare const estimateRemoveLiquidityTool: MCPTool;
|
|
16
|
+
export declare const addLiquidityByPriceTool: MCPTool;
|
|
17
|
+
export declare const addLiquidityByTicksTool: MCPTool;
|
|
18
|
+
export declare const removeLiquidityTool: MCPTool;
|
|
19
|
+
export declare const fetchSwapPositionDirectTool: MCPTool;
|
|
20
|
+
export declare const collectPositionFeesTool: MCPTool;
|
|
21
|
+
export declare const liquidityPositionTools: MCPTool[];
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/dex-liquidity/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAiClD,eAAO,MAAM,6BAA6B,EAAE,OA0D3C,CAAC;AAGF,eAAO,MAAM,gCAAgC,EAAE,OA8B9C,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,OAsB1C,CAAC;AAGF,eAAO,MAAM,wBAAwB,EAAE,OAoBtC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,OA+BzC,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,OAqDrC,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,OAuDrC,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,OAyDjC,CAAC;AAGF,eAAO,MAAM,2BAA2B,EAAE,OAmBzC,CAAC;AAGF,eAAO,MAAM,uBAAuB,EAAE,OA2CrC,CAAC;AAGF,eAAO,MAAM,sBAAsB,EAAE,OAAO,EAW3C,CAAC"}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DEX Liquidity Position Management Tools
|
|
4
|
+
*
|
|
5
|
+
* Tools for managing liquidity positions on GalaSwap DEX, including:
|
|
6
|
+
* - Querying user positions and position details
|
|
7
|
+
* - Estimating liquidity removal
|
|
8
|
+
* - Adding liquidity by price or tick range
|
|
9
|
+
* - Removing liquidity and collecting fees
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.liquidityPositionTools = exports.collectPositionFeesTool = exports.fetchSwapPositionDirectTool = exports.removeLiquidityTool = exports.addLiquidityByTicksTool = exports.addLiquidityByPriceTool = exports.estimateRemoveLiquidityTool = exports.getLiquidityPositionTool = exports.getLiquidityPositionByIdTool = exports.getAllUserLiquidityPositionsTool = exports.getUserLiquidityPositionsTool = void 0;
|
|
13
|
+
const response_formatter_js_1 = require("../../utils/response-formatter.js");
|
|
14
|
+
const error_handler_js_1 = require("../../utils/error-handler.js");
|
|
15
|
+
const handler_factories_js_1 = require("../handler-factories.js");
|
|
16
|
+
const common_schemas_js_1 = require("../../schemas/common-schemas.js");
|
|
17
|
+
const helpers_js_1 = require("../dex/helpers.js");
|
|
18
|
+
// 1. Get User Liquidity Positions
|
|
19
|
+
exports.getUserLiquidityPositionsTool = {
|
|
20
|
+
name: 'gala_launchpad_get_user_liquidity_positions',
|
|
21
|
+
description: 'Get all open liquidity positions for a wallet address with optional pagination and real-time pricing. Note: bookmark pagination and pricing options are mutually exclusive - use getAllUserLiquidityPositionsTool for pricing with auto-pagination',
|
|
22
|
+
inputSchema: {
|
|
23
|
+
type: 'object',
|
|
24
|
+
properties: {
|
|
25
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
26
|
+
limit: {
|
|
27
|
+
type: 'number',
|
|
28
|
+
minimum: 1,
|
|
29
|
+
maximum: 100,
|
|
30
|
+
description: 'Maximum number of positions to return (optional)',
|
|
31
|
+
},
|
|
32
|
+
bookmark: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
description: 'Pagination bookmark from previous response (optional). Cannot be used together with withPrices - if you need pricing, use getAllUserLiquidityPositionsTool instead',
|
|
35
|
+
},
|
|
36
|
+
withPrices: {
|
|
37
|
+
type: 'boolean',
|
|
38
|
+
description: 'Whether to fetch real-time pricing for each position (optional, default: false). Cannot be used together with bookmark - if you need pagination, use bookmark without withPrices. Pricing concurrency is controlled by SDK-level pricingConcurrency configuration',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
required: ['ownerAddress'],
|
|
42
|
+
},
|
|
43
|
+
handler: (0, error_handler_js_1.withErrorHandling)(async (sdk, args) => {
|
|
44
|
+
let result;
|
|
45
|
+
// Determine which parameters to pass based on what's provided
|
|
46
|
+
if (args.withPrices) {
|
|
47
|
+
// When pricing is requested, pass pricing options as 3rd parameter (can't use bookmark with options)
|
|
48
|
+
const pricingOptions = { withPrices: true };
|
|
49
|
+
result = await sdk.getSwapUserLiquidityPositions(args.ownerAddress, args.limit, pricingOptions);
|
|
50
|
+
}
|
|
51
|
+
else if (args.bookmark) {
|
|
52
|
+
// When only bookmark pagination is used, pass bookmark as 3rd parameter
|
|
53
|
+
result = await sdk.getSwapUserLiquidityPositions(args.ownerAddress, args.limit, args.bookmark);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
// No pagination or pricing, just fetch positions
|
|
57
|
+
result = await sdk.getSwapUserLiquidityPositions(args.ownerAddress, args.limit);
|
|
58
|
+
}
|
|
59
|
+
const parsed = (0, helpers_js_1.parsePositionListResult)(result);
|
|
60
|
+
return (0, response_formatter_js_1.formatSuccess)((0, helpers_js_1.formatPositionListResponse)(parsed, {
|
|
61
|
+
ownerAddress: args.ownerAddress,
|
|
62
|
+
withPrices: !!args.withPrices,
|
|
63
|
+
}));
|
|
64
|
+
}),
|
|
65
|
+
};
|
|
66
|
+
// 2. Get ALL User Liquidity Positions (Auto-Paginated)
|
|
67
|
+
exports.getAllUserLiquidityPositionsTool = {
|
|
68
|
+
name: 'gala_launchpad_get_all_user_liquidity_positions',
|
|
69
|
+
description: 'Get ALL open liquidity positions for a wallet address with automatic pagination and optional real-time pricing',
|
|
70
|
+
inputSchema: {
|
|
71
|
+
type: 'object',
|
|
72
|
+
properties: {
|
|
73
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
74
|
+
withPrices: {
|
|
75
|
+
type: 'boolean',
|
|
76
|
+
description: 'Whether to fetch real-time pricing for each position (optional, default: false). Pricing concurrency is controlled by SDK-level pricingConcurrency configuration',
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
required: ['ownerAddress'],
|
|
80
|
+
},
|
|
81
|
+
handler: (0, handler_factories_js_1.createOptionalParamsHandler)((sdk, params) => sdk.getAllSwapUserLiquidityPositions(params?.ownerAddress, params?.pricingOptions), (args) => ({
|
|
82
|
+
ownerAddress: args.ownerAddress,
|
|
83
|
+
pricingOptions: args.withPrices ? { withPrices: true } : undefined,
|
|
84
|
+
}), (result, args) => (0, helpers_js_1.formatPositionListResponse)((0, helpers_js_1.parsePositionListResult)(result), {
|
|
85
|
+
ownerAddress: args.ownerAddress,
|
|
86
|
+
withPrices: !!args.withPrices,
|
|
87
|
+
messageSuffix: '(auto-paginated)',
|
|
88
|
+
})),
|
|
89
|
+
};
|
|
90
|
+
// 3. Get Liquidity Position by ID
|
|
91
|
+
exports.getLiquidityPositionByIdTool = {
|
|
92
|
+
name: 'gala_launchpad_get_liquidity_position_by_id',
|
|
93
|
+
description: 'Get specific liquidity position details by position ID including tokens, tick range, and accumulated fees',
|
|
94
|
+
inputSchema: {
|
|
95
|
+
type: 'object',
|
|
96
|
+
properties: {
|
|
97
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
98
|
+
positionId: {
|
|
99
|
+
type: 'string',
|
|
100
|
+
minLength: 1,
|
|
101
|
+
description: 'Unique position identifier',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
required: ['ownerAddress', 'positionId'],
|
|
105
|
+
},
|
|
106
|
+
handler: (0, handler_factories_js_1.createOptionResultHandler)((sdk, args) => sdk.getSwapLiquidityPositionById(args.ownerAddress, args.positionId), 'Position not found'),
|
|
107
|
+
};
|
|
108
|
+
// 4. Get Liquidity Position by Token Pair
|
|
109
|
+
exports.getLiquidityPositionTool = {
|
|
110
|
+
name: 'gala_launchpad_get_liquidity_position',
|
|
111
|
+
description: 'Get liquidity position for a specific token pair and price range (tick boundaries)',
|
|
112
|
+
inputSchema: {
|
|
113
|
+
type: 'object',
|
|
114
|
+
properties: {
|
|
115
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
116
|
+
...common_schemas_js_1.TOKEN_PAIR_WITH_TICKS_SCHEMA,
|
|
117
|
+
},
|
|
118
|
+
required: ['ownerAddress', 'token0', 'token1', 'fee', 'tickLower', 'tickUpper'],
|
|
119
|
+
},
|
|
120
|
+
// SDK validates tick spacing - no need for MCP-level validation
|
|
121
|
+
handler: (0, handler_factories_js_1.createOptionResultHandler)((sdk, args) => sdk.getSwapLiquidityPosition(args.ownerAddress, (0, helpers_js_1.extractTokenPairWithTicksParams)(args)), 'No position found for specified token pair and tick range'),
|
|
122
|
+
};
|
|
123
|
+
// 5. Estimate Liquidity Removal
|
|
124
|
+
exports.estimateRemoveLiquidityTool = {
|
|
125
|
+
name: 'gala_launchpad_estimate_remove_liquidity',
|
|
126
|
+
description: 'Estimate tokens received when removing liquidity at current market prices. Returns amount0 and amount1 (underlying token amounts, raw without slippage adjustment)',
|
|
127
|
+
inputSchema: {
|
|
128
|
+
type: 'object',
|
|
129
|
+
properties: {
|
|
130
|
+
...common_schemas_js_1.TOKEN_PAIR_WITH_TICKS_SCHEMA,
|
|
131
|
+
liquidity: {
|
|
132
|
+
...common_schemas_js_1.DECIMAL_AMOUNT_SCHEMA,
|
|
133
|
+
description: 'Liquidity amount to estimate removal for',
|
|
134
|
+
},
|
|
135
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
136
|
+
},
|
|
137
|
+
required: ['token0', 'token1', 'fee', 'liquidity', 'tickLower', 'tickUpper', 'ownerAddress'],
|
|
138
|
+
},
|
|
139
|
+
// SDK validates tick spacing - no need for MCP-level validation
|
|
140
|
+
handler: (0, handler_factories_js_1.createTransformingHandler)('getSwapEstimateRemoveLiquidity', (args) => ({
|
|
141
|
+
...(0, helpers_js_1.extractTokenPairWithTicksParams)(args),
|
|
142
|
+
liquidity: args.liquidity,
|
|
143
|
+
owner: args.ownerAddress,
|
|
144
|
+
}),
|
|
145
|
+
// API only returns amount0 and amount1; other fields are optional
|
|
146
|
+
(estimate, args) => ({
|
|
147
|
+
amount0: estimate.amount0,
|
|
148
|
+
amount1: estimate.amount1,
|
|
149
|
+
message: `Removing ${args.liquidity} liquidity would return approximately ${estimate.amount0} ${args.token0} + ${estimate.amount1} ${args.token1}`,
|
|
150
|
+
})),
|
|
151
|
+
};
|
|
152
|
+
// 6. Add Liquidity by Price Range
|
|
153
|
+
exports.addLiquidityByPriceTool = {
|
|
154
|
+
name: 'gala_launchpad_add_liquidity_by_price',
|
|
155
|
+
description: 'Add liquidity to a pool by specifying min/max price boundaries (SDK calculates tick boundaries)',
|
|
156
|
+
inputSchema: {
|
|
157
|
+
type: 'object',
|
|
158
|
+
properties: {
|
|
159
|
+
...common_schemas_js_1.TOKEN_PAIR_SCHEMA,
|
|
160
|
+
minPrice: {
|
|
161
|
+
type: 'string',
|
|
162
|
+
description: 'Minimum price boundary (e.g., "0.90")',
|
|
163
|
+
},
|
|
164
|
+
maxPrice: {
|
|
165
|
+
type: 'string',
|
|
166
|
+
description: 'Maximum price boundary (e.g., "1.10")',
|
|
167
|
+
},
|
|
168
|
+
...common_schemas_js_1.LIQUIDITY_AMOUNTS_SCHEMA,
|
|
169
|
+
},
|
|
170
|
+
required: [
|
|
171
|
+
'token0',
|
|
172
|
+
'token1',
|
|
173
|
+
'fee',
|
|
174
|
+
'minPrice',
|
|
175
|
+
'maxPrice',
|
|
176
|
+
'amount0Desired',
|
|
177
|
+
'amount1Desired',
|
|
178
|
+
],
|
|
179
|
+
},
|
|
180
|
+
handler: (0, handler_factories_js_1.createWalletRequiredHandler)('addSwapLiquidityByPrice', (args) => {
|
|
181
|
+
// Type assertion is safe here because MCP schema validation ensures args match AddLiquidityByPriceArgs
|
|
182
|
+
const typedArgs = args;
|
|
183
|
+
return {
|
|
184
|
+
token0: typedArgs.token0,
|
|
185
|
+
token1: typedArgs.token1,
|
|
186
|
+
fee: typedArgs.fee,
|
|
187
|
+
minPrice: typedArgs.minPrice,
|
|
188
|
+
maxPrice: typedArgs.maxPrice,
|
|
189
|
+
amount0Desired: typedArgs.amount0Desired,
|
|
190
|
+
amount1Desired: typedArgs.amount1Desired,
|
|
191
|
+
amount0Min: typedArgs.amount0Min || '0',
|
|
192
|
+
amount1Min: typedArgs.amount1Min || '0',
|
|
193
|
+
};
|
|
194
|
+
}, (result, args) => {
|
|
195
|
+
// Type assertion is safe here because MCP schema validation ensures args match AddLiquidityByPriceArgs
|
|
196
|
+
const typedArgs = args;
|
|
197
|
+
return (0, helpers_js_1.formatAddLiquidityResponse)(result, typedArgs, {
|
|
198
|
+
priceRange: `${typedArgs.minPrice} - ${typedArgs.maxPrice}`,
|
|
199
|
+
});
|
|
200
|
+
}),
|
|
201
|
+
};
|
|
202
|
+
// 7. Add Liquidity by Tick Range
|
|
203
|
+
exports.addLiquidityByTicksTool = {
|
|
204
|
+
name: 'gala_launchpad_add_liquidity_by_ticks',
|
|
205
|
+
description: 'Add liquidity to a pool by specifying exact tick boundaries (advanced usage)',
|
|
206
|
+
inputSchema: {
|
|
207
|
+
type: 'object',
|
|
208
|
+
properties: {
|
|
209
|
+
token0: common_schemas_js_1.TOKEN_PAIR_SCHEMA.token0,
|
|
210
|
+
token1: common_schemas_js_1.TOKEN_PAIR_SCHEMA.token1,
|
|
211
|
+
feeTier: common_schemas_js_1.FEE_TIER_SCHEMA,
|
|
212
|
+
tickLower: {
|
|
213
|
+
type: 'number',
|
|
214
|
+
description: 'Lower tick boundary (must be multiple of tickSpacing)',
|
|
215
|
+
},
|
|
216
|
+
tickUpper: {
|
|
217
|
+
type: 'number',
|
|
218
|
+
description: 'Upper tick boundary (must be multiple of tickSpacing)',
|
|
219
|
+
},
|
|
220
|
+
...common_schemas_js_1.LIQUIDITY_AMOUNTS_SCHEMA,
|
|
221
|
+
},
|
|
222
|
+
required: [
|
|
223
|
+
'token0',
|
|
224
|
+
'token1',
|
|
225
|
+
'feeTier',
|
|
226
|
+
'tickLower',
|
|
227
|
+
'tickUpper',
|
|
228
|
+
'amount0Desired',
|
|
229
|
+
'amount1Desired',
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
handler: (0, handler_factories_js_1.createWalletRequiredHandler)('addSwapLiquidityByTicks', (args) => {
|
|
233
|
+
// Type assertion is safe here because MCP schema validation ensures args match AddLiquidityByTicksArgs
|
|
234
|
+
const typedArgs = args;
|
|
235
|
+
return {
|
|
236
|
+
token0: typedArgs.token0,
|
|
237
|
+
token1: typedArgs.token1,
|
|
238
|
+
feeTier: typedArgs.feeTier,
|
|
239
|
+
tickLower: typedArgs.tickLower,
|
|
240
|
+
tickUpper: typedArgs.tickUpper,
|
|
241
|
+
amount0Desired: typedArgs.amount0Desired,
|
|
242
|
+
amount1Desired: typedArgs.amount1Desired,
|
|
243
|
+
amount0Min: typedArgs.amount0Min || '0',
|
|
244
|
+
amount1Min: typedArgs.amount1Min || '0',
|
|
245
|
+
};
|
|
246
|
+
}, (result, args) => {
|
|
247
|
+
// Type assertion is safe here because MCP schema validation ensures args match AddLiquidityByTicksArgs
|
|
248
|
+
const typedArgs = args;
|
|
249
|
+
return (0, helpers_js_1.formatAddLiquidityResponse)(result, typedArgs, {
|
|
250
|
+
tickRange: `${typedArgs.tickLower} - ${typedArgs.tickUpper}`,
|
|
251
|
+
});
|
|
252
|
+
}),
|
|
253
|
+
};
|
|
254
|
+
// 8. Remove Liquidity
|
|
255
|
+
exports.removeLiquidityTool = {
|
|
256
|
+
name: 'gala_launchpad_remove_liquidity',
|
|
257
|
+
description: 'Remove liquidity from an open position and withdraw underlying tokens',
|
|
258
|
+
inputSchema: {
|
|
259
|
+
type: 'object',
|
|
260
|
+
properties: {
|
|
261
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
262
|
+
positionId: {
|
|
263
|
+
type: 'string',
|
|
264
|
+
minLength: 1,
|
|
265
|
+
description: 'Position identifier to remove liquidity from',
|
|
266
|
+
},
|
|
267
|
+
liquidity: {
|
|
268
|
+
...common_schemas_js_1.DECIMAL_AMOUNT_SCHEMA,
|
|
269
|
+
description: 'Amount of liquidity to remove (full liquidity to close position)',
|
|
270
|
+
},
|
|
271
|
+
amount0Min: {
|
|
272
|
+
...common_schemas_js_1.DECIMAL_AMOUNT_SCHEMA,
|
|
273
|
+
description: 'Minimum acceptable amount of token0 to receive',
|
|
274
|
+
},
|
|
275
|
+
amount1Min: {
|
|
276
|
+
...common_schemas_js_1.DECIMAL_AMOUNT_SCHEMA,
|
|
277
|
+
description: 'Minimum acceptable amount of token1 to receive',
|
|
278
|
+
},
|
|
279
|
+
deadline: {
|
|
280
|
+
type: 'number',
|
|
281
|
+
description: 'Transaction deadline (unix timestamp, optional)',
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
required: ['ownerAddress', 'positionId', 'liquidity', 'amount0Min', 'amount1Min'],
|
|
285
|
+
},
|
|
286
|
+
handler: (0, handler_factories_js_1.createPositionEnrichmentHandler)({
|
|
287
|
+
operation: (sdk, position, args) => sdk.removeSwapLiquidity({
|
|
288
|
+
token0: position.token0,
|
|
289
|
+
token1: position.token1,
|
|
290
|
+
fee: position.feeTier,
|
|
291
|
+
tickLower: position.tickLower,
|
|
292
|
+
tickUpper: position.tickUpper,
|
|
293
|
+
liquidity: args.liquidity,
|
|
294
|
+
amount0Min: args.amount0Min,
|
|
295
|
+
amount1Min: args.amount1Min,
|
|
296
|
+
positionId: args.positionId,
|
|
297
|
+
}),
|
|
298
|
+
responseBuilder: (result, position, args) => ({
|
|
299
|
+
transactionId: result.transactionId,
|
|
300
|
+
status: result.status,
|
|
301
|
+
positionId: args.positionId,
|
|
302
|
+
token0: position.token0,
|
|
303
|
+
token1: position.token1,
|
|
304
|
+
liquidity: args.liquidity,
|
|
305
|
+
amount0: result.amount0,
|
|
306
|
+
amount1: result.amount1,
|
|
307
|
+
message: `Liquidity removed! Received ${result.amount0} ${position.token0} and ${result.amount1} ${position.token1}`,
|
|
308
|
+
}),
|
|
309
|
+
}),
|
|
310
|
+
};
|
|
311
|
+
// 9. Fetch Swap Position Direct (compound key lookup - most efficient)
|
|
312
|
+
exports.fetchSwapPositionDirectTool = {
|
|
313
|
+
name: 'gala_launchpad_fetch_swap_position_direct',
|
|
314
|
+
description: 'Fetch a single liquidity position using ONLY the compound key (most efficient). Makes a direct HTTP call to GalaChain Gateway using token0, token1, fee, and tick range.',
|
|
315
|
+
inputSchema: {
|
|
316
|
+
type: 'object',
|
|
317
|
+
properties: {
|
|
318
|
+
...common_schemas_js_1.TOKEN_PAIR_WITH_TICKS_SCHEMA,
|
|
319
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
320
|
+
},
|
|
321
|
+
required: ['token0', 'token1', 'fee', 'tickLower', 'tickUpper', 'ownerAddress'],
|
|
322
|
+
},
|
|
323
|
+
handler: (0, handler_factories_js_1.createOptionResultHandler)((sdk, args) => sdk.fetchSwapPositionDirect({
|
|
324
|
+
...(0, helpers_js_1.extractTokenPairWithTicksParams)(args),
|
|
325
|
+
owner: args.ownerAddress,
|
|
326
|
+
}), 'No position found for specified compound key'),
|
|
327
|
+
};
|
|
328
|
+
// 10. Collect Position Fees
|
|
329
|
+
exports.collectPositionFeesTool = {
|
|
330
|
+
name: 'gala_launchpad_collect_position_fees',
|
|
331
|
+
description: 'Collect accumulated trading fees from a liquidity position without modifying the position',
|
|
332
|
+
inputSchema: {
|
|
333
|
+
type: 'object',
|
|
334
|
+
properties: {
|
|
335
|
+
ownerAddress: common_schemas_js_1.OWNER_ADDRESS_SCHEMA,
|
|
336
|
+
positionId: {
|
|
337
|
+
type: 'string',
|
|
338
|
+
minLength: 1,
|
|
339
|
+
description: 'Position identifier to collect fees from',
|
|
340
|
+
},
|
|
341
|
+
amount0Max: {
|
|
342
|
+
...common_schemas_js_1.DECIMAL_AMOUNT_SCHEMA,
|
|
343
|
+
description: 'Maximum amount of token0 fees to collect (optional)',
|
|
344
|
+
},
|
|
345
|
+
amount1Max: {
|
|
346
|
+
...common_schemas_js_1.DECIMAL_AMOUNT_SCHEMA,
|
|
347
|
+
description: 'Maximum amount of token1 fees to collect (optional)',
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
required: ['ownerAddress', 'positionId'],
|
|
351
|
+
},
|
|
352
|
+
handler: (0, handler_factories_js_1.createPositionEnrichmentHandler)({
|
|
353
|
+
operation: (sdk, position, args) => sdk.collectSwapPositionFees({
|
|
354
|
+
ownerAddress: args.ownerAddress,
|
|
355
|
+
positionId: args.positionId,
|
|
356
|
+
amount0Max: args.amount0Max,
|
|
357
|
+
amount1Max: args.amount1Max,
|
|
358
|
+
}),
|
|
359
|
+
responseBuilder: (result, position, args) => ({
|
|
360
|
+
transactionId: result.transactionId,
|
|
361
|
+
status: result.status,
|
|
362
|
+
positionId: args.positionId,
|
|
363
|
+
token0: position.token0,
|
|
364
|
+
token1: position.token1,
|
|
365
|
+
amount0Collected: result.amount0,
|
|
366
|
+
amount1Collected: result.amount1,
|
|
367
|
+
message: `Fees collected! ${result.amount0} ${position.token0} and ${result.amount1} ${position.token1} harvested`,
|
|
368
|
+
}),
|
|
369
|
+
}),
|
|
370
|
+
};
|
|
371
|
+
// Export all liquidity position tools
|
|
372
|
+
exports.liquidityPositionTools = [
|
|
373
|
+
exports.getUserLiquidityPositionsTool,
|
|
374
|
+
exports.getAllUserLiquidityPositionsTool,
|
|
375
|
+
exports.getLiquidityPositionByIdTool,
|
|
376
|
+
exports.getLiquidityPositionTool,
|
|
377
|
+
exports.estimateRemoveLiquidityTool,
|
|
378
|
+
exports.addLiquidityByPriceTool,
|
|
379
|
+
exports.addLiquidityByTicksTool,
|
|
380
|
+
exports.removeLiquidityTool,
|
|
381
|
+
exports.fetchSwapPositionDirectTool,
|
|
382
|
+
exports.collectPositionFeesTool,
|
|
383
|
+
];
|
|
384
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/dex-liquidity/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAGH,6EAAkE;AAClE,mEAAiE;AACjE,kEAMiC;AACjC,u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B,YAAY,EAAE,IAAI,CAAC,YAAsB;YACzC,UAAU,EAAE,IAAI,CAAC,UAAoB;YACrC,UAAU,EAAE,IAAI,CAAC,UAAgC;YACjD,UAAU,EAAE,IAAI,CAAC,UAAgC;SAClD,CAAC;QACJ,eAAe,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YAC5C,aAAa,EAAE,MAAM,CAAC,aAAa;YACnC,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,gBAAgB,EAAE,MAAM,CAAC,OAAO;YAChC,gBAAgB,EAAE,MAAM,CAAC,OAAO;YAChC,OAAO,EAAE,mBAAmB,MAAM,CAAC,OAAO,IAAI,QAAQ,CAAC,MAAM,QAAQ,MAAM,CAAC,OAAO,IAAI,QAAQ,CAAC,MAAM,YAAY;SACnH,CAAC;KACH,CAAC;CACH,CAAC;AAEF,sCAAsC;AACzB,QAAA,sBAAsB,GAAc;IAC/C,qCAA6B;IAC7B,wCAAgC;IAChC,oCAA4B;IAC5B,gCAAwB;IACxB,mCAA2B;IAC3B,+BAAuB;IACvB,+BAAuB;IACvB,2BAAmB;IACnB,mCAA2B;IAC3B,+BAAuB;CACxB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DEX Pool Discovery & Information Tools
|
|
3
|
+
*
|
|
4
|
+
* Tools for discovering and querying GalaSwap DEX liquidity pools.
|
|
5
|
+
* Provides pool listing, search, pricing, and token discovery capabilities.
|
|
6
|
+
*/
|
|
7
|
+
import type { MCPTool } from '../../types/mcp.js';
|
|
8
|
+
/**
|
|
9
|
+
* 1. Fetch DEX Pools (paginated)
|
|
10
|
+
*
|
|
11
|
+
* Queries the GalaSwap DEX backend for available liquidity pools with pagination,
|
|
12
|
+
* sorting, and search filtering capabilities.
|
|
13
|
+
*/
|
|
14
|
+
export declare const fetchDexPoolsTool: MCPTool;
|
|
15
|
+
/**
|
|
16
|
+
* 2. Fetch All DEX Pools (auto-paginated)
|
|
17
|
+
*
|
|
18
|
+
* Convenience tool that fetches all available DEX pools with automatic pagination.
|
|
19
|
+
* No page/limit parameters needed - returns ALL pools matching filters.
|
|
20
|
+
*/
|
|
21
|
+
export declare const fetchAllDexPoolsTool: MCPTool;
|
|
22
|
+
/**
|
|
23
|
+
* 3. Get Pool Info
|
|
24
|
+
*
|
|
25
|
+
* Get liquidity and fee tier information for a token pair on GalaSwap DEX.
|
|
26
|
+
*/
|
|
27
|
+
export declare const getSwapPoolInfoTool: MCPTool;
|
|
28
|
+
/**
|
|
29
|
+
* 4. Fetch Composite Pool Data
|
|
30
|
+
*
|
|
31
|
+
* Fetch complete pool state for offline DEX quote calculations.
|
|
32
|
+
* Returns pool liquidity, tick data, and token balances.
|
|
33
|
+
* Use this for bulk pricing operations or when you need multiple quotes for the same pool.
|
|
34
|
+
*/
|
|
35
|
+
export declare const fetchCompositePoolDataTool: MCPTool;
|
|
36
|
+
/**
|
|
37
|
+
* 5. Get Swap Pool Price
|
|
38
|
+
*
|
|
39
|
+
* Get current price, tick, and liquidity for a DEX pool.
|
|
40
|
+
* Use to check if liquidity positions are in-range.
|
|
41
|
+
*/
|
|
42
|
+
export declare const getSwapPoolPriceTool: MCPTool;
|
|
43
|
+
/**
|
|
44
|
+
* 6. Fetch Available DEX Tokens (paginated)
|
|
45
|
+
*
|
|
46
|
+
* Discover all tokens available on the DEX (paginated).
|
|
47
|
+
* Returns rich token metadata without requiring a wallet address.
|
|
48
|
+
* Use for token discovery and listing.
|
|
49
|
+
*/
|
|
50
|
+
export declare const fetchAvailableDexTokensTool: MCPTool;
|
|
51
|
+
/**
|
|
52
|
+
* 7. Fetch All Available DEX Tokens (auto-paginated)
|
|
53
|
+
*
|
|
54
|
+
* Discover ALL tokens available on the DEX (auto-paginates).
|
|
55
|
+
* Returns complete list with rich metadata.
|
|
56
|
+
* Use for comprehensive token catalogs.
|
|
57
|
+
*/
|
|
58
|
+
export declare const fetchAllAvailableDexTokensTool: MCPTool;
|
|
59
|
+
export declare const dexPoolsTools: MCPTool[];
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/dex-pools/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AA0DlD;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAY/B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAclC,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAyBjC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,EAAE,OAoCxC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAgClC,CAAC;AAMF;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAE,OA6BzC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,EAAE,OAsB5C,CAAC;AAOF,eAAO,MAAM,aAAa,EAAE,OAAO,EAQlC,CAAC"}
|