@continuumdao/ctm-mpc-defi 0.2.10 → 0.2.11
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/dist/agent/catalog.d.ts
CHANGED
|
@@ -336,6 +336,7 @@ declare const chainDetailSchema: z.ZodObject<{
|
|
|
336
336
|
}, z.ZodTypeAny, "passthrough">>;
|
|
337
337
|
/** Shared inputs for all EVM multisign MCP tools. */
|
|
338
338
|
declare const evmMultisignCommonInputSchema: z.ZodObject<{
|
|
339
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
339
340
|
keyGen: z.ZodObject<{
|
|
340
341
|
pubkeyhex: z.ZodString;
|
|
341
342
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -403,6 +404,7 @@ declare const evmMultisignCommonInputSchema: z.ZodObject<{
|
|
|
403
404
|
[k: string]: unknown;
|
|
404
405
|
};
|
|
405
406
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
407
|
+
keyGenId?: string | undefined;
|
|
406
408
|
}, {
|
|
407
409
|
keyGen: {
|
|
408
410
|
pubkeyhex: string;
|
|
@@ -426,6 +428,7 @@ declare const evmMultisignCommonInputSchema: z.ZodObject<{
|
|
|
426
428
|
[k: string]: unknown;
|
|
427
429
|
};
|
|
428
430
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
431
|
+
keyGenId?: string | undefined;
|
|
429
432
|
}>;
|
|
430
433
|
/** Internal builder output before MCP management submit (not the MCP tool return value). */
|
|
431
434
|
declare const multisignOutputSchema: z.ZodObject<{
|
|
@@ -538,6 +541,7 @@ declare const mcpUniswapV4CreateSwapOutputSchema: z.ZodObject<{
|
|
|
538
541
|
}, z.ZodTypeAny, "passthrough">>;
|
|
539
542
|
/** Input for MCP tool `ctm_uniswap_v4_build_swap_multisign`. */
|
|
540
543
|
declare const mcpUniswapV4BuildSwapMultisignInputSchema: z.ZodObject<{
|
|
544
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
541
545
|
keyGen: z.ZodObject<{
|
|
542
546
|
pubkeyhex: z.ZodString;
|
|
543
547
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -636,6 +640,7 @@ declare const mcpUniswapV4BuildSwapMultisignInputSchema: z.ZodObject<{
|
|
|
636
640
|
swapDeadlineUnix: number;
|
|
637
641
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
638
642
|
slippagePercent?: number | undefined;
|
|
643
|
+
keyGenId?: string | undefined;
|
|
639
644
|
}, {
|
|
640
645
|
keyGen: {
|
|
641
646
|
pubkeyhex: string;
|
|
@@ -671,6 +676,7 @@ declare const mcpUniswapV4BuildSwapMultisignInputSchema: z.ZodObject<{
|
|
|
671
676
|
swapDeadlineUnix: number;
|
|
672
677
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
673
678
|
slippagePercent?: number | undefined;
|
|
679
|
+
keyGenId?: string | undefined;
|
|
674
680
|
}>;
|
|
675
681
|
type McpUniswapV4QuoteInput = z.infer<typeof mcpUniswapV4QuoteInputSchema>;
|
|
676
682
|
type McpUniswapV4QuoteOutput = z.infer<typeof mcpUniswapV4QuoteOutputSchema>;
|
|
@@ -1196,6 +1202,7 @@ declare const mcpUniswapV4RegisterPositionFromMintTxOutputSchema: z.ZodObject<{
|
|
|
1196
1202
|
registered: boolean;
|
|
1197
1203
|
}>;
|
|
1198
1204
|
declare const mcpUniswapV4BuildMintLiquidityMultisignInputSchema: z.ZodObject<{
|
|
1205
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
1199
1206
|
keyGen: z.ZodObject<{
|
|
1200
1207
|
pubkeyhex: z.ZodString;
|
|
1201
1208
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1270,6 +1277,7 @@ declare const mcpUniswapV4BuildMintLiquidityMultisignInputSchema: z.ZodObject<{
|
|
|
1270
1277
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1271
1278
|
nativeWrapped?: string | undefined;
|
|
1272
1279
|
poolReference?: string | undefined;
|
|
1280
|
+
keyGenId?: string | undefined;
|
|
1273
1281
|
}, {
|
|
1274
1282
|
keyGen: {
|
|
1275
1283
|
pubkeyhex: string;
|
|
@@ -1296,8 +1304,10 @@ declare const mcpUniswapV4BuildMintLiquidityMultisignInputSchema: z.ZodObject<{
|
|
|
1296
1304
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1297
1305
|
nativeWrapped?: string | undefined;
|
|
1298
1306
|
poolReference?: string | undefined;
|
|
1307
|
+
keyGenId?: string | undefined;
|
|
1299
1308
|
}>;
|
|
1300
1309
|
declare const mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema: z.ZodObject<{
|
|
1310
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
1301
1311
|
keyGen: z.ZodObject<{
|
|
1302
1312
|
pubkeyhex: z.ZodString;
|
|
1303
1313
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1374,6 +1384,7 @@ declare const mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema: z.ZodObjec
|
|
|
1374
1384
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1375
1385
|
nativeWrapped?: string | undefined;
|
|
1376
1386
|
poolReference?: string | undefined;
|
|
1387
|
+
keyGenId?: string | undefined;
|
|
1377
1388
|
}, {
|
|
1378
1389
|
keyGen: {
|
|
1379
1390
|
pubkeyhex: string;
|
|
@@ -1401,8 +1412,10 @@ declare const mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema: z.ZodObjec
|
|
|
1401
1412
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1402
1413
|
nativeWrapped?: string | undefined;
|
|
1403
1414
|
poolReference?: string | undefined;
|
|
1415
|
+
keyGenId?: string | undefined;
|
|
1404
1416
|
}>;
|
|
1405
1417
|
declare const mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema: z.ZodObject<{
|
|
1418
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
1406
1419
|
keyGen: z.ZodObject<{
|
|
1407
1420
|
pubkeyhex: z.ZodString;
|
|
1408
1421
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1479,6 +1492,7 @@ declare const mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema: z.ZodObjec
|
|
|
1479
1492
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1480
1493
|
nativeWrapped?: string | undefined;
|
|
1481
1494
|
poolReference?: string | undefined;
|
|
1495
|
+
keyGenId?: string | undefined;
|
|
1482
1496
|
}, {
|
|
1483
1497
|
keyGen: {
|
|
1484
1498
|
pubkeyhex: string;
|
|
@@ -1506,8 +1520,10 @@ declare const mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema: z.ZodObjec
|
|
|
1506
1520
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1507
1521
|
nativeWrapped?: string | undefined;
|
|
1508
1522
|
poolReference?: string | undefined;
|
|
1523
|
+
keyGenId?: string | undefined;
|
|
1509
1524
|
}>;
|
|
1510
1525
|
declare const mcpUniswapV4BuildCollectFeesMultisignInputSchema: z.ZodObject<{
|
|
1526
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
1511
1527
|
keyGen: z.ZodObject<{
|
|
1512
1528
|
pubkeyhex: z.ZodString;
|
|
1513
1529
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1584,6 +1600,7 @@ declare const mcpUniswapV4BuildCollectFeesMultisignInputSchema: z.ZodObject<{
|
|
|
1584
1600
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1585
1601
|
nativeWrapped?: string | undefined;
|
|
1586
1602
|
poolReference?: string | undefined;
|
|
1603
|
+
keyGenId?: string | undefined;
|
|
1587
1604
|
}, {
|
|
1588
1605
|
keyGen: {
|
|
1589
1606
|
pubkeyhex: string;
|
|
@@ -1611,6 +1628,7 @@ declare const mcpUniswapV4BuildCollectFeesMultisignInputSchema: z.ZodObject<{
|
|
|
1611
1628
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1612
1629
|
nativeWrapped?: string | undefined;
|
|
1613
1630
|
poolReference?: string | undefined;
|
|
1631
|
+
keyGenId?: string | undefined;
|
|
1614
1632
|
}>;
|
|
1615
1633
|
type McpUniswapV4LpCreatePositionInput = z.infer<typeof mcpUniswapV4LpCreatePositionInputSchema>;
|
|
1616
1634
|
type McpUniswapV4BuildMintLiquidityMultisignInput = z.infer<typeof mcpUniswapV4BuildMintLiquidityMultisignInputSchema>;
|
|
@@ -1641,6 +1659,7 @@ declare const mcpCurveDaoQuoteInputSchema: z.ZodObject<{
|
|
|
1641
1659
|
declare const mcpCurveDaoQuoteOutputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1642
1660
|
/** Input for MCP tool `ctm_curve_dao_build_swap_multisign`. */
|
|
1643
1661
|
declare const mcpCurveDaoBuildSwapMultisignInputSchema: z.ZodObject<{
|
|
1662
|
+
keyGenId: z.ZodOptional<z.ZodString>;
|
|
1644
1663
|
keyGen: z.ZodObject<{
|
|
1645
1664
|
pubkeyhex: z.ZodString;
|
|
1646
1665
|
keylist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1717,6 +1736,7 @@ declare const mcpCurveDaoBuildSwapMultisignInputSchema: z.ZodObject<{
|
|
|
1717
1736
|
slippagePercent: number;
|
|
1718
1737
|
amountHuman: string;
|
|
1719
1738
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1739
|
+
keyGenId?: string | undefined;
|
|
1720
1740
|
}, {
|
|
1721
1741
|
keyGen: {
|
|
1722
1742
|
pubkeyhex: string;
|
|
@@ -1744,6 +1764,7 @@ declare const mcpCurveDaoBuildSwapMultisignInputSchema: z.ZodObject<{
|
|
|
1744
1764
|
slippagePercent: number;
|
|
1745
1765
|
amountHuman: string;
|
|
1746
1766
|
customGasChainDetails?: Record<string, unknown> | undefined;
|
|
1767
|
+
keyGenId?: string | undefined;
|
|
1747
1768
|
}>;
|
|
1748
1769
|
type McpCurveDaoQuoteInput = z.infer<typeof mcpCurveDaoQuoteInputSchema>;
|
|
1749
1770
|
type McpCurveDaoQuoteOutput = z.infer<typeof mcpCurveDaoQuoteOutputSchema>;
|
package/dist/agent/catalog.js
CHANGED
|
@@ -520,6 +520,9 @@ var chainDetailSchema = z.object({
|
|
|
520
520
|
"Optional gas config: { legacy?, gasLimit?, gasMultiplier?, gasPrice?, baseFee?, priorityFee?, baseFeeMultiplier? }."
|
|
521
521
|
);
|
|
522
522
|
var evmMultisignCommonInputSchema = z.object({
|
|
523
|
+
keyGenId: z.string().min(1).optional().describe(
|
|
524
|
+
"KeyGen request id from get_preferred_key_gen / conversation context. MCP server resolves keyGen, executorAddress, rpcUrl, and chainDetail \u2014 do not pass those fields when keyGenId is set."
|
|
525
|
+
),
|
|
523
526
|
keyGen: keyGenSchema,
|
|
524
527
|
purposeText: z.string().min(1).describe(
|
|
525
528
|
"Human-readable purpose for the sign request. Stored in bodyForSign.purpose (may be appended with an automatic batch suffix)."
|