@gala-chain/launchpad-sdk 3.22.6 → 3.23.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/CHANGELOG.md +102 -0
- package/README.md +140 -4
- package/dist/LaunchpadSDK.d.ts +148 -2
- package/dist/LaunchpadSDK.d.ts.map +1 -1
- package/dist/api/LaunchpadAPI.d.ts +2 -0
- package/dist/api/LaunchpadAPI.d.ts.map +1 -1
- package/dist/auth/SignatureAuth.d.ts +27 -7
- package/dist/auth/SignatureAuth.d.ts.map +1 -1
- package/dist/auth/types.d.ts +2 -2
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/constants/counts.d.ts +69 -0
- package/dist/constants/counts.d.ts.map +1 -0
- package/dist/constants/version.generated.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/schemas/launchpad.d.ts +2 -2
- package/dist/schemas/validators.d.ts +1 -1
- package/dist/services/GalaChainService.d.ts +2 -2
- package/dist/services/GalaChainService.d.ts.map +1 -1
- package/dist/types/transfer.dto.d.ts +2 -1
- package/dist/types/transfer.dto.d.ts.map +1 -1
- package/dist/utils/agent-config.d.ts +72 -0
- package/dist/utils/agent-config.d.ts.map +1 -1
- package/dist/utils/http.d.ts +5 -2
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +11 -3
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SDK and MCP Tool Counts
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for method and tool counts.
|
|
5
|
+
* Updated whenever new methods or tools are added.
|
|
6
|
+
*
|
|
7
|
+
* @see AUDIT_COUNTS.md - Detailed breakdown by category
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Total public methods on LaunchpadSDK class
|
|
11
|
+
*
|
|
12
|
+
* Includes:
|
|
13
|
+
* - Address management (2): getAddress, getEthereumAddress
|
|
14
|
+
* - Wallet management (4): validateWallet, setWallet, getWallet, hasWallet
|
|
15
|
+
* - Configuration (4): getConfig, getVersion, getUrlByTokenName, cleanup
|
|
16
|
+
* - Pool/token data (17): fetchPools, fetchAllPools, fetchPoolDetails, etc.
|
|
17
|
+
* - Price history (2): fetchPriceHistory, fetchAllPriceHistory
|
|
18
|
+
* - Trading (9): buy, sell, calculateBuyAmount, calculateSellAmount, etc.
|
|
19
|
+
* - Creation (7): launchToken, uploadTokenImage, graduateToken, etc.
|
|
20
|
+
* - User/portfolio (4): fetchProfile, fetchTokensHeld, fetchTokensCreated, fetchGalaBalance
|
|
21
|
+
* - Transfers (2): transferGala, transferToken
|
|
22
|
+
* - Comments (2): postComment, fetchComments
|
|
23
|
+
* - Trading history (1): fetchTrades
|
|
24
|
+
* - Cache (2): getCacheInfo, clearCache
|
|
25
|
+
* - Static (1): cleanupAll
|
|
26
|
+
*
|
|
27
|
+
* Excludes: constructor
|
|
28
|
+
*/
|
|
29
|
+
export declare const SDK_PUBLIC_METHODS_COUNT = 59;
|
|
30
|
+
/**
|
|
31
|
+
* Total MCP tools available via the MCP server
|
|
32
|
+
*
|
|
33
|
+
* Includes:
|
|
34
|
+
* - Pools & token management (17): fetch pools, details, token info, etc.
|
|
35
|
+
* - Trading (13): buy, sell, calculate amounts, graduate, etc.
|
|
36
|
+
* - Balance & portfolio (6): fetch balances, profile, tokens held/created
|
|
37
|
+
* - Token creation (4): launch token, upload images, fetch fee
|
|
38
|
+
* - Comments (2): post and fetch comments
|
|
39
|
+
* - Transfers (2): transfer GALA and tokens
|
|
40
|
+
* - Utility (13): wallet management, config, documentation, cache
|
|
41
|
+
*/
|
|
42
|
+
export declare const MCP_TOOLS_COUNT = 57;
|
|
43
|
+
/**
|
|
44
|
+
* MCP Tools by Category (for documentation)
|
|
45
|
+
*/
|
|
46
|
+
export declare const MCP_TOOLS_BY_CATEGORY: {
|
|
47
|
+
readonly pools: 17;
|
|
48
|
+
readonly trading: 13;
|
|
49
|
+
readonly balance: 6;
|
|
50
|
+
readonly creation: 4;
|
|
51
|
+
readonly social: 2;
|
|
52
|
+
readonly transfers: 2;
|
|
53
|
+
readonly utils: 13;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Get total MCP tools by summing all categories
|
|
57
|
+
*/
|
|
58
|
+
export declare function getTotalMCPTools(): number;
|
|
59
|
+
/**
|
|
60
|
+
* Validate that constant matches actual registry count
|
|
61
|
+
* @throws Error if count mismatch
|
|
62
|
+
*/
|
|
63
|
+
export declare function validateCounts(): {
|
|
64
|
+
sdkMethods: number;
|
|
65
|
+
mcpTools: number;
|
|
66
|
+
mismatchCount?: number;
|
|
67
|
+
categoryTotal?: number;
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=counts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counts.d.ts","sourceRoot":"","sources":["../../src/constants/counts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;CAQxB,CAAC;AAEX;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAUA"}
|