@compass-labs/api-sdk 0.5.46 → 0.5.48
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/README.md +5 -0
- package/bin/mcp-server.js +470 -201
- package/bin/mcp-server.js.map +28 -24
- package/dist/commonjs/funcs/swapOdos.d.ts +25 -0
- package/dist/commonjs/funcs/swapOdos.d.ts.map +1 -0
- package/dist/commonjs/funcs/swapOdos.js +125 -0
- package/dist/commonjs/funcs/swapOdos.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/swapOdos.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/swapOdos.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/swapOdos.js +72 -0
- package/dist/commonjs/mcp-server/tools/swapOdos.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/odosswapparams.d.ts +122 -0
- package/dist/commonjs/models/components/odosswapparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/odosswapparams.js +162 -0
- package/dist/commonjs/models/components/odosswapparams.js.map +1 -0
- package/dist/commonjs/models/components/odosswaprequest.d.ts +133 -0
- package/dist/commonjs/models/components/odosswaprequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/odosswaprequest.js +167 -0
- package/dist/commonjs/models/components/odosswaprequest.js.map +1 -0
- package/dist/commonjs/models/components/setallowanceparams.d.ts +3 -0
- package/dist/commonjs/models/components/setallowanceparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/setallowanceparams.js +1 -0
- package/dist/commonjs/models/components/setallowanceparams.js.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.d.ts +3 -0
- package/dist/commonjs/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/setallowancerequest.js +1 -0
- package/dist/commonjs/models/components/setallowancerequest.js.map +1 -1
- package/dist/commonjs/models/components/tokenenum.d.ts +3 -0
- package/dist/commonjs/models/components/tokenenum.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokenenum.js +1 -0
- package/dist/commonjs/models/components/tokenenum.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +9 -0
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +13 -0
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveavgrate.js +1 -0
- package/dist/commonjs/models/operations/aaveavgrate.js.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js +1 -0
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aaverate.d.ts +3 -0
- package/dist/commonjs/models/operations/aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaverate.js +1 -0
- package/dist/commonjs/models/operations/aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts +3 -0
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.js +1 -0
- package/dist/commonjs/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.d.ts +3 -0
- package/dist/commonjs/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavestdrate.js +1 -0
- package/dist/commonjs/models/operations/aavestdrate.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +3 -0
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js +1 -0
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js +1 -0
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +6 -0
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js +2 -0
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.d.ts +3 -0
- package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.js +1 -0
- package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +3 -0
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js +1 -0
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +6 -0
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js +2 -0
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +6 -0
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js +2 -0
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +6 -0
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js +2 -0
- package/dist/commonjs/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/swap.d.ts +19 -0
- package/dist/commonjs/sdk/swap.d.ts.map +1 -0
- package/dist/commonjs/sdk/swap.js +29 -0
- package/dist/commonjs/sdk/swap.js.map +1 -0
- package/dist/esm/funcs/swapOdos.d.ts +25 -0
- package/dist/esm/funcs/swapOdos.d.ts.map +1 -0
- package/dist/esm/funcs/swapOdos.js +89 -0
- package/dist/esm/funcs/swapOdos.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/swapOdos.d.ts +8 -0
- package/dist/esm/mcp-server/tools/swapOdos.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/swapOdos.js +36 -0
- package/dist/esm/mcp-server/tools/swapOdos.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/odosswapparams.d.ts +122 -0
- package/dist/esm/models/components/odosswapparams.d.ts.map +1 -0
- package/dist/esm/models/components/odosswapparams.js +118 -0
- package/dist/esm/models/components/odosswapparams.js.map +1 -0
- package/dist/esm/models/components/odosswaprequest.d.ts +133 -0
- package/dist/esm/models/components/odosswaprequest.d.ts.map +1 -0
- package/dist/esm/models/components/odosswaprequest.js +123 -0
- package/dist/esm/models/components/odosswaprequest.js.map +1 -0
- package/dist/esm/models/components/setallowanceparams.d.ts +3 -0
- package/dist/esm/models/components/setallowanceparams.d.ts.map +1 -1
- package/dist/esm/models/components/setallowanceparams.js +1 -0
- package/dist/esm/models/components/setallowanceparams.js.map +1 -1
- package/dist/esm/models/components/setallowancerequest.d.ts +3 -0
- package/dist/esm/models/components/setallowancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/setallowancerequest.js +1 -0
- package/dist/esm/models/components/setallowancerequest.js.map +1 -1
- package/dist/esm/models/components/tokenenum.d.ts +3 -0
- package/dist/esm/models/components/tokenenum.d.ts.map +1 -1
- package/dist/esm/models/components/tokenenum.js +1 -0
- package/dist/esm/models/components/tokenenum.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +9 -0
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +13 -0
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.d.ts +3 -0
- package/dist/esm/models/operations/aaveavgrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveavgrate.js +1 -0
- package/dist/esm/models/operations/aaveavgrate.js.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +3 -0
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js +1 -0
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aaverate.d.ts +3 -0
- package/dist/esm/models/operations/aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaverate.js +1 -0
- package/dist/esm/models/operations/aaverate.js.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.d.ts +3 -0
- package/dist/esm/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.js +1 -0
- package/dist/esm/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/aavestdrate.d.ts +3 -0
- package/dist/esm/models/operations/aavestdrate.d.ts.map +1 -1
- package/dist/esm/models/operations/aavestdrate.js +1 -0
- package/dist/esm/models/operations/aavestdrate.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +3 -0
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js +1 -0
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +3 -0
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js +1 -0
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +6 -0
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js +2 -0
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/genericallowance.d.ts +3 -0
- package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/genericallowance.js +1 -0
- package/dist/esm/models/operations/genericallowance.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +3 -0
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js +1 -0
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +6 -0
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js +2 -0
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +6 -0
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js +2 -0
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +6 -0
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js +2 -0
- package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/swap.d.ts +19 -0
- package/dist/esm/sdk/swap.d.ts.map +1 -0
- package/dist/esm/sdk/swap.js +25 -0
- package/dist/esm/sdk/swap.js.map +1 -0
- package/docs/sdks/swap/README.md +99 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/swapOdos.ts +176 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/swapOdos.ts +45 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/odosswapparams.ts +269 -0
- package/src/models/components/odosswaprequest.ts +286 -0
- package/src/models/components/setallowanceparams.ts +1 -0
- package/src/models/components/setallowancerequest.ts +1 -0
- package/src/models/components/tokenenum.ts +1 -0
- package/src/models/components/useroperation.ts +30 -0
- package/src/models/operations/aaveavgrate.ts +1 -0
- package/src/models/operations/aaveliquiditychange.ts +1 -0
- package/src/models/operations/aaverate.ts +1 -0
- package/src/models/operations/aavereserveoverview.ts +1 -0
- package/src/models/operations/aavestdrate.ts +1 -0
- package/src/models/operations/aavetokenprice.ts +1 -0
- package/src/models/operations/aaveuserpositionpertoken.ts +1 -0
- package/src/models/operations/aerodromeslipstreampoolprice.ts +2 -0
- package/src/models/operations/genericallowance.ts +1 -0
- package/src/models/operations/tokenaddress.ts +1 -0
- package/src/models/operations/uniswappoolprice.ts +2 -0
- package/src/models/operations/uniswapquotebuyexactly.ts +2 -0
- package/src/models/operations/uniswapquotesellexactly.ts +2 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/swap.ts +34 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
|
|
|
34264
34264
|
SDK_METADATA = {
|
|
34265
34265
|
language: "typescript",
|
|
34266
34266
|
openapiDocVersion: "0.0.1",
|
|
34267
|
-
sdkVersion: "0.5.
|
|
34268
|
-
genVersion: "2.
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34267
|
+
sdkVersion: "0.5.48",
|
|
34268
|
+
genVersion: "2.657.1",
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 0.5.48 2.657.1 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -35775,7 +35775,8 @@ var init_tokenenum = __esm(() => {
|
|
|
35775
35775
|
USDCe: "USDCe",
|
|
35776
35776
|
Aero: "AERO",
|
|
35777
35777
|
Eur: "EUR",
|
|
35778
|
-
Virtual: "VIRTUAL"
|
|
35778
|
+
Virtual: "VIRTUAL",
|
|
35779
|
+
EzETH: "ezETH"
|
|
35779
35780
|
};
|
|
35780
35781
|
TokenEnum$inboundSchema = nativeEnumType(TokenEnum);
|
|
35781
35782
|
TokenEnum$outboundSchema = TokenEnum$inboundSchema;
|
|
@@ -38007,6 +38008,64 @@ var init_morphowithdrawparams = __esm(() => {
|
|
|
38007
38008
|
})(MorphoWithdrawParams$ ||= {});
|
|
38008
38009
|
});
|
|
38009
38010
|
|
|
38011
|
+
// src/models/components/odosswapparams.ts
|
|
38012
|
+
var OdosSwapParamsTokenIn$inboundSchema, OdosSwapParamsTokenIn$outboundSchema, OdosSwapParamsTokenIn$, OdosSwapParamsTokenOut$inboundSchema, OdosSwapParamsTokenOut$outboundSchema, OdosSwapParamsTokenOut$, OdosSwapParamsAmount$inboundSchema, OdosSwapParamsAmount$outboundSchema, OdosSwapParamsAmount$, OdosSwapParams$inboundSchema, OdosSwapParams$outboundSchema, OdosSwapParams$;
|
|
38013
|
+
var init_odosswapparams = __esm(() => {
|
|
38014
|
+
init_zod();
|
|
38015
|
+
init_primitives();
|
|
38016
|
+
init_tokenenum();
|
|
38017
|
+
OdosSwapParamsTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38018
|
+
OdosSwapParamsTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38019
|
+
((OdosSwapParamsTokenIn$) => {
|
|
38020
|
+
OdosSwapParamsTokenIn$.inboundSchema = OdosSwapParamsTokenIn$inboundSchema;
|
|
38021
|
+
OdosSwapParamsTokenIn$.outboundSchema = OdosSwapParamsTokenIn$outboundSchema;
|
|
38022
|
+
})(OdosSwapParamsTokenIn$ ||= {});
|
|
38023
|
+
OdosSwapParamsTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38024
|
+
OdosSwapParamsTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38025
|
+
((OdosSwapParamsTokenOut$) => {
|
|
38026
|
+
OdosSwapParamsTokenOut$.inboundSchema = OdosSwapParamsTokenOut$inboundSchema;
|
|
38027
|
+
OdosSwapParamsTokenOut$.outboundSchema = OdosSwapParamsTokenOut$outboundSchema;
|
|
38028
|
+
})(OdosSwapParamsTokenOut$ ||= {});
|
|
38029
|
+
OdosSwapParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38030
|
+
OdosSwapParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38031
|
+
((OdosSwapParamsAmount$) => {
|
|
38032
|
+
OdosSwapParamsAmount$.inboundSchema = OdosSwapParamsAmount$inboundSchema;
|
|
38033
|
+
OdosSwapParamsAmount$.outboundSchema = OdosSwapParamsAmount$outboundSchema;
|
|
38034
|
+
})(OdosSwapParamsAmount$ ||= {});
|
|
38035
|
+
OdosSwapParams$inboundSchema = objectType({
|
|
38036
|
+
action_type: literalType("ODOS_SWAP").default("ODOS_SWAP"),
|
|
38037
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38038
|
+
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38039
|
+
amount: unionType([numberType(), stringType()]),
|
|
38040
|
+
max_slippage_percent: numberType()
|
|
38041
|
+
}).transform((v2) => {
|
|
38042
|
+
return remap(v2, {
|
|
38043
|
+
action_type: "actionType",
|
|
38044
|
+
token_in: "tokenIn",
|
|
38045
|
+
token_out: "tokenOut",
|
|
38046
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38047
|
+
});
|
|
38048
|
+
});
|
|
38049
|
+
OdosSwapParams$outboundSchema = objectType({
|
|
38050
|
+
actionType: literalType("ODOS_SWAP").default("ODOS_SWAP"),
|
|
38051
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38052
|
+
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38053
|
+
amount: unionType([numberType(), stringType()]),
|
|
38054
|
+
maxSlippagePercent: numberType()
|
|
38055
|
+
}).transform((v2) => {
|
|
38056
|
+
return remap(v2, {
|
|
38057
|
+
actionType: "action_type",
|
|
38058
|
+
tokenIn: "token_in",
|
|
38059
|
+
tokenOut: "token_out",
|
|
38060
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38061
|
+
});
|
|
38062
|
+
});
|
|
38063
|
+
((OdosSwapParams$) => {
|
|
38064
|
+
OdosSwapParams$.inboundSchema = OdosSwapParams$inboundSchema;
|
|
38065
|
+
OdosSwapParams$.outboundSchema = OdosSwapParams$outboundSchema;
|
|
38066
|
+
})(OdosSwapParams$ ||= {});
|
|
38067
|
+
});
|
|
38068
|
+
|
|
38010
38069
|
// src/models/components/pendleaddliquidityparams.ts
|
|
38011
38070
|
var PendleAddLiquidityParamsAmount$inboundSchema, PendleAddLiquidityParamsAmount$outboundSchema, PendleAddLiquidityParamsAmount$, PendleAddLiquidityParams$inboundSchema, PendleAddLiquidityParams$outboundSchema, PendleAddLiquidityParams$;
|
|
38012
38071
|
var init_pendleaddliquidityparams = __esm(() => {
|
|
@@ -38299,7 +38358,8 @@ var init_setallowanceparams = __esm(() => {
|
|
|
38299
38358
|
SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
|
|
38300
38359
|
SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
|
|
38301
38360
|
SkyUsdsVault: "SkyUsdsVault",
|
|
38302
|
-
PendleRouter: "PendleRouter"
|
|
38361
|
+
PendleRouter: "PendleRouter",
|
|
38362
|
+
OdosRouter: "OdosRouter"
|
|
38303
38363
|
};
|
|
38304
38364
|
SetAllowanceParamsToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38305
38365
|
SetAllowanceParamsToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
@@ -39011,6 +39071,7 @@ var init_useroperation = __esm(() => {
|
|
|
39011
39071
|
init_morphosupplycollateralparams();
|
|
39012
39072
|
init_morphowithdrawcollateralparams();
|
|
39013
39073
|
init_morphowithdrawparams();
|
|
39074
|
+
init_odosswapparams();
|
|
39014
39075
|
init_pendleaddliquidityparams();
|
|
39015
39076
|
init_pendlebuyptparams();
|
|
39016
39077
|
init_pendlebuyytparams();
|
|
@@ -39048,6 +39109,9 @@ var init_useroperation = __esm(() => {
|
|
|
39048
39109
|
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39049
39110
|
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39050
39111
|
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39112
|
+
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39113
|
+
actionType: v2.action_type
|
|
39114
|
+
}))),
|
|
39051
39115
|
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39052
39116
|
actionType: v2.action_type
|
|
39053
39117
|
}))),
|
|
@@ -39132,6 +39196,9 @@ var init_useroperation = __esm(() => {
|
|
|
39132
39196
|
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39133
39197
|
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39134
39198
|
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39199
|
+
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39200
|
+
action_type: v2.actionType
|
|
39201
|
+
}))),
|
|
39135
39202
|
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39136
39203
|
action_type: v2.actionType
|
|
39137
39204
|
}))),
|
|
@@ -39223,6 +39290,9 @@ var init_useroperation = __esm(() => {
|
|
|
39223
39290
|
UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39224
39291
|
UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39225
39292
|
AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39293
|
+
OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39294
|
+
actionType: v2.action_type
|
|
39295
|
+
}))),
|
|
39226
39296
|
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39227
39297
|
actionType: v2.action_type
|
|
39228
39298
|
}))),
|
|
@@ -39309,6 +39379,9 @@ var init_useroperation = __esm(() => {
|
|
|
39309
39379
|
UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39310
39380
|
UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39311
39381
|
AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39382
|
+
OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
|
|
39383
|
+
action_type: v2.actionType
|
|
39384
|
+
}))),
|
|
39312
39385
|
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39313
39386
|
action_type: v2.actionType
|
|
39314
39387
|
}))),
|
|
@@ -40841,6 +40914,69 @@ var init_multicallexecuterequest = __esm(() => {
|
|
|
40841
40914
|
})(MulticallExecuteRequest$ ||= {});
|
|
40842
40915
|
});
|
|
40843
40916
|
|
|
40917
|
+
// src/models/components/odosswaprequest.ts
|
|
40918
|
+
var OdosSwapRequestTokenIn$inboundSchema, OdosSwapRequestTokenIn$outboundSchema, OdosSwapRequestTokenIn$, OdosSwapRequestTokenOut$inboundSchema, OdosSwapRequestTokenOut$outboundSchema, OdosSwapRequestTokenOut$, OdosSwapRequestAmount$inboundSchema, OdosSwapRequestAmount$outboundSchema, OdosSwapRequestAmount$, OdosSwapRequest$inboundSchema, OdosSwapRequest$outboundSchema, OdosSwapRequest$;
|
|
40919
|
+
var init_odosswaprequest = __esm(() => {
|
|
40920
|
+
init_zod();
|
|
40921
|
+
init_primitives();
|
|
40922
|
+
init_chain();
|
|
40923
|
+
init_tokenenum();
|
|
40924
|
+
OdosSwapRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
40925
|
+
OdosSwapRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
40926
|
+
((OdosSwapRequestTokenIn$) => {
|
|
40927
|
+
OdosSwapRequestTokenIn$.inboundSchema = OdosSwapRequestTokenIn$inboundSchema;
|
|
40928
|
+
OdosSwapRequestTokenIn$.outboundSchema = OdosSwapRequestTokenIn$outboundSchema;
|
|
40929
|
+
})(OdosSwapRequestTokenIn$ ||= {});
|
|
40930
|
+
OdosSwapRequestTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
40931
|
+
OdosSwapRequestTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
40932
|
+
((OdosSwapRequestTokenOut$) => {
|
|
40933
|
+
OdosSwapRequestTokenOut$.inboundSchema = OdosSwapRequestTokenOut$inboundSchema;
|
|
40934
|
+
OdosSwapRequestTokenOut$.outboundSchema = OdosSwapRequestTokenOut$outboundSchema;
|
|
40935
|
+
})(OdosSwapRequestTokenOut$ ||= {});
|
|
40936
|
+
OdosSwapRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
40937
|
+
OdosSwapRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
40938
|
+
((OdosSwapRequestAmount$) => {
|
|
40939
|
+
OdosSwapRequestAmount$.inboundSchema = OdosSwapRequestAmount$inboundSchema;
|
|
40940
|
+
OdosSwapRequestAmount$.outboundSchema = OdosSwapRequestAmount$outboundSchema;
|
|
40941
|
+
})(OdosSwapRequestAmount$ ||= {});
|
|
40942
|
+
OdosSwapRequest$inboundSchema = objectType({
|
|
40943
|
+
action_type: literalType("ODOS_SWAP").default("ODOS_SWAP"),
|
|
40944
|
+
token_in: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
40945
|
+
token_out: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
40946
|
+
amount: unionType([numberType(), stringType()]),
|
|
40947
|
+
max_slippage_percent: numberType(),
|
|
40948
|
+
chain: Chain$inboundSchema,
|
|
40949
|
+
sender: stringType()
|
|
40950
|
+
}).transform((v2) => {
|
|
40951
|
+
return remap(v2, {
|
|
40952
|
+
action_type: "actionType",
|
|
40953
|
+
token_in: "tokenIn",
|
|
40954
|
+
token_out: "tokenOut",
|
|
40955
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
40956
|
+
});
|
|
40957
|
+
});
|
|
40958
|
+
OdosSwapRequest$outboundSchema = objectType({
|
|
40959
|
+
actionType: literalType("ODOS_SWAP").default("ODOS_SWAP"),
|
|
40960
|
+
tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
40961
|
+
tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
40962
|
+
amount: unionType([numberType(), stringType()]),
|
|
40963
|
+
maxSlippagePercent: numberType(),
|
|
40964
|
+
chain: Chain$outboundSchema,
|
|
40965
|
+
sender: stringType()
|
|
40966
|
+
}).transform((v2) => {
|
|
40967
|
+
return remap(v2, {
|
|
40968
|
+
actionType: "action_type",
|
|
40969
|
+
tokenIn: "token_in",
|
|
40970
|
+
tokenOut: "token_out",
|
|
40971
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
40972
|
+
});
|
|
40973
|
+
});
|
|
40974
|
+
((OdosSwapRequest$) => {
|
|
40975
|
+
OdosSwapRequest$.inboundSchema = OdosSwapRequest$inboundSchema;
|
|
40976
|
+
OdosSwapRequest$.outboundSchema = OdosSwapRequest$outboundSchema;
|
|
40977
|
+
})(OdosSwapRequest$ ||= {});
|
|
40978
|
+
});
|
|
40979
|
+
|
|
40844
40980
|
// src/models/components/openposition.ts
|
|
40845
40981
|
var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
|
|
40846
40982
|
var init_openposition = __esm(() => {
|
|
@@ -41426,7 +41562,8 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41426
41562
|
SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
|
|
41427
41563
|
SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
|
|
41428
41564
|
SkyUsdsVault: "SkyUsdsVault",
|
|
41429
|
-
PendleRouter: "PendleRouter"
|
|
41565
|
+
PendleRouter: "PendleRouter",
|
|
41566
|
+
OdosRouter: "OdosRouter"
|
|
41430
41567
|
};
|
|
41431
41568
|
SetAllowanceRequestToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
41432
41569
|
SetAllowanceRequestToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
@@ -42721,6 +42858,8 @@ var init_components = __esm(() => {
|
|
|
42721
42858
|
init_multicallauthorizationrequest();
|
|
42722
42859
|
init_multicallauthorizationresponse();
|
|
42723
42860
|
init_multicallexecuterequest();
|
|
42861
|
+
init_odosswapparams();
|
|
42862
|
+
init_odosswaprequest();
|
|
42724
42863
|
init_openposition();
|
|
42725
42864
|
init_pendleaddliquidityparams();
|
|
42726
42865
|
init_pendleaddliquidityrequest();
|
|
@@ -42907,7 +43046,8 @@ var init_aaveavgrate = __esm(() => {
|
|
|
42907
43046
|
USDCe: "USDCe",
|
|
42908
43047
|
Aero: "AERO",
|
|
42909
43048
|
Eur: "EUR",
|
|
42910
|
-
Virtual: "VIRTUAL"
|
|
43049
|
+
Virtual: "VIRTUAL",
|
|
43050
|
+
EzETH: "ezETH"
|
|
42911
43051
|
};
|
|
42912
43052
|
AaveAvgRateChain$inboundSchema = nativeEnumType(AaveAvgRateChain);
|
|
42913
43053
|
AaveAvgRateChain$outboundSchema = AaveAvgRateChain$inboundSchema;
|
|
@@ -43035,7 +43175,8 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43035
43175
|
USDCe: "USDCe",
|
|
43036
43176
|
Aero: "AERO",
|
|
43037
43177
|
Eur: "EUR",
|
|
43038
|
-
Virtual: "VIRTUAL"
|
|
43178
|
+
Virtual: "VIRTUAL",
|
|
43179
|
+
EzETH: "ezETH"
|
|
43039
43180
|
};
|
|
43040
43181
|
AaveLiquidityChangeChain$inboundSchema = nativeEnumType(AaveLiquidityChangeChain);
|
|
43041
43182
|
AaveLiquidityChangeChain$outboundSchema = AaveLiquidityChangeChain$inboundSchema;
|
|
@@ -43130,7 +43271,8 @@ var init_aaverate = __esm(() => {
|
|
|
43130
43271
|
USDCe: "USDCe",
|
|
43131
43272
|
Aero: "AERO",
|
|
43132
43273
|
Eur: "EUR",
|
|
43133
|
-
Virtual: "VIRTUAL"
|
|
43274
|
+
Virtual: "VIRTUAL",
|
|
43275
|
+
EzETH: "ezETH"
|
|
43134
43276
|
};
|
|
43135
43277
|
AaveRateChain$inboundSchema = nativeEnumType(AaveRateChain);
|
|
43136
43278
|
AaveRateChain$outboundSchema = AaveRateChain$inboundSchema;
|
|
@@ -43213,7 +43355,8 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43213
43355
|
USDCe: "USDCe",
|
|
43214
43356
|
Aero: "AERO",
|
|
43215
43357
|
Eur: "EUR",
|
|
43216
|
-
Virtual: "VIRTUAL"
|
|
43358
|
+
Virtual: "VIRTUAL",
|
|
43359
|
+
EzETH: "ezETH"
|
|
43217
43360
|
};
|
|
43218
43361
|
AaveReserveOverviewChain$inboundSchema = nativeEnumType(AaveReserveOverviewChain);
|
|
43219
43362
|
AaveReserveOverviewChain$outboundSchema = AaveReserveOverviewChain$inboundSchema;
|
|
@@ -43296,7 +43439,8 @@ var init_aavestdrate = __esm(() => {
|
|
|
43296
43439
|
USDCe: "USDCe",
|
|
43297
43440
|
Aero: "AERO",
|
|
43298
43441
|
Eur: "EUR",
|
|
43299
|
-
Virtual: "VIRTUAL"
|
|
43442
|
+
Virtual: "VIRTUAL",
|
|
43443
|
+
EzETH: "ezETH"
|
|
43300
43444
|
};
|
|
43301
43445
|
AaveStdRateChain$inboundSchema = nativeEnumType(AaveStdRateChain);
|
|
43302
43446
|
AaveStdRateChain$outboundSchema = AaveStdRateChain$inboundSchema;
|
|
@@ -43381,7 +43525,8 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43381
43525
|
USDCe: "USDCe",
|
|
43382
43526
|
Aero: "AERO",
|
|
43383
43527
|
Eur: "EUR",
|
|
43384
|
-
Virtual: "VIRTUAL"
|
|
43528
|
+
Virtual: "VIRTUAL",
|
|
43529
|
+
EzETH: "ezETH"
|
|
43385
43530
|
};
|
|
43386
43531
|
AaveTokenPriceChain$inboundSchema = nativeEnumType(AaveTokenPriceChain);
|
|
43387
43532
|
AaveTokenPriceChain$outboundSchema = AaveTokenPriceChain$inboundSchema;
|
|
@@ -43464,7 +43609,8 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43464
43609
|
USDCe: "USDCe",
|
|
43465
43610
|
Aero: "AERO",
|
|
43466
43611
|
Eur: "EUR",
|
|
43467
|
-
Virtual: "VIRTUAL"
|
|
43612
|
+
Virtual: "VIRTUAL",
|
|
43613
|
+
EzETH: "ezETH"
|
|
43468
43614
|
};
|
|
43469
43615
|
AaveUserPositionPerTokenChain$inboundSchema = nativeEnumType(AaveUserPositionPerTokenChain);
|
|
43470
43616
|
AaveUserPositionPerTokenChain$outboundSchema = AaveUserPositionPerTokenChain$inboundSchema;
|
|
@@ -43610,7 +43756,8 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43610
43756
|
USDCe: "USDCe",
|
|
43611
43757
|
Aero: "AERO",
|
|
43612
43758
|
Eur: "EUR",
|
|
43613
|
-
Virtual: "VIRTUAL"
|
|
43759
|
+
Virtual: "VIRTUAL",
|
|
43760
|
+
EzETH: "ezETH"
|
|
43614
43761
|
};
|
|
43615
43762
|
AerodromeSlipstreamPoolPriceTokenOutToken = {
|
|
43616
43763
|
OneINCH: "1INCH",
|
|
@@ -43656,7 +43803,8 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43656
43803
|
USDCe: "USDCe",
|
|
43657
43804
|
Aero: "AERO",
|
|
43658
43805
|
Eur: "EUR",
|
|
43659
|
-
Virtual: "VIRTUAL"
|
|
43806
|
+
Virtual: "VIRTUAL",
|
|
43807
|
+
EzETH: "ezETH"
|
|
43660
43808
|
};
|
|
43661
43809
|
AerodromeSlipstreamPoolPriceChain$inboundSchema = nativeEnumType(AerodromeSlipstreamPoolPriceChain);
|
|
43662
43810
|
AerodromeSlipstreamPoolPriceChain$outboundSchema = AerodromeSlipstreamPoolPriceChain$inboundSchema;
|
|
@@ -43727,7 +43875,8 @@ var init_genericallowance = __esm(() => {
|
|
|
43727
43875
|
SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
|
|
43728
43876
|
SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
|
|
43729
43877
|
SkyUsdsVault: "SkyUsdsVault",
|
|
43730
|
-
PendleRouter: "PendleRouter"
|
|
43878
|
+
PendleRouter: "PendleRouter",
|
|
43879
|
+
OdosRouter: "OdosRouter"
|
|
43731
43880
|
};
|
|
43732
43881
|
GenericAllowanceChain$inboundSchema = nativeEnumType(GenericAllowanceChain);
|
|
43733
43882
|
GenericAllowanceChain$outboundSchema = GenericAllowanceChain$inboundSchema;
|
|
@@ -44397,7 +44546,8 @@ var init_tokenaddress = __esm(() => {
|
|
|
44397
44546
|
USDCe: "USDCe",
|
|
44398
44547
|
Aero: "AERO",
|
|
44399
44548
|
Eur: "EUR",
|
|
44400
|
-
Virtual: "VIRTUAL"
|
|
44549
|
+
Virtual: "VIRTUAL",
|
|
44550
|
+
EzETH: "ezETH"
|
|
44401
44551
|
};
|
|
44402
44552
|
TokenAddressChain$inboundSchema = nativeEnumType(TokenAddressChain);
|
|
44403
44553
|
TokenAddressChain$outboundSchema = TokenAddressChain$inboundSchema;
|
|
@@ -44622,7 +44772,8 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44622
44772
|
USDCe: "USDCe",
|
|
44623
44773
|
Aero: "AERO",
|
|
44624
44774
|
Eur: "EUR",
|
|
44625
|
-
Virtual: "VIRTUAL"
|
|
44775
|
+
Virtual: "VIRTUAL",
|
|
44776
|
+
EzETH: "ezETH"
|
|
44626
44777
|
};
|
|
44627
44778
|
UniswapPoolPriceTokenOutToken = {
|
|
44628
44779
|
OneINCH: "1INCH",
|
|
@@ -44668,7 +44819,8 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44668
44819
|
USDCe: "USDCe",
|
|
44669
44820
|
Aero: "AERO",
|
|
44670
44821
|
Eur: "EUR",
|
|
44671
|
-
Virtual: "VIRTUAL"
|
|
44822
|
+
Virtual: "VIRTUAL",
|
|
44823
|
+
EzETH: "ezETH"
|
|
44672
44824
|
};
|
|
44673
44825
|
UniswapPoolPriceFeeEnum = {
|
|
44674
44826
|
ZeroDot01: "0.01",
|
|
@@ -44782,7 +44934,8 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
44782
44934
|
USDCe: "USDCe",
|
|
44783
44935
|
Aero: "AERO",
|
|
44784
44936
|
Eur: "EUR",
|
|
44785
|
-
Virtual: "VIRTUAL"
|
|
44937
|
+
Virtual: "VIRTUAL",
|
|
44938
|
+
EzETH: "ezETH"
|
|
44786
44939
|
};
|
|
44787
44940
|
UniswapQuoteBuyExactlyTokenOutToken = {
|
|
44788
44941
|
OneINCH: "1INCH",
|
|
@@ -44828,7 +44981,8 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
44828
44981
|
USDCe: "USDCe",
|
|
44829
44982
|
Aero: "AERO",
|
|
44830
44983
|
Eur: "EUR",
|
|
44831
|
-
Virtual: "VIRTUAL"
|
|
44984
|
+
Virtual: "VIRTUAL",
|
|
44985
|
+
EzETH: "ezETH"
|
|
44832
44986
|
};
|
|
44833
44987
|
UniswapQuoteBuyExactlyFeeEnum = {
|
|
44834
44988
|
ZeroDot01: "0.01",
|
|
@@ -44952,7 +45106,8 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
44952
45106
|
USDCe: "USDCe",
|
|
44953
45107
|
Aero: "AERO",
|
|
44954
45108
|
Eur: "EUR",
|
|
44955
|
-
Virtual: "VIRTUAL"
|
|
45109
|
+
Virtual: "VIRTUAL",
|
|
45110
|
+
EzETH: "ezETH"
|
|
44956
45111
|
};
|
|
44957
45112
|
UniswapQuoteSellExactlyTokenOutToken = {
|
|
44958
45113
|
OneINCH: "1INCH",
|
|
@@ -44998,7 +45153,8 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
44998
45153
|
USDCe: "USDCe",
|
|
44999
45154
|
Aero: "AERO",
|
|
45000
45155
|
Eur: "EUR",
|
|
45001
|
-
Virtual: "VIRTUAL"
|
|
45156
|
+
Virtual: "VIRTUAL",
|
|
45157
|
+
EzETH: "ezETH"
|
|
45002
45158
|
};
|
|
45003
45159
|
UniswapQuoteSellExactlyFeeEnum = {
|
|
45004
45160
|
ZeroDot01: "0.01",
|
|
@@ -51148,11 +51304,122 @@ Generate a list of user operations for smart account batching.`,
|
|
|
51148
51304
|
};
|
|
51149
51305
|
});
|
|
51150
51306
|
|
|
51151
|
-
// src/funcs/
|
|
51152
|
-
function
|
|
51307
|
+
// src/funcs/swapOdos.ts
|
|
51308
|
+
function swapOdos(client, request, options) {
|
|
51153
51309
|
return new APIPromise($do53(client, request, options));
|
|
51154
51310
|
}
|
|
51155
51311
|
async function $do53(client, request, options) {
|
|
51312
|
+
const parsed = safeParse(request, (value) => OdosSwapRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51313
|
+
if (!parsed.ok) {
|
|
51314
|
+
return [parsed, { status: "invalid" }];
|
|
51315
|
+
}
|
|
51316
|
+
const payload = parsed.value;
|
|
51317
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
51318
|
+
const path = pathToFunc("/v0/swap/odos")();
|
|
51319
|
+
const headers = new Headers(compactMap({
|
|
51320
|
+
"Content-Type": "application/json",
|
|
51321
|
+
Accept: "application/json"
|
|
51322
|
+
}));
|
|
51323
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
51324
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
51325
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
51326
|
+
const context = {
|
|
51327
|
+
options: client._options,
|
|
51328
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
51329
|
+
operationID: "swap_odos",
|
|
51330
|
+
oAuth2Scopes: [],
|
|
51331
|
+
resolvedSecurity: requestSecurity,
|
|
51332
|
+
securitySource: client._options.apiKeyAuth,
|
|
51333
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
51334
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
51335
|
+
};
|
|
51336
|
+
const requestRes = client._createRequest(context, {
|
|
51337
|
+
security: requestSecurity,
|
|
51338
|
+
method: "POST",
|
|
51339
|
+
baseURL: options?.serverURL,
|
|
51340
|
+
path,
|
|
51341
|
+
headers,
|
|
51342
|
+
body,
|
|
51343
|
+
userAgent: client._options.userAgent,
|
|
51344
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
51345
|
+
}, options);
|
|
51346
|
+
if (!requestRes.ok) {
|
|
51347
|
+
return [requestRes, { status: "invalid" }];
|
|
51348
|
+
}
|
|
51349
|
+
const req = requestRes.value;
|
|
51350
|
+
const doResult = await client._do(req, {
|
|
51351
|
+
context,
|
|
51352
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
51353
|
+
retryConfig: context.retryConfig,
|
|
51354
|
+
retryCodes: context.retryCodes
|
|
51355
|
+
});
|
|
51356
|
+
if (!doResult.ok) {
|
|
51357
|
+
return [doResult, { status: "request-error", request: req }];
|
|
51358
|
+
}
|
|
51359
|
+
const response = doResult.value;
|
|
51360
|
+
const responseFields = {
|
|
51361
|
+
HttpMeta: { Response: response, Request: req }
|
|
51362
|
+
};
|
|
51363
|
+
const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
51364
|
+
if (!result.ok) {
|
|
51365
|
+
return [result, { status: "complete", request: req, response }];
|
|
51366
|
+
}
|
|
51367
|
+
return [result, { status: "complete", request: req, response }];
|
|
51368
|
+
}
|
|
51369
|
+
var init_swapOdos = __esm(() => {
|
|
51370
|
+
init_encodings();
|
|
51371
|
+
init_matchers();
|
|
51372
|
+
init_primitives();
|
|
51373
|
+
init_schemas();
|
|
51374
|
+
init_security();
|
|
51375
|
+
init_url();
|
|
51376
|
+
init_components();
|
|
51377
|
+
init_errors2();
|
|
51378
|
+
init_async();
|
|
51379
|
+
});
|
|
51380
|
+
|
|
51381
|
+
// src/mcp-server/tools/swapOdos.ts
|
|
51382
|
+
var args53, tool$swapOdos;
|
|
51383
|
+
var init_swapOdos2 = __esm(() => {
|
|
51384
|
+
init_swapOdos();
|
|
51385
|
+
init_components();
|
|
51386
|
+
init_tools();
|
|
51387
|
+
args53 = {
|
|
51388
|
+
request: OdosSwapRequest$inboundSchema
|
|
51389
|
+
};
|
|
51390
|
+
tool$swapOdos = {
|
|
51391
|
+
name: "swap-odos",
|
|
51392
|
+
description: `Odos Swap
|
|
51393
|
+
|
|
51394
|
+
Swap between two tokens using Odos Smart Order Routing.
|
|
51395
|
+
<Info>
|
|
51396
|
+
**Required Allowances**
|
|
51397
|
+
|
|
51398
|
+
In order to make this transaction, token allowances need to be set on the following contracts.
|
|
51399
|
+
|
|
51400
|
+
- \`OdosRouter\`
|
|
51401
|
+
</Info>
|
|
51402
|
+
`,
|
|
51403
|
+
args: args53,
|
|
51404
|
+
tool: async (client, args54, ctx) => {
|
|
51405
|
+
const [result, apiCall] = await swapOdos(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51406
|
+
if (!result.ok) {
|
|
51407
|
+
return {
|
|
51408
|
+
content: [{ type: "text", text: result.error.message }],
|
|
51409
|
+
isError: true
|
|
51410
|
+
};
|
|
51411
|
+
}
|
|
51412
|
+
const value = result.value;
|
|
51413
|
+
return formatResult(value, apiCall);
|
|
51414
|
+
}
|
|
51415
|
+
};
|
|
51416
|
+
});
|
|
51417
|
+
|
|
51418
|
+
// src/funcs/tokenAddress.ts
|
|
51419
|
+
function tokenAddress(client, request, options) {
|
|
51420
|
+
return new APIPromise($do54(client, request, options));
|
|
51421
|
+
}
|
|
51422
|
+
async function $do54(client, request, options) {
|
|
51156
51423
|
const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51157
51424
|
if (!parsed.ok) {
|
|
51158
51425
|
return [parsed, { status: "invalid" }];
|
|
@@ -51228,12 +51495,12 @@ var init_tokenAddress = __esm(() => {
|
|
|
51228
51495
|
});
|
|
51229
51496
|
|
|
51230
51497
|
// src/mcp-server/tools/tokenAddress.ts
|
|
51231
|
-
var
|
|
51498
|
+
var args54, tool$tokenAddress;
|
|
51232
51499
|
var init_tokenAddress2 = __esm(() => {
|
|
51233
51500
|
init_tokenAddress();
|
|
51234
51501
|
init_operations();
|
|
51235
51502
|
init_tools();
|
|
51236
|
-
|
|
51503
|
+
args54 = {
|
|
51237
51504
|
request: TokenAddressRequest$inboundSchema
|
|
51238
51505
|
};
|
|
51239
51506
|
tool$tokenAddress = {
|
|
@@ -51241,9 +51508,9 @@ var init_tokenAddress2 = __esm(() => {
|
|
|
51241
51508
|
description: `Token Address
|
|
51242
51509
|
|
|
51243
51510
|
This endpoint retrieves the address for a token supported by us.`,
|
|
51244
|
-
args:
|
|
51245
|
-
tool: async (client,
|
|
51246
|
-
const [result, apiCall] = await tokenAddress(client,
|
|
51511
|
+
args: args54,
|
|
51512
|
+
tool: async (client, args55, ctx) => {
|
|
51513
|
+
const [result, apiCall] = await tokenAddress(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51247
51514
|
if (!result.ok) {
|
|
51248
51515
|
return {
|
|
51249
51516
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51258,9 +51525,9 @@ This endpoint retrieves the address for a token supported by us.`,
|
|
|
51258
51525
|
|
|
51259
51526
|
// src/funcs/tokenBalance.ts
|
|
51260
51527
|
function tokenBalance(client, request, options) {
|
|
51261
|
-
return new APIPromise($
|
|
51528
|
+
return new APIPromise($do55(client, request, options));
|
|
51262
51529
|
}
|
|
51263
|
-
async function $
|
|
51530
|
+
async function $do55(client, request, options) {
|
|
51264
51531
|
const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51265
51532
|
if (!parsed.ok) {
|
|
51266
51533
|
return [parsed, { status: "invalid" }];
|
|
@@ -51337,12 +51604,12 @@ var init_tokenBalance = __esm(() => {
|
|
|
51337
51604
|
});
|
|
51338
51605
|
|
|
51339
51606
|
// src/mcp-server/tools/tokenBalance.ts
|
|
51340
|
-
var
|
|
51607
|
+
var args55, tool$tokenBalance;
|
|
51341
51608
|
var init_tokenBalance2 = __esm(() => {
|
|
51342
51609
|
init_tokenBalance();
|
|
51343
51610
|
init_operations();
|
|
51344
51611
|
init_tools();
|
|
51345
|
-
|
|
51612
|
+
args55 = {
|
|
51346
51613
|
request: TokenBalanceRequest$inboundSchema
|
|
51347
51614
|
};
|
|
51348
51615
|
tool$tokenBalance = {
|
|
@@ -51350,9 +51617,9 @@ var init_tokenBalance2 = __esm(() => {
|
|
|
51350
51617
|
description: `Token Balance
|
|
51351
51618
|
|
|
51352
51619
|
Returns the balance of a specific ERC20 token for a given user address.`,
|
|
51353
|
-
args:
|
|
51354
|
-
tool: async (client,
|
|
51355
|
-
const [result, apiCall] = await tokenBalance(client,
|
|
51620
|
+
args: args55,
|
|
51621
|
+
tool: async (client, args56, ctx) => {
|
|
51622
|
+
const [result, apiCall] = await tokenBalance(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51356
51623
|
if (!result.ok) {
|
|
51357
51624
|
return {
|
|
51358
51625
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51367,9 +51634,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
|
|
|
51367
51634
|
|
|
51368
51635
|
// src/funcs/tokenPrice.ts
|
|
51369
51636
|
function tokenPrice(client, request, options) {
|
|
51370
|
-
return new APIPromise($
|
|
51637
|
+
return new APIPromise($do56(client, request, options));
|
|
51371
51638
|
}
|
|
51372
|
-
async function $
|
|
51639
|
+
async function $do56(client, request, options) {
|
|
51373
51640
|
const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51374
51641
|
if (!parsed.ok) {
|
|
51375
51642
|
return [parsed, { status: "invalid" }];
|
|
@@ -51446,12 +51713,12 @@ var init_tokenPrice = __esm(() => {
|
|
|
51446
51713
|
});
|
|
51447
51714
|
|
|
51448
51715
|
// src/mcp-server/tools/tokenPrice.ts
|
|
51449
|
-
var
|
|
51716
|
+
var args56, tool$tokenPrice;
|
|
51450
51717
|
var init_tokenPrice2 = __esm(() => {
|
|
51451
51718
|
init_tokenPrice();
|
|
51452
51719
|
init_operations();
|
|
51453
51720
|
init_tools();
|
|
51454
|
-
|
|
51721
|
+
args56 = {
|
|
51455
51722
|
request: TokenPriceRequest$inboundSchema
|
|
51456
51723
|
};
|
|
51457
51724
|
tool$tokenPrice = {
|
|
@@ -51463,9 +51730,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
|
|
|
51463
51730
|
Chainlink is a decentralized oracle that aggregates price data from off-chain
|
|
51464
51731
|
sources. This ensures the price is tamper-resistant but the price might be stale
|
|
51465
51732
|
with the update frequency of the oracle.`,
|
|
51466
|
-
args:
|
|
51467
|
-
tool: async (client,
|
|
51468
|
-
const [result, apiCall] = await tokenPrice(client,
|
|
51733
|
+
args: args56,
|
|
51734
|
+
tool: async (client, args57, ctx) => {
|
|
51735
|
+
const [result, apiCall] = await tokenPrice(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51469
51736
|
if (!result.ok) {
|
|
51470
51737
|
return {
|
|
51471
51738
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51480,9 +51747,9 @@ with the update frequency of the oracle.`,
|
|
|
51480
51747
|
|
|
51481
51748
|
// src/funcs/tokenTransfer.ts
|
|
51482
51749
|
function tokenTransfer(client, request, options) {
|
|
51483
|
-
return new APIPromise($
|
|
51750
|
+
return new APIPromise($do57(client, request, options));
|
|
51484
51751
|
}
|
|
51485
|
-
async function $
|
|
51752
|
+
async function $do57(client, request, options) {
|
|
51486
51753
|
const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51487
51754
|
if (!parsed.ok) {
|
|
51488
51755
|
return [parsed, { status: "invalid" }];
|
|
@@ -51553,12 +51820,12 @@ var init_tokenTransfer = __esm(() => {
|
|
|
51553
51820
|
});
|
|
51554
51821
|
|
|
51555
51822
|
// src/mcp-server/tools/tokenTransfer.ts
|
|
51556
|
-
var
|
|
51823
|
+
var args57, tool$tokenTransfer;
|
|
51557
51824
|
var init_tokenTransfer2 = __esm(() => {
|
|
51558
51825
|
init_tokenTransfer();
|
|
51559
51826
|
init_components();
|
|
51560
51827
|
init_tools();
|
|
51561
|
-
|
|
51828
|
+
args57 = {
|
|
51562
51829
|
request: TokenTransferRequest$inboundSchema
|
|
51563
51830
|
};
|
|
51564
51831
|
tool$tokenTransfer = {
|
|
@@ -51566,9 +51833,9 @@ var init_tokenTransfer2 = __esm(() => {
|
|
|
51566
51833
|
description: `Transfer ETH or ERC20 Tokens
|
|
51567
51834
|
|
|
51568
51835
|
Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
51569
|
-
args:
|
|
51570
|
-
tool: async (client,
|
|
51571
|
-
const [result, apiCall] = await tokenTransfer(client,
|
|
51836
|
+
args: args57,
|
|
51837
|
+
tool: async (client, args58, ctx) => {
|
|
51838
|
+
const [result, apiCall] = await tokenTransfer(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51572
51839
|
if (!result.ok) {
|
|
51573
51840
|
return {
|
|
51574
51841
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51583,9 +51850,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
|
51583
51850
|
|
|
51584
51851
|
// src/funcs/transactionBundlerBundlerAaveLoop.ts
|
|
51585
51852
|
function transactionBundlerBundlerAaveLoop(client, request, options) {
|
|
51586
|
-
return new APIPromise($
|
|
51853
|
+
return new APIPromise($do58(client, request, options));
|
|
51587
51854
|
}
|
|
51588
|
-
async function $
|
|
51855
|
+
async function $do58(client, request, options) {
|
|
51589
51856
|
const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51590
51857
|
if (!parsed.ok) {
|
|
51591
51858
|
return [parsed, { status: "invalid" }];
|
|
@@ -51656,12 +51923,12 @@ var init_transactionBundlerBundlerAaveLoop = __esm(() => {
|
|
|
51656
51923
|
});
|
|
51657
51924
|
|
|
51658
51925
|
// src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
|
|
51659
|
-
var
|
|
51926
|
+
var args58, tool$transactionBundlerBundlerAaveLoop;
|
|
51660
51927
|
var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
|
|
51661
51928
|
init_transactionBundlerBundlerAaveLoop();
|
|
51662
51929
|
init_components();
|
|
51663
51930
|
init_tools();
|
|
51664
|
-
|
|
51931
|
+
args58 = {
|
|
51665
51932
|
request: AaveLoopRequest$inboundSchema
|
|
51666
51933
|
};
|
|
51667
51934
|
tool$transactionBundlerBundlerAaveLoop = {
|
|
@@ -51679,9 +51946,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
|
|
|
51679
51946
|
- Supplies the swapped tokens
|
|
51680
51947
|
|
|
51681
51948
|
The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
|
|
51682
|
-
args:
|
|
51683
|
-
tool: async (client,
|
|
51684
|
-
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client,
|
|
51949
|
+
args: args58,
|
|
51950
|
+
tool: async (client, args59, ctx) => {
|
|
51951
|
+
const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51685
51952
|
if (!result.ok) {
|
|
51686
51953
|
return {
|
|
51687
51954
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51696,9 +51963,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
|
|
|
51696
51963
|
|
|
51697
51964
|
// src/funcs/transactionBundlerBundlerAuthorization.ts
|
|
51698
51965
|
function transactionBundlerBundlerAuthorization(client, request, options) {
|
|
51699
|
-
return new APIPromise($
|
|
51966
|
+
return new APIPromise($do59(client, request, options));
|
|
51700
51967
|
}
|
|
51701
|
-
async function $
|
|
51968
|
+
async function $do59(client, request, options) {
|
|
51702
51969
|
const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51703
51970
|
if (!parsed.ok) {
|
|
51704
51971
|
return [parsed, { status: "invalid" }];
|
|
@@ -51769,12 +52036,12 @@ var init_transactionBundlerBundlerAuthorization = __esm(() => {
|
|
|
51769
52036
|
});
|
|
51770
52037
|
|
|
51771
52038
|
// src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
|
|
51772
|
-
var
|
|
52039
|
+
var args59, tool$transactionBundlerBundlerAuthorization;
|
|
51773
52040
|
var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
|
|
51774
52041
|
init_transactionBundlerBundlerAuthorization();
|
|
51775
52042
|
init_components();
|
|
51776
52043
|
init_tools();
|
|
51777
|
-
|
|
52044
|
+
args59 = {
|
|
51778
52045
|
request: MulticallAuthorizationRequest$inboundSchema
|
|
51779
52046
|
};
|
|
51780
52047
|
tool$transactionBundlerBundlerAuthorization = {
|
|
@@ -51787,9 +52054,9 @@ Currently this is required for every transaction bundle to prevent replay attack
|
|
|
51787
52054
|
and ensure transaction ordering when batching multiple actions into a single
|
|
51788
52055
|
transaction. The authorization includes a nonce and chain ID to guarantee
|
|
51789
52056
|
transaction uniqueness and proper network targeting.`,
|
|
51790
|
-
args:
|
|
51791
|
-
tool: async (client,
|
|
51792
|
-
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client,
|
|
52057
|
+
args: args59,
|
|
52058
|
+
tool: async (client, args60, ctx) => {
|
|
52059
|
+
const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51793
52060
|
if (!result.ok) {
|
|
51794
52061
|
return {
|
|
51795
52062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51804,9 +52071,9 @@ transaction uniqueness and proper network targeting.`,
|
|
|
51804
52071
|
|
|
51805
52072
|
// src/funcs/transactionBundlerBundlerExecute.ts
|
|
51806
52073
|
function transactionBundlerBundlerExecute(client, request, options) {
|
|
51807
|
-
return new APIPromise($
|
|
52074
|
+
return new APIPromise($do60(client, request, options));
|
|
51808
52075
|
}
|
|
51809
|
-
async function $
|
|
52076
|
+
async function $do60(client, request, options) {
|
|
51810
52077
|
const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51811
52078
|
if (!parsed.ok) {
|
|
51812
52079
|
return [parsed, { status: "invalid" }];
|
|
@@ -51877,12 +52144,12 @@ var init_transactionBundlerBundlerExecute = __esm(() => {
|
|
|
51877
52144
|
});
|
|
51878
52145
|
|
|
51879
52146
|
// src/mcp-server/tools/transactionBundlerBundlerExecute.ts
|
|
51880
|
-
var
|
|
52147
|
+
var args60, tool$transactionBundlerBundlerExecute;
|
|
51881
52148
|
var init_transactionBundlerBundlerExecute2 = __esm(() => {
|
|
51882
52149
|
init_transactionBundlerBundlerExecute();
|
|
51883
52150
|
init_components();
|
|
51884
52151
|
init_tools();
|
|
51885
|
-
|
|
52152
|
+
args60 = {
|
|
51886
52153
|
request: MulticallExecuteRequest$inboundSchema
|
|
51887
52154
|
};
|
|
51888
52155
|
tool$transactionBundlerBundlerExecute = {
|
|
@@ -51896,9 +52163,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
|
|
|
51896
52163
|
transaction, reducing gas costs and ensuring all operations succeed or fail
|
|
51897
52164
|
together. The transaction must be authorized using the /authorization endpoint to
|
|
51898
52165
|
prevent replay attacks.`,
|
|
51899
|
-
args:
|
|
51900
|
-
tool: async (client,
|
|
51901
|
-
const [result, apiCall] = await transactionBundlerBundlerExecute(client,
|
|
52166
|
+
args: args60,
|
|
52167
|
+
tool: async (client, args61, ctx) => {
|
|
52168
|
+
const [result, apiCall] = await transactionBundlerBundlerExecute(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51902
52169
|
if (!result.ok) {
|
|
51903
52170
|
return {
|
|
51904
52171
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51913,9 +52180,9 @@ prevent replay attacks.`,
|
|
|
51913
52180
|
|
|
51914
52181
|
// src/funcs/uniswapV3LiquidityProvisionIncrease.ts
|
|
51915
52182
|
function uniswapV3LiquidityProvisionIncrease(client, request, options) {
|
|
51916
|
-
return new APIPromise($
|
|
52183
|
+
return new APIPromise($do61(client, request, options));
|
|
51917
52184
|
}
|
|
51918
|
-
async function $
|
|
52185
|
+
async function $do61(client, request, options) {
|
|
51919
52186
|
const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51920
52187
|
if (!parsed.ok) {
|
|
51921
52188
|
return [parsed, { status: "invalid" }];
|
|
@@ -51986,12 +52253,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
|
|
|
51986
52253
|
});
|
|
51987
52254
|
|
|
51988
52255
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
|
|
51989
|
-
var
|
|
52256
|
+
var args61, tool$uniswapV3LiquidityProvisionIncrease;
|
|
51990
52257
|
var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
|
|
51991
52258
|
init_uniswapV3LiquidityProvisionIncrease();
|
|
51992
52259
|
init_components();
|
|
51993
52260
|
init_tools();
|
|
51994
|
-
|
|
52261
|
+
args61 = {
|
|
51995
52262
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
51996
52263
|
};
|
|
51997
52264
|
tool$uniswapV3LiquidityProvisionIncrease = {
|
|
@@ -52015,9 +52282,9 @@ process.
|
|
|
52015
52282
|
- \`AerodromeSlipstreamRouter\`
|
|
52016
52283
|
</Info>
|
|
52017
52284
|
`,
|
|
52018
|
-
args:
|
|
52019
|
-
tool: async (client,
|
|
52020
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client,
|
|
52285
|
+
args: args61,
|
|
52286
|
+
tool: async (client, args62, ctx) => {
|
|
52287
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52021
52288
|
if (!result.ok) {
|
|
52022
52289
|
return {
|
|
52023
52290
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52032,9 +52299,9 @@ process.
|
|
|
52032
52299
|
|
|
52033
52300
|
// src/funcs/uniswapV3LiquidityProvisionInRange.ts
|
|
52034
52301
|
function uniswapV3LiquidityProvisionInRange(client, request, options) {
|
|
52035
|
-
return new APIPromise($
|
|
52302
|
+
return new APIPromise($do62(client, request, options));
|
|
52036
52303
|
}
|
|
52037
|
-
async function $
|
|
52304
|
+
async function $do62(client, request, options) {
|
|
52038
52305
|
const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52039
52306
|
if (!parsed.ok) {
|
|
52040
52307
|
return [parsed, { status: "invalid" }];
|
|
@@ -52110,12 +52377,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
|
|
|
52110
52377
|
});
|
|
52111
52378
|
|
|
52112
52379
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
|
|
52113
|
-
var
|
|
52380
|
+
var args62, tool$uniswapV3LiquidityProvisionInRange;
|
|
52114
52381
|
var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
|
|
52115
52382
|
init_uniswapV3LiquidityProvisionInRange();
|
|
52116
52383
|
init_operations();
|
|
52117
52384
|
init_tools();
|
|
52118
|
-
|
|
52385
|
+
args62 = {
|
|
52119
52386
|
request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
52120
52387
|
};
|
|
52121
52388
|
tool$uniswapV3LiquidityProvisionInRange = {
|
|
@@ -52130,9 +52397,9 @@ position is currently within the tick range where trading occurs. this informati
|
|
|
52130
52397
|
is essential for users to monitor the status of their lp positions and ensure that
|
|
52131
52398
|
they are actively participating in the trading activities within the liquidity pool
|
|
52132
52399
|
and earning trading fees.`,
|
|
52133
|
-
args:
|
|
52134
|
-
tool: async (client,
|
|
52135
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client,
|
|
52400
|
+
args: args62,
|
|
52401
|
+
tool: async (client, args63, ctx) => {
|
|
52402
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52136
52403
|
if (!result.ok) {
|
|
52137
52404
|
return {
|
|
52138
52405
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52147,9 +52414,9 @@ and earning trading fees.`,
|
|
|
52147
52414
|
|
|
52148
52415
|
// src/funcs/uniswapV3LiquidityProvisionMint.ts
|
|
52149
52416
|
function uniswapV3LiquidityProvisionMint(client, request, options) {
|
|
52150
|
-
return new APIPromise($
|
|
52417
|
+
return new APIPromise($do63(client, request, options));
|
|
52151
52418
|
}
|
|
52152
|
-
async function $
|
|
52419
|
+
async function $do63(client, request, options) {
|
|
52153
52420
|
const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52154
52421
|
if (!parsed.ok) {
|
|
52155
52422
|
return [parsed, { status: "invalid" }];
|
|
@@ -52220,12 +52487,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
|
|
|
52220
52487
|
});
|
|
52221
52488
|
|
|
52222
52489
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
|
|
52223
|
-
var
|
|
52490
|
+
var args63, tool$uniswapV3LiquidityProvisionMint;
|
|
52224
52491
|
var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
|
|
52225
52492
|
init_uniswapV3LiquidityProvisionMint();
|
|
52226
52493
|
init_components();
|
|
52227
52494
|
init_tools();
|
|
52228
|
-
|
|
52495
|
+
args63 = {
|
|
52229
52496
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
52230
52497
|
};
|
|
52231
52498
|
tool$uniswapV3LiquidityProvisionMint = {
|
|
@@ -52249,9 +52516,9 @@ needed for the minting process.
|
|
|
52249
52516
|
- \`UniswapV3NFTPositionManager\`
|
|
52250
52517
|
</Info>
|
|
52251
52518
|
`,
|
|
52252
|
-
args:
|
|
52253
|
-
tool: async (client,
|
|
52254
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client,
|
|
52519
|
+
args: args63,
|
|
52520
|
+
tool: async (client, args64, ctx) => {
|
|
52521
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52255
52522
|
if (!result.ok) {
|
|
52256
52523
|
return {
|
|
52257
52524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52266,9 +52533,9 @@ needed for the minting process.
|
|
|
52266
52533
|
|
|
52267
52534
|
// src/funcs/uniswapV3LiquidityProvisionPositions.ts
|
|
52268
52535
|
function uniswapV3LiquidityProvisionPositions(client, request, options) {
|
|
52269
|
-
return new APIPromise($
|
|
52536
|
+
return new APIPromise($do64(client, request, options));
|
|
52270
52537
|
}
|
|
52271
|
-
async function $
|
|
52538
|
+
async function $do64(client, request, options) {
|
|
52272
52539
|
const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52273
52540
|
if (!parsed.ok) {
|
|
52274
52541
|
return [parsed, { status: "invalid" }];
|
|
@@ -52344,12 +52611,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
|
|
|
52344
52611
|
});
|
|
52345
52612
|
|
|
52346
52613
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
|
|
52347
|
-
var
|
|
52614
|
+
var args64, tool$uniswapV3LiquidityProvisionPositions;
|
|
52348
52615
|
var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
|
|
52349
52616
|
init_uniswapV3LiquidityProvisionPositions();
|
|
52350
52617
|
init_operations();
|
|
52351
52618
|
init_tools();
|
|
52352
|
-
|
|
52619
|
+
args64 = {
|
|
52353
52620
|
request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
52354
52621
|
};
|
|
52355
52622
|
tool$uniswapV3LiquidityProvisionPositions = {
|
|
@@ -52363,9 +52630,9 @@ Users can query this endpoint to obtain detailed information about their LP
|
|
|
52363
52630
|
positions, including the total number of positions and relevant metadata. This
|
|
52364
52631
|
information is crucial for users to manage and analyze their liquidity provision
|
|
52365
52632
|
activities effectively.`,
|
|
52366
|
-
args:
|
|
52367
|
-
tool: async (client,
|
|
52368
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client,
|
|
52633
|
+
args: args64,
|
|
52634
|
+
tool: async (client, args65, ctx) => {
|
|
52635
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52369
52636
|
if (!result.ok) {
|
|
52370
52637
|
return {
|
|
52371
52638
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52380,9 +52647,9 @@ activities effectively.`,
|
|
|
52380
52647
|
|
|
52381
52648
|
// src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
|
|
52382
52649
|
function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
|
|
52383
|
-
return new APIPromise($
|
|
52650
|
+
return new APIPromise($do65(client, request, options));
|
|
52384
52651
|
}
|
|
52385
|
-
async function $
|
|
52652
|
+
async function $do65(client, request, options) {
|
|
52386
52653
|
const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52387
52654
|
if (!parsed.ok) {
|
|
52388
52655
|
return [parsed, { status: "invalid" }];
|
|
@@ -52453,12 +52720,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
|
|
|
52453
52720
|
});
|
|
52454
52721
|
|
|
52455
52722
|
// src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
|
|
52456
|
-
var
|
|
52723
|
+
var args65, tool$uniswapV3LiquidityProvisionWithdraw;
|
|
52457
52724
|
var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
|
|
52458
52725
|
init_uniswapV3LiquidityProvisionWithdraw();
|
|
52459
52726
|
init_components();
|
|
52460
52727
|
init_tools();
|
|
52461
|
-
|
|
52728
|
+
args65 = {
|
|
52462
52729
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
52463
52730
|
};
|
|
52464
52731
|
tool$uniswapV3LiquidityProvisionWithdraw = {
|
|
@@ -52483,9 +52750,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
52483
52750
|
- \`UniswapV3NFTPositionManager\`
|
|
52484
52751
|
</Info>
|
|
52485
52752
|
`,
|
|
52486
|
-
args:
|
|
52487
|
-
tool: async (client,
|
|
52488
|
-
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client,
|
|
52753
|
+
args: args65,
|
|
52754
|
+
tool: async (client, args66, ctx) => {
|
|
52755
|
+
const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52489
52756
|
if (!result.ok) {
|
|
52490
52757
|
return {
|
|
52491
52758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52500,9 +52767,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
52500
52767
|
|
|
52501
52768
|
// src/funcs/uniswapV3PoolPrice.ts
|
|
52502
52769
|
function uniswapV3PoolPrice(client, request, options) {
|
|
52503
|
-
return new APIPromise($
|
|
52770
|
+
return new APIPromise($do66(client, request, options));
|
|
52504
52771
|
}
|
|
52505
|
-
async function $
|
|
52772
|
+
async function $do66(client, request, options) {
|
|
52506
52773
|
const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52507
52774
|
if (!parsed.ok) {
|
|
52508
52775
|
return [parsed, { status: "invalid" }];
|
|
@@ -52580,12 +52847,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
|
|
|
52580
52847
|
});
|
|
52581
52848
|
|
|
52582
52849
|
// src/mcp-server/tools/uniswapV3PoolPrice.ts
|
|
52583
|
-
var
|
|
52850
|
+
var args66, tool$uniswapV3PoolPrice;
|
|
52584
52851
|
var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
52585
52852
|
init_uniswapV3PoolPrice();
|
|
52586
52853
|
init_operations();
|
|
52587
52854
|
init_tools();
|
|
52588
|
-
|
|
52855
|
+
args66 = {
|
|
52589
52856
|
request: UniswapPoolPriceRequest$inboundSchema
|
|
52590
52857
|
};
|
|
52591
52858
|
tool$uniswapV3PoolPrice = {
|
|
@@ -52595,9 +52862,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
|
|
|
52595
52862
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
52596
52863
|
|
|
52597
52864
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
52598
|
-
args:
|
|
52599
|
-
tool: async (client,
|
|
52600
|
-
const [result, apiCall] = await uniswapV3PoolPrice(client,
|
|
52865
|
+
args: args66,
|
|
52866
|
+
tool: async (client, args67, ctx) => {
|
|
52867
|
+
const [result, apiCall] = await uniswapV3PoolPrice(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52601
52868
|
if (!result.ok) {
|
|
52602
52869
|
return {
|
|
52603
52870
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52612,9 +52879,9 @@ The price is calculated based on the current pool state and the specified fee ti
|
|
|
52612
52879
|
|
|
52613
52880
|
// src/funcs/uniswapV3QuoteBuyExactly.ts
|
|
52614
52881
|
function uniswapV3QuoteBuyExactly(client, request, options) {
|
|
52615
|
-
return new APIPromise($
|
|
52882
|
+
return new APIPromise($do67(client, request, options));
|
|
52616
52883
|
}
|
|
52617
|
-
async function $
|
|
52884
|
+
async function $do67(client, request, options) {
|
|
52618
52885
|
const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52619
52886
|
if (!parsed.ok) {
|
|
52620
52887
|
return [parsed, { status: "invalid" }];
|
|
@@ -52693,12 +52960,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
|
|
|
52693
52960
|
});
|
|
52694
52961
|
|
|
52695
52962
|
// src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
|
|
52696
|
-
var
|
|
52963
|
+
var args67, tool$uniswapV3QuoteBuyExactly;
|
|
52697
52964
|
var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
|
|
52698
52965
|
init_uniswapV3QuoteBuyExactly();
|
|
52699
52966
|
init_operations();
|
|
52700
52967
|
init_tools();
|
|
52701
|
-
|
|
52968
|
+
args67 = {
|
|
52702
52969
|
request: UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
52703
52970
|
};
|
|
52704
52971
|
tool$uniswapV3QuoteBuyExactly = {
|
|
@@ -52710,9 +52977,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
52710
52977
|
|
|
52711
52978
|
It also provides the resulting price after the transaction. The calculation takes
|
|
52712
52979
|
into account the current pool state and the specified fee tier.`,
|
|
52713
|
-
args:
|
|
52714
|
-
tool: async (client,
|
|
52715
|
-
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client,
|
|
52980
|
+
args: args67,
|
|
52981
|
+
tool: async (client, args68, ctx) => {
|
|
52982
|
+
const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52716
52983
|
if (!result.ok) {
|
|
52717
52984
|
return {
|
|
52718
52985
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52727,9 +52994,9 @@ into account the current pool state and the specified fee tier.`,
|
|
|
52727
52994
|
|
|
52728
52995
|
// src/funcs/uniswapV3QuoteSellExactly.ts
|
|
52729
52996
|
function uniswapV3QuoteSellExactly(client, request, options) {
|
|
52730
|
-
return new APIPromise($
|
|
52997
|
+
return new APIPromise($do68(client, request, options));
|
|
52731
52998
|
}
|
|
52732
|
-
async function $
|
|
52999
|
+
async function $do68(client, request, options) {
|
|
52733
53000
|
const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52734
53001
|
if (!parsed.ok) {
|
|
52735
53002
|
return [parsed, { status: "invalid" }];
|
|
@@ -52808,12 +53075,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
|
|
|
52808
53075
|
});
|
|
52809
53076
|
|
|
52810
53077
|
// src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
|
|
52811
|
-
var
|
|
53078
|
+
var args68, tool$uniswapV3QuoteSellExactly;
|
|
52812
53079
|
var init_uniswapV3QuoteSellExactly2 = __esm(() => {
|
|
52813
53080
|
init_uniswapV3QuoteSellExactly();
|
|
52814
53081
|
init_operations();
|
|
52815
53082
|
init_tools();
|
|
52816
|
-
|
|
53083
|
+
args68 = {
|
|
52817
53084
|
request: UniswapQuoteSellExactlyRequest$inboundSchema
|
|
52818
53085
|
};
|
|
52819
53086
|
tool$uniswapV3QuoteSellExactly = {
|
|
@@ -52825,9 +53092,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
52825
53092
|
|
|
52826
53093
|
It also provides the resulting price after the transaction. The calculation takes
|
|
52827
53094
|
into account the current pool state and the specified fee tier.`,
|
|
52828
|
-
args:
|
|
52829
|
-
tool: async (client,
|
|
52830
|
-
const [result, apiCall] = await uniswapV3QuoteSellExactly(client,
|
|
53095
|
+
args: args68,
|
|
53096
|
+
tool: async (client, args69, ctx) => {
|
|
53097
|
+
const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52831
53098
|
if (!result.ok) {
|
|
52832
53099
|
return {
|
|
52833
53100
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52842,9 +53109,9 @@ into account the current pool state and the specified fee tier.`,
|
|
|
52842
53109
|
|
|
52843
53110
|
// src/funcs/uniswapV3SwapBuyExactly.ts
|
|
52844
53111
|
function uniswapV3SwapBuyExactly(client, request, options) {
|
|
52845
|
-
return new APIPromise($
|
|
53112
|
+
return new APIPromise($do69(client, request, options));
|
|
52846
53113
|
}
|
|
52847
|
-
async function $
|
|
53114
|
+
async function $do69(client, request, options) {
|
|
52848
53115
|
const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52849
53116
|
if (!parsed.ok) {
|
|
52850
53117
|
return [parsed, { status: "invalid" }];
|
|
@@ -52915,12 +53182,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
|
|
|
52915
53182
|
});
|
|
52916
53183
|
|
|
52917
53184
|
// src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
|
|
52918
|
-
var
|
|
53185
|
+
var args69, tool$uniswapV3SwapBuyExactly;
|
|
52919
53186
|
var init_uniswapV3SwapBuyExactly2 = __esm(() => {
|
|
52920
53187
|
init_uniswapV3SwapBuyExactly();
|
|
52921
53188
|
init_components();
|
|
52922
53189
|
init_tools();
|
|
52923
|
-
|
|
53190
|
+
args69 = {
|
|
52924
53191
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
52925
53192
|
};
|
|
52926
53193
|
tool$uniswapV3SwapBuyExactly = {
|
|
@@ -52942,9 +53209,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
52942
53209
|
- \`UniswapV3Router\`
|
|
52943
53210
|
</Info>
|
|
52944
53211
|
`,
|
|
52945
|
-
args:
|
|
52946
|
-
tool: async (client,
|
|
52947
|
-
const [result, apiCall] = await uniswapV3SwapBuyExactly(client,
|
|
53212
|
+
args: args69,
|
|
53213
|
+
tool: async (client, args70, ctx) => {
|
|
53214
|
+
const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52948
53215
|
if (!result.ok) {
|
|
52949
53216
|
return {
|
|
52950
53217
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52959,9 +53226,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
52959
53226
|
|
|
52960
53227
|
// src/funcs/uniswapV3SwapSellExactly.ts
|
|
52961
53228
|
function uniswapV3SwapSellExactly(client, request, options) {
|
|
52962
|
-
return new APIPromise($
|
|
53229
|
+
return new APIPromise($do70(client, request, options));
|
|
52963
53230
|
}
|
|
52964
|
-
async function $
|
|
53231
|
+
async function $do70(client, request, options) {
|
|
52965
53232
|
const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52966
53233
|
if (!parsed.ok) {
|
|
52967
53234
|
return [parsed, { status: "invalid" }];
|
|
@@ -53032,12 +53299,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
|
|
|
53032
53299
|
});
|
|
53033
53300
|
|
|
53034
53301
|
// src/mcp-server/tools/uniswapV3SwapSellExactly.ts
|
|
53035
|
-
var
|
|
53302
|
+
var args70, tool$uniswapV3SwapSellExactly;
|
|
53036
53303
|
var init_uniswapV3SwapSellExactly2 = __esm(() => {
|
|
53037
53304
|
init_uniswapV3SwapSellExactly();
|
|
53038
53305
|
init_components();
|
|
53039
53306
|
init_tools();
|
|
53040
|
-
|
|
53307
|
+
args70 = {
|
|
53041
53308
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
53042
53309
|
};
|
|
53043
53310
|
tool$uniswapV3SwapSellExactly = {
|
|
@@ -53059,9 +53326,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53059
53326
|
- \`UniswapV3Router\`
|
|
53060
53327
|
</Info>
|
|
53061
53328
|
`,
|
|
53062
|
-
args:
|
|
53063
|
-
tool: async (client,
|
|
53064
|
-
const [result, apiCall] = await uniswapV3SwapSellExactly(client,
|
|
53329
|
+
args: args70,
|
|
53330
|
+
tool: async (client, args71, ctx) => {
|
|
53331
|
+
const [result, apiCall] = await uniswapV3SwapSellExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53065
53332
|
if (!result.ok) {
|
|
53066
53333
|
return {
|
|
53067
53334
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53076,9 +53343,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
53076
53343
|
|
|
53077
53344
|
// src/funcs/universalAllowance.ts
|
|
53078
53345
|
function universalAllowance(client, request, options) {
|
|
53079
|
-
return new APIPromise($
|
|
53346
|
+
return new APIPromise($do71(client, request, options));
|
|
53080
53347
|
}
|
|
53081
|
-
async function $
|
|
53348
|
+
async function $do71(client, request, options) {
|
|
53082
53349
|
const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53083
53350
|
if (!parsed.ok) {
|
|
53084
53351
|
return [parsed, { status: "invalid" }];
|
|
@@ -53156,12 +53423,12 @@ var init_universalAllowance = __esm(() => {
|
|
|
53156
53423
|
});
|
|
53157
53424
|
|
|
53158
53425
|
// src/mcp-server/tools/universalAllowance.ts
|
|
53159
|
-
var
|
|
53426
|
+
var args71, tool$universalAllowance;
|
|
53160
53427
|
var init_universalAllowance2 = __esm(() => {
|
|
53161
53428
|
init_universalAllowance();
|
|
53162
53429
|
init_operations();
|
|
53163
53430
|
init_tools();
|
|
53164
|
-
|
|
53431
|
+
args71 = {
|
|
53165
53432
|
request: GenericAllowanceRequest$inboundSchema
|
|
53166
53433
|
};
|
|
53167
53434
|
tool$universalAllowance = {
|
|
@@ -53175,9 +53442,9 @@ tokens on their behalf.
|
|
|
53175
53442
|
This is a crucial step before engaging in any transactions or operations within
|
|
53176
53443
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
53177
53444
|
the user's tokens securely and efficiently.`,
|
|
53178
|
-
args:
|
|
53179
|
-
tool: async (client,
|
|
53180
|
-
const [result, apiCall] = await universalAllowance(client,
|
|
53445
|
+
args: args71,
|
|
53446
|
+
tool: async (client, args72, ctx) => {
|
|
53447
|
+
const [result, apiCall] = await universalAllowance(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53181
53448
|
if (!result.ok) {
|
|
53182
53449
|
return {
|
|
53183
53450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53192,9 +53459,9 @@ the user's tokens securely and efficiently.`,
|
|
|
53192
53459
|
|
|
53193
53460
|
// src/funcs/universalAllowanceSet.ts
|
|
53194
53461
|
function universalAllowanceSet(client, request, options) {
|
|
53195
|
-
return new APIPromise($
|
|
53462
|
+
return new APIPromise($do72(client, request, options));
|
|
53196
53463
|
}
|
|
53197
|
-
async function $
|
|
53464
|
+
async function $do72(client, request, options) {
|
|
53198
53465
|
const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53199
53466
|
if (!parsed.ok) {
|
|
53200
53467
|
return [parsed, { status: "invalid" }];
|
|
@@ -53265,12 +53532,12 @@ var init_universalAllowanceSet = __esm(() => {
|
|
|
53265
53532
|
});
|
|
53266
53533
|
|
|
53267
53534
|
// src/mcp-server/tools/universalAllowanceSet.ts
|
|
53268
|
-
var
|
|
53535
|
+
var args72, tool$universalAllowanceSet;
|
|
53269
53536
|
var init_universalAllowanceSet2 = __esm(() => {
|
|
53270
53537
|
init_universalAllowanceSet();
|
|
53271
53538
|
init_components();
|
|
53272
53539
|
init_tools();
|
|
53273
|
-
|
|
53540
|
+
args72 = {
|
|
53274
53541
|
request: SetAllowanceRequest$inboundSchema
|
|
53275
53542
|
};
|
|
53276
53543
|
tool$universalAllowanceSet = {
|
|
@@ -53285,9 +53552,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
53285
53552
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
53286
53553
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
53287
53554
|
within the DeFi ecosystem.`,
|
|
53288
|
-
args:
|
|
53289
|
-
tool: async (client,
|
|
53290
|
-
const [result, apiCall] = await universalAllowanceSet(client,
|
|
53555
|
+
args: args72,
|
|
53556
|
+
tool: async (client, args73, ctx) => {
|
|
53557
|
+
const [result, apiCall] = await universalAllowanceSet(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53291
53558
|
if (!result.ok) {
|
|
53292
53559
|
return {
|
|
53293
53560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53302,9 +53569,9 @@ within the DeFi ecosystem.`,
|
|
|
53302
53569
|
|
|
53303
53570
|
// src/funcs/universalEns.ts
|
|
53304
53571
|
function universalEns(client, request, options) {
|
|
53305
|
-
return new APIPromise($
|
|
53572
|
+
return new APIPromise($do73(client, request, options));
|
|
53306
53573
|
}
|
|
53307
|
-
async function $
|
|
53574
|
+
async function $do73(client, request, options) {
|
|
53308
53575
|
const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53309
53576
|
if (!parsed.ok) {
|
|
53310
53577
|
return [parsed, { status: "invalid" }];
|
|
@@ -53380,12 +53647,12 @@ var init_universalEns = __esm(() => {
|
|
|
53380
53647
|
});
|
|
53381
53648
|
|
|
53382
53649
|
// src/mcp-server/tools/universalEns.ts
|
|
53383
|
-
var
|
|
53650
|
+
var args73, tool$universalEns;
|
|
53384
53651
|
var init_universalEns2 = __esm(() => {
|
|
53385
53652
|
init_universalEns();
|
|
53386
53653
|
init_operations();
|
|
53387
53654
|
init_tools();
|
|
53388
|
-
|
|
53655
|
+
args73 = {
|
|
53389
53656
|
request: GenericEnsRequest$inboundSchema
|
|
53390
53657
|
};
|
|
53391
53658
|
tool$universalEns = {
|
|
@@ -53396,9 +53663,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
53396
53663
|
|
|
53397
53664
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
53398
53665
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
53399
|
-
args:
|
|
53400
|
-
tool: async (client,
|
|
53401
|
-
const [result, apiCall] = await universalEns(client,
|
|
53666
|
+
args: args73,
|
|
53667
|
+
tool: async (client, args74, ctx) => {
|
|
53668
|
+
const [result, apiCall] = await universalEns(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53402
53669
|
if (!result.ok) {
|
|
53403
53670
|
return {
|
|
53404
53671
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53413,9 +53680,9 @@ query the actual ethereum wallet address behind the ENS name.`,
|
|
|
53413
53680
|
|
|
53414
53681
|
// src/funcs/universalPortfolio.ts
|
|
53415
53682
|
function universalPortfolio(client, request, options) {
|
|
53416
|
-
return new APIPromise($
|
|
53683
|
+
return new APIPromise($do74(client, request, options));
|
|
53417
53684
|
}
|
|
53418
|
-
async function $
|
|
53685
|
+
async function $do74(client, request, options) {
|
|
53419
53686
|
const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53420
53687
|
if (!parsed.ok) {
|
|
53421
53688
|
return [parsed, { status: "invalid" }];
|
|
@@ -53491,12 +53758,12 @@ var init_universalPortfolio = __esm(() => {
|
|
|
53491
53758
|
});
|
|
53492
53759
|
|
|
53493
53760
|
// src/mcp-server/tools/universalPortfolio.ts
|
|
53494
|
-
var
|
|
53761
|
+
var args74, tool$universalPortfolio;
|
|
53495
53762
|
var init_universalPortfolio2 = __esm(() => {
|
|
53496
53763
|
init_universalPortfolio();
|
|
53497
53764
|
init_operations();
|
|
53498
53765
|
init_tools();
|
|
53499
|
-
|
|
53766
|
+
args74 = {
|
|
53500
53767
|
request: GenericPortfolioRequest$inboundSchema
|
|
53501
53768
|
};
|
|
53502
53769
|
tool$universalPortfolio = {
|
|
@@ -53507,9 +53774,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
53507
53774
|
|
|
53508
53775
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
53509
53776
|
balances, including their respective values and quantities.`,
|
|
53510
|
-
args:
|
|
53511
|
-
tool: async (client,
|
|
53512
|
-
const [result, apiCall] = await universalPortfolio(client,
|
|
53777
|
+
args: args74,
|
|
53778
|
+
tool: async (client, args75, ctx) => {
|
|
53779
|
+
const [result, apiCall] = await universalPortfolio(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53513
53780
|
if (!result.ok) {
|
|
53514
53781
|
return {
|
|
53515
53782
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53524,9 +53791,9 @@ balances, including their respective values and quantities.`,
|
|
|
53524
53791
|
|
|
53525
53792
|
// src/funcs/universalSupportedTokens.ts
|
|
53526
53793
|
function universalSupportedTokens(client, request, options) {
|
|
53527
|
-
return new APIPromise($
|
|
53794
|
+
return new APIPromise($do75(client, request, options));
|
|
53528
53795
|
}
|
|
53529
|
-
async function $
|
|
53796
|
+
async function $do75(client, request, options) {
|
|
53530
53797
|
const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53531
53798
|
if (!parsed.ok) {
|
|
53532
53799
|
return [parsed, { status: "invalid" }];
|
|
@@ -53601,12 +53868,12 @@ var init_universalSupportedTokens = __esm(() => {
|
|
|
53601
53868
|
});
|
|
53602
53869
|
|
|
53603
53870
|
// src/mcp-server/tools/universalSupportedTokens.ts
|
|
53604
|
-
var
|
|
53871
|
+
var args75, tool$universalSupportedTokens;
|
|
53605
53872
|
var init_universalSupportedTokens2 = __esm(() => {
|
|
53606
53873
|
init_universalSupportedTokens();
|
|
53607
53874
|
init_operations();
|
|
53608
53875
|
init_tools();
|
|
53609
|
-
|
|
53876
|
+
args75 = {
|
|
53610
53877
|
request: GenericSupportedTokensRequest$inboundSchema
|
|
53611
53878
|
};
|
|
53612
53879
|
tool$universalSupportedTokens = {
|
|
@@ -53614,9 +53881,9 @@ var init_universalSupportedTokens2 = __esm(() => {
|
|
|
53614
53881
|
description: `List Supported Tokens
|
|
53615
53882
|
|
|
53616
53883
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
53617
|
-
args:
|
|
53618
|
-
tool: async (client,
|
|
53619
|
-
const [result, apiCall] = await universalSupportedTokens(client,
|
|
53884
|
+
args: args75,
|
|
53885
|
+
tool: async (client, args76, ctx) => {
|
|
53886
|
+
const [result, apiCall] = await universalSupportedTokens(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53620
53887
|
if (!result.ok) {
|
|
53621
53888
|
return {
|
|
53622
53889
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53631,9 +53898,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
|
|
|
53631
53898
|
|
|
53632
53899
|
// src/funcs/universalUnwrapWeth.ts
|
|
53633
53900
|
function universalUnwrapWeth(client, request, options) {
|
|
53634
|
-
return new APIPromise($
|
|
53901
|
+
return new APIPromise($do76(client, request, options));
|
|
53635
53902
|
}
|
|
53636
|
-
async function $
|
|
53903
|
+
async function $do76(client, request, options) {
|
|
53637
53904
|
const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53638
53905
|
if (!parsed.ok) {
|
|
53639
53906
|
return [parsed, { status: "invalid" }];
|
|
@@ -53704,12 +53971,12 @@ var init_universalUnwrapWeth = __esm(() => {
|
|
|
53704
53971
|
});
|
|
53705
53972
|
|
|
53706
53973
|
// src/mcp-server/tools/universalUnwrapWeth.ts
|
|
53707
|
-
var
|
|
53974
|
+
var args76, tool$universalUnwrapWeth;
|
|
53708
53975
|
var init_universalUnwrapWeth2 = __esm(() => {
|
|
53709
53976
|
init_universalUnwrapWeth();
|
|
53710
53977
|
init_components();
|
|
53711
53978
|
init_tools();
|
|
53712
|
-
|
|
53979
|
+
args76 = {
|
|
53713
53980
|
request: UnwrapWethRequest$inboundSchema
|
|
53714
53981
|
};
|
|
53715
53982
|
tool$universalUnwrapWeth = {
|
|
@@ -53718,9 +53985,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
|
|
|
53718
53985
|
|
|
53719
53986
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
53720
53987
|
can be used for gas and other native purposes.`,
|
|
53721
|
-
args:
|
|
53722
|
-
tool: async (client,
|
|
53723
|
-
const [result, apiCall] = await universalUnwrapWeth(client,
|
|
53988
|
+
args: args76,
|
|
53989
|
+
tool: async (client, args77, ctx) => {
|
|
53990
|
+
const [result, apiCall] = await universalUnwrapWeth(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53724
53991
|
if (!result.ok) {
|
|
53725
53992
|
return {
|
|
53726
53993
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53735,9 +54002,9 @@ can be used for gas and other native purposes.`,
|
|
|
53735
54002
|
|
|
53736
54003
|
// src/funcs/universalVisualizePortfolio.ts
|
|
53737
54004
|
function universalVisualizePortfolio(client, request, options) {
|
|
53738
|
-
return new APIPromise($
|
|
54005
|
+
return new APIPromise($do77(client, request, options));
|
|
53739
54006
|
}
|
|
53740
|
-
async function $
|
|
54007
|
+
async function $do77(client, request, options) {
|
|
53741
54008
|
const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53742
54009
|
if (!parsed.ok) {
|
|
53743
54010
|
return [parsed, { status: "invalid" }];
|
|
@@ -53813,12 +54080,12 @@ var init_universalVisualizePortfolio = __esm(() => {
|
|
|
53813
54080
|
});
|
|
53814
54081
|
|
|
53815
54082
|
// src/mcp-server/tools/universalVisualizePortfolio.ts
|
|
53816
|
-
var
|
|
54083
|
+
var args77, tool$universalVisualizePortfolio;
|
|
53817
54084
|
var init_universalVisualizePortfolio2 = __esm(() => {
|
|
53818
54085
|
init_universalVisualizePortfolio();
|
|
53819
54086
|
init_operations();
|
|
53820
54087
|
init_tools();
|
|
53821
|
-
|
|
54088
|
+
args77 = {
|
|
53822
54089
|
request: GenericVisualizePortfolioRequest$inboundSchema
|
|
53823
54090
|
};
|
|
53824
54091
|
tool$universalVisualizePortfolio = {
|
|
@@ -53830,9 +54097,9 @@ Generate a visual representation of the token portfolio for a wallet address.
|
|
|
53830
54097
|
The response is an SVG image of a pie chart depicting the relative distribution of
|
|
53831
54098
|
tokens held, colored and labeled with token symbols, percentages and token values in
|
|
53832
54099
|
USD.`,
|
|
53833
|
-
args:
|
|
53834
|
-
tool: async (client,
|
|
53835
|
-
const [result, apiCall] = await universalVisualizePortfolio(client,
|
|
54100
|
+
args: args77,
|
|
54101
|
+
tool: async (client, args78, ctx) => {
|
|
54102
|
+
const [result, apiCall] = await universalVisualizePortfolio(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53836
54103
|
if (!result.ok) {
|
|
53837
54104
|
return {
|
|
53838
54105
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53847,9 +54114,9 @@ USD.`,
|
|
|
53847
54114
|
|
|
53848
54115
|
// src/funcs/universalWrapEth.ts
|
|
53849
54116
|
function universalWrapEth(client, request, options) {
|
|
53850
|
-
return new APIPromise($
|
|
54117
|
+
return new APIPromise($do78(client, request, options));
|
|
53851
54118
|
}
|
|
53852
|
-
async function $
|
|
54119
|
+
async function $do78(client, request, options) {
|
|
53853
54120
|
const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53854
54121
|
if (!parsed.ok) {
|
|
53855
54122
|
return [parsed, { status: "invalid" }];
|
|
@@ -53920,12 +54187,12 @@ var init_universalWrapEth = __esm(() => {
|
|
|
53920
54187
|
});
|
|
53921
54188
|
|
|
53922
54189
|
// src/mcp-server/tools/universalWrapEth.ts
|
|
53923
|
-
var
|
|
54190
|
+
var args78, tool$universalWrapEth;
|
|
53924
54191
|
var init_universalWrapEth2 = __esm(() => {
|
|
53925
54192
|
init_universalWrapEth();
|
|
53926
54193
|
init_components();
|
|
53927
54194
|
init_tools();
|
|
53928
|
-
|
|
54195
|
+
args78 = {
|
|
53929
54196
|
request: WrapEthRequest$inboundSchema
|
|
53930
54197
|
};
|
|
53931
54198
|
tool$universalWrapEth = {
|
|
@@ -53934,9 +54201,9 @@ var init_universalWrapEth2 = __esm(() => {
|
|
|
53934
54201
|
|
|
53935
54202
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
53936
54203
|
it to be traded on DeFi protocols.`,
|
|
53937
|
-
args:
|
|
53938
|
-
tool: async (client,
|
|
53939
|
-
const [result, apiCall] = await universalWrapEth(client,
|
|
54204
|
+
args: args78,
|
|
54205
|
+
tool: async (client, args79, ctx) => {
|
|
54206
|
+
const [result, apiCall] = await universalWrapEth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53940
54207
|
if (!result.ok) {
|
|
53941
54208
|
return {
|
|
53942
54209
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53953,7 +54220,7 @@ it to be traded on DeFi protocols.`,
|
|
|
53953
54220
|
function createMCPServer(deps) {
|
|
53954
54221
|
const server = new McpServer({
|
|
53955
54222
|
name: "CompassApiSDK",
|
|
53956
|
-
version: "0.5.
|
|
54223
|
+
version: "0.5.48"
|
|
53957
54224
|
});
|
|
53958
54225
|
const client = new CompassApiSDKCore({
|
|
53959
54226
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -54037,6 +54304,7 @@ function createMCPServer(deps) {
|
|
|
54037
54304
|
tool(tool$pendleRedeemYield);
|
|
54038
54305
|
tool(tool$pendleAddLiquidity);
|
|
54039
54306
|
tool(tool$pendleRemoveLiquidity);
|
|
54307
|
+
tool(tool$swapOdos);
|
|
54040
54308
|
tool(tool$transactionBundlerBundlerAuthorization);
|
|
54041
54309
|
tool(tool$transactionBundlerBundlerExecute);
|
|
54042
54310
|
tool(tool$transactionBundlerBundlerAaveLoop);
|
|
@@ -54103,6 +54371,7 @@ var init_server2 = __esm(() => {
|
|
|
54103
54371
|
init_skySell2();
|
|
54104
54372
|
init_skyWithdraw2();
|
|
54105
54373
|
init_smartAccountAccountBatchedUserOperations2();
|
|
54374
|
+
init_swapOdos2();
|
|
54106
54375
|
init_tokenAddress2();
|
|
54107
54376
|
init_tokenBalance2();
|
|
54108
54377
|
init_tokenPrice2();
|
|
@@ -55323,7 +55592,7 @@ var routes = ln({
|
|
|
55323
55592
|
var app = _e(routes, {
|
|
55324
55593
|
name: "mcp",
|
|
55325
55594
|
versionInfo: {
|
|
55326
|
-
currentVersion: "0.5.
|
|
55595
|
+
currentVersion: "0.5.48"
|
|
55327
55596
|
}
|
|
55328
55597
|
});
|
|
55329
55598
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -55331,5 +55600,5 @@ export {
|
|
|
55331
55600
|
app
|
|
55332
55601
|
};
|
|
55333
55602
|
|
|
55334
|
-
//# debugId=
|
|
55603
|
+
//# debugId=3A3B84022CAEF87C64756E2164756E21
|
|
55335
55604
|
//# sourceMappingURL=mcp-server.js.map
|