@continuumdao/ctm-mpc-defi 0.2.4 → 0.2.5
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 +47 -2
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +116 -14
- package/dist/agent/catalog.js +46 -3
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/uniswap-v4/SKILL.md +9 -1
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.cjs +227 -3
- package/dist/protocols/evm/uniswap-v4/index.cjs.map +1 -1
- package/dist/protocols/evm/uniswap-v4/index.d.ts +63 -1
- package/dist/protocols/evm/uniswap-v4/index.js +222 -5
- package/dist/protocols/evm/uniswap-v4/index.js.map +1 -1
- package/package.json +1 -1
package/dist/agent/catalog.d.ts
CHANGED
|
@@ -654,7 +654,7 @@ type McpUniswapV4QuoteOutput = z.infer<typeof mcpUniswapV4QuoteOutputSchema>;
|
|
|
654
654
|
type McpUniswapV4CreateSwapInput = z.infer<typeof mcpUniswapV4CreateSwapInputSchema>;
|
|
655
655
|
type McpUniswapV4CreateSwapOutput = z.infer<typeof mcpUniswapV4CreateSwapOutputSchema>;
|
|
656
656
|
type McpUniswapV4BuildSwapMultisignInput = z.infer<typeof mcpUniswapV4BuildSwapMultisignInputSchema>;
|
|
657
|
-
/** MCP: POST /lp/create */
|
|
657
|
+
/** MCP: POST /lp/create — poolPreset is resolved by the MCP adapter before validation. */
|
|
658
658
|
declare const mcpUniswapV4LpCreatePositionInputSchema: z.ZodObject<{
|
|
659
659
|
uniswapApiKey: z.ZodString;
|
|
660
660
|
walletAddress: z.ZodOptional<z.ZodString>;
|
|
@@ -686,17 +686,17 @@ declare const mcpUniswapV4LpCreatePositionInputSchema: z.ZodObject<{
|
|
|
686
686
|
hooks: z.ZodOptional<z.ZodString>;
|
|
687
687
|
initialPrice: z.ZodString;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
token0Address: string;
|
|
690
|
-
token1Address: string;
|
|
691
689
|
fee: number;
|
|
692
690
|
tickSpacing: number;
|
|
691
|
+
token0Address: string;
|
|
692
|
+
token1Address: string;
|
|
693
693
|
initialPrice: string;
|
|
694
694
|
hooks?: string | undefined;
|
|
695
695
|
}, {
|
|
696
|
-
token0Address: string;
|
|
697
|
-
token1Address: string;
|
|
698
696
|
fee: number;
|
|
699
697
|
tickSpacing: number;
|
|
698
|
+
token0Address: string;
|
|
699
|
+
token1Address: string;
|
|
700
700
|
initialPrice: string;
|
|
701
701
|
hooks?: string | undefined;
|
|
702
702
|
}>>;
|
|
@@ -741,18 +741,18 @@ declare const mcpUniswapV4LpCreatePositionInputSchema: z.ZodObject<{
|
|
|
741
741
|
managementNodeUrl?: string | undefined;
|
|
742
742
|
baseUrl?: string | undefined;
|
|
743
743
|
slippageTolerance?: number | undefined;
|
|
744
|
-
walletAddress?: string | undefined;
|
|
745
|
-
simulateTransaction?: boolean | undefined;
|
|
746
744
|
existingPool?: {
|
|
747
745
|
token0Address: string;
|
|
748
746
|
token1Address: string;
|
|
749
747
|
poolReference: string;
|
|
750
748
|
} | undefined;
|
|
749
|
+
walletAddress?: string | undefined;
|
|
750
|
+
simulateTransaction?: boolean | undefined;
|
|
751
751
|
newPool?: {
|
|
752
|
-
token0Address: string;
|
|
753
|
-
token1Address: string;
|
|
754
752
|
fee: number;
|
|
755
753
|
tickSpacing: number;
|
|
754
|
+
token0Address: string;
|
|
755
|
+
token1Address: string;
|
|
756
756
|
initialPrice: string;
|
|
757
757
|
hooks?: string | undefined;
|
|
758
758
|
} | undefined;
|
|
@@ -775,18 +775,18 @@ declare const mcpUniswapV4LpCreatePositionInputSchema: z.ZodObject<{
|
|
|
775
775
|
managementNodeUrl?: string | undefined;
|
|
776
776
|
baseUrl?: string | undefined;
|
|
777
777
|
slippageTolerance?: number | undefined;
|
|
778
|
-
walletAddress?: string | undefined;
|
|
779
|
-
simulateTransaction?: boolean | undefined;
|
|
780
778
|
existingPool?: {
|
|
781
779
|
token0Address: string;
|
|
782
780
|
token1Address: string;
|
|
783
781
|
poolReference: string;
|
|
784
782
|
} | undefined;
|
|
783
|
+
walletAddress?: string | undefined;
|
|
784
|
+
simulateTransaction?: boolean | undefined;
|
|
785
785
|
newPool?: {
|
|
786
|
-
token0Address: string;
|
|
787
|
-
token1Address: string;
|
|
788
786
|
fee: number;
|
|
789
787
|
tickSpacing: number;
|
|
788
|
+
token0Address: string;
|
|
789
|
+
token1Address: string;
|
|
790
790
|
initialPrice: string;
|
|
791
791
|
hooks?: string | undefined;
|
|
792
792
|
} | undefined;
|
|
@@ -799,6 +799,108 @@ declare const mcpUniswapV4LpCreatePositionInputSchema: z.ZodObject<{
|
|
|
799
799
|
tickUpper: number;
|
|
800
800
|
} | undefined;
|
|
801
801
|
}>;
|
|
802
|
+
/** MCP: list curated standard V4 LP pools (poolReference computed from pool key). */
|
|
803
|
+
declare const mcpUniswapV4LpListPoolsInputSchema: z.ZodObject<{
|
|
804
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
805
|
+
pair: z.ZodOptional<z.ZodString>;
|
|
806
|
+
}, "strip", z.ZodTypeAny, {
|
|
807
|
+
chainId: string | number;
|
|
808
|
+
pair?: string | undefined;
|
|
809
|
+
}, {
|
|
810
|
+
chainId: string | number;
|
|
811
|
+
pair?: string | undefined;
|
|
812
|
+
}>;
|
|
813
|
+
declare const mcpUniswapV4LpListPoolsOutputSchema: z.ZodObject<{
|
|
814
|
+
chainId: z.ZodNumber;
|
|
815
|
+
chainLabel: z.ZodString;
|
|
816
|
+
pools: z.ZodArray<z.ZodObject<{
|
|
817
|
+
presetId: z.ZodString;
|
|
818
|
+
pairSlug: z.ZodString;
|
|
819
|
+
pairLabel: z.ZodString;
|
|
820
|
+
fee: z.ZodNumber;
|
|
821
|
+
feeLabel: z.ZodString;
|
|
822
|
+
tickSpacing: z.ZodNumber;
|
|
823
|
+
token0Symbol: z.ZodString;
|
|
824
|
+
token1Symbol: z.ZodString;
|
|
825
|
+
token0Address: z.ZodString;
|
|
826
|
+
token1Address: z.ZodString;
|
|
827
|
+
poolReference: z.ZodString;
|
|
828
|
+
hooks: z.ZodString;
|
|
829
|
+
nativeWrapped: z.ZodOptional<z.ZodString>;
|
|
830
|
+
usesNativeEth: z.ZodBoolean;
|
|
831
|
+
}, "strip", z.ZodTypeAny, {
|
|
832
|
+
hooks: string;
|
|
833
|
+
fee: number;
|
|
834
|
+
tickSpacing: number;
|
|
835
|
+
token0Address: string;
|
|
836
|
+
token1Address: string;
|
|
837
|
+
poolReference: string;
|
|
838
|
+
presetId: string;
|
|
839
|
+
pairSlug: string;
|
|
840
|
+
pairLabel: string;
|
|
841
|
+
feeLabel: string;
|
|
842
|
+
token0Symbol: string;
|
|
843
|
+
token1Symbol: string;
|
|
844
|
+
usesNativeEth: boolean;
|
|
845
|
+
nativeWrapped?: string | undefined;
|
|
846
|
+
}, {
|
|
847
|
+
hooks: string;
|
|
848
|
+
fee: number;
|
|
849
|
+
tickSpacing: number;
|
|
850
|
+
token0Address: string;
|
|
851
|
+
token1Address: string;
|
|
852
|
+
poolReference: string;
|
|
853
|
+
presetId: string;
|
|
854
|
+
pairSlug: string;
|
|
855
|
+
pairLabel: string;
|
|
856
|
+
feeLabel: string;
|
|
857
|
+
token0Symbol: string;
|
|
858
|
+
token1Symbol: string;
|
|
859
|
+
usesNativeEth: boolean;
|
|
860
|
+
nativeWrapped?: string | undefined;
|
|
861
|
+
}>, "many">;
|
|
862
|
+
notes: z.ZodString;
|
|
863
|
+
}, "strip", z.ZodTypeAny, {
|
|
864
|
+
chainId: number;
|
|
865
|
+
chainLabel: string;
|
|
866
|
+
pools: {
|
|
867
|
+
hooks: string;
|
|
868
|
+
fee: number;
|
|
869
|
+
tickSpacing: number;
|
|
870
|
+
token0Address: string;
|
|
871
|
+
token1Address: string;
|
|
872
|
+
poolReference: string;
|
|
873
|
+
presetId: string;
|
|
874
|
+
pairSlug: string;
|
|
875
|
+
pairLabel: string;
|
|
876
|
+
feeLabel: string;
|
|
877
|
+
token0Symbol: string;
|
|
878
|
+
token1Symbol: string;
|
|
879
|
+
usesNativeEth: boolean;
|
|
880
|
+
nativeWrapped?: string | undefined;
|
|
881
|
+
}[];
|
|
882
|
+
notes: string;
|
|
883
|
+
}, {
|
|
884
|
+
chainId: number;
|
|
885
|
+
chainLabel: string;
|
|
886
|
+
pools: {
|
|
887
|
+
hooks: string;
|
|
888
|
+
fee: number;
|
|
889
|
+
tickSpacing: number;
|
|
890
|
+
token0Address: string;
|
|
891
|
+
token1Address: string;
|
|
892
|
+
poolReference: string;
|
|
893
|
+
presetId: string;
|
|
894
|
+
pairSlug: string;
|
|
895
|
+
pairLabel: string;
|
|
896
|
+
feeLabel: string;
|
|
897
|
+
token0Symbol: string;
|
|
898
|
+
token1Symbol: string;
|
|
899
|
+
usesNativeEth: boolean;
|
|
900
|
+
nativeWrapped?: string | undefined;
|
|
901
|
+
}[];
|
|
902
|
+
notes: string;
|
|
903
|
+
}>;
|
|
802
904
|
declare const mcpUniswapV4LpCreatePositionOutputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
803
905
|
/** MCP: POST /lp/increase */
|
|
804
906
|
declare const mcpUniswapV4LpIncreaseInputSchema: z.ZodObject<{
|
|
@@ -1917,4 +2019,4 @@ declare function getAgentCatalog(): {
|
|
|
1917
2019
|
};
|
|
1918
2020
|
};
|
|
1919
2021
|
|
|
1920
|
-
export { type ChainDetailMcpInput, EVM_COMMON_PARAM_DOCS, type EvmMultisignCommonInput, type KeyGenMcpInput, MANAGEMENT_SIG_DOC, MCP_NON_SUBMIT_TOOL_NAMES, MCP_TOOL_DEFINITIONS, MCP_TOOL_INPUT_SCHEMAS, MCP_TOOL_OUTPUT_SCHEMAS, MULTISIGN_OUTPUT_DOC, type McpAaveV4DepositInput, type McpCurveDaoBuildSwapMultisignInput, type McpCurveDaoQuoteInput, type McpCurveDaoQuoteOutput, type McpEthenaStakeInput, type McpEulerV2IsolatedLendInput, type McpJsonSchema, type McpLidoSubmitInput, type McpMapleDepositInput, type McpSchemaProperty, type McpSkyLockstakeStakeInput, type McpToolDefinition, type McpToolHandler, type McpToolInputMap, type McpToolName, type McpToolOutputMap, type McpUniswapV4BuildMintLiquidityMultisignInput, type McpUniswapV4BuildSwapMultisignInput, type McpUniswapV4CreateSwapInput, type McpUniswapV4CreateSwapOutput, type McpUniswapV4LpCreatePositionInput, type McpUniswapV4QuoteInput, type McpUniswapV4QuoteOutput, type MultisignOutput, PROTOCOL_SUPPORT_ADVISORS, type ProtocolSupportAdvisor, type SupportedTokenRow, type TokenFilterKind, chainDetailSchema, evmAddressSchema, evmMultisignCommonInputSchema, getAgentCatalog, getAgentCatalogForMcp, getMcpToolByName, getMcpToolDefinitions, getMcpToolInputSchema, getMcpToolOutputSchema, getProtocolDiscoverySummary, getProtocolSkill, getProtocolSupportAdvisor, getToolsForProtocol, jsonObjectSchema, keyGenSchema, listProtocolSupportAdvisorIds, listProtocolsWithSkills, mcpAaveV4BorrowInputSchema, mcpAaveV4DepositInputSchema, mcpAaveV4RepayInputSchema, mcpAaveV4WithdrawInputSchema, mcpCurveDaoBuildSwapMultisignInputSchema, mcpCurveDaoQuoteInputSchema, mcpCurveDaoQuoteOutputSchema, mcpEthenaClaimInputSchema, mcpEthenaCooldownInputSchema, mcpEthenaRedeemInputSchema, mcpEthenaStakeInputSchema, mcpEulerV2BorrowRepayInputSchema, mcpEulerV2CollateralDepositInputSchema, mcpEulerV2CollateralWithdrawInputSchema, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, 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, mcpUniswapV4LpListPositionsInputSchema, mcpUniswapV4LpListPositionsOutputSchema, mcpUniswapV4QuoteInputSchema, mcpUniswapV4QuoteOutputSchema, mcpUniswapV4RegisterPositionFromMintTxInputSchema, mcpUniswapV4RegisterPositionFromMintTxOutputSchema, mcpUniswapV4RegisterPositionNftInputSchema, mcpUniswapV4RegisterPositionNftOutputSchema, multisignOutputSchema, parseMcpToolInput, parseMcpToolOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
|
|
2022
|
+
export { type ChainDetailMcpInput, EVM_COMMON_PARAM_DOCS, type EvmMultisignCommonInput, type KeyGenMcpInput, MANAGEMENT_SIG_DOC, MCP_NON_SUBMIT_TOOL_NAMES, MCP_TOOL_DEFINITIONS, MCP_TOOL_INPUT_SCHEMAS, MCP_TOOL_OUTPUT_SCHEMAS, MULTISIGN_OUTPUT_DOC, type McpAaveV4DepositInput, type McpCurveDaoBuildSwapMultisignInput, type McpCurveDaoQuoteInput, type McpCurveDaoQuoteOutput, type McpEthenaStakeInput, type McpEulerV2IsolatedLendInput, type McpJsonSchema, type McpLidoSubmitInput, type McpMapleDepositInput, type McpSchemaProperty, type McpSkyLockstakeStakeInput, type McpToolDefinition, type McpToolHandler, type McpToolInputMap, type McpToolName, type McpToolOutputMap, type McpUniswapV4BuildMintLiquidityMultisignInput, type McpUniswapV4BuildSwapMultisignInput, type McpUniswapV4CreateSwapInput, type McpUniswapV4CreateSwapOutput, type McpUniswapV4LpCreatePositionInput, type McpUniswapV4QuoteInput, type McpUniswapV4QuoteOutput, type MultisignOutput, PROTOCOL_SUPPORT_ADVISORS, type ProtocolSupportAdvisor, type SupportedTokenRow, type TokenFilterKind, chainDetailSchema, evmAddressSchema, evmMultisignCommonInputSchema, getAgentCatalog, getAgentCatalogForMcp, getMcpToolByName, getMcpToolDefinitions, getMcpToolInputSchema, getMcpToolOutputSchema, getProtocolDiscoverySummary, getProtocolSkill, getProtocolSupportAdvisor, getToolsForProtocol, jsonObjectSchema, keyGenSchema, listProtocolSupportAdvisorIds, listProtocolsWithSkills, mcpAaveV4BorrowInputSchema, mcpAaveV4DepositInputSchema, mcpAaveV4RepayInputSchema, mcpAaveV4WithdrawInputSchema, mcpCurveDaoBuildSwapMultisignInputSchema, mcpCurveDaoQuoteInputSchema, mcpCurveDaoQuoteOutputSchema, mcpEthenaClaimInputSchema, mcpEthenaCooldownInputSchema, mcpEthenaRedeemInputSchema, mcpEthenaStakeInputSchema, mcpEulerV2BorrowRepayInputSchema, mcpEulerV2CollateralDepositInputSchema, mcpEulerV2CollateralWithdrawInputSchema, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, 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, parseMcpToolInput, parseMcpToolOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
|
package/dist/agent/catalog.js
CHANGED
|
@@ -608,6 +608,33 @@ var mcpUniswapV4LpCreatePositionInputSchema = lpCommonApiInputSchema.extend({
|
|
|
608
608
|
priceBounds: lpPriceBoundsSchema.optional(),
|
|
609
609
|
tickBounds: lpTickBoundsSchema.optional()
|
|
610
610
|
});
|
|
611
|
+
var mcpUniswapV4LpListPoolsInputSchema = z.object({
|
|
612
|
+
chainId: z.union([z.number().int().positive(), z.string().min(1)]),
|
|
613
|
+
pair: z.string().optional().describe("Optional filter, e.g. eth-usdc or ETH/USDC")
|
|
614
|
+
});
|
|
615
|
+
var mcpUniswapV4LpListPoolsOutputSchema = z.object({
|
|
616
|
+
chainId: z.number().int().positive(),
|
|
617
|
+
chainLabel: z.string(),
|
|
618
|
+
pools: z.array(
|
|
619
|
+
z.object({
|
|
620
|
+
presetId: z.string(),
|
|
621
|
+
pairSlug: z.string(),
|
|
622
|
+
pairLabel: z.string(),
|
|
623
|
+
fee: z.number().int(),
|
|
624
|
+
feeLabel: z.string(),
|
|
625
|
+
tickSpacing: z.number().int(),
|
|
626
|
+
token0Symbol: z.string(),
|
|
627
|
+
token1Symbol: z.string(),
|
|
628
|
+
token0Address: evmAddressSchema,
|
|
629
|
+
token1Address: evmAddressSchema,
|
|
630
|
+
poolReference: z.string(),
|
|
631
|
+
hooks: evmAddressSchema,
|
|
632
|
+
nativeWrapped: evmAddressSchema.optional(),
|
|
633
|
+
usesNativeEth: z.boolean()
|
|
634
|
+
})
|
|
635
|
+
),
|
|
636
|
+
notes: z.string()
|
|
637
|
+
});
|
|
611
638
|
var mcpUniswapV4LpCreatePositionOutputSchema = jsonObjectSchema;
|
|
612
639
|
var mcpUniswapV4LpIncreaseInputSchema = lpCommonApiInputSchema.extend({
|
|
613
640
|
token0Address: evmAddressSchema,
|
|
@@ -1235,13 +1262,29 @@ var CORE_MCP_TOOL_DEFINITIONS = [
|
|
|
1235
1262
|
inputZod: mcpUniswapV4BuildSwapMultisignInputSchema,
|
|
1236
1263
|
outputZod: multisignOutputSchema
|
|
1237
1264
|
}),
|
|
1265
|
+
defineMcpTool({
|
|
1266
|
+
name: "ctm_uniswap_v4_list_lp_pools",
|
|
1267
|
+
actionId: "uniswap-v4.lp-list-pools",
|
|
1268
|
+
protocolId: "uniswap-v4",
|
|
1269
|
+
chainCategory: "evm",
|
|
1270
|
+
description: "List standard Uniswap V4 LP pools for a chain (ETH/USDC and other main pairs at common fee tiers). Returns presetId, token addresses, fee, tickSpacing, and computed poolReference (bytes32 pool id). Use presetId as poolPreset on lp_create_position.",
|
|
1271
|
+
prerequisites: ["chainId"],
|
|
1272
|
+
followUp: ["ctm_uniswap_v4_lp_create_position"],
|
|
1273
|
+
handler: { importPath: "protocols/evm/uniswap-v4", exportName: "uniswapV4ListStandardLpPools" },
|
|
1274
|
+
inputZod: mcpUniswapV4LpListPoolsInputSchema,
|
|
1275
|
+
outputZod: mcpUniswapV4LpListPoolsOutputSchema
|
|
1276
|
+
}),
|
|
1238
1277
|
defineMcpTool({
|
|
1239
1278
|
name: "ctm_uniswap_v4_lp_create_position",
|
|
1240
1279
|
actionId: "uniswap-v4.lp-create",
|
|
1241
1280
|
protocolId: "uniswap-v4",
|
|
1242
1281
|
chainCategory: "evm",
|
|
1243
|
-
description: "Call Uniswap LP API POST /lp/create for a new V4 position. Returns token amounts and `create` transaction calldata. Does NOT create a sign request \u2014 call ctm_uniswap_v4_build_mint_liquidity_multisign next.",
|
|
1244
|
-
prerequisites: [
|
|
1282
|
+
description: "Call Uniswap LP API POST /lp/create for a new V4 position. Returns token amounts and `create` transaction calldata. Does NOT create a sign request \u2014 call ctm_uniswap_v4_build_mint_liquidity_multisign next. Pass poolPreset from list_lp_pools, or existingPool with poolReference (or fee+tickSpacing to derive pool id).",
|
|
1283
|
+
prerequisites: [
|
|
1284
|
+
"UNISWAP_API_KEY",
|
|
1285
|
+
"ctm_uniswap_v4_list_lp_pools for standard pairs",
|
|
1286
|
+
"get_defi_protocol_skill for LP flow"
|
|
1287
|
+
],
|
|
1245
1288
|
followUp: ["ctm_uniswap_v4_build_mint_liquidity_multisign"],
|
|
1246
1289
|
handler: { importPath: "protocols/evm/uniswap-v4", exportName: "uniswapLpCreatePosition" },
|
|
1247
1290
|
inputZod: mcpUniswapV4LpCreatePositionInputSchema,
|
|
@@ -2110,6 +2153,6 @@ function getAgentCatalog() {
|
|
|
2110
2153
|
};
|
|
2111
2154
|
}
|
|
2112
2155
|
|
|
2113
|
-
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, 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, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, 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, mcpUniswapV4LpListPositionsInputSchema, mcpUniswapV4LpListPositionsOutputSchema, mcpUniswapV4QuoteInputSchema, mcpUniswapV4QuoteOutputSchema, mcpUniswapV4RegisterPositionFromMintTxInputSchema, mcpUniswapV4RegisterPositionFromMintTxOutputSchema, mcpUniswapV4RegisterPositionNftInputSchema, mcpUniswapV4RegisterPositionNftOutputSchema, multisignOutputSchema, parseMcpToolInput, parseMcpToolOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
|
|
2156
|
+
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, 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, mcpEulerV2IsolatedBorrowInputSchema, mcpEulerV2IsolatedLendInputSchema, mcpEulerV2VaultWithdrawInputSchema, mcpLidoClaimWithdrawalInputSchema, mcpLidoRequestWithdrawalsInputSchema, mcpLidoSubmitInputSchema, mcpLidoUnwrapWstEthInputSchema, mcpLidoWrapStEthInputSchema, mcpMapleDepositInputSchema, mcpMapleRequestRedeemInputSchema, mcpMultisignInput, multisignOutputSchema as mcpMultisignOutputSchema, 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, parseMcpToolInput, parseMcpToolOutput, uniswapQuoteTradeTypeSchema, zodSchemaToMcpJsonSchema };
|
|
2114
2157
|
//# sourceMappingURL=catalog.js.map
|
|
2115
2158
|
//# sourceMappingURL=catalog.js.map
|