@continuumdao/ctm-mpc-defi 0.2.19 → 0.2.20
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.cjs +185 -56
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +696 -633
- package/dist/agent/catalog.js +183 -57
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/hyperliquid/SKILL.md +24 -20
- package/dist/chains/evm/index.cjs +1 -1
- package/dist/chains/evm/index.cjs.map +1 -1
- package/dist/chains/evm/index.js +1 -1
- package/dist/chains/evm/index.js.map +1 -1
- package/dist/core/index.cjs +70 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +35 -2
- package/dist/core/index.js +69 -2
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +69 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +69 -3
- package/dist/index.js.map +1 -1
- package/dist/protocols/evm/aave-v4/index.cjs +1 -1
- package/dist/protocols/evm/aave-v4/index.cjs.map +1 -1
- package/dist/protocols/evm/aave-v4/index.js +1 -1
- package/dist/protocols/evm/aave-v4/index.js.map +1 -1
- package/dist/protocols/evm/circle-cctp/index.cjs +1 -1
- package/dist/protocols/evm/circle-cctp/index.cjs.map +1 -1
- package/dist/protocols/evm/circle-cctp/index.js +1 -1
- package/dist/protocols/evm/circle-cctp/index.js.map +1 -1
- package/dist/protocols/evm/curve-dao/index.cjs +1 -1
- package/dist/protocols/evm/curve-dao/index.cjs.map +1 -1
- package/dist/protocols/evm/curve-dao/index.d.ts +1 -1
- package/dist/protocols/evm/curve-dao/index.js +1 -1
- package/dist/protocols/evm/curve-dao/index.js.map +1 -1
- package/dist/protocols/evm/ethena/index.cjs +1 -1
- package/dist/protocols/evm/ethena/index.cjs.map +1 -1
- package/dist/protocols/evm/ethena/index.js +1 -1
- package/dist/protocols/evm/ethena/index.js.map +1 -1
- package/dist/protocols/evm/euler-v2/index.cjs +1 -1
- package/dist/protocols/evm/euler-v2/index.cjs.map +1 -1
- package/dist/protocols/evm/euler-v2/index.js +1 -1
- package/dist/protocols/evm/euler-v2/index.js.map +1 -1
- package/dist/protocols/evm/gmx/index.cjs +49 -21
- package/dist/protocols/evm/gmx/index.cjs.map +1 -1
- package/dist/protocols/evm/gmx/index.d.ts +20 -6
- package/dist/protocols/evm/gmx/index.js +48 -22
- package/dist/protocols/evm/gmx/index.js.map +1 -1
- package/dist/protocols/evm/hyperliquid/index.cjs +461 -1
- package/dist/protocols/evm/hyperliquid/index.cjs.map +1 -1
- package/dist/protocols/evm/hyperliquid/index.d.ts +187 -1
- package/dist/protocols/evm/hyperliquid/index.js +441 -3
- package/dist/protocols/evm/hyperliquid/index.js.map +1 -1
- package/dist/protocols/evm/lido/index.cjs +1 -1
- package/dist/protocols/evm/lido/index.cjs.map +1 -1
- package/dist/protocols/evm/lido/index.js +1 -1
- package/dist/protocols/evm/lido/index.js.map +1 -1
- package/dist/protocols/evm/maple/index.cjs +1 -1
- package/dist/protocols/evm/maple/index.cjs.map +1 -1
- package/dist/protocols/evm/maple/index.js +1 -1
- package/dist/protocols/evm/maple/index.js.map +1 -1
- package/dist/protocols/evm/morpho/index.cjs +1 -1
- package/dist/protocols/evm/morpho/index.cjs.map +1 -1
- package/dist/protocols/evm/morpho/index.js +1 -1
- package/dist/protocols/evm/morpho/index.js.map +1 -1
- package/dist/protocols/evm/permit2/index.cjs +202 -0
- package/dist/protocols/evm/permit2/index.cjs.map +1 -0
- package/dist/protocols/evm/permit2/index.d.ts +43 -0
- package/dist/protocols/evm/permit2/index.js +199 -0
- package/dist/protocols/evm/permit2/index.js.map +1 -0
- package/dist/protocols/evm/sky/index.cjs +1 -1
- package/dist/protocols/evm/sky/index.cjs.map +1 -1
- package/dist/protocols/evm/sky/index.js +1 -1
- package/dist/protocols/evm/sky/index.js.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.cjs +1 -1
- package/dist/protocols/evm/uniswap-v4/index.cjs.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.js +1 -1
- package/dist/protocols/evm/uniswap-v4/index.js.map +1 -1
- package/package.json +7 -1
package/dist/agent/catalog.js
CHANGED
|
@@ -556,6 +556,15 @@ var agentEvmChainIdSchema = z.preprocess(
|
|
|
556
556
|
(val) => parseAgentEvmChainId(val),
|
|
557
557
|
z.number().int().positive().describe("EVM chain id (decimal, e.g. 8453 for Base \u2014 not 0x8453).")
|
|
558
558
|
);
|
|
559
|
+
var agentCoercedIntSchema = (schema) => z.coerce.number().pipe(schema);
|
|
560
|
+
var agentCoercedOptionalIntSchema = (schema) => z.preprocess(
|
|
561
|
+
(val) => val === void 0 || val === null || val === "" ? void 0 : val,
|
|
562
|
+
z.coerce.number().pipe(schema).optional()
|
|
563
|
+
);
|
|
564
|
+
var agentCoercedOptionalNumberSchema = (schema) => z.preprocess(
|
|
565
|
+
(val) => val === void 0 || val === null || val === "" ? void 0 : val,
|
|
566
|
+
z.coerce.number().pipe(schema).optional()
|
|
567
|
+
);
|
|
559
568
|
|
|
560
569
|
// src/agent/schemas/common.ts
|
|
561
570
|
var evmAddressSchema = z.string().min(1).describe("EVM address (0x-prefixed, 40 hex nibbles)");
|
|
@@ -568,12 +577,12 @@ var keyGenSchema = z.object({
|
|
|
568
577
|
);
|
|
569
578
|
var chainDetailSchema = z.object({
|
|
570
579
|
legacy: z.boolean().optional(),
|
|
571
|
-
gasLimit: z.number()
|
|
572
|
-
gasMultiplier: z.number()
|
|
573
|
-
gasPrice: z.number()
|
|
574
|
-
baseFee: z.number()
|
|
575
|
-
priorityFee: z.number()
|
|
576
|
-
baseFeeMultiplier: z.number()
|
|
580
|
+
gasLimit: agentCoercedOptionalNumberSchema(z.number()),
|
|
581
|
+
gasMultiplier: agentCoercedOptionalNumberSchema(z.number()),
|
|
582
|
+
gasPrice: agentCoercedOptionalNumberSchema(z.number()),
|
|
583
|
+
baseFee: agentCoercedOptionalNumberSchema(z.number()),
|
|
584
|
+
priorityFee: agentCoercedOptionalNumberSchema(z.number()),
|
|
585
|
+
baseFeeMultiplier: agentCoercedOptionalNumberSchema(z.number())
|
|
577
586
|
}).passthrough().describe(
|
|
578
587
|
"Optional gas config: { legacy?, gasLimit?, gasMultiplier?, gasPrice?, baseFee?, priorityFee?, baseFeeMultiplier? }."
|
|
579
588
|
);
|
|
@@ -913,7 +922,9 @@ var mcpUniswapV4QuoteOutputSchema = jsonObjectSchema.describe(
|
|
|
913
922
|
var mcpUniswapV4CreateSwapInputSchema = z.object({
|
|
914
923
|
uniswapApiKey: z.string().min(1).describe("Uniswap Trade API key"),
|
|
915
924
|
fullQuoteFromPermit: jsonObjectSchema.describe("Full quote JSON from ctm_uniswap_v4_quote"),
|
|
916
|
-
swapTransactionDeadlineUnix:
|
|
925
|
+
swapTransactionDeadlineUnix: agentCoercedOptionalIntSchema(
|
|
926
|
+
z.number().int().positive()
|
|
927
|
+
).describe("On-chain deadline unix seconds; default ~30 min from now"),
|
|
917
928
|
useServerProxy: z.boolean().optional().describe("Set false in Node/agents; true only in browser via Next API route"),
|
|
918
929
|
baseUrl: z.string().optional(),
|
|
919
930
|
universalRouterVersion: z.string().optional()
|
|
@@ -936,8 +947,8 @@ var mcpUniswapV4BuildSwapMultisignInputSchema = withMultisignKeySourceRefine(
|
|
|
936
947
|
gasFee: z.string().optional()
|
|
937
948
|
}).passthrough().describe("Full create_swap response"),
|
|
938
949
|
fullQuoteSnapshot: jsonObjectSchema.describe("Quote JSON used for the swap"),
|
|
939
|
-
swapDeadlineUnix: z.number().describe("Same deadline passed to create_swap"),
|
|
940
|
-
slippagePercent: z.number()
|
|
950
|
+
swapDeadlineUnix: agentCoercedIntSchema(z.number()).describe("Same deadline passed to create_swap"),
|
|
951
|
+
slippagePercent: agentCoercedOptionalNumberSchema(z.number()).describe("Extra approve headroom for EXACT_OUTPUT")
|
|
941
952
|
})
|
|
942
953
|
)
|
|
943
954
|
);
|
|
@@ -949,8 +960,8 @@ var lpExistingPoolSchema = z.object({
|
|
|
949
960
|
var lpNewPoolSchema = z.object({
|
|
950
961
|
token0Address: evmAddressSchema,
|
|
951
962
|
token1Address: evmAddressSchema,
|
|
952
|
-
fee: z.number().int().nonnegative(),
|
|
953
|
-
tickSpacing: z.number().int().positive(),
|
|
963
|
+
fee: agentCoercedIntSchema(z.number().int().nonnegative()),
|
|
964
|
+
tickSpacing: agentCoercedIntSchema(z.number().int().positive()),
|
|
954
965
|
hooks: evmAddressSchema.optional(),
|
|
955
966
|
initialPrice: z.string().min(1).describe("sqrtRatioX96 string for new pool")
|
|
956
967
|
});
|
|
@@ -963,14 +974,14 @@ var lpPriceBoundsSchema = z.object({
|
|
|
963
974
|
maxPrice: z.string().min(1)
|
|
964
975
|
});
|
|
965
976
|
var lpTickBoundsSchema = z.object({
|
|
966
|
-
tickLower: z.number().int(),
|
|
967
|
-
tickUpper: z.number().int()
|
|
977
|
+
tickLower: agentCoercedIntSchema(z.number().int()),
|
|
978
|
+
tickUpper: agentCoercedIntSchema(z.number().int())
|
|
968
979
|
});
|
|
969
980
|
var lpCommonApiInputSchema = z.object({
|
|
970
981
|
uniswapApiKey: z.string().min(1),
|
|
971
982
|
walletAddress: evmAddressSchema.optional(),
|
|
972
983
|
chainId: agentEvmChainIdSchema,
|
|
973
|
-
slippageTolerance: z.number()
|
|
984
|
+
slippageTolerance: agentCoercedOptionalNumberSchema(z.number()),
|
|
974
985
|
simulateTransaction: agentOptionalBooleanSchema(),
|
|
975
986
|
baseUrl: z.string().optional(),
|
|
976
987
|
keyGen: z.string().optional(),
|
|
@@ -1031,7 +1042,7 @@ var mcpUniswapV4LpDecreaseInputSchema = z.preprocess(
|
|
|
1031
1042
|
token0Address: evmAddressSchema,
|
|
1032
1043
|
token1Address: evmAddressSchema,
|
|
1033
1044
|
nftTokenId: z.union([z.string(), z.number()]).describe("tokenId from lp_list_positions"),
|
|
1034
|
-
liquidityPercentageToDecrease: z.number().int().min(1).max(100)
|
|
1045
|
+
liquidityPercentageToDecrease: agentCoercedIntSchema(z.number().int().min(1).max(100))
|
|
1035
1046
|
})
|
|
1036
1047
|
);
|
|
1037
1048
|
var mcpUniswapV4LpDecreaseOutputSchema = jsonObjectSchema;
|
|
@@ -1194,7 +1205,7 @@ var mcpMorphoFetchEarnVaultsInputSchema = z.object({
|
|
|
1194
1205
|
chainId: agentEvmChainIdSchema,
|
|
1195
1206
|
underlying: z.string().trim().min(1).optional().describe("Deposit asset symbol (e.g. USDC) or ERC-20 address. Omit to search all listed vaults on the chain."),
|
|
1196
1207
|
query: z.string().trim().min(1).optional().describe("Case-insensitive filter on vault name, symbol, address, or underlying symbol (e.g. Steakhouse, bbqUSDC)."),
|
|
1197
|
-
limit: z.number().int().min(1).max(200)
|
|
1208
|
+
limit: agentCoercedOptionalIntSchema(z.number().int().min(1).max(200)).describe("Max rows (default 50).")
|
|
1198
1209
|
});
|
|
1199
1210
|
var mcpMorphoFetchEarnVaultsOutputSchema = z.object({
|
|
1200
1211
|
vaults: z.array(
|
|
@@ -1222,7 +1233,7 @@ var mcpMorphoFetchBlueMarketsInputSchema = z.object({
|
|
|
1222
1233
|
collateral: z.string().trim().min(1).optional().describe("Collateral asset symbol or address (e.g. WETH, cbETH)."),
|
|
1223
1234
|
loan: z.string().trim().min(1).optional().describe("Loan asset symbol or address (e.g. USDC)."),
|
|
1224
1235
|
query: z.string().trim().min(1).optional().describe("Filter on market label, symbols, or marketId."),
|
|
1225
|
-
limit: z.number().int().min(1).max(200)
|
|
1236
|
+
limit: agentCoercedOptionalIntSchema(z.number().int().min(1).max(200))
|
|
1226
1237
|
});
|
|
1227
1238
|
var mcpMorphoFetchBlueMarketsOutputSchema = z.object({
|
|
1228
1239
|
markets: z.array(
|
|
@@ -1319,17 +1330,17 @@ var mcpSkyLockstakeStakeInputSchema = mcpMultisignInput({
|
|
|
1319
1330
|
});
|
|
1320
1331
|
var mcpSkyLockstakeDrawInputSchema = mcpMultisignInput({
|
|
1321
1332
|
usdsAmountHuman: z.string().min(1),
|
|
1322
|
-
urnIndex: z.number().int().nonnegative()
|
|
1333
|
+
urnIndex: agentCoercedIntSchema(z.number().int().nonnegative())
|
|
1323
1334
|
});
|
|
1324
1335
|
var mcpSkyLockstakeWipeInputSchema = mcpMultisignInput({
|
|
1325
1336
|
usdsAmountHuman: z.string().min(1),
|
|
1326
|
-
urnIndex: z.number().int().nonnegative()
|
|
1337
|
+
urnIndex: agentCoercedIntSchema(z.number().int().nonnegative())
|
|
1327
1338
|
});
|
|
1328
1339
|
var mcpSkyLockstakeCloseInputSchema = mcpMultisignInput({
|
|
1329
|
-
urnIndex: z.number().int().nonnegative()
|
|
1340
|
+
urnIndex: agentCoercedIntSchema(z.number().int().nonnegative())
|
|
1330
1341
|
});
|
|
1331
1342
|
var mcpSkyLockstakeGetRewardInputSchema = mcpMultisignInput({
|
|
1332
|
-
urnIndex: z.number().int().nonnegative()
|
|
1343
|
+
urnIndex: agentCoercedIntSchema(z.number().int().nonnegative())
|
|
1333
1344
|
});
|
|
1334
1345
|
var mcpSkySusdsDepositInputSchema = mcpMultisignInput({
|
|
1335
1346
|
usdsAmountHuman: z.string().min(1)
|
|
@@ -1501,7 +1512,7 @@ var mcpMorphoBlueRepayInputSchema = withMultisignKeySourceRefine(
|
|
|
1501
1512
|
var mcpMorphoBlueCollateralWithdrawInputSchema = mcpMultisignInput({
|
|
1502
1513
|
marketId: z.string().min(1),
|
|
1503
1514
|
amountHuman: z.string().min(1),
|
|
1504
|
-
collateralDecimals: z.number().int().min(0).max(36)
|
|
1515
|
+
collateralDecimals: agentCoercedOptionalIntSchema(z.number().int().min(0).max(36))
|
|
1505
1516
|
});
|
|
1506
1517
|
var mcpMorphoMerklClaimInputSchema = mcpMultisignInput({
|
|
1507
1518
|
claimData: z.string().min(1).describe("Hex calldata for Merkl Distributor.claim from Merkl API."),
|
|
@@ -1513,7 +1524,7 @@ var mcpEulerV2FetchLendVaultsInputSchema = z.object({
|
|
|
1513
1524
|
underlyingAddress: evmAddressSchema.describe(
|
|
1514
1525
|
"Underlying asset address from get_defi_protocol_supported_tokens."
|
|
1515
1526
|
),
|
|
1516
|
-
limit: z.number().int().min(1).max(100)
|
|
1527
|
+
limit: agentCoercedOptionalIntSchema(z.number().int().min(1).max(100)).describe("Max vault rows (default 30).")
|
|
1517
1528
|
});
|
|
1518
1529
|
var mcpEulerV2FetchLendVaultsOutputSchema = z.object({
|
|
1519
1530
|
vaults: z.array(
|
|
@@ -1596,8 +1607,9 @@ var mcpGmxIncreaseInputSchema = mcpGmxMultisignInput(
|
|
|
1596
1607
|
collateralToken: z.string().min(1),
|
|
1597
1608
|
collateralAmountHuman: z.string().min(1),
|
|
1598
1609
|
triggerPriceUsdHuman: z.string().optional(),
|
|
1599
|
-
|
|
1600
|
-
|
|
1610
|
+
patternFailureUsdHuman: z.string().optional(),
|
|
1611
|
+
slippageBps: agentCoercedOptionalIntSchema(z.number().int().nonnegative()),
|
|
1612
|
+
executionFeeBufferBps: agentCoercedOptionalIntSchema(z.number().int().nonnegative())
|
|
1601
1613
|
},
|
|
1602
1614
|
preprocessGmxIncreaseInput
|
|
1603
1615
|
);
|
|
@@ -1611,8 +1623,8 @@ var mcpGmxDecreaseInputSchema = mcpGmxMultisignInput(
|
|
|
1611
1623
|
receiveToken: z.string().optional(),
|
|
1612
1624
|
triggerPriceUsdHuman: z.string().optional(),
|
|
1613
1625
|
keepLeverage: agentOptionalBooleanSchema(),
|
|
1614
|
-
slippageBps: z.number().int().nonnegative()
|
|
1615
|
-
executionFeeBufferBps: z.number().int().nonnegative()
|
|
1626
|
+
slippageBps: agentCoercedOptionalIntSchema(z.number().int().nonnegative()),
|
|
1627
|
+
executionFeeBufferBps: agentCoercedOptionalIntSchema(z.number().int().nonnegative())
|
|
1616
1628
|
},
|
|
1617
1629
|
preprocessGmxDecreaseInput
|
|
1618
1630
|
);
|
|
@@ -1624,7 +1636,7 @@ var mcpGmxGmDepositInputSchema = mcpGmxMultisignInput(
|
|
|
1624
1636
|
marketSymbol: z.string().min(1).describe("symbol from ctm_gmx_fetch_gm_markets"),
|
|
1625
1637
|
collateralToken: z.string().min(1).describe("longTokenSymbol or shortTokenSymbol from GM market row"),
|
|
1626
1638
|
collateralAmountHuman: z.string().min(1),
|
|
1627
|
-
executionFeeBufferBps: z.number().int().nonnegative()
|
|
1639
|
+
executionFeeBufferBps: agentCoercedOptionalIntSchema(z.number().int().nonnegative()),
|
|
1628
1640
|
isNativeIn: agentOptionalBooleanSchema(),
|
|
1629
1641
|
nativeWrapped: evmAddressSchema.optional()
|
|
1630
1642
|
},
|
|
@@ -1634,19 +1646,19 @@ var mcpGmxGmWithdrawInputSchema = mcpGmxMultisignInput(
|
|
|
1634
1646
|
{
|
|
1635
1647
|
marketSymbol: z.string().min(1).describe("symbol from ctm_gmx_fetch_gm_markets"),
|
|
1636
1648
|
gmAmountHuman: z.string().min(1),
|
|
1637
|
-
gmDecimals: z.number().int().nonnegative()
|
|
1638
|
-
executionFeeBufferBps: z.number().int().nonnegative()
|
|
1649
|
+
gmDecimals: agentCoercedOptionalIntSchema(z.number().int().nonnegative()),
|
|
1650
|
+
executionFeeBufferBps: agentCoercedOptionalIntSchema(z.number().int().nonnegative()),
|
|
1639
1651
|
isNativeOut: agentOptionalBooleanSchema()
|
|
1640
1652
|
},
|
|
1641
1653
|
preprocessGmxGmBuildInput
|
|
1642
1654
|
);
|
|
1643
1655
|
var mcpGmxStakeGmxInputSchema = mcpGmxMultisignInput({
|
|
1644
1656
|
amountHuman: z.string().min(1),
|
|
1645
|
-
gmxDecimals: z.number().int().nonnegative()
|
|
1657
|
+
gmxDecimals: agentCoercedOptionalIntSchema(z.number().int().nonnegative())
|
|
1646
1658
|
});
|
|
1647
1659
|
var mcpGmxUnstakeGmxInputSchema = mcpGmxMultisignInput({
|
|
1648
1660
|
amountHuman: z.string().min(1),
|
|
1649
|
-
gmxDecimals: z.number().int().nonnegative()
|
|
1661
|
+
gmxDecimals: agentCoercedOptionalIntSchema(z.number().int().nonnegative())
|
|
1650
1662
|
});
|
|
1651
1663
|
var mcpGmxFetchGmMarketsInputSchema = gmxFetchChainInputSchema;
|
|
1652
1664
|
var mcpGmxGmMarketApyRowSchema = z.object({
|
|
@@ -1711,12 +1723,16 @@ var mcpGmxFetchOhlcvInputSchema = z.object({
|
|
|
1711
1723
|
chainId: agentEvmChainIdSchema,
|
|
1712
1724
|
symbol: z.string().min(1),
|
|
1713
1725
|
timeframe: gmxOhlcvTimeframeSchema.optional(),
|
|
1714
|
-
limit: z.number().int().positive().max(500)
|
|
1726
|
+
limit: agentCoercedOptionalIntSchema(z.number().int().positive().max(500)),
|
|
1715
1727
|
sort: z.enum(["asc", "desc"]).optional()
|
|
1716
1728
|
});
|
|
1717
1729
|
var mcpGmxFetchOhlcvOutputSchema = z.object({
|
|
1718
1730
|
symbol: z.string(),
|
|
1719
1731
|
timeframe: gmxOhlcvTimeframeSchema,
|
|
1732
|
+
chainId: agentEvmChainIdSchema,
|
|
1733
|
+
startTimeMs: z.number().int().positive().optional(),
|
|
1734
|
+
endTimeMs: z.number().int().positive().optional(),
|
|
1735
|
+
candleCount: z.number().int().nonnegative(),
|
|
1720
1736
|
candles: z.array(gmxOhlcvCandleSchema)
|
|
1721
1737
|
});
|
|
1722
1738
|
function mcpHyperliquidMultisignInput(fields, preprocess) {
|
|
@@ -1742,7 +1758,7 @@ var hyperliquidOhlcvIntervalSchema = z.enum([
|
|
|
1742
1758
|
"1M"
|
|
1743
1759
|
]);
|
|
1744
1760
|
var hyperliquidFetchChainInputSchema = z.object({
|
|
1745
|
-
chainId:
|
|
1761
|
+
chainId: z.coerce.number().int().positive().default(999).describe("Hyperliquid EVM chain id (999 mainnet, 998 testnet).")
|
|
1746
1762
|
});
|
|
1747
1763
|
var hyperliquidPositionRowSchema = z.object({
|
|
1748
1764
|
key: z.string(),
|
|
@@ -1793,7 +1809,7 @@ var mcpHyperliquidFetchMarketsOutputSchema = z.object({
|
|
|
1793
1809
|
var mcpHyperliquidSearchMarketsInputSchema = hyperliquidFetchChainInputSchema.extend({
|
|
1794
1810
|
query: z.string().min(1),
|
|
1795
1811
|
dex: z.string().optional(),
|
|
1796
|
-
limit: z.number().int().positive().max(50)
|
|
1812
|
+
limit: agentCoercedOptionalIntSchema(z.number().int().positive().max(50))
|
|
1797
1813
|
});
|
|
1798
1814
|
var mcpHyperliquidSearchMarketsOutputSchema = z.object({
|
|
1799
1815
|
matches: z.array(
|
|
@@ -1852,7 +1868,7 @@ var mcpHyperliquidFetchMarketSnapshotInputSchema = hyperliquidFetchChainInputSch
|
|
|
1852
1868
|
coin: z.string().min(1),
|
|
1853
1869
|
interval: hyperliquidOhlcvIntervalSchema.optional(),
|
|
1854
1870
|
dex: z.string().optional(),
|
|
1855
|
-
candleLimit: z.number().int().positive().max(200)
|
|
1871
|
+
candleLimit: agentCoercedOptionalIntSchema(z.number().int().positive().max(200))
|
|
1856
1872
|
});
|
|
1857
1873
|
var hyperliquidOhlcvCandleSchema = z.object({
|
|
1858
1874
|
timestampMs: z.number(),
|
|
@@ -1889,10 +1905,10 @@ var mcpHyperliquidFetchOhlcvInputSchema = hyperliquidFetchChainInputSchema.exten
|
|
|
1889
1905
|
coin: z.string().min(1),
|
|
1890
1906
|
interval: hyperliquidOhlcvIntervalSchema.optional(),
|
|
1891
1907
|
dex: z.string().optional(),
|
|
1892
|
-
lookbackDays: z.number().positive().max(90)
|
|
1893
|
-
lookbackHours: z.number().positive().max(90 * 24)
|
|
1894
|
-
startTimeMs: z.number().int().positive()
|
|
1895
|
-
endTimeMs: z.number().int().positive()
|
|
1908
|
+
lookbackDays: agentCoercedOptionalIntSchema(z.number().int().positive().max(90)),
|
|
1909
|
+
lookbackHours: agentCoercedOptionalIntSchema(z.number().int().positive().max(90 * 24)),
|
|
1910
|
+
startTimeMs: agentCoercedOptionalIntSchema(z.number().int().positive()),
|
|
1911
|
+
endTimeMs: agentCoercedOptionalIntSchema(z.number().int().positive())
|
|
1896
1912
|
});
|
|
1897
1913
|
var mcpHyperliquidFetchOhlcvOutputSchema = z.object({
|
|
1898
1914
|
ohlcv: z.object({
|
|
@@ -1989,7 +2005,7 @@ var mcpHyperliquidCloseInputSchema = mcpHyperliquidMultisignInput(
|
|
|
1989
2005
|
var mcpHyperliquidCancelInputSchema = mcpHyperliquidMultisignInput(
|
|
1990
2006
|
{
|
|
1991
2007
|
coin: z.string().min(1),
|
|
1992
|
-
oid: z.number().int().positive().describe("oid from fetch_open_orders"),
|
|
2008
|
+
oid: agentCoercedIntSchema(z.number().int().positive()).describe("oid from fetch_open_orders"),
|
|
1993
2009
|
marketKind: z.enum(["perp", "spot"]).optional(),
|
|
1994
2010
|
dex: z.string().optional()
|
|
1995
2011
|
},
|
|
@@ -1999,6 +2015,13 @@ var mcpHyperliquidUsdTransferInputSchema = mcpHyperliquidMultisignInput({
|
|
|
1999
2015
|
usdHuman: z.string().min(1),
|
|
2000
2016
|
toPerp: agentBooleanSchema()
|
|
2001
2017
|
});
|
|
2018
|
+
var mcpHyperliquidBridgeDepositInputSchema = mcpHyperliquidMultisignInput({
|
|
2019
|
+
usdHuman: z.string().min(1).describe("USDC amount (minimum 5)")
|
|
2020
|
+
});
|
|
2021
|
+
var mcpHyperliquidBridgeWithdrawInputSchema = mcpHyperliquidMultisignInput({
|
|
2022
|
+
usdHuman: z.string().min(1),
|
|
2023
|
+
destination: evmAddressSchema.optional().describe("Arbitrum recipient; defaults to executor")
|
|
2024
|
+
});
|
|
2002
2025
|
var mcpHyperliquidVaultDepositInputSchema = mcpHyperliquidMultisignInput(
|
|
2003
2026
|
{
|
|
2004
2027
|
vaultAddress: evmAddressSchema.describe("vaultAddress from fetch_vaults"),
|
|
@@ -2031,6 +2054,16 @@ var mcpHyperliquidUndelegateInputSchema = mcpHyperliquidMultisignInput(
|
|
|
2031
2054
|
},
|
|
2032
2055
|
preprocessHyperliquidUndelegateInput
|
|
2033
2056
|
);
|
|
2057
|
+
var mcpHyperliquidUpdateLeverageInputSchema = mcpHyperliquidMultisignInput(
|
|
2058
|
+
{
|
|
2059
|
+
coin: z.string().min(1).describe("coin from fetch_markets, search_markets, or open_context"),
|
|
2060
|
+
leverage: agentCoercedIntSchema(z.number().int().positive()).describe("Target leverage (1..maxLeverage from market row)"),
|
|
2061
|
+
isCross: agentBooleanSchema().optional().describe("true = cross margin (default); false = isolated margin for this market"),
|
|
2062
|
+
marketKind: z.enum(["perp", "spot"]).optional().describe("perp (default)"),
|
|
2063
|
+
dex: z.string().optional().describe("HIP-3 dex when applicable")
|
|
2064
|
+
},
|
|
2065
|
+
preprocessHyperliquidCoinInput
|
|
2066
|
+
);
|
|
2034
2067
|
var mcpCctpFeeFieldsSchema = z.object({
|
|
2035
2068
|
feeTierUsed: z.enum(["low", "med", "high"]),
|
|
2036
2069
|
maxFee: z.string().describe("Selected tier max fee in USDC base units (6 decimals)"),
|
|
@@ -2081,7 +2114,7 @@ var mcpCctpFetchUsdcBalanceOutputSchema = jsonObjectSchema.describe(
|
|
|
2081
2114
|
);
|
|
2082
2115
|
var mcpCctpFetchTransferStatusInputSchema = z.object({
|
|
2083
2116
|
sourceChainId: agentEvmChainIdSchema.describe("Source chain where burn was executed"),
|
|
2084
|
-
sourceDomain: z.number().int().min(0).describe("CCTP domain id of source chain"),
|
|
2117
|
+
sourceDomain: agentCoercedIntSchema(z.number().int().min(0)).describe("CCTP domain id of source chain"),
|
|
2085
2118
|
burnTxHash: z.string().min(1).describe("Burn transaction hash (0x-prefixed or raw)")
|
|
2086
2119
|
});
|
|
2087
2120
|
var mcpCctpFetchTransferStatusOutputSchema = jsonObjectSchema.describe(
|
|
@@ -2092,7 +2125,7 @@ var mcpCctpBuildBurnMultisignInputSchema = mcpMultisignInput({
|
|
|
2092
2125
|
transferAmountHuman: z.string().min(1).describe("Human USDC amount recipient receives"),
|
|
2093
2126
|
mintRecipient: evmAddressSchema.optional().describe("Recipient on destination chain; defaults to MPC executor address"),
|
|
2094
2127
|
feeTier: z.enum(["low", "med", "high"]).optional(),
|
|
2095
|
-
minFinalityThreshold: z.number().int().positive()
|
|
2128
|
+
minFinalityThreshold: agentCoercedOptionalIntSchema(z.number().int().positive()),
|
|
2096
2129
|
feeSnapshot: jsonObjectSchema.optional().describe("Optional output from ctm_cctp_fetch_burn_fees")
|
|
2097
2130
|
});
|
|
2098
2131
|
|
|
@@ -2590,6 +2623,32 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
2590
2623
|
},
|
|
2591
2624
|
inputZod: mcpHyperliquidUsdTransferInputSchema
|
|
2592
2625
|
}),
|
|
2626
|
+
defineProtocolMcpTool({
|
|
2627
|
+
name: "ctm_hyperliquid_build_bridge_deposit_multisign",
|
|
2628
|
+
actionId: "hyperliquid.bridgeDeposit",
|
|
2629
|
+
protocolId: "hyperliquid",
|
|
2630
|
+
chainCategory: "evm",
|
|
2631
|
+
description: "Create and submit mpc-auth multiSignRequest to deposit USDC from Arbitrum to Hyperliquid via Bridge2 (ERC20 transfer). chainId must be Arbitrum One (42161) or Arbitrum Sepolia (421614). Minimum 5 USDC.",
|
|
2632
|
+
prerequisites: ["keyGen", "executorAddress", "Arbitrum USDC balance", "usdHuman (min 5)"],
|
|
2633
|
+
handler: {
|
|
2634
|
+
importPath: "protocols/evm/hyperliquid",
|
|
2635
|
+
exportName: "buildEvmMultisignBodyHyperliquidBridgeDepositBatch"
|
|
2636
|
+
},
|
|
2637
|
+
inputZod: mcpHyperliquidBridgeDepositInputSchema
|
|
2638
|
+
}),
|
|
2639
|
+
defineProtocolMcpTool({
|
|
2640
|
+
name: "ctm_hyperliquid_build_bridge_withdraw_multisign",
|
|
2641
|
+
actionId: "hyperliquid.bridgeWithdraw",
|
|
2642
|
+
protocolId: "hyperliquid",
|
|
2643
|
+
chainCategory: "evm",
|
|
2644
|
+
description: "Create and submit mpc-auth multiSignRequest to withdraw USDC from Hyperliquid to Arbitrum via withdraw3 (EIP-712, delivered to /exchange). chainId 999 or 998. ~1 USDC bridge fee on Hyperliquid.",
|
|
2645
|
+
prerequisites: ["keyGen", "executorAddress", "Hyperliquid withdrawable balance", "usdHuman"],
|
|
2646
|
+
handler: {
|
|
2647
|
+
importPath: "protocols/evm/hyperliquid",
|
|
2648
|
+
exportName: "buildHyperliquidBridgeWithdrawMultisign"
|
|
2649
|
+
},
|
|
2650
|
+
inputZod: mcpHyperliquidBridgeWithdrawInputSchema
|
|
2651
|
+
}),
|
|
2593
2652
|
defineProtocolMcpTool({
|
|
2594
2653
|
name: "ctm_hyperliquid_build_vault_deposit_multisign",
|
|
2595
2654
|
actionId: "hyperliquid.vaultDeposit",
|
|
@@ -2650,6 +2709,27 @@ var MCP_PROTOCOL_TOOL_DEFINITIONS = [
|
|
|
2650
2709
|
handler: { importPath: "protocols/evm/hyperliquid", exportName: "buildEvmMultisignBodyHyperliquidUndelegateBatch" },
|
|
2651
2710
|
inputZod: mcpHyperliquidUndelegateInputSchema
|
|
2652
2711
|
}),
|
|
2712
|
+
defineProtocolMcpTool({
|
|
2713
|
+
name: "ctm_hyperliquid_build_update_leverage_multisign",
|
|
2714
|
+
actionId: "hyperliquid.updateLeverage",
|
|
2715
|
+
protocolId: "hyperliquid",
|
|
2716
|
+
chainCategory: "evm",
|
|
2717
|
+
description: "Set per-market leverage (cross or isolated) on Hyperliquid via L1 /exchange EIP-712 signing \u2014 not CoreWriter, no EVM gas at propose/trigger.",
|
|
2718
|
+
prerequisites: [
|
|
2719
|
+
"keyGenId",
|
|
2720
|
+
"chainId 999 or 998",
|
|
2721
|
+
"coin",
|
|
2722
|
+
"leverage <= maxLeverage from fetch_markets or open_context",
|
|
2723
|
+
"ctm_hyperliquid_fetch_open_context for current leverageLabel"
|
|
2724
|
+
],
|
|
2725
|
+
followUp: [
|
|
2726
|
+
"sign_request_agree",
|
|
2727
|
+
"trigger_sign_result",
|
|
2728
|
+
"broadcast_sign_result"
|
|
2729
|
+
],
|
|
2730
|
+
handler: { importPath: "protocols/evm/hyperliquid", exportName: "buildHyperliquidUpdateLeverageMultisign" },
|
|
2731
|
+
inputZod: mcpHyperliquidUpdateLeverageInputSchema
|
|
2732
|
+
}),
|
|
2653
2733
|
defineProtocolMcpTool({
|
|
2654
2734
|
name: "ctm_cctp_build_burn_multisign",
|
|
2655
2735
|
actionId: "circle-cctp.burn-forward",
|
|
@@ -3038,7 +3118,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
3038
3118
|
chainCategory: "evm",
|
|
3039
3119
|
description: "List Hyperliquid perp markets (native + all HIP-3 dexes when dex omitted). Each market has coin name, maxLeverage, szDecimals, and optional dex (e.g. xyz for xyz:AAPL). chainId 999 mainnet or 998 testnet.",
|
|
3040
3120
|
prerequisites: ["chainId 999 or 998"],
|
|
3041
|
-
followUp: ["ctm_hyperliquid_fetch_open_context", "ctm_hyperliquid_build_limit_order_multisign"],
|
|
3121
|
+
followUp: ["ctm_hyperliquid_fetch_open_context", "ctm_hyperliquid_build_limit_order_multisign", "ctm_hyperliquid_build_update_leverage_multisign"],
|
|
3042
3122
|
handler: { importPath: "protocols/evm/hyperliquid", exportName: "hyperliquidFetchMarketsSummary" },
|
|
3043
3123
|
inputZod: mcpHyperliquidFetchMarketsInputSchema,
|
|
3044
3124
|
outputZod: mcpHyperliquidFetchMarketsOutputSchema
|
|
@@ -3050,7 +3130,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
3050
3130
|
chainCategory: "evm",
|
|
3051
3131
|
description: "Search Hyperliquid perp markets across all dexes by ticker (AAPL, BTC), display name, or keyword (Apple, tesla). Case-insensitive. Returns canonical coin names (e.g. xyz:AAPL).",
|
|
3052
3132
|
prerequisites: ["chainId 999 or 998", "query"],
|
|
3053
|
-
followUp: ["ctm_hyperliquid_fetch_open_context", "ctm_hyperliquid_build_limit_order_multisign"],
|
|
3133
|
+
followUp: ["ctm_hyperliquid_fetch_open_context", "ctm_hyperliquid_build_limit_order_multisign", "ctm_hyperliquid_build_update_leverage_multisign"],
|
|
3054
3134
|
handler: { importPath: "protocols/evm/hyperliquid", exportName: "hyperliquidSearchMarketsSummary" },
|
|
3055
3135
|
inputZod: mcpHyperliquidSearchMarketsInputSchema,
|
|
3056
3136
|
outputZod: mcpHyperliquidSearchMarketsOutputSchema
|
|
@@ -3062,7 +3142,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
3062
3142
|
chainCategory: "evm",
|
|
3063
3143
|
description: "Per-market trading context: account value, withdrawable, margin used, leverage setting, mark price, available buy/sell size. Resolves ticker/name (AAPL, Apple) across dexes.",
|
|
3064
3144
|
prerequisites: ["chainId", "executorAddress", "coin from fetch_markets"],
|
|
3065
|
-
followUp: ["ctm_hyperliquid_build_limit_order_multisign"],
|
|
3145
|
+
followUp: ["ctm_hyperliquid_build_limit_order_multisign", "ctm_hyperliquid_build_update_leverage_multisign"],
|
|
3066
3146
|
handler: { importPath: "protocols/evm/hyperliquid", exportName: "hyperliquidFetchOpenContextSummary" },
|
|
3067
3147
|
inputZod: mcpHyperliquidFetchOpenContextInputSchema,
|
|
3068
3148
|
outputZod: mcpHyperliquidFetchOpenContextOutputSchema
|
|
@@ -3098,7 +3178,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
3098
3178
|
chainCategory: "evm",
|
|
3099
3179
|
description: "Live mark/mid price plus recent OHLCV candles for a Hyperliquid perp. Uses metaAndAssetCtxs for live prices (not stale candle close). Default interval 15m, 48 bars. Throws if live price unavailable.",
|
|
3100
3180
|
prerequisites: ["chainId", "coin"],
|
|
3101
|
-
followUp: ["ctm_hyperliquid_fetch_open_context", "ctm_hyperliquid_build_limit_order_multisign"],
|
|
3181
|
+
followUp: ["ctm_hyperliquid_fetch_open_context", "ctm_hyperliquid_build_limit_order_multisign", "ctm_hyperliquid_build_update_leverage_multisign"],
|
|
3102
3182
|
handler: { importPath: "protocols/evm/hyperliquid", exportName: "hyperliquidFetchMarketSnapshotSummary" },
|
|
3103
3183
|
inputZod: mcpHyperliquidFetchMarketSnapshotInputSchema,
|
|
3104
3184
|
outputZod: mcpHyperliquidFetchMarketSnapshotOutputSchema
|
|
@@ -3108,7 +3188,7 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
3108
3188
|
actionId: "hyperliquid.fetch-ohlcv",
|
|
3109
3189
|
protocolId: "hyperliquid",
|
|
3110
3190
|
chainCategory: "evm",
|
|
3111
|
-
description:
|
|
3191
|
+
description: 'OHLCV candle history for a Hyperliquid perp over an explicit lookback or time range. Set lookbackDays to match the operator request exactly (e.g. "last 7 days" \u2192 lookbackDays: 7, interval: 1h \u2192 ~169 bars). Max 2000 bars \u2014 use coarser interval for longer history. Resolves ticker/name across dexes.',
|
|
3112
3192
|
prerequisites: ["chainId 999 or 998", "coin", "lookbackDays or lookbackHours or startTimeMs"],
|
|
3113
3193
|
followUp: ["ctm_hyperliquid_fetch_market_snapshot", "continuum__prepare_chart_from_rows", "ctm_hyperliquid_build_limit_order_multisign"],
|
|
3114
3194
|
handler: { importPath: "protocols/evm/hyperliquid", exportName: "hyperliquidFetchOhlcvSummary" },
|
|
@@ -3696,11 +3776,15 @@ function isGmxChainSupported(chainId) {
|
|
|
3696
3776
|
}
|
|
3697
3777
|
var require2 = createRequire(fileURLToPath(import.meta.url));
|
|
3698
3778
|
var { GmxApiSdk } = require2("@gmx-io/sdk/v2");
|
|
3779
|
+
var { getApiUrl, getApiFallbackUrls } = require2("@gmx-io/sdk/configs/api");
|
|
3699
3780
|
var GMX_HTTP_TIMEOUT_MS = 3e4;
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
};
|
|
3781
|
+
function gmxResolvedApiBaseUrls(chainId) {
|
|
3782
|
+
const primary = getApiUrl(chainId);
|
|
3783
|
+
if (!primary) {
|
|
3784
|
+
throw new Error(`GMX API URLs are not configured for chain ${chainId}.`);
|
|
3785
|
+
}
|
|
3786
|
+
return [primary, ...getApiFallbackUrls(chainId)];
|
|
3787
|
+
}
|
|
3704
3788
|
function buildGmxUrl(baseUrl, path, query) {
|
|
3705
3789
|
const base = baseUrl.replace(/\/$/, "");
|
|
3706
3790
|
if (!query) return `${base}${path}`;
|
|
@@ -3765,10 +3849,7 @@ async function gmxHttpPostJson(baseUrl, path, body, opts) {
|
|
|
3765
3849
|
}
|
|
3766
3850
|
}
|
|
3767
3851
|
function createIoFirstGmxHttpApi(chainId) {
|
|
3768
|
-
const urls =
|
|
3769
|
-
if (!urls) {
|
|
3770
|
-
throw new Error(`GMX API URLs are not configured for chain ${chainId}.`);
|
|
3771
|
-
}
|
|
3852
|
+
const urls = gmxResolvedApiBaseUrls(chainId);
|
|
3772
3853
|
async function withIoFirstFallback(fn) {
|
|
3773
3854
|
let lastError;
|
|
3774
3855
|
for (const baseUrl of urls) {
|
|
@@ -4039,6 +4120,40 @@ var hyperliquidProtocolModule = {
|
|
|
4039
4120
|
validator: { type: "string", required: true, description: "Validator address" }
|
|
4040
4121
|
}
|
|
4041
4122
|
},
|
|
4123
|
+
{
|
|
4124
|
+
id: "hyperliquid.bridgeDeposit",
|
|
4125
|
+
protocolId: HYPERLIQUID_PROTOCOL_ID,
|
|
4126
|
+
chainCategory: "evm",
|
|
4127
|
+
description: "Deposit USDC from Arbitrum to Hyperliquid via Bridge2 (ERC20 transfer)",
|
|
4128
|
+
commonParams: ["keyGen", "purposeText", "useCustomGas"],
|
|
4129
|
+
params: {
|
|
4130
|
+
usdHuman: { type: "string", required: true, description: "USDC amount (min 5)" }
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
id: "hyperliquid.bridgeWithdraw",
|
|
4135
|
+
protocolId: HYPERLIQUID_PROTOCOL_ID,
|
|
4136
|
+
chainCategory: "evm",
|
|
4137
|
+
description: "Withdraw USDC from Hyperliquid to Arbitrum via withdraw3 (EIP-712 /exchange)",
|
|
4138
|
+
commonParams: ["keyGen", "purposeText"],
|
|
4139
|
+
params: {
|
|
4140
|
+
usdHuman: { type: "string", required: true, description: "USDC amount" },
|
|
4141
|
+
destination: { type: "string", required: false, description: "Arbitrum recipient (defaults to executor)" }
|
|
4142
|
+
}
|
|
4143
|
+
},
|
|
4144
|
+
{
|
|
4145
|
+
id: "hyperliquid.updateLeverage",
|
|
4146
|
+
protocolId: HYPERLIQUID_PROTOCOL_ID,
|
|
4147
|
+
chainCategory: "evm",
|
|
4148
|
+
description: "Update per-market cross/isolated leverage via Hyperliquid L1 /exchange (EIP-712)",
|
|
4149
|
+
commonParams: ["keyGen", "purposeText"],
|
|
4150
|
+
params: {
|
|
4151
|
+
coin: { type: "string", required: true, description: "Market coin e.g. BTC" },
|
|
4152
|
+
leverage: { type: "number", required: true, description: "New leverage (1..market max)" },
|
|
4153
|
+
isCross: { type: "boolean", required: false, description: "true for cross (default), false for isolated" },
|
|
4154
|
+
marketKind: { type: "string", required: false, description: "perp (default) or spot" }
|
|
4155
|
+
}
|
|
4156
|
+
},
|
|
4042
4157
|
{
|
|
4043
4158
|
id: "hyperliquid.undelegate",
|
|
4044
4159
|
protocolId: HYPERLIQUID_PROTOCOL_ID,
|
|
@@ -4720,6 +4835,17 @@ var PROTOCOL_SUPPORT_ADVISORS = {
|
|
|
4720
4835
|
return false;
|
|
4721
4836
|
}
|
|
4722
4837
|
}
|
|
4838
|
+
}),
|
|
4839
|
+
hyperliquid: advisor("hyperliquid", "api_underlyings", {
|
|
4840
|
+
async supportedChainIds() {
|
|
4841
|
+
return [...HYPERLIQUID_SUPPORTED_CHAIN_IDS];
|
|
4842
|
+
},
|
|
4843
|
+
async supportedTokens() {
|
|
4844
|
+
return {
|
|
4845
|
+
tokens: [],
|
|
4846
|
+
notes: "Hyperliquid perp coins from fetch_markets; chainId 999 mainnet or 998 testnet for HyperEVM multisign."
|
|
4847
|
+
};
|
|
4848
|
+
}
|
|
4723
4849
|
})
|
|
4724
4850
|
};
|
|
4725
4851
|
function getProtocolSupportAdvisor(protocolId) {
|
|
@@ -4767,6 +4893,6 @@ function getAgentCatalog() {
|
|
|
4767
4893
|
};
|
|
4768
4894
|
}
|
|
4769
4895
|
|
|
4770
|
-
export { EVM_COMMON_PARAM_DOCS, MANAGEMENT_SIG_DOC, MCP_NON_SUBMIT_TOOL_NAMES, MCP_TOOL_DEFINITIONS, MCP_TOOL_INPUT_SCHEMAS, MCP_TOOL_OUTPUT_SCHEMAS, MULTISIGN_OUTPUT_DOC, MULTISIGN_SUBMIT_OUTPUT_DOC, PROTOCOL_SUPPORT_ADVISORS, chainDetailSchema, evmAddressSchema, evmMultisignCommonInputSchema, getActionsByChainCategory, getAgentCatalog, getAgentCatalogForMcp, getMcpToolByName, getMcpToolDefinitions, getMcpToolInputSchema, getMcpToolOutputSchema, getProtocolDiscoverySummary, getProtocolModules, getProtocolSkill, getProtocolSupportAdvisor, getToolsForProtocol, jsonObjectSchema, keyGenSchema, listProtocolSupportAdvisorIds, listProtocolsWithSkills, mcpAaveV4BorrowInputSchema, mcpAaveV4DepositInputSchema, mcpAaveV4RepayInputSchema, mcpAaveV4WithdrawInputSchema, mcpCurveDaoBuildSwapMultisignInputSchema, mcpCurveDaoQuoteInputSchema, mcpCurveDaoQuoteOutputSchema, mcpEthenaClaimInputSchema, mcpEthenaCooldownInputSchema, mcpEthenaRedeemInputSchema, mcpEthenaStakeInputSchema, mcpEulerV2BorrowRepayInputSchema, mcpEulerV2CollateralDepositInputSchema, mcpEulerV2CollateralWithdrawInputSchema, mcpEulerV2FetchLendVaultsInputSchema, mcpEulerV2FetchLendVaultsOutputSchema, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpGmxCancelInputSchema, mcpGmxDecreaseInputSchema, mcpGmxFetchGmApyInputSchema, mcpGmxFetchGmApyOutputSchema, mcpGmxFetchGmMarketsInputSchema, mcpGmxFetchGmMarketsOutputSchema, mcpGmxFetchMarketPricesInputSchema, mcpGmxFetchMarketPricesOutputSchema, mcpGmxFetchMarketsInputSchema, mcpGmxFetchMarketsOutputSchema, mcpGmxFetchOhlcvInputSchema, mcpGmxFetchOhlcvOutputSchema, mcpGmxFetchOrdersInputSchema, mcpGmxFetchOrdersOutputSchema, mcpGmxFetchPositionsInputSchema, mcpGmxFetchPositionsOutputSchema, mcpGmxFetchStakingPowerInputSchema, mcpGmxFetchStakingPowerOutputSchema, mcpGmxGmDepositInputSchema, mcpGmxGmWithdrawInputSchema, mcpGmxIncreaseInputSchema, mcpServerSubmitOutputSchema as mcpGmxMultisignOutputSchema, mcpGmxStakeGmxInputSchema, mcpGmxUnstakeGmxInputSchema, mcpHyperliquidCancelInputSchema, mcpHyperliquidCloseInputSchema, mcpHyperliquidDelegateInputSchema, mcpHyperliquidFetchDelegationsInputSchema, mcpHyperliquidFetchDelegationsOutputSchema, mcpHyperliquidFetchMarketSnapshotInputSchema, mcpHyperliquidFetchMarketSnapshotOutputSchema, mcpHyperliquidFetchMarketsInputSchema, mcpHyperliquidFetchMarketsOutputSchema, mcpHyperliquidFetchOhlcvInputSchema, mcpHyperliquidFetchOhlcvOutputSchema, mcpHyperliquidFetchOpenContextInputSchema, mcpHyperliquidFetchOpenContextOutputSchema, mcpHyperliquidFetchOpenOrdersInputSchema, mcpHyperliquidFetchOpenOrdersOutputSchema, mcpHyperliquidFetchPositionsInputSchema, mcpHyperliquidFetchPositionsOutputSchema, mcpHyperliquidFetchStakingSummaryInputSchema, mcpHyperliquidFetchStakingSummaryOutputSchema, mcpHyperliquidFetchUsdClassBalancesInputSchema, mcpHyperliquidFetchUsdClassBalancesOutputSchema, mcpHyperliquidFetchUserVaultEquitiesInputSchema, mcpHyperliquidFetchUserVaultEquitiesOutputSchema, mcpHyperliquidFetchVaultsInputSchema, mcpHyperliquidFetchVaultsOutputSchema, mcpHyperliquidLimitOrderInputSchema, mcpHyperliquidSearchMarketsInputSchema, mcpHyperliquidSearchMarketsOutputSchema, mcpHyperliquidStakeInputSchema, mcpHyperliquidUndelegateInputSchema, mcpHyperliquidUnstakeInputSchema, mcpHyperliquidUsdTransferInputSchema, mcpHyperliquidVaultDepositInputSchema, mcpHyperliquidVaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMorphoBlueBorrowInputSchema, mcpMorphoBlueCollateralDepositInputSchema, mcpMorphoBlueCollateralWithdrawInputSchema, mcpMorphoBlueRepayInputSchema, mcpMorphoFetchBlueMarketsInputSchema, mcpMorphoFetchBlueMarketsOutputSchema, mcpMorphoFetchEarnVaultsInputSchema, mcpMorphoFetchEarnVaultsOutputSchema, mcpMorphoMerklClaimInputSchema, mcpMorphoVaultDepositInputSchema, mcpMorphoVaultWithdrawInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, mcpServerSubmitOutputSchema as mcpMultisignSubmitOutputSchema, mcpServerCommonInputSchema, mcpServerMultisignInput, mcpServerSubmitOutputSchema, mcpSkyLockstakeCloseInputSchema, mcpSkyLockstakeDrawInputSchema, mcpSkyLockstakeGetRewardInputSchema, mcpSkyLockstakeStakeInputSchema, mcpSkyLockstakeWipeInputSchema, mcpSkySusdsDepositInputSchema, mcpSkySusdsRedeemInputSchema, mcpUniswapV4BuildCollectFeesMultisignInputSchema, mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildMintLiquidityMultisignInputSchema, mcpUniswapV4BuildSwapMultisignInputSchema, mcpUniswapV4CreateSwapInputSchema, mcpUniswapV4CreateSwapOutputSchema, mcpUniswapV4LpClaimInputSchema, mcpUniswapV4LpClaimOutputSchema, mcpUniswapV4LpCreatePositionInputSchema, mcpUniswapV4LpCreatePositionOutputSchema, mcpUniswapV4LpDecreaseInputSchema, mcpUniswapV4LpDecreaseOutputSchema, mcpUniswapV4LpIncreaseInputSchema, mcpUniswapV4LpIncreaseOutputSchema, mcpUniswapV4LpListPoolsInputSchema, mcpUniswapV4LpListPoolsOutputSchema, mcpUniswapV4LpListPositionsInputSchema, mcpUniswapV4LpListPositionsOutputSchema, mcpUniswapV4QuoteInputSchema, mcpUniswapV4QuoteOutputSchema, mcpUniswapV4RegisterPositionFromMintTxInputSchema, mcpUniswapV4RegisterPositionFromMintTxOutputSchema, mcpUniswapV4RegisterPositionNftInputSchema, mcpUniswapV4RegisterPositionNftOutputSchema, multisignOutputSchema, parseAgentBoolean, parseAgentEvmChainId, parseMcpToolInput, parseMcpToolOutput, parseMultisignBuilderOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
|
|
4896
|
+
export { EVM_COMMON_PARAM_DOCS, MANAGEMENT_SIG_DOC, MCP_NON_SUBMIT_TOOL_NAMES, MCP_TOOL_DEFINITIONS, MCP_TOOL_INPUT_SCHEMAS, MCP_TOOL_OUTPUT_SCHEMAS, MULTISIGN_OUTPUT_DOC, MULTISIGN_SUBMIT_OUTPUT_DOC, PROTOCOL_SUPPORT_ADVISORS, chainDetailSchema, evmAddressSchema, evmMultisignCommonInputSchema, getActionsByChainCategory, getAgentCatalog, getAgentCatalogForMcp, getMcpToolByName, getMcpToolDefinitions, getMcpToolInputSchema, getMcpToolOutputSchema, getProtocolDiscoverySummary, getProtocolModules, getProtocolSkill, getProtocolSupportAdvisor, getToolsForProtocol, jsonObjectSchema, keyGenSchema, listProtocolSupportAdvisorIds, listProtocolsWithSkills, mcpAaveV4BorrowInputSchema, mcpAaveV4DepositInputSchema, mcpAaveV4RepayInputSchema, mcpAaveV4WithdrawInputSchema, mcpCurveDaoBuildSwapMultisignInputSchema, mcpCurveDaoQuoteInputSchema, mcpCurveDaoQuoteOutputSchema, mcpEthenaClaimInputSchema, mcpEthenaCooldownInputSchema, mcpEthenaRedeemInputSchema, mcpEthenaStakeInputSchema, mcpEulerV2BorrowRepayInputSchema, mcpEulerV2CollateralDepositInputSchema, mcpEulerV2CollateralWithdrawInputSchema, mcpEulerV2FetchLendVaultsInputSchema, mcpEulerV2FetchLendVaultsOutputSchema, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpGmxCancelInputSchema, mcpGmxDecreaseInputSchema, mcpGmxFetchGmApyInputSchema, mcpGmxFetchGmApyOutputSchema, mcpGmxFetchGmMarketsInputSchema, mcpGmxFetchGmMarketsOutputSchema, mcpGmxFetchMarketPricesInputSchema, mcpGmxFetchMarketPricesOutputSchema, mcpGmxFetchMarketsInputSchema, mcpGmxFetchMarketsOutputSchema, mcpGmxFetchOhlcvInputSchema, mcpGmxFetchOhlcvOutputSchema, mcpGmxFetchOrdersInputSchema, mcpGmxFetchOrdersOutputSchema, mcpGmxFetchPositionsInputSchema, mcpGmxFetchPositionsOutputSchema, mcpGmxFetchStakingPowerInputSchema, mcpGmxFetchStakingPowerOutputSchema, mcpGmxGmDepositInputSchema, mcpGmxGmWithdrawInputSchema, mcpGmxIncreaseInputSchema, mcpServerSubmitOutputSchema as mcpGmxMultisignOutputSchema, mcpGmxStakeGmxInputSchema, mcpGmxUnstakeGmxInputSchema, mcpHyperliquidBridgeDepositInputSchema, mcpHyperliquidBridgeWithdrawInputSchema, mcpHyperliquidCancelInputSchema, mcpHyperliquidCloseInputSchema, mcpHyperliquidDelegateInputSchema, mcpHyperliquidFetchDelegationsInputSchema, mcpHyperliquidFetchDelegationsOutputSchema, mcpHyperliquidFetchMarketSnapshotInputSchema, mcpHyperliquidFetchMarketSnapshotOutputSchema, mcpHyperliquidFetchMarketsInputSchema, mcpHyperliquidFetchMarketsOutputSchema, mcpHyperliquidFetchOhlcvInputSchema, mcpHyperliquidFetchOhlcvOutputSchema, mcpHyperliquidFetchOpenContextInputSchema, mcpHyperliquidFetchOpenContextOutputSchema, mcpHyperliquidFetchOpenOrdersInputSchema, mcpHyperliquidFetchOpenOrdersOutputSchema, mcpHyperliquidFetchPositionsInputSchema, mcpHyperliquidFetchPositionsOutputSchema, mcpHyperliquidFetchStakingSummaryInputSchema, mcpHyperliquidFetchStakingSummaryOutputSchema, mcpHyperliquidFetchUsdClassBalancesInputSchema, mcpHyperliquidFetchUsdClassBalancesOutputSchema, mcpHyperliquidFetchUserVaultEquitiesInputSchema, mcpHyperliquidFetchUserVaultEquitiesOutputSchema, mcpHyperliquidFetchVaultsInputSchema, mcpHyperliquidFetchVaultsOutputSchema, mcpHyperliquidLimitOrderInputSchema, mcpHyperliquidSearchMarketsInputSchema, mcpHyperliquidSearchMarketsOutputSchema, mcpHyperliquidStakeInputSchema, mcpHyperliquidUndelegateInputSchema, mcpHyperliquidUnstakeInputSchema, mcpHyperliquidUpdateLeverageInputSchema, mcpHyperliquidUsdTransferInputSchema, mcpHyperliquidVaultDepositInputSchema, mcpHyperliquidVaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMorphoBlueBorrowInputSchema, mcpMorphoBlueCollateralDepositInputSchema, mcpMorphoBlueCollateralWithdrawInputSchema, mcpMorphoBlueRepayInputSchema, mcpMorphoFetchBlueMarketsInputSchema, mcpMorphoFetchBlueMarketsOutputSchema, mcpMorphoFetchEarnVaultsInputSchema, mcpMorphoFetchEarnVaultsOutputSchema, mcpMorphoMerklClaimInputSchema, mcpMorphoVaultDepositInputSchema, mcpMorphoVaultWithdrawInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, mcpServerSubmitOutputSchema as mcpMultisignSubmitOutputSchema, mcpServerCommonInputSchema, mcpServerMultisignInput, mcpServerSubmitOutputSchema, mcpSkyLockstakeCloseInputSchema, mcpSkyLockstakeDrawInputSchema, mcpSkyLockstakeGetRewardInputSchema, mcpSkyLockstakeStakeInputSchema, mcpSkyLockstakeWipeInputSchema, mcpSkySusdsDepositInputSchema, mcpSkySusdsRedeemInputSchema, mcpUniswapV4BuildCollectFeesMultisignInputSchema, mcpUniswapV4BuildDecreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildIncreaseLiquidityMultisignInputSchema, mcpUniswapV4BuildMintLiquidityMultisignInputSchema, mcpUniswapV4BuildSwapMultisignInputSchema, mcpUniswapV4CreateSwapInputSchema, mcpUniswapV4CreateSwapOutputSchema, mcpUniswapV4LpClaimInputSchema, mcpUniswapV4LpClaimOutputSchema, mcpUniswapV4LpCreatePositionInputSchema, mcpUniswapV4LpCreatePositionOutputSchema, mcpUniswapV4LpDecreaseInputSchema, mcpUniswapV4LpDecreaseOutputSchema, mcpUniswapV4LpIncreaseInputSchema, mcpUniswapV4LpIncreaseOutputSchema, mcpUniswapV4LpListPoolsInputSchema, mcpUniswapV4LpListPoolsOutputSchema, mcpUniswapV4LpListPositionsInputSchema, mcpUniswapV4LpListPositionsOutputSchema, mcpUniswapV4QuoteInputSchema, mcpUniswapV4QuoteOutputSchema, mcpUniswapV4RegisterPositionFromMintTxInputSchema, mcpUniswapV4RegisterPositionFromMintTxOutputSchema, mcpUniswapV4RegisterPositionNftInputSchema, mcpUniswapV4RegisterPositionNftOutputSchema, multisignOutputSchema, parseAgentBoolean, parseAgentEvmChainId, parseMcpToolInput, parseMcpToolOutput, parseMultisignBuilderOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
|
|
4771
4897
|
//# sourceMappingURL=catalog.js.map
|
|
4772
4898
|
//# sourceMappingURL=catalog.js.map
|