@gala-chain/launchpad-mcp-server 2.0.1 → 2.0.2-beta.10
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/.eslintrc.json +68 -8
- package/CHANGELOG.md +10 -10
- package/README.md +24 -22
- package/dist/constants/mcpToolNames.d.ts +21 -2
- package/dist/constants/mcpToolNames.d.ts.map +1 -1
- package/dist/constants/mcpToolNames.js +17 -3
- package/dist/constants/mcpToolNames.js.map +1 -1
- 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/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/prompts/advanced-pools.d.ts.map +1 -1
- package/dist/prompts/advanced-pools.js.map +1 -1
- package/dist/prompts/dex-leaderboard.d.ts +40 -0
- package/dist/prompts/dex-leaderboard.d.ts.map +1 -0
- package/dist/prompts/dex-leaderboard.js +239 -0
- package/dist/prompts/dex-leaderboard.js.map +1 -0
- package/dist/prompts/dex-volume.d.ts +19 -0
- package/dist/prompts/dex-volume.d.ts.map +1 -0
- package/dist/prompts/dex-volume.js +74 -0
- package/dist/prompts/dex-volume.js.map +1 -0
- package/dist/prompts/index.d.ts +5 -2
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +11 -2
- package/dist/prompts/index.js.map +1 -1
- package/dist/prompts/locks.d.ts +16 -0
- package/dist/prompts/locks.d.ts.map +1 -0
- package/dist/prompts/locks.js +114 -0
- package/dist/prompts/locks.js.map +1 -0
- package/dist/prompts/monitoring.js.map +1 -1
- package/dist/prompts/pools.js +3 -3
- package/dist/prompts/pools.js.map +1 -1
- package/dist/schemas/common-schemas.d.ts +18 -16
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +8 -0
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +3 -1
- package/dist/server.js.map +1 -1
- package/dist/tools/balance/index.js.map +1 -1
- package/dist/tools/creation/index.d.ts.map +1 -1
- package/dist/tools/creation/index.js +11 -8
- 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 +10 -6
- package/dist/tools/dex/fetchAllDexPools.js.map +1 -1
- package/dist/tools/dex/fetchDexPools.js.map +1 -1
- package/dist/tools/dex/index.d.ts +5 -0
- package/dist/tools/dex/index.d.ts.map +1 -1
- package/dist/tools/dex/index.js +238 -2
- package/dist/tools/dex/index.js.map +1 -1
- package/dist/tools/dex/leaderboard.d.ts +38 -0
- package/dist/tools/dex/leaderboard.d.ts.map +1 -0
- package/dist/tools/dex/leaderboard.js +153 -0
- package/dist/tools/dex/leaderboard.js.map +1 -0
- package/dist/tools/dex/liquidity-positions.d.ts.map +1 -1
- package/dist/tools/dex/liquidity-positions.js +13 -4
- package/dist/tools/dex/liquidity-positions.js.map +1 -1
- package/dist/tools/dex/volume.d.ts +19 -0
- package/dist/tools/dex/volume.d.ts.map +1 -0
- package/dist/tools/dex/volume.js +53 -0
- package/dist/tools/dex/volume.js.map +1 -0
- package/dist/tools/index.d.ts +6 -5
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +15 -8
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/locks/index.d.ts +8 -0
- package/dist/tools/locks/index.d.ts.map +1 -0
- package/dist/tools/locks/index.js +79 -0
- package/dist/tools/locks/index.js.map +1 -0
- package/dist/tools/pools/fetchAllPools.d.ts.map +1 -1
- package/dist/tools/pools/fetchAllPools.js +8 -12
- package/dist/tools/pools/fetchAllPools.js.map +1 -1
- package/dist/tools/pools/fetchAllPriceHistory.js +1 -1
- package/dist/tools/pools/fetchAllPriceHistory.js.map +1 -1
- package/dist/tools/pools/fetchPoolDetails.js.map +1 -1
- package/dist/tools/pools/fetchPools.js.map +1 -1
- package/dist/tools/pools/fetchPriceHistory.js +1 -1
- package/dist/tools/pools/fetchPriceHistory.js.map +1 -1
- package/dist/tools/pools/fetchTokenDetails.js +1 -1
- package/dist/tools/pools/fetchTokenDetails.js.map +1 -1
- package/dist/tools/pools/index.js +1 -1
- package/dist/tools/pools/index.js.map +1 -1
- package/dist/tools/pools/onDexPoolCreation.d.ts.map +1 -1
- package/dist/tools/pools/onDexPoolCreation.js +1 -0
- package/dist/tools/pools/onDexPoolCreation.js.map +1 -1
- package/dist/tools/pools/onLaunchpadTokenCreation.d.ts.map +1 -1
- package/dist/tools/pools/onLaunchpadTokenCreation.js +1 -0
- package/dist/tools/pools/onLaunchpadTokenCreation.js.map +1 -1
- package/dist/tools/social/index.js.map +1 -1
- package/dist/tools/trading/index.js +2 -2
- package/dist/tools/trading/index.js.map +1 -1
- package/dist/tools/transfers/index.js.map +1 -1
- package/dist/tools/utils/cleanup.d.ts +2 -2
- package/dist/tools/utils/cleanup.d.ts.map +1 -1
- package/dist/tools/utils/cleanup.js +8 -35
- package/dist/tools/utils/cleanup.js.map +1 -1
- package/dist/tools/utils/clearCache.js.map +1 -1
- package/dist/tools/utils/explainSdkUsage.d.ts +10 -0
- package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
- package/dist/tools/utils/explainSdkUsage.js +896 -10
- package/dist/tools/utils/explainSdkUsage.js.map +1 -1
- package/dist/tools/utils/index.d.ts.map +1 -1
- package/dist/tools/utils/index.js +4 -0
- package/dist/tools/utils/index.js.map +1 -1
- package/dist/tools/utils/retrieveFromFaucet.d.ts +9 -0
- package/dist/tools/utils/retrieveFromFaucet.d.ts.map +1 -0
- package/dist/tools/utils/retrieveFromFaucet.js +36 -0
- package/dist/tools/utils/retrieveFromFaucet.js.map +1 -0
- package/dist/types/mcp.d.ts +2 -2
- package/dist/types/mcp.d.ts.map +1 -1
- package/dist/utils/default-values.d.ts.map +1 -1
- package/dist/utils/default-values.js +3 -0
- package/dist/utils/default-values.js.map +1 -1
- package/dist/utils/response-formatter.d.ts.map +1 -1
- package/dist/utils/response-formatter.js +1 -0
- package/dist/utils/response-formatter.js.map +1 -1
- package/dist/utils/tool-factory.d.ts.map +1 -1
- package/dist/utils/tool-factory.js +1 -0
- package/dist/utils/tool-factory.js.map +1 -1
- package/eslint.config.js.bak +113 -0
- package/package.json +5 -4
- package/dist/prompts/__tests__/promptStructure.test.d.ts +0 -7
- package/dist/prompts/__tests__/promptStructure.test.d.ts.map +0 -1
- package/dist/prompts/__tests__/promptStructure.test.js +0 -106
- package/dist/prompts/__tests__/promptStructure.test.js.map +0 -1
- package/dist/prompts/__tests__/registry.test.d.ts +0 -7
- package/dist/prompts/__tests__/registry.test.d.ts.map +0 -1
- package/dist/prompts/__tests__/registry.test.js +0 -119
- package/dist/prompts/__tests__/registry.test.js.map +0 -1
- package/dist/scripts/test-all-prompts.d.ts +0 -6
- package/dist/scripts/test-all-prompts.d.ts.map +0 -1
- package/dist/scripts/test-all-prompts.js +0 -158
- package/dist/scripts/test-all-prompts.js.map +0 -1
- package/dist/tools/balance/all-assets.d.ts +0 -9
- package/dist/tools/balance/all-assets.d.ts.map +0 -1
- package/dist/tools/balance/all-assets.js +0 -104
- package/dist/tools/balance/all-assets.js.map +0 -1
- package/dist/tools/dex/advanced-dex.d.ts +0 -15
- package/dist/tools/dex/advanced-dex.d.ts.map +0 -1
- package/dist/tools/dex/advanced-dex.js +0 -239
- package/dist/tools/dex/advanced-dex.js.map +0 -1
- package/dist/tools/dex/pool-price.d.ts +0 -9
- package/dist/tools/dex/pool-price.d.ts.map +0 -1
- package/dist/tools/dex/pool-price.js +0 -78
- package/dist/tools/dex/pool-price.js.map +0 -1
- package/dist/tools/dex/pool-quote-calculation.d.ts +0 -9
- package/dist/tools/dex/pool-quote-calculation.d.ts.map +0 -1
- package/dist/tools/dex/pool-quote-calculation.js +0 -99
- package/dist/tools/dex/pool-quote-calculation.js.map +0 -1
- package/dist/tools/dex/pool-quote-external.d.ts +0 -10
- package/dist/tools/dex/pool-quote-external.d.ts.map +0 -1
- package/dist/tools/dex/pool-quote-external.js +0 -84
- package/dist/tools/dex/pool-quote-external.js.map +0 -1
- package/dist/tools/dex/pool-quote-local.d.ts +0 -10
- package/dist/tools/dex/pool-quote-local.d.ts.map +0 -1
- package/dist/tools/dex/pool-quote-local.js +0 -84
- package/dist/tools/dex/pool-quote-local.js.map +0 -1
- package/dist/tools/dex/position-direct.d.ts +0 -9
- package/dist/tools/dex/position-direct.d.ts.map +0 -1
- package/dist/tools/dex/position-direct.js +0 -65
- package/dist/tools/dex/position-direct.js.map +0 -1
- package/dist/tools/pools/composite-pool.d.ts +0 -9
- package/dist/tools/pools/composite-pool.d.ts.map +0 -1
- package/dist/tools/pools/composite-pool.js +0 -69
- package/dist/tools/pools/composite-pool.js.map +0 -1
- package/dist/tools/pools/fetchAllPrices.d.ts +0 -9
- package/dist/tools/pools/fetchAllPrices.d.ts.map +0 -1
- package/dist/tools/pools/fetchAllPrices.js +0 -38
- package/dist/tools/pools/fetchAllPrices.js.map +0 -1
- package/dist/tools/pools/fetchPrices.d.ts +0 -9
- package/dist/tools/pools/fetchPrices.d.ts.map +0 -1
- package/dist/tools/pools/fetchPrices.js +0 -51
- package/dist/tools/pools/fetchPrices.js.map +0 -1
- package/dist/tools/utils/faucet.d.ts +0 -10
- package/dist/tools/utils/faucet.d.ts.map +0 -1
- package/dist/tools/utils/faucet.js +0 -51
- package/dist/tools/utils/faucet.js.map +0 -1
- package/dist/utils/__tests__/validation.test.d.ts +0 -7
- package/dist/utils/__tests__/validation.test.d.ts.map +0 -1
- package/dist/utils/__tests__/validation.test.js +0 -122
- package/dist/utils/__tests__/validation.test.js.map +0 -1
- package/test-mcp.js +0 -89
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DEX Leaderboard Prompts
|
|
4
|
+
*
|
|
5
|
+
* Slash commands for discovering DEX leaderboard seasons and player rankings.
|
|
6
|
+
* Provides access to seasonal competitions, rankings, and achievement tracking.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.dexLeaderboardPrompts = exports.fetchCurrentDexLeaderboardPrompt = exports.fetchDexLeaderboardBySeasonIdPrompt = exports.fetchCurrentDexSeasonPrompt = exports.fetchAllDexSeasonsPrompt = void 0;
|
|
10
|
+
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
|
|
11
|
+
const handlerHelpers_js_1 = require("./utils/handlerHelpers.js");
|
|
12
|
+
/**
|
|
13
|
+
* Fetch All DEX Seasons
|
|
14
|
+
*
|
|
15
|
+
* Returns all available leaderboard seasons with dates and rules.
|
|
16
|
+
* Used to explore which seasons have occurred and their date ranges.
|
|
17
|
+
*/
|
|
18
|
+
exports.fetchAllDexSeasonsPrompt = {
|
|
19
|
+
name: 'galachain-launchpad:fetch-all-dex-seasons',
|
|
20
|
+
description: 'Fetch all DEX leaderboard seasons - explore season dates and rules',
|
|
21
|
+
arguments: [],
|
|
22
|
+
handler: () => {
|
|
23
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(`I want to explore all available DEX leaderboard seasons.
|
|
24
|
+
|
|
25
|
+
**Purpose:**
|
|
26
|
+
Get a comprehensive list of all DEX seasons that have occurred or are planned.
|
|
27
|
+
|
|
28
|
+
**Data to Retrieve:**
|
|
29
|
+
- Season IDs and names
|
|
30
|
+
- Start and end dates for each season
|
|
31
|
+
- Rules ID for season-specific rules
|
|
32
|
+
- Season status (active, upcoming, completed)
|
|
33
|
+
|
|
34
|
+
**Information Provided:**
|
|
35
|
+
- Complete history of DEX competitive seasons
|
|
36
|
+
- Date ranges for planning participation
|
|
37
|
+
- Season structure and progression
|
|
38
|
+
|
|
39
|
+
**Use Cases:**
|
|
40
|
+
1. **Historical Analysis**: See past seasons and their date ranges
|
|
41
|
+
2. **Season Selection**: Choose which season's leaderboard to view
|
|
42
|
+
3. **Planning**: Find upcoming seasons and prepare for competition
|
|
43
|
+
4. **Archive Research**: Look at completed seasons for trends
|
|
44
|
+
|
|
45
|
+
**Related Operations:**
|
|
46
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_CURRENT_DEX_SEASON} to get the currently active season
|
|
47
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_DEX_LEADERBOARD_BY_SEASON_ID} to view rankings for a specific season
|
|
48
|
+
|
|
49
|
+
Please fetch all available DEX leaderboard seasons.`);
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Fetch Current DEX Season
|
|
54
|
+
*
|
|
55
|
+
* Returns the currently active leaderboard season.
|
|
56
|
+
* Automatically determines which season is active based on current date.
|
|
57
|
+
*/
|
|
58
|
+
exports.fetchCurrentDexSeasonPrompt = {
|
|
59
|
+
name: 'galachain-launchpad:fetch-current-dex-season',
|
|
60
|
+
description: 'Fetch the currently active DEX leaderboard season',
|
|
61
|
+
arguments: [],
|
|
62
|
+
handler: () => {
|
|
63
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(`I want to find the currently active DEX leaderboard season.
|
|
64
|
+
|
|
65
|
+
**Purpose:**
|
|
66
|
+
Get information about which season is currently running on the DEX leaderboard.
|
|
67
|
+
|
|
68
|
+
**Data to Retrieve:**
|
|
69
|
+
- Current season ID and name
|
|
70
|
+
- Season start date and end date
|
|
71
|
+
- Season rules ID
|
|
72
|
+
- Active status confirmation
|
|
73
|
+
|
|
74
|
+
**Information Provided:**
|
|
75
|
+
- Which season is currently active
|
|
76
|
+
- When the current season started and ends
|
|
77
|
+
- Deadline for leaderboard participation
|
|
78
|
+
|
|
79
|
+
**Use Cases:**
|
|
80
|
+
1. **Current Competition**: Find active season for real-time rankings
|
|
81
|
+
2. **Timing Check**: Verify if a season is still active
|
|
82
|
+
3. **Deadline Planning**: Know when current season ends
|
|
83
|
+
4. **Competition Status**: Confirm if participation is still open
|
|
84
|
+
|
|
85
|
+
**Edge Cases:**
|
|
86
|
+
- Returns null if no season is currently active (off-season period)
|
|
87
|
+
- Graceful handling of transition periods between seasons
|
|
88
|
+
|
|
89
|
+
**Related Operations:**
|
|
90
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_ALL_DEX_SEASONS} to see all seasons including past and future
|
|
91
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_CURRENT_DEX_LEADERBOARD} to get rankings for the current season
|
|
92
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_DEX_LEADERBOARD_BY_SEASON_ID} to view a specific season's rankings
|
|
93
|
+
|
|
94
|
+
Please fetch the currently active DEX leaderboard season.`);
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Fetch DEX Leaderboard by Season ID
|
|
99
|
+
*
|
|
100
|
+
* Returns the complete leaderboard rankings for a specific season.
|
|
101
|
+
* Includes player ranks, XP metrics, and mastery achievements.
|
|
102
|
+
*/
|
|
103
|
+
exports.fetchDexLeaderboardBySeasonIdPrompt = {
|
|
104
|
+
name: 'galachain-launchpad:fetch-dex-leaderboard-by-season-id',
|
|
105
|
+
description: 'Fetch DEX leaderboard rankings for a specific season',
|
|
106
|
+
arguments: [
|
|
107
|
+
{
|
|
108
|
+
name: 'seasonId',
|
|
109
|
+
description: 'Season ID to fetch leaderboard for (e.g., 4 for Season 1)',
|
|
110
|
+
required: true,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
handler: (args) => {
|
|
114
|
+
const seasonId = args.seasonId || 4;
|
|
115
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(`I want to view the DEX leaderboard rankings for season ${seasonId}.
|
|
116
|
+
|
|
117
|
+
**Purpose:**
|
|
118
|
+
Get complete leaderboard rankings with XP metrics and achievements for a specific season.
|
|
119
|
+
|
|
120
|
+
**Season Information:**
|
|
121
|
+
- Season ID: ${seasonId}
|
|
122
|
+
|
|
123
|
+
**Data to Retrieve:**
|
|
124
|
+
- Player rankings and positions
|
|
125
|
+
- Total XP earned (combined liquidity + trading XP)
|
|
126
|
+
- Liquidity XP contribution
|
|
127
|
+
- Trading XP contribution
|
|
128
|
+
- Distribution percentage of total XP
|
|
129
|
+
- Mastery titles and achievements earned
|
|
130
|
+
|
|
131
|
+
**Leaderboard Details:**
|
|
132
|
+
- Ranked list of all participants
|
|
133
|
+
- XP breakdown by activity type (liquidity vs trading)
|
|
134
|
+
- Achievement/title tracking
|
|
135
|
+
- Top performers and their metrics
|
|
136
|
+
|
|
137
|
+
**Information Provided:**
|
|
138
|
+
- Complete season rankings
|
|
139
|
+
- XP earned by each player
|
|
140
|
+
- Achievement status (mastery titles)
|
|
141
|
+
- Performance metrics for analysis
|
|
142
|
+
|
|
143
|
+
**Use Cases:**
|
|
144
|
+
1. **Rankings Check**: See current rankings for the season
|
|
145
|
+
2. **Top Performers**: Identify leading players and their strategies
|
|
146
|
+
3. **Progress Comparison**: Compare your rank to others
|
|
147
|
+
4. **Achievement Tracking**: View earned mastery titles
|
|
148
|
+
5. **Historical Analysis**: Look at completed season rankings
|
|
149
|
+
6. **Competitive Research**: Study successful player patterns
|
|
150
|
+
|
|
151
|
+
**Key Metrics:**
|
|
152
|
+
- **totalXp**: Combined points from liquidity and trading activities
|
|
153
|
+
- **liquidityXp**: Points earned from providing liquidity
|
|
154
|
+
- **tradingXp**: Points earned from swap/trading volume
|
|
155
|
+
- **distributionPercent**: Player's share of total XP pool
|
|
156
|
+
- **masteryTitles**: Achievements unlocked (liquidity or trading focused)
|
|
157
|
+
|
|
158
|
+
**Related Operations:**
|
|
159
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_ALL_DEX_SEASONS} to find valid season IDs
|
|
160
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_CURRENT_DEX_LEADERBOARD} for quick access to current season rankings
|
|
161
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_CURRENT_DEX_SEASON} to get the active season ID
|
|
162
|
+
|
|
163
|
+
Please fetch the leaderboard for season ${seasonId}.`);
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Fetch Current DEX Leaderboard
|
|
168
|
+
*
|
|
169
|
+
* Returns the leaderboard rankings for the currently active season.
|
|
170
|
+
* Combines current season detection with leaderboard retrieval.
|
|
171
|
+
*/
|
|
172
|
+
exports.fetchCurrentDexLeaderboardPrompt = {
|
|
173
|
+
name: 'galachain-launchpad:fetch-current-dex-leaderboard',
|
|
174
|
+
description: 'Fetch DEX leaderboard rankings for the currently active season',
|
|
175
|
+
arguments: [],
|
|
176
|
+
handler: () => {
|
|
177
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(`I want to view the DEX leaderboard rankings for the currently active season.
|
|
178
|
+
|
|
179
|
+
**Purpose:**
|
|
180
|
+
Get real-time leaderboard rankings for the season that is active right now.
|
|
181
|
+
|
|
182
|
+
**Data to Retrieve:**
|
|
183
|
+
- Current season information (auto-detected)
|
|
184
|
+
- Player rankings and positions
|
|
185
|
+
- Total XP earned by each player
|
|
186
|
+
- Liquidity XP and Trading XP breakdown
|
|
187
|
+
- Distribution percentages
|
|
188
|
+
- Mastery titles and achievements
|
|
189
|
+
|
|
190
|
+
**Leaderboard Features:**
|
|
191
|
+
- Automatically finds the active season
|
|
192
|
+
- Complete rankings of all participants
|
|
193
|
+
- Real-time XP metrics
|
|
194
|
+
- Achievement tracking
|
|
195
|
+
- Top performer summaries
|
|
196
|
+
|
|
197
|
+
**Information Provided:**
|
|
198
|
+
- Current season name and ID
|
|
199
|
+
- Live leaderboard positions
|
|
200
|
+
- XP earned by each player
|
|
201
|
+
- Mastery achievements and titles
|
|
202
|
+
- Performance distribution
|
|
203
|
+
|
|
204
|
+
**Use Cases:**
|
|
205
|
+
1. **Live Rankings**: See current competitive standings
|
|
206
|
+
2. **Find Myself**: Locate your position on the leaderboard
|
|
207
|
+
3. **Top Players**: Identify current season leaders
|
|
208
|
+
4. **Achievement View**: See earned mastery titles
|
|
209
|
+
5. **Quick Check**: Fastest way to see active season rankings
|
|
210
|
+
6. **Real-Time Tracking**: Monitor ongoing competition progress
|
|
211
|
+
|
|
212
|
+
**Return Values:**
|
|
213
|
+
- **currentSeason**: The season that is active (or null if no active season)
|
|
214
|
+
- **totalEntries**: Number of players in current rankings
|
|
215
|
+
- **topEntries**: Top 5 ranked players (quick summary)
|
|
216
|
+
- **topPlayer**: #1 ranked player with detailed stats
|
|
217
|
+
|
|
218
|
+
**Related Operations:**
|
|
219
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_CURRENT_DEX_SEASON} to just get season info
|
|
220
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_ALL_DEX_SEASONS} to see all seasons
|
|
221
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_DEX_LEADERBOARD_BY_SEASON_ID} to view a specific season
|
|
222
|
+
|
|
223
|
+
**Edge Case:**
|
|
224
|
+
- If no season is currently active, returns null (off-season period)
|
|
225
|
+
- Graceful handling ensures clean error reporting
|
|
226
|
+
|
|
227
|
+
Please fetch the current DEX leaderboard rankings.`);
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Export all DEX leaderboard prompts
|
|
232
|
+
*/
|
|
233
|
+
exports.dexLeaderboardPrompts = [
|
|
234
|
+
exports.fetchAllDexSeasonsPrompt,
|
|
235
|
+
exports.fetchCurrentDexSeasonPrompt,
|
|
236
|
+
exports.fetchDexLeaderboardBySeasonIdPrompt,
|
|
237
|
+
exports.fetchCurrentDexLeaderboardPrompt,
|
|
238
|
+
];
|
|
239
|
+
//# sourceMappingURL=dex-leaderboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dex-leaderboard.js","sourceRoot":"","sources":["../../src/prompts/dex-leaderboard.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,kEAAyD;AACzD,iEAAiE;AAEjE;;;;;GAKG;AACU,QAAA,wBAAwB,GAAc;IACjD,IAAI,EAAE,2CAA2C;IACjD,WAA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E,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,GAAG,EAAE;QACZ,OAAO,IAAA,wCAAoB,EACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0CE,2BAAS,CAAC,wBAAwB;QAClC,2BAAS,CAAC,qBAAqB;QAC/B,2BAAS,CAAC,kCAAkC;;;;;;mDAMD,CAC9C,CAAC;IACJ,CAAC;CACF,CAAC;AAEF;;GAEG;AACU,QAAA,qBAAqB,GAAgB;IAChD,gCAAwB;IACxB,mCAA2B;IAC3B,2CAAmC;IACnC,wCAAgC;CACjC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DEX Volume Summary Prompts
|
|
3
|
+
*
|
|
4
|
+
* Slash commands for exploring DEX aggregated volume metrics and trends.
|
|
5
|
+
* Provides access to platform-wide trading volume analysis.
|
|
6
|
+
*/
|
|
7
|
+
import type { MCPPrompt } from '../types/mcp.js';
|
|
8
|
+
/**
|
|
9
|
+
* Fetch DEX Aggregated Volume Summary
|
|
10
|
+
*
|
|
11
|
+
* Returns platform-wide trading volume statistics with trend analysis
|
|
12
|
+
* across 1-day, 7-day, and 30-day windows.
|
|
13
|
+
*/
|
|
14
|
+
export declare const fetchDexAggregatedVolumeSummaryPrompt: MCPPrompt;
|
|
15
|
+
/**
|
|
16
|
+
* Export all DEX volume summary prompts
|
|
17
|
+
*/
|
|
18
|
+
export declare const dexVolumePrompts: MCPPrompt[];
|
|
19
|
+
//# sourceMappingURL=dex-volume.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dex-volume.d.ts","sourceRoot":"","sources":["../../src/prompts/dex-volume.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAIjD;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,EAAE,SAmDnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,EAEvC,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DEX Volume Summary Prompts
|
|
4
|
+
*
|
|
5
|
+
* Slash commands for exploring DEX aggregated volume metrics and trends.
|
|
6
|
+
* Provides access to platform-wide trading volume analysis.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.dexVolumePrompts = exports.fetchDexAggregatedVolumeSummaryPrompt = void 0;
|
|
10
|
+
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
|
|
11
|
+
const handlerHelpers_js_1 = require("./utils/handlerHelpers.js");
|
|
12
|
+
/**
|
|
13
|
+
* Fetch DEX Aggregated Volume Summary
|
|
14
|
+
*
|
|
15
|
+
* Returns platform-wide trading volume statistics with trend analysis
|
|
16
|
+
* across 1-day, 7-day, and 30-day windows.
|
|
17
|
+
*/
|
|
18
|
+
exports.fetchDexAggregatedVolumeSummaryPrompt = {
|
|
19
|
+
name: 'galachain-launchpad:fetch-dex-aggregated-volume-summary',
|
|
20
|
+
description: 'Fetch DEX aggregated volume summary with 1d/7d/30d trend metrics',
|
|
21
|
+
arguments: [],
|
|
22
|
+
handler: () => {
|
|
23
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(`I want to view the DEX aggregated volume summary with trend analysis.
|
|
24
|
+
|
|
25
|
+
**Purpose:**
|
|
26
|
+
Get platform-wide trading volume metrics across all DEX pools with historical comparisons.
|
|
27
|
+
|
|
28
|
+
**Data to Retrieve:**
|
|
29
|
+
- 1-day total volume (USD) and % change
|
|
30
|
+
- 7-day total volume (USD) and % change
|
|
31
|
+
- 30-day total volume (USD) and % change
|
|
32
|
+
|
|
33
|
+
**Information Provided:**
|
|
34
|
+
- Complete volume breakdown by time period
|
|
35
|
+
- Trend direction and magnitude
|
|
36
|
+
- Performance relative to previous periods
|
|
37
|
+
- Formatted metrics for easy interpretation
|
|
38
|
+
|
|
39
|
+
**Use Cases:**
|
|
40
|
+
1. **Market Overview**: Check total DEX trading volume and activity
|
|
41
|
+
2. **Trend Analysis**: Identify volume increase/decrease patterns
|
|
42
|
+
3. **Period Comparison**: Compare 1d vs 7d vs 30d performance
|
|
43
|
+
4. **Health Check**: Monitor platform trading health
|
|
44
|
+
5. **Volume Trends**: Detect market shifts and anomalies
|
|
45
|
+
6. **Investment Research**: Analyze platform adoption and usage
|
|
46
|
+
|
|
47
|
+
**Key Metrics:**
|
|
48
|
+
- **volume1d**: 1-day total volume in USD
|
|
49
|
+
- **volume1dDelta**: 1-day change as decimal (-0.15 = -15%, 0.25 = +25%)
|
|
50
|
+
- **volume7d**: 7-day total volume in USD
|
|
51
|
+
- **volume7dDelta**: 7-day change as decimal
|
|
52
|
+
- **volume30d**: 30-day total volume in USD
|
|
53
|
+
- **volume30dDelta**: 30-day change as decimal
|
|
54
|
+
|
|
55
|
+
**Related Operations:**
|
|
56
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_DEX_POOLS} to explore individual pool volumes and trading
|
|
57
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.GET_SWAP_QUOTE_EXACT_INPUT} for specific swap analysis
|
|
58
|
+
- Use ${mcpToolNames_js_1.MCP_TOOLS.FETCH_ALL_DEX_POOLS} to get comprehensive pool data with volume metrics
|
|
59
|
+
|
|
60
|
+
**Trend Interpretation:**
|
|
61
|
+
- **Positive delta**: Volume increased compared to previous period (market growth)
|
|
62
|
+
- **Negative delta**: Volume decreased compared to previous period (market slowdown)
|
|
63
|
+
- **Volume ordering**: 1d ≤ 7d ≤ 30d (accumulated volumes across time windows)
|
|
64
|
+
|
|
65
|
+
Please fetch the DEX aggregated volume summary.`);
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Export all DEX volume summary prompts
|
|
70
|
+
*/
|
|
71
|
+
exports.dexVolumePrompts = [
|
|
72
|
+
exports.fetchDexAggregatedVolumeSummaryPrompt,
|
|
73
|
+
];
|
|
74
|
+
//# sourceMappingURL=dex-volume.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dex-volume.js","sourceRoot":"","sources":["../../src/prompts/dex-volume.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,kEAAyD;AACzD,iEAAiE;AAEjE;;;;;GAKG;AACU,QAAA,qCAAqC,GAAc;IAC9D,IAAI,EAAE,yDAAyD;IAC/D,WAAW,EAAE,kEAAkE;IAC/E,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,GAAG,EAAE;QACZ,OAAO,IAAA,wCAAoB,EACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiCE,2BAAS,CAAC,eAAe;QACzB,2BAAS,CAAC,0BAA0B;QACpC,2BAAS,CAAC,mBAAmB;;;;;;;gDAOW,CAC3C,CAAC;IACJ,CAAC;CACF,CAAC;AAEF;;GAEG;AACU,QAAA,gBAAgB,GAAgB;IAC3C,6CAAqC;CACtC,CAAC"}
|
package/dist/prompts/index.d.ts
CHANGED
|
@@ -18,12 +18,15 @@ import { balancePrompts } from './balances.js';
|
|
|
18
18
|
import { creationUtilityPrompts } from './creation-utils.js';
|
|
19
19
|
import { socialPrompts } from './social.js';
|
|
20
20
|
import { transferPrompts } from './transfers.js';
|
|
21
|
+
import { lockPrompts } from './locks.js';
|
|
21
22
|
import { utilityToolPrompts } from './utility-tools.js';
|
|
22
23
|
import { monitoringPrompts } from './monitoring.js';
|
|
23
24
|
import { advancedPoolPrompts } from './advanced-pools.js';
|
|
25
|
+
import { dexLeaderboardPrompts } from './dex-leaderboard.js';
|
|
26
|
+
import { dexVolumePrompts } from './dex-volume.js';
|
|
24
27
|
import type { MCPPrompt } from '../types/mcp.js';
|
|
25
28
|
/**
|
|
26
|
-
* All available prompts (
|
|
29
|
+
* All available prompts (85 total - added lock/unlock prompts)
|
|
27
30
|
*/
|
|
28
31
|
export declare const prompts: MCPPrompt[];
|
|
29
32
|
/**
|
|
@@ -96,5 +99,5 @@ export declare function getPromptCount(): number;
|
|
|
96
99
|
/**
|
|
97
100
|
* Export individual prompt categories for documentation
|
|
98
101
|
*/
|
|
99
|
-
export { tradingPrompts, portfolioPrompts, analysisPrompts, creationPrompts, discoveryPrompts, dexTradingPrompts, exploreDexPoolsPrompts, liquidityPositionPrompts, utilityPrompts, poolPrompts, tradingCalculationPrompts, balancePrompts, creationUtilityPrompts, socialPrompts, transferPrompts, utilityToolPrompts, monitoringPrompts, advancedPoolPrompts, };
|
|
102
|
+
export { tradingPrompts, portfolioPrompts, analysisPrompts, creationPrompts, discoveryPrompts, dexTradingPrompts, exploreDexPoolsPrompts, liquidityPositionPrompts, utilityPrompts, poolPrompts, tradingCalculationPrompts, balancePrompts, creationUtilityPrompts, socialPrompts, transferPrompts, lockPrompts, utilityToolPrompts, monitoringPrompts, advancedPoolPrompts, dexLeaderboardPrompts, dexVolumePrompts, };
|
|
100
103
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,WAA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ACtB,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,GACjB,CAAC"}
|
package/dist/prompts/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Provides user-friendly slash commands for common Launchpad workflows
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.advancedPoolPrompts = exports.monitoringPrompts = exports.utilityToolPrompts = exports.transferPrompts = exports.socialPrompts = exports.creationUtilityPrompts = exports.balancePrompts = exports.tradingCalculationPrompts = exports.poolPrompts = exports.utilityPrompts = exports.liquidityPositionPrompts = exports.exploreDexPoolsPrompts = exports.dexTradingPrompts = exports.discoveryPrompts = exports.creationPrompts = exports.analysisPrompts = exports.portfolioPrompts = exports.tradingPrompts = exports.prompts = void 0;
|
|
8
|
+
exports.dexVolumePrompts = exports.dexLeaderboardPrompts = exports.advancedPoolPrompts = exports.monitoringPrompts = exports.utilityToolPrompts = exports.lockPrompts = exports.transferPrompts = exports.socialPrompts = exports.creationUtilityPrompts = exports.balancePrompts = exports.tradingCalculationPrompts = exports.poolPrompts = exports.utilityPrompts = exports.liquidityPositionPrompts = exports.exploreDexPoolsPrompts = exports.dexTradingPrompts = exports.discoveryPrompts = exports.creationPrompts = exports.analysisPrompts = exports.portfolioPrompts = exports.tradingPrompts = exports.prompts = void 0;
|
|
9
9
|
exports.getPrompt = getPrompt;
|
|
10
10
|
exports.getPromptNames = getPromptNames;
|
|
11
11
|
exports.hasPrompt = hasPrompt;
|
|
@@ -41,14 +41,20 @@ const social_js_1 = require("./social.js");
|
|
|
41
41
|
Object.defineProperty(exports, "socialPrompts", { enumerable: true, get: function () { return social_js_1.socialPrompts; } });
|
|
42
42
|
const transfers_js_1 = require("./transfers.js");
|
|
43
43
|
Object.defineProperty(exports, "transferPrompts", { enumerable: true, get: function () { return transfers_js_1.transferPrompts; } });
|
|
44
|
+
const locks_js_1 = require("./locks.js");
|
|
45
|
+
Object.defineProperty(exports, "lockPrompts", { enumerable: true, get: function () { return locks_js_1.lockPrompts; } });
|
|
44
46
|
const utility_tools_js_1 = require("./utility-tools.js");
|
|
45
47
|
Object.defineProperty(exports, "utilityToolPrompts", { enumerable: true, get: function () { return utility_tools_js_1.utilityToolPrompts; } });
|
|
46
48
|
const monitoring_js_1 = require("./monitoring.js");
|
|
47
49
|
Object.defineProperty(exports, "monitoringPrompts", { enumerable: true, get: function () { return monitoring_js_1.monitoringPrompts; } });
|
|
48
50
|
const advanced_pools_js_1 = require("./advanced-pools.js");
|
|
49
51
|
Object.defineProperty(exports, "advancedPoolPrompts", { enumerable: true, get: function () { return advanced_pools_js_1.advancedPoolPrompts; } });
|
|
52
|
+
const dex_leaderboard_js_1 = require("./dex-leaderboard.js");
|
|
53
|
+
Object.defineProperty(exports, "dexLeaderboardPrompts", { enumerable: true, get: function () { return dex_leaderboard_js_1.dexLeaderboardPrompts; } });
|
|
54
|
+
const dex_volume_js_1 = require("./dex-volume.js");
|
|
55
|
+
Object.defineProperty(exports, "dexVolumePrompts", { enumerable: true, get: function () { return dex_volume_js_1.dexVolumePrompts; } });
|
|
50
56
|
/**
|
|
51
|
-
* All available prompts (
|
|
57
|
+
* All available prompts (85 total - added lock/unlock prompts)
|
|
52
58
|
*/
|
|
53
59
|
exports.prompts = [
|
|
54
60
|
...trading_js_1.tradingPrompts,
|
|
@@ -66,9 +72,12 @@ exports.prompts = [
|
|
|
66
72
|
...creation_utils_js_1.creationUtilityPrompts,
|
|
67
73
|
...social_js_1.socialPrompts,
|
|
68
74
|
...transfers_js_1.transferPrompts,
|
|
75
|
+
...locks_js_1.lockPrompts,
|
|
69
76
|
...utility_tools_js_1.utilityToolPrompts,
|
|
70
77
|
...monitoring_js_1.monitoringPrompts,
|
|
71
78
|
...advanced_pools_js_1.advancedPoolPrompts,
|
|
79
|
+
...dex_leaderboard_js_1.dexLeaderboardPrompts,
|
|
80
|
+
...dex_volume_js_1.dexVolumePrompts,
|
|
72
81
|
];
|
|
73
82
|
/**
|
|
74
83
|
* Optimized prompt registry using Map for O(1) lookups
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AA0EH,8BAEC;AAaD,wCAEC;AAeD,8BAEC;AAgBD,oDAyBC;AAYD,wCAEC;AAjKD,6CAA8C;AAuK5C,+FAvKO,2BAAc,OAuKP;AAtKhB,iDAAkD;AAuKhD,iGAvKO,+BAAgB,OAuKP;AAtKlB,+CAAgD;AAuK9C,gGAvKO,6BAAe,OAuKP;AAtKjB,6CAA8C;AA4K5C,+FA5KO,2BAAc,OA4KP;AA3KhB,uDAAoD;AAsKlD,gGAtKO,iCAAe,OAsKP;AArKjB,6DAAwD;AAsKtD,iGAtKO,qCAAgB,OAsKP;AArKlB,qDAAqD;AAsKnD,kGAtKO,kCAAiB,OAsKP;AArKnB,iEAAgE;AAsK9D,uGAtKO,6CAAsB,OAsKP;AArKxB,qEAAoE;AAsKlE,yGAtKO,iDAAwB,OAsKP;AArK1B,yCAAyC;AAuKvC,4FAvKO,sBAAW,OAuKP;AAtKb,uEAAsE;AAuKpE,0GAvKO,mDAAyB,OAuKP;AAtK3B,+CAA+C;AAuK7C,+FAvKO,4BAAc,OAuKP;AAtKhB,2DAA6D;AAuK3D,uGAvKO,0CAAsB,OAuKP;AAtKxB,2CAA4C;AAuK1C,8FAvKO,yBAAa,OAuKP;AAtKf,iDAAiD;AAuK/C,gGAvKO,8BAAe,OAuKP;AAtKjB,yCAAyC;AAuKvC,4FAvKO,sBAAW,OAuKP;AAtKb,yDAAwD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7B,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,QAA0H;IAE1H,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,SAAS;YACZ,OAAO,2BAAc,CAAC;QACxB,KAAK,WAAW;YACd,OAAO,+BAAgB,CAAC;QAC1B,KAAK,UAAU;YACb,OAAO,6BAAe,CAAC;QACzB,KAAK,UAAU;YACb,OAAO,iCAAe,CAAC;QACzB,KAAK,WAAW;YACd,OAAO,CAAC,GAAG,qCAAgB,EAAE,GAAG,6CAAsB,CAAC,CAAC;QAC1D,KAAK,KAAK;YACR,OAAO,kCAAiB,CAAC;QAC3B,KAAK,WAAW;YACd,OAAO,iDAAwB,CAAC;QAClC,KAAK,YAAY;YACf,OAAO,iCAAiB,CAAC;QAC3B,KAAK,SAAS;YACZ,OAAO,2BAAc,CAAC;QACxB;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,cAAc;IAC5B,OAAO,SAAS,CAAC,IAAI,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token Lock/Unlock Prompts
|
|
3
|
+
*
|
|
4
|
+
* Slash commands for locking and unlocking tokens (staking, escrow, vesting)
|
|
5
|
+
*/
|
|
6
|
+
import type { MCPPrompt } from '../types/mcp.js';
|
|
7
|
+
/**
|
|
8
|
+
* Lock Token - Lock tokens on GalaChain
|
|
9
|
+
*/
|
|
10
|
+
export declare const lockTokenPrompt: MCPPrompt;
|
|
11
|
+
/**
|
|
12
|
+
* Unlock Token - Unlock previously locked tokens
|
|
13
|
+
*/
|
|
14
|
+
export declare const unlockTokenPrompt: MCPPrompt;
|
|
15
|
+
export declare const lockPrompts: MCPPrompt[];
|
|
16
|
+
//# sourceMappingURL=locks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locks.d.ts","sourceRoot":"","sources":["../../src/prompts/locks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,SA2D7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,SA2C/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,SAAS,EAAyC,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Token Lock/Unlock Prompts
|
|
4
|
+
*
|
|
5
|
+
* Slash commands for locking and unlocking tokens (staking, escrow, vesting)
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.lockPrompts = exports.unlockTokenPrompt = exports.lockTokenPrompt = void 0;
|
|
9
|
+
const mcpToolNames_js_1 = require("../constants/mcpToolNames.js");
|
|
10
|
+
const validation_js_1 = require("../utils/validation.js");
|
|
11
|
+
const handlerHelpers_js_1 = require("./utils/handlerHelpers.js");
|
|
12
|
+
const textTemplates_js_1 = require("./utils/textTemplates.js");
|
|
13
|
+
/**
|
|
14
|
+
* Lock Token - Lock tokens on GalaChain
|
|
15
|
+
*/
|
|
16
|
+
exports.lockTokenPrompt = {
|
|
17
|
+
name: 'galachain-launchpad:lock-token',
|
|
18
|
+
description: 'Lock tokens on GalaChain (for staking, escrow, vesting)',
|
|
19
|
+
arguments: [
|
|
20
|
+
{
|
|
21
|
+
name: 'tokenName',
|
|
22
|
+
description: 'Token name (e.g., anime)',
|
|
23
|
+
required: true,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'amount',
|
|
27
|
+
description: 'Amount of tokens to lock',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'lockAuthority',
|
|
32
|
+
description: 'Address that can unlock (defaults to caller)',
|
|
33
|
+
required: false,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'expires',
|
|
37
|
+
description: 'Expiration timestamp in ms (optional auto-release)',
|
|
38
|
+
required: false,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'name',
|
|
42
|
+
description: 'Lock name/identifier for matching during unlock',
|
|
43
|
+
required: false,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
handler: (args) => {
|
|
47
|
+
(0, validation_js_1.validateTokenName)(args.tokenName, 'tokenName');
|
|
48
|
+
(0, validation_js_1.validateNumericAmount)(args.amount, 'amount');
|
|
49
|
+
const parameters = {
|
|
50
|
+
token: `Token: ${args.tokenName}`,
|
|
51
|
+
amount: `Amount: ${args.amount}`,
|
|
52
|
+
};
|
|
53
|
+
if (args.lockAuthority) {
|
|
54
|
+
parameters.lockAuthority = `Lock Authority: ${args.lockAuthority}`;
|
|
55
|
+
}
|
|
56
|
+
if (args.expires) {
|
|
57
|
+
parameters.expires = `Expires: ${new Date(Number(args.expires)).toISOString()}`;
|
|
58
|
+
}
|
|
59
|
+
if (args.name) {
|
|
60
|
+
parameters.lockName = `Lock Name: ${args.name}`;
|
|
61
|
+
}
|
|
62
|
+
return (0, handlerHelpers_js_1.createPromptResponse)((0, textTemplates_js_1.createSimpleOperationText)({
|
|
63
|
+
operation: 'Lock tokens on GalaChain.',
|
|
64
|
+
parameters,
|
|
65
|
+
toolName: mcpToolNames_js_1.MCP_TOOLS.LOCK_TOKEN,
|
|
66
|
+
actionDescription: 'execute the lock operation',
|
|
67
|
+
displayFormat: 'Display the transaction details and confirmation.',
|
|
68
|
+
}));
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Unlock Token - Unlock previously locked tokens
|
|
73
|
+
*/
|
|
74
|
+
exports.unlockTokenPrompt = {
|
|
75
|
+
name: 'galachain-launchpad:unlock-token',
|
|
76
|
+
description: 'Unlock previously locked tokens on GalaChain',
|
|
77
|
+
arguments: [
|
|
78
|
+
{
|
|
79
|
+
name: 'tokenName',
|
|
80
|
+
description: 'Token name (e.g., anime)',
|
|
81
|
+
required: true,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'amount',
|
|
85
|
+
description: 'Amount of tokens to unlock',
|
|
86
|
+
required: true,
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'name',
|
|
90
|
+
description: 'Lock name to match (if used during lock)',
|
|
91
|
+
required: false,
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
handler: (args) => {
|
|
95
|
+
(0, validation_js_1.validateTokenName)(args.tokenName, 'tokenName');
|
|
96
|
+
(0, validation_js_1.validateNumericAmount)(args.amount, 'amount');
|
|
97
|
+
const parameters = {
|
|
98
|
+
token: `Token: ${args.tokenName}`,
|
|
99
|
+
amount: `Amount: ${args.amount}`,
|
|
100
|
+
};
|
|
101
|
+
if (args.name) {
|
|
102
|
+
parameters.lockName = `Lock Name: ${args.name}`;
|
|
103
|
+
}
|
|
104
|
+
return (0, handlerHelpers_js_1.createPromptResponse)((0, textTemplates_js_1.createSimpleOperationText)({
|
|
105
|
+
operation: 'Unlock previously locked tokens on GalaChain.',
|
|
106
|
+
parameters,
|
|
107
|
+
toolName: mcpToolNames_js_1.MCP_TOOLS.UNLOCK_TOKEN,
|
|
108
|
+
actionDescription: 'execute the unlock operation',
|
|
109
|
+
displayFormat: 'Display the transaction details and confirmation.',
|
|
110
|
+
}));
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
exports.lockPrompts = [exports.lockTokenPrompt, exports.unlockTokenPrompt];
|
|
114
|
+
//# sourceMappingURL=locks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locks.js","sourceRoot":"","sources":["../../src/prompts/locks.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,kEAAyD;AACzD,0DAAkF;AAClF,iEAAiE;AACjE,+DAAqE;AAErE;;GAEG;AACU,QAAA,eAAe,GAAc;IACxC,I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CACH,CAAC;IACJ,CAAC;CACF,CAAC;AAEW,QAAA,WAAW,GAAgB,CAAC,uBAAe,EAAE,yBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring.js","sourceRoot":"","sources":["../../src/prompts/monitoring.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,kEAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"monitoring.js","sourceRoot":"","sources":["../../src/prompts/monitoring.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,kEAAyD;AACzD,0DAA+D;AAC/D,iEAAiE;AAEjE;;;;GAIG;AACU,QAAA,0BAA0B,GAAc;IACnD,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,6EAA6E;IAC/E,SAAS,EAAE;QACT;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yEAAyE;YACtF,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,oDAAoD;YACjE,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8DAA8D;YAC3E,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QAChB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC;QACvC,MAAM,OAAO,GAAG,EAAE,CAAC;QAEnB,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,IAAA,qCAAqB,EAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;YAC7C,OAAO,CAAC,IAAI,CAAC,mBAAmB,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QACjD,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,C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,CAAC,GAAG;EAC7H,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,4BAA4B,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoC9D,2BAAS,CAAC,2BAA2B;;yBAEhB,CAAC,CAAC;IACzB,CAAC;CACF,CAAC;AAEF;;GAEG;AACU,QAAA,iBAAiB,GAAgB;IAC5C,kCAA0B;IAC1B,gCAAwB;CACzB,CAAC"}
|
package/dist/prompts/pools.js
CHANGED
|
@@ -83,7 +83,7 @@ exports.fetchTokenDetailsPrompt = {
|
|
|
83
83
|
arguments: [
|
|
84
84
|
{
|
|
85
85
|
name: 'tokenId',
|
|
86
|
-
description: 'Token ID (e.g.,
|
|
86
|
+
description: 'Token ID (e.g., GUSDC|Unit|none|eth:0x...)',
|
|
87
87
|
required: true,
|
|
88
88
|
},
|
|
89
89
|
],
|
|
@@ -245,7 +245,7 @@ exports.fetchPriceHistoryPrompt = {
|
|
|
245
245
|
arguments: [
|
|
246
246
|
{
|
|
247
247
|
name: 'tokenId',
|
|
248
|
-
description: 'Token ID (e.g.,
|
|
248
|
+
description: 'Token ID (e.g., GUSDC|Unit|none|eth:0x...) OR tokenName (e.g., demonkpop)',
|
|
249
249
|
required: true,
|
|
250
250
|
},
|
|
251
251
|
{
|
|
@@ -295,7 +295,7 @@ exports.fetchAllPriceHistoryPrompt = {
|
|
|
295
295
|
arguments: [
|
|
296
296
|
{
|
|
297
297
|
name: 'tokenId',
|
|
298
|
-
description: 'Token ID (e.g.,
|
|
298
|
+
description: 'Token ID (e.g., GUSDC|Unit|none|eth:0x...) OR tokenName (e.g., demonkpop)',
|
|
299
299
|
required: true,
|
|
300
300
|
},
|
|
301
301
|
{
|