@continuumdao/ctm-mpc-defi 0.2.4 → 0.2.6
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 +638 -4
- package/dist/agent/catalog.cjs.map +1 -1
- package/dist/agent/catalog.d.ts +458 -14
- package/dist/agent/catalog.js +615 -5
- package/dist/agent/catalog.js.map +1 -1
- package/dist/agent/skills/gmx/SKILL.md +45 -0
- 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/gmx/index.cjs +2251 -0
- package/dist/protocols/evm/gmx/index.cjs.map +1 -0
- package/dist/protocols/evm/gmx/index.d.ts +469 -0
- package/dist/protocols/evm/gmx/index.js +2181 -0
- package/dist/protocols/evm/gmx/index.js.map +1 -0
- 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 +7 -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<{
|
|
@@ -1836,6 +1938,347 @@ type McpSkyLockstakeStakeInput = z.infer<typeof mcpSkyLockstakeStakeInputSchema>
|
|
|
1836
1938
|
type McpAaveV4DepositInput = z.infer<typeof mcpAaveV4DepositInputSchema>;
|
|
1837
1939
|
type McpEulerV2IsolatedLendInput = z.infer<typeof mcpEulerV2IsolatedLendInputSchema>;
|
|
1838
1940
|
|
|
1941
|
+
declare const mcpGmxFetchMarketsInputSchema: z.ZodObject<{
|
|
1942
|
+
chainId: z.ZodNumber;
|
|
1943
|
+
}, "strip", z.ZodTypeAny, {
|
|
1944
|
+
chainId: number;
|
|
1945
|
+
}, {
|
|
1946
|
+
chainId: number;
|
|
1947
|
+
}>;
|
|
1948
|
+
declare const mcpGmxFetchMarketsOutputSchema: z.ZodObject<{
|
|
1949
|
+
markets: z.ZodArray<z.ZodObject<{
|
|
1950
|
+
symbol: z.ZodString;
|
|
1951
|
+
marketTokenAddress: z.ZodString;
|
|
1952
|
+
maxLeverageLabel: z.ZodNullable<z.ZodString>;
|
|
1953
|
+
}, "strip", z.ZodTypeAny, {
|
|
1954
|
+
symbol: string;
|
|
1955
|
+
marketTokenAddress: string;
|
|
1956
|
+
maxLeverageLabel: string | null;
|
|
1957
|
+
}, {
|
|
1958
|
+
symbol: string;
|
|
1959
|
+
marketTokenAddress: string;
|
|
1960
|
+
maxLeverageLabel: string | null;
|
|
1961
|
+
}>, "many">;
|
|
1962
|
+
}, "strip", z.ZodTypeAny, {
|
|
1963
|
+
markets: {
|
|
1964
|
+
symbol: string;
|
|
1965
|
+
marketTokenAddress: string;
|
|
1966
|
+
maxLeverageLabel: string | null;
|
|
1967
|
+
}[];
|
|
1968
|
+
}, {
|
|
1969
|
+
markets: {
|
|
1970
|
+
symbol: string;
|
|
1971
|
+
marketTokenAddress: string;
|
|
1972
|
+
maxLeverageLabel: string | null;
|
|
1973
|
+
}[];
|
|
1974
|
+
}>;
|
|
1975
|
+
declare const mcpGmxFetchPositionsInputSchema: z.ZodObject<{
|
|
1976
|
+
chainId: z.ZodNumber;
|
|
1977
|
+
executorAddress: z.ZodString;
|
|
1978
|
+
}, "strip", z.ZodTypeAny, {
|
|
1979
|
+
chainId: number;
|
|
1980
|
+
executorAddress: string;
|
|
1981
|
+
}, {
|
|
1982
|
+
chainId: number;
|
|
1983
|
+
executorAddress: string;
|
|
1984
|
+
}>;
|
|
1985
|
+
declare const mcpGmxFetchPositionsOutputSchema: z.ZodObject<{
|
|
1986
|
+
positions: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1987
|
+
}, "strip", z.ZodTypeAny, {
|
|
1988
|
+
positions: Record<string, unknown>[];
|
|
1989
|
+
}, {
|
|
1990
|
+
positions: Record<string, unknown>[];
|
|
1991
|
+
}>;
|
|
1992
|
+
declare const mcpGmxIncreaseInputSchema: z.ZodObject<{} & {
|
|
1993
|
+
[x: string]: z.ZodTypeAny;
|
|
1994
|
+
}, "strip", z.ZodTypeAny, {
|
|
1995
|
+
[x: string]: any;
|
|
1996
|
+
}, {
|
|
1997
|
+
[x: string]: any;
|
|
1998
|
+
}>;
|
|
1999
|
+
declare const mcpGmxDecreaseInputSchema: z.ZodObject<{} & {
|
|
2000
|
+
[x: string]: z.ZodTypeAny;
|
|
2001
|
+
}, "strip", z.ZodTypeAny, {
|
|
2002
|
+
[x: string]: any;
|
|
2003
|
+
}, {
|
|
2004
|
+
[x: string]: any;
|
|
2005
|
+
}>;
|
|
2006
|
+
declare const mcpGmxCancelInputSchema: z.ZodObject<{} & {
|
|
2007
|
+
[x: string]: z.ZodTypeAny;
|
|
2008
|
+
}, "strip", z.ZodTypeAny, {
|
|
2009
|
+
[x: string]: any;
|
|
2010
|
+
}, {
|
|
2011
|
+
[x: string]: any;
|
|
2012
|
+
}>;
|
|
2013
|
+
declare const mcpGmxGmDepositInputSchema: z.ZodObject<{} & {
|
|
2014
|
+
[x: string]: z.ZodTypeAny;
|
|
2015
|
+
}, "strip", z.ZodTypeAny, {
|
|
2016
|
+
[x: string]: any;
|
|
2017
|
+
}, {
|
|
2018
|
+
[x: string]: any;
|
|
2019
|
+
}>;
|
|
2020
|
+
declare const mcpGmxGmWithdrawInputSchema: z.ZodObject<{} & {
|
|
2021
|
+
[x: string]: z.ZodTypeAny;
|
|
2022
|
+
}, "strip", z.ZodTypeAny, {
|
|
2023
|
+
[x: string]: any;
|
|
2024
|
+
}, {
|
|
2025
|
+
[x: string]: any;
|
|
2026
|
+
}>;
|
|
2027
|
+
declare const mcpGmxStakeGmxInputSchema: z.ZodObject<{} & {
|
|
2028
|
+
[x: string]: z.ZodTypeAny;
|
|
2029
|
+
}, "strip", z.ZodTypeAny, {
|
|
2030
|
+
[x: string]: any;
|
|
2031
|
+
}, {
|
|
2032
|
+
[x: string]: any;
|
|
2033
|
+
}>;
|
|
2034
|
+
declare const mcpGmxUnstakeGmxInputSchema: z.ZodObject<{} & {
|
|
2035
|
+
[x: string]: z.ZodTypeAny;
|
|
2036
|
+
}, "strip", z.ZodTypeAny, {
|
|
2037
|
+
[x: string]: any;
|
|
2038
|
+
}, {
|
|
2039
|
+
[x: string]: any;
|
|
2040
|
+
}>;
|
|
2041
|
+
declare const mcpGmxFetchGmMarketsInputSchema: z.ZodObject<{
|
|
2042
|
+
chainId: z.ZodNumber;
|
|
2043
|
+
}, "strip", z.ZodTypeAny, {
|
|
2044
|
+
chainId: number;
|
|
2045
|
+
}, {
|
|
2046
|
+
chainId: number;
|
|
2047
|
+
}>;
|
|
2048
|
+
declare const mcpGmxFetchGmMarketsOutputSchema: z.ZodObject<{
|
|
2049
|
+
markets: z.ZodArray<z.ZodObject<{
|
|
2050
|
+
symbol: z.ZodString;
|
|
2051
|
+
marketTokenAddress: z.ZodString;
|
|
2052
|
+
longTokenSymbol: z.ZodNullable<z.ZodString>;
|
|
2053
|
+
shortTokenSymbol: z.ZodNullable<z.ZodString>;
|
|
2054
|
+
apy: z.ZodNullable<z.ZodNumber>;
|
|
2055
|
+
baseApy: z.ZodNullable<z.ZodNumber>;
|
|
2056
|
+
bonusApr: z.ZodNullable<z.ZodNumber>;
|
|
2057
|
+
apyPercentLabel: z.ZodNullable<z.ZodString>;
|
|
2058
|
+
}, "strip", z.ZodTypeAny, {
|
|
2059
|
+
symbol: string;
|
|
2060
|
+
marketTokenAddress: string;
|
|
2061
|
+
longTokenSymbol: string | null;
|
|
2062
|
+
shortTokenSymbol: string | null;
|
|
2063
|
+
apy: number | null;
|
|
2064
|
+
baseApy: number | null;
|
|
2065
|
+
bonusApr: number | null;
|
|
2066
|
+
apyPercentLabel: string | null;
|
|
2067
|
+
}, {
|
|
2068
|
+
symbol: string;
|
|
2069
|
+
marketTokenAddress: string;
|
|
2070
|
+
longTokenSymbol: string | null;
|
|
2071
|
+
shortTokenSymbol: string | null;
|
|
2072
|
+
apy: number | null;
|
|
2073
|
+
baseApy: number | null;
|
|
2074
|
+
bonusApr: number | null;
|
|
2075
|
+
apyPercentLabel: string | null;
|
|
2076
|
+
}>, "many">;
|
|
2077
|
+
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
markets: {
|
|
2079
|
+
symbol: string;
|
|
2080
|
+
marketTokenAddress: string;
|
|
2081
|
+
longTokenSymbol: string | null;
|
|
2082
|
+
shortTokenSymbol: string | null;
|
|
2083
|
+
apy: number | null;
|
|
2084
|
+
baseApy: number | null;
|
|
2085
|
+
bonusApr: number | null;
|
|
2086
|
+
apyPercentLabel: string | null;
|
|
2087
|
+
}[];
|
|
2088
|
+
}, {
|
|
2089
|
+
markets: {
|
|
2090
|
+
symbol: string;
|
|
2091
|
+
marketTokenAddress: string;
|
|
2092
|
+
longTokenSymbol: string | null;
|
|
2093
|
+
shortTokenSymbol: string | null;
|
|
2094
|
+
apy: number | null;
|
|
2095
|
+
baseApy: number | null;
|
|
2096
|
+
bonusApr: number | null;
|
|
2097
|
+
apyPercentLabel: string | null;
|
|
2098
|
+
}[];
|
|
2099
|
+
}>;
|
|
2100
|
+
declare const mcpGmxFetchGmApyInputSchema: z.ZodObject<{
|
|
2101
|
+
chainId: z.ZodNumber;
|
|
2102
|
+
}, "strip", z.ZodTypeAny, {
|
|
2103
|
+
chainId: number;
|
|
2104
|
+
}, {
|
|
2105
|
+
chainId: number;
|
|
2106
|
+
}>;
|
|
2107
|
+
declare const mcpGmxFetchGmApyOutputSchema: z.ZodObject<{
|
|
2108
|
+
markets: z.ZodArray<z.ZodObject<{
|
|
2109
|
+
symbol: z.ZodString;
|
|
2110
|
+
marketTokenAddress: z.ZodString;
|
|
2111
|
+
longTokenSymbol: z.ZodNullable<z.ZodString>;
|
|
2112
|
+
shortTokenSymbol: z.ZodNullable<z.ZodString>;
|
|
2113
|
+
apy: z.ZodNullable<z.ZodNumber>;
|
|
2114
|
+
baseApy: z.ZodNullable<z.ZodNumber>;
|
|
2115
|
+
bonusApr: z.ZodNullable<z.ZodNumber>;
|
|
2116
|
+
apyPercentLabel: z.ZodNullable<z.ZodString>;
|
|
2117
|
+
}, "strip", z.ZodTypeAny, {
|
|
2118
|
+
symbol: string;
|
|
2119
|
+
marketTokenAddress: string;
|
|
2120
|
+
longTokenSymbol: string | null;
|
|
2121
|
+
shortTokenSymbol: string | null;
|
|
2122
|
+
apy: number | null;
|
|
2123
|
+
baseApy: number | null;
|
|
2124
|
+
bonusApr: number | null;
|
|
2125
|
+
apyPercentLabel: string | null;
|
|
2126
|
+
}, {
|
|
2127
|
+
symbol: string;
|
|
2128
|
+
marketTokenAddress: string;
|
|
2129
|
+
longTokenSymbol: string | null;
|
|
2130
|
+
shortTokenSymbol: string | null;
|
|
2131
|
+
apy: number | null;
|
|
2132
|
+
baseApy: number | null;
|
|
2133
|
+
bonusApr: number | null;
|
|
2134
|
+
apyPercentLabel: string | null;
|
|
2135
|
+
}>, "many">;
|
|
2136
|
+
}, "strip", z.ZodTypeAny, {
|
|
2137
|
+
markets: {
|
|
2138
|
+
symbol: string;
|
|
2139
|
+
marketTokenAddress: string;
|
|
2140
|
+
longTokenSymbol: string | null;
|
|
2141
|
+
shortTokenSymbol: string | null;
|
|
2142
|
+
apy: number | null;
|
|
2143
|
+
baseApy: number | null;
|
|
2144
|
+
bonusApr: number | null;
|
|
2145
|
+
apyPercentLabel: string | null;
|
|
2146
|
+
}[];
|
|
2147
|
+
}, {
|
|
2148
|
+
markets: {
|
|
2149
|
+
symbol: string;
|
|
2150
|
+
marketTokenAddress: string;
|
|
2151
|
+
longTokenSymbol: string | null;
|
|
2152
|
+
shortTokenSymbol: string | null;
|
|
2153
|
+
apy: number | null;
|
|
2154
|
+
baseApy: number | null;
|
|
2155
|
+
bonusApr: number | null;
|
|
2156
|
+
apyPercentLabel: string | null;
|
|
2157
|
+
}[];
|
|
2158
|
+
}>;
|
|
2159
|
+
declare const mcpGmxFetchStakingPowerInputSchema: z.ZodObject<{
|
|
2160
|
+
chainId: z.ZodNumber;
|
|
2161
|
+
executorAddress: z.ZodString;
|
|
2162
|
+
}, "strip", z.ZodTypeAny, {
|
|
2163
|
+
chainId: number;
|
|
2164
|
+
executorAddress: string;
|
|
2165
|
+
}, {
|
|
2166
|
+
chainId: number;
|
|
2167
|
+
executorAddress: string;
|
|
2168
|
+
}>;
|
|
2169
|
+
declare const mcpGmxFetchStakingPowerOutputSchema: z.ZodObject<{
|
|
2170
|
+
stakingPower: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2171
|
+
}, "strip", z.ZodTypeAny, {
|
|
2172
|
+
stakingPower: Record<string, unknown>;
|
|
2173
|
+
}, {
|
|
2174
|
+
stakingPower: Record<string, unknown>;
|
|
2175
|
+
}>;
|
|
2176
|
+
declare const mcpGmxFetchMarketPricesInputSchema: z.ZodObject<{
|
|
2177
|
+
chainId: z.ZodNumber;
|
|
2178
|
+
symbol: z.ZodString;
|
|
2179
|
+
collateralSymbol: z.ZodString;
|
|
2180
|
+
}, "strip", z.ZodTypeAny, {
|
|
2181
|
+
symbol: string;
|
|
2182
|
+
chainId: number;
|
|
2183
|
+
collateralSymbol: string;
|
|
2184
|
+
}, {
|
|
2185
|
+
symbol: string;
|
|
2186
|
+
chainId: number;
|
|
2187
|
+
collateralSymbol: string;
|
|
2188
|
+
}>;
|
|
2189
|
+
declare const mcpGmxFetchMarketPricesOutputSchema: z.ZodObject<{
|
|
2190
|
+
symbol: z.ZodString;
|
|
2191
|
+
indexLabel: z.ZodString;
|
|
2192
|
+
collateralSymbol: z.ZodString;
|
|
2193
|
+
indexMarkUsd: z.ZodNullable<z.ZodString>;
|
|
2194
|
+
collateralUsd: z.ZodNullable<z.ZodString>;
|
|
2195
|
+
indexPerCollateral: z.ZodNullable<z.ZodString>;
|
|
2196
|
+
fetchedAtMs: z.ZodNumber;
|
|
2197
|
+
}, "strip", z.ZodTypeAny, {
|
|
2198
|
+
symbol: string;
|
|
2199
|
+
collateralSymbol: string;
|
|
2200
|
+
indexLabel: string;
|
|
2201
|
+
indexMarkUsd: string | null;
|
|
2202
|
+
collateralUsd: string | null;
|
|
2203
|
+
indexPerCollateral: string | null;
|
|
2204
|
+
fetchedAtMs: number;
|
|
2205
|
+
}, {
|
|
2206
|
+
symbol: string;
|
|
2207
|
+
collateralSymbol: string;
|
|
2208
|
+
indexLabel: string;
|
|
2209
|
+
indexMarkUsd: string | null;
|
|
2210
|
+
collateralUsd: string | null;
|
|
2211
|
+
indexPerCollateral: string | null;
|
|
2212
|
+
fetchedAtMs: number;
|
|
2213
|
+
}>;
|
|
2214
|
+
declare const mcpGmxFetchOhlcvInputSchema: z.ZodObject<{
|
|
2215
|
+
chainId: z.ZodNumber;
|
|
2216
|
+
symbol: z.ZodString;
|
|
2217
|
+
timeframe: z.ZodOptional<z.ZodEnum<["1m", "5m", "15m", "1h", "4h", "1d", "1w", "1M"]>>;
|
|
2218
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2219
|
+
sort: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2220
|
+
}, "strip", z.ZodTypeAny, {
|
|
2221
|
+
symbol: string;
|
|
2222
|
+
chainId: number;
|
|
2223
|
+
sort?: "asc" | "desc" | undefined;
|
|
2224
|
+
limit?: number | undefined;
|
|
2225
|
+
timeframe?: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | "1w" | "1M" | undefined;
|
|
2226
|
+
}, {
|
|
2227
|
+
symbol: string;
|
|
2228
|
+
chainId: number;
|
|
2229
|
+
sort?: "asc" | "desc" | undefined;
|
|
2230
|
+
limit?: number | undefined;
|
|
2231
|
+
timeframe?: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | "1w" | "1M" | undefined;
|
|
2232
|
+
}>;
|
|
2233
|
+
declare const mcpGmxFetchOhlcvOutputSchema: z.ZodObject<{
|
|
2234
|
+
symbol: z.ZodString;
|
|
2235
|
+
timeframe: z.ZodEnum<["1m", "5m", "15m", "1h", "4h", "1d", "1w", "1M"]>;
|
|
2236
|
+
candles: z.ZodArray<z.ZodObject<{
|
|
2237
|
+
timestampMs: z.ZodNumber;
|
|
2238
|
+
timeLabel: z.ZodString;
|
|
2239
|
+
open: z.ZodString;
|
|
2240
|
+
high: z.ZodString;
|
|
2241
|
+
low: z.ZodString;
|
|
2242
|
+
close: z.ZodString;
|
|
2243
|
+
}, "strip", z.ZodTypeAny, {
|
|
2244
|
+
high: string;
|
|
2245
|
+
low: string;
|
|
2246
|
+
timestampMs: number;
|
|
2247
|
+
timeLabel: string;
|
|
2248
|
+
open: string;
|
|
2249
|
+
close: string;
|
|
2250
|
+
}, {
|
|
2251
|
+
high: string;
|
|
2252
|
+
low: string;
|
|
2253
|
+
timestampMs: number;
|
|
2254
|
+
timeLabel: string;
|
|
2255
|
+
open: string;
|
|
2256
|
+
close: string;
|
|
2257
|
+
}>, "many">;
|
|
2258
|
+
}, "strip", z.ZodTypeAny, {
|
|
2259
|
+
symbol: string;
|
|
2260
|
+
timeframe: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | "1w" | "1M";
|
|
2261
|
+
candles: {
|
|
2262
|
+
high: string;
|
|
2263
|
+
low: string;
|
|
2264
|
+
timestampMs: number;
|
|
2265
|
+
timeLabel: string;
|
|
2266
|
+
open: string;
|
|
2267
|
+
close: string;
|
|
2268
|
+
}[];
|
|
2269
|
+
}, {
|
|
2270
|
+
symbol: string;
|
|
2271
|
+
timeframe: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | "1w" | "1M";
|
|
2272
|
+
candles: {
|
|
2273
|
+
high: string;
|
|
2274
|
+
low: string;
|
|
2275
|
+
timestampMs: number;
|
|
2276
|
+
timeLabel: string;
|
|
2277
|
+
open: string;
|
|
2278
|
+
close: string;
|
|
2279
|
+
}[];
|
|
2280
|
+
}>;
|
|
2281
|
+
|
|
1839
2282
|
/** Machine-readable catalog of protocol actions grouped by chain category. */
|
|
1840
2283
|
declare function getAgentCatalog(): {
|
|
1841
2284
|
protocols: readonly ProtocolModule[];
|
|
@@ -1852,6 +2295,7 @@ declare function getAgentCatalog(): {
|
|
|
1852
2295
|
sky: ProtocolModule;
|
|
1853
2296
|
aaveV4: ProtocolModule;
|
|
1854
2297
|
eulerV2: ProtocolModule;
|
|
2298
|
+
gmx: ProtocolModule;
|
|
1855
2299
|
/** Prefer getAgentCatalogForMcp() or getMcpToolDefinitions() for MCP servers. */
|
|
1856
2300
|
mcp: {
|
|
1857
2301
|
tools: readonly McpToolDefinition[];
|
|
@@ -1917,4 +2361,4 @@ declare function getAgentCatalog(): {
|
|
|
1917
2361
|
};
|
|
1918
2362
|
};
|
|
1919
2363
|
|
|
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 };
|
|
2364
|
+
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, mcpGmxCancelInputSchema, mcpGmxDecreaseInputSchema, mcpGmxFetchGmApyInputSchema, mcpGmxFetchGmApyOutputSchema, mcpGmxFetchGmMarketsInputSchema, mcpGmxFetchGmMarketsOutputSchema, mcpGmxFetchMarketPricesInputSchema, mcpGmxFetchMarketPricesOutputSchema, mcpGmxFetchMarketsInputSchema, mcpGmxFetchMarketsOutputSchema, mcpGmxFetchOhlcvInputSchema, mcpGmxFetchOhlcvOutputSchema, mcpGmxFetchPositionsInputSchema, mcpGmxFetchPositionsOutputSchema, mcpGmxFetchStakingPowerInputSchema, mcpGmxFetchStakingPowerOutputSchema, mcpGmxGmDepositInputSchema, mcpGmxGmWithdrawInputSchema, mcpGmxIncreaseInputSchema, multisignOutputSchema as mcpGmxMultisignOutputSchema, mcpGmxStakeGmxInputSchema, mcpGmxUnstakeGmxInputSchema, 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 };
|