@compass-labs/api-sdk 0.5.48 → 0.5.50

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.
Files changed (150) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +10 -6
  3. package/bin/mcp-server.js +916 -552
  4. package/bin/mcp-server.js.map +18 -8
  5. package/dist/commonjs/funcs/aaveV3AaveSupportedTokens.d.ts +25 -0
  6. package/dist/commonjs/funcs/aaveV3AaveSupportedTokens.d.ts.map +1 -0
  7. package/dist/commonjs/funcs/aaveV3AaveSupportedTokens.js +129 -0
  8. package/dist/commonjs/funcs/aaveV3AaveSupportedTokens.js.map +1 -0
  9. package/dist/commonjs/funcs/universalSupportedChains.d.ts +19 -0
  10. package/dist/commonjs/funcs/universalSupportedChains.d.ts.map +1 -0
  11. package/dist/commonjs/funcs/universalSupportedChains.js +122 -0
  12. package/dist/commonjs/funcs/universalSupportedChains.js.map +1 -0
  13. package/dist/commonjs/lib/config.d.ts +2 -2
  14. package/dist/commonjs/lib/config.js +2 -2
  15. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  16. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  17. package/dist/commonjs/mcp-server/server.js +5 -1
  18. package/dist/commonjs/mcp-server/server.js.map +1 -1
  19. package/dist/commonjs/mcp-server/tools/aaveV3AaveSupportedTokens.d.ts +8 -0
  20. package/dist/commonjs/mcp-server/tools/aaveV3AaveSupportedTokens.d.ts.map +1 -0
  21. package/dist/commonjs/mcp-server/tools/aaveV3AaveSupportedTokens.js +70 -0
  22. package/dist/commonjs/mcp-server/tools/aaveV3AaveSupportedTokens.js.map +1 -0
  23. package/dist/commonjs/mcp-server/tools/universalSupportedChains.d.ts +8 -0
  24. package/dist/commonjs/mcp-server/tools/universalSupportedChains.d.ts.map +1 -0
  25. package/dist/commonjs/mcp-server/tools/universalSupportedChains.js +64 -0
  26. package/dist/commonjs/mcp-server/tools/universalSupportedChains.js.map +1 -0
  27. package/dist/commonjs/models/components/aavesupportedtokenmetadata.d.ts +47 -0
  28. package/dist/commonjs/models/components/aavesupportedtokenmetadata.d.ts.map +1 -0
  29. package/dist/commonjs/models/components/aavesupportedtokenmetadata.js +86 -0
  30. package/dist/commonjs/models/components/aavesupportedtokenmetadata.js.map +1 -0
  31. package/dist/commonjs/models/components/aavesupportedtokensresponse.d.ts +33 -0
  32. package/dist/commonjs/models/components/aavesupportedtokensresponse.d.ts.map +1 -0
  33. package/dist/commonjs/models/components/aavesupportedtokensresponse.js +70 -0
  34. package/dist/commonjs/models/components/aavesupportedtokensresponse.js.map +1 -0
  35. package/dist/commonjs/models/components/index.d.ts +4 -0
  36. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/index.js +4 -0
  38. package/dist/commonjs/models/components/index.js.map +1 -1
  39. package/dist/commonjs/models/components/protocol.d.ts +40 -0
  40. package/dist/commonjs/models/components/protocol.d.ts.map +1 -0
  41. package/dist/commonjs/models/components/protocol.js +65 -0
  42. package/dist/commonjs/models/components/protocol.js.map +1 -0
  43. package/dist/commonjs/models/components/supportedchaininfo.d.ts +33 -0
  44. package/dist/commonjs/models/components/supportedchaininfo.d.ts.map +1 -0
  45. package/dist/commonjs/models/components/supportedchaininfo.js +70 -0
  46. package/dist/commonjs/models/components/supportedchaininfo.js.map +1 -0
  47. package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts +72 -0
  48. package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts.map +1 -0
  49. package/dist/commonjs/models/operations/aaveaavesupportedtokens.js +94 -0
  50. package/dist/commonjs/models/operations/aaveaavesupportedtokens.js.map +1 -0
  51. package/dist/commonjs/models/operations/genericsupportedchains.d.ts +33 -0
  52. package/dist/commonjs/models/operations/genericsupportedchains.d.ts.map +1 -0
  53. package/dist/commonjs/models/operations/genericsupportedchains.js +70 -0
  54. package/dist/commonjs/models/operations/genericsupportedchains.js.map +1 -0
  55. package/dist/commonjs/models/operations/index.d.ts +2 -0
  56. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  57. package/dist/commonjs/models/operations/index.js +2 -0
  58. package/dist/commonjs/models/operations/index.js.map +1 -1
  59. package/dist/commonjs/sdk/aavev3.d.ts +13 -0
  60. package/dist/commonjs/sdk/aavev3.d.ts.map +1 -1
  61. package/dist/commonjs/sdk/aavev3.js +16 -0
  62. package/dist/commonjs/sdk/aavev3.js.map +1 -1
  63. package/dist/commonjs/sdk/universal.d.ts +7 -0
  64. package/dist/commonjs/sdk/universal.d.ts.map +1 -1
  65. package/dist/commonjs/sdk/universal.js +10 -0
  66. package/dist/commonjs/sdk/universal.js.map +1 -1
  67. package/dist/esm/funcs/aaveV3AaveSupportedTokens.d.ts +25 -0
  68. package/dist/esm/funcs/aaveV3AaveSupportedTokens.d.ts.map +1 -0
  69. package/dist/esm/funcs/aaveV3AaveSupportedTokens.js +93 -0
  70. package/dist/esm/funcs/aaveV3AaveSupportedTokens.js.map +1 -0
  71. package/dist/esm/funcs/universalSupportedChains.d.ts +19 -0
  72. package/dist/esm/funcs/universalSupportedChains.d.ts.map +1 -0
  73. package/dist/esm/funcs/universalSupportedChains.js +86 -0
  74. package/dist/esm/funcs/universalSupportedChains.js.map +1 -0
  75. package/dist/esm/lib/config.d.ts +2 -2
  76. package/dist/esm/lib/config.js +2 -2
  77. package/dist/esm/mcp-server/mcp-server.js +1 -1
  78. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  79. package/dist/esm/mcp-server/server.js +5 -1
  80. package/dist/esm/mcp-server/server.js.map +1 -1
  81. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.d.ts +8 -0
  82. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.d.ts.map +1 -0
  83. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.js +34 -0
  84. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.js.map +1 -0
  85. package/dist/esm/mcp-server/tools/universalSupportedChains.d.ts +8 -0
  86. package/dist/esm/mcp-server/tools/universalSupportedChains.d.ts.map +1 -0
  87. package/dist/esm/mcp-server/tools/universalSupportedChains.js +28 -0
  88. package/dist/esm/mcp-server/tools/universalSupportedChains.js.map +1 -0
  89. package/dist/esm/models/components/aavesupportedtokenmetadata.d.ts +47 -0
  90. package/dist/esm/models/components/aavesupportedtokenmetadata.d.ts.map +1 -0
  91. package/dist/esm/models/components/aavesupportedtokenmetadata.js +48 -0
  92. package/dist/esm/models/components/aavesupportedtokenmetadata.js.map +1 -0
  93. package/dist/esm/models/components/aavesupportedtokensresponse.d.ts +33 -0
  94. package/dist/esm/models/components/aavesupportedtokensresponse.d.ts.map +1 -0
  95. package/dist/esm/models/components/aavesupportedtokensresponse.js +32 -0
  96. package/dist/esm/models/components/aavesupportedtokensresponse.js.map +1 -0
  97. package/dist/esm/models/components/index.d.ts +4 -0
  98. package/dist/esm/models/components/index.d.ts.map +1 -1
  99. package/dist/esm/models/components/index.js +4 -0
  100. package/dist/esm/models/components/index.js.map +1 -1
  101. package/dist/esm/models/components/protocol.d.ts +40 -0
  102. package/dist/esm/models/components/protocol.d.ts.map +1 -0
  103. package/dist/esm/models/components/protocol.js +29 -0
  104. package/dist/esm/models/components/protocol.js.map +1 -0
  105. package/dist/esm/models/components/supportedchaininfo.d.ts +33 -0
  106. package/dist/esm/models/components/supportedchaininfo.d.ts.map +1 -0
  107. package/dist/esm/models/components/supportedchaininfo.js +32 -0
  108. package/dist/esm/models/components/supportedchaininfo.js.map +1 -0
  109. package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts +72 -0
  110. package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts.map +1 -0
  111. package/dist/esm/models/operations/aaveaavesupportedtokens.js +56 -0
  112. package/dist/esm/models/operations/aaveaavesupportedtokens.js.map +1 -0
  113. package/dist/esm/models/operations/genericsupportedchains.d.ts +33 -0
  114. package/dist/esm/models/operations/genericsupportedchains.d.ts.map +1 -0
  115. package/dist/esm/models/operations/genericsupportedchains.js +32 -0
  116. package/dist/esm/models/operations/genericsupportedchains.js.map +1 -0
  117. package/dist/esm/models/operations/index.d.ts +2 -0
  118. package/dist/esm/models/operations/index.d.ts.map +1 -1
  119. package/dist/esm/models/operations/index.js +2 -0
  120. package/dist/esm/models/operations/index.js.map +1 -1
  121. package/dist/esm/sdk/aavev3.d.ts +13 -0
  122. package/dist/esm/sdk/aavev3.d.ts.map +1 -1
  123. package/dist/esm/sdk/aavev3.js +16 -0
  124. package/dist/esm/sdk/aavev3.js.map +1 -1
  125. package/dist/esm/sdk/universal.d.ts +7 -0
  126. package/dist/esm/sdk/universal.d.ts.map +1 -1
  127. package/dist/esm/sdk/universal.js +10 -0
  128. package/dist/esm/sdk/universal.js.map +1 -1
  129. package/docs/sdks/aavev3/README.md +76 -0
  130. package/docs/sdks/universal/README.md +70 -0
  131. package/examples/{aaveV3Rate.example.ts → aaveV3AaveSupportedTokens.example.ts} +2 -2
  132. package/jsr.json +1 -1
  133. package/package.json +1 -1
  134. package/src/funcs/aaveV3AaveSupportedTokens.ts +182 -0
  135. package/src/funcs/universalSupportedChains.ts +175 -0
  136. package/src/lib/config.ts +2 -2
  137. package/src/mcp-server/mcp-server.ts +1 -1
  138. package/src/mcp-server/server.ts +5 -1
  139. package/src/mcp-server/tools/aaveV3AaveSupportedTokens.ts +43 -0
  140. package/src/mcp-server/tools/universalSupportedChains.ts +37 -0
  141. package/src/models/components/aavesupportedtokenmetadata.ts +101 -0
  142. package/src/models/components/aavesupportedtokensresponse.ts +77 -0
  143. package/src/models/components/index.ts +4 -0
  144. package/src/models/components/protocol.ts +35 -0
  145. package/src/models/components/supportedchaininfo.ts +70 -0
  146. package/src/models/operations/aaveaavesupportedtokens.ts +117 -0
  147. package/src/models/operations/genericsupportedchains.ts +72 -0
  148. package/src/models/operations/index.ts +2 -0
  149. package/src/sdk/aavev3.ts +24 -0
  150. package/src/sdk/universal.ts +18 -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.48",
34267
+ sdkVersion: "0.5.50",
34268
34268
  genVersion: "2.657.1",
34269
- userAgent: "speakeasy-sdk/typescript 0.5.48 2.657.1 0.0.1 @compass-labs/api-sdk"
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.50 2.657.1 0.0.1 @compass-labs/api-sdk"
34270
34270
  };
34271
34271
  });
34272
34272
 
@@ -36737,6 +36737,56 @@ var init_aavesupplyrequest = __esm(() => {
36737
36737
  })(AaveSupplyRequest$ ||= {});
36738
36738
  });
36739
36739
 
36740
+ // src/models/components/aavesupportedtokenmetadata.ts
36741
+ var AaveSupportedTokenMetadata$inboundSchema, AaveSupportedTokenMetadata$outboundSchema, AaveSupportedTokenMetadata$;
36742
+ var init_aavesupportedtokenmetadata = __esm(() => {
36743
+ init_zod();
36744
+ init_primitives();
36745
+ AaveSupportedTokenMetadata$inboundSchema = objectType({
36746
+ symbol: stringType(),
36747
+ address: stringType(),
36748
+ supplying_enabled: booleanType(),
36749
+ borrowing_enabled: booleanType()
36750
+ }).transform((v2) => {
36751
+ return remap(v2, {
36752
+ supplying_enabled: "supplyingEnabled",
36753
+ borrowing_enabled: "borrowingEnabled"
36754
+ });
36755
+ });
36756
+ AaveSupportedTokenMetadata$outboundSchema = objectType({
36757
+ symbol: stringType(),
36758
+ address: stringType(),
36759
+ supplyingEnabled: booleanType(),
36760
+ borrowingEnabled: booleanType()
36761
+ }).transform((v2) => {
36762
+ return remap(v2, {
36763
+ supplyingEnabled: "supplying_enabled",
36764
+ borrowingEnabled: "borrowing_enabled"
36765
+ });
36766
+ });
36767
+ ((AaveSupportedTokenMetadata$) => {
36768
+ AaveSupportedTokenMetadata$.inboundSchema = AaveSupportedTokenMetadata$inboundSchema;
36769
+ AaveSupportedTokenMetadata$.outboundSchema = AaveSupportedTokenMetadata$outboundSchema;
36770
+ })(AaveSupportedTokenMetadata$ ||= {});
36771
+ });
36772
+
36773
+ // src/models/components/aavesupportedtokensresponse.ts
36774
+ var AaveSupportedTokensResponse$inboundSchema, AaveSupportedTokensResponse$outboundSchema, AaveSupportedTokensResponse$;
36775
+ var init_aavesupportedtokensresponse = __esm(() => {
36776
+ init_zod();
36777
+ init_aavesupportedtokenmetadata();
36778
+ AaveSupportedTokensResponse$inboundSchema = objectType({
36779
+ tokens: arrayType(AaveSupportedTokenMetadata$inboundSchema)
36780
+ });
36781
+ AaveSupportedTokensResponse$outboundSchema = objectType({
36782
+ tokens: arrayType(AaveSupportedTokenMetadata$outboundSchema)
36783
+ });
36784
+ ((AaveSupportedTokensResponse$) => {
36785
+ AaveSupportedTokensResponse$.inboundSchema = AaveSupportedTokensResponse$inboundSchema;
36786
+ AaveSupportedTokensResponse$.outboundSchema = AaveSupportedTokensResponse$outboundSchema;
36787
+ })(AaveSupportedTokensResponse$ ||= {});
36788
+ });
36789
+
36740
36790
  // src/models/components/aavetokenpriceresponse.ts
36741
36791
  var AaveTokenPriceResponse$inboundSchema, AaveTokenPriceResponse$outboundSchema, AaveTokenPriceResponse$;
36742
36792
  var init_aavetokenpriceresponse = __esm(() => {
@@ -41519,6 +41569,26 @@ var init_portfolio = __esm(() => {
41519
41569
  })(Portfolio$ ||= {});
41520
41570
  });
41521
41571
 
41572
+ // src/models/components/protocol.ts
41573
+ var Protocol2, Protocol$inboundSchema, Protocol$outboundSchema, Protocol$;
41574
+ var init_protocol2 = __esm(() => {
41575
+ init_zod();
41576
+ Protocol2 = {
41577
+ Aave: "aave",
41578
+ Aerodrome: "aerodrome",
41579
+ Morpho: "morpho",
41580
+ Sky: "sky",
41581
+ Uniswap: "uniswap",
41582
+ Pendle: "pendle"
41583
+ };
41584
+ Protocol$inboundSchema = nativeEnumType(Protocol2);
41585
+ Protocol$outboundSchema = Protocol$inboundSchema;
41586
+ ((Protocol$) => {
41587
+ Protocol$.inboundSchema = Protocol$inboundSchema;
41588
+ Protocol$.outboundSchema = Protocol$outboundSchema;
41589
+ })(Protocol$ ||= {});
41590
+ });
41591
+
41522
41592
  // src/models/components/security.ts
41523
41593
  var Security$inboundSchema, Security$outboundSchema, Security$;
41524
41594
  var init_security2 = __esm(() => {
@@ -41826,6 +41896,23 @@ var init_skywithdrawrequest = __esm(() => {
41826
41896
  })(SkyWithdrawRequest$ ||= {});
41827
41897
  });
41828
41898
 
41899
+ // src/models/components/supportedchaininfo.ts
41900
+ var SupportedChainInfo$inboundSchema, SupportedChainInfo$outboundSchema, SupportedChainInfo$;
41901
+ var init_supportedchaininfo = __esm(() => {
41902
+ init_zod();
41903
+ init_chain();
41904
+ SupportedChainInfo$inboundSchema = objectType({
41905
+ chains: arrayType(Chain$inboundSchema)
41906
+ });
41907
+ SupportedChainInfo$outboundSchema = objectType({
41908
+ chains: arrayType(Chain$outboundSchema)
41909
+ });
41910
+ ((SupportedChainInfo$) => {
41911
+ SupportedChainInfo$.inboundSchema = SupportedChainInfo$inboundSchema;
41912
+ SupportedChainInfo$.outboundSchema = SupportedChainInfo$outboundSchema;
41913
+ })(SupportedChainInfo$ ||= {});
41914
+ });
41915
+
41829
41916
  // src/models/components/tokenaddressresponse.ts
41830
41917
  var TokenAddressResponse$inboundSchema, TokenAddressResponse$outboundSchema, TokenAddressResponse$;
41831
41918
  var init_tokenaddressresponse = __esm(() => {
@@ -42783,6 +42870,8 @@ var init_components = __esm(() => {
42783
42870
  init_aavestdrateresponse();
42784
42871
  init_aavesupplyparams();
42785
42872
  init_aavesupplyrequest();
42873
+ init_aavesupportedtokenmetadata();
42874
+ init_aavesupportedtokensresponse();
42786
42875
  init_aavetokenpriceresponse();
42787
42876
  init_aaveuserpositionpertokenresponse();
42788
42877
  init_aaveuserpositionsummaryresponse();
@@ -42882,6 +42971,7 @@ var init_components = __esm(() => {
42882
42971
  init_pendlesellytrequest();
42883
42972
  init_portfolio();
42884
42973
  init_position();
42974
+ init_protocol2();
42885
42975
  init_redeemunderlying();
42886
42976
  init_repay();
42887
42977
  init_reserve();
@@ -42899,6 +42989,7 @@ var init_components = __esm(() => {
42899
42989
  init_skywithdrawparams();
42900
42990
  init_skywithdrawrequest();
42901
42991
  init_supply();
42992
+ init_supportedchaininfo();
42902
42993
  init_swapborrowrate();
42903
42994
  init_syposition();
42904
42995
  init_tokenaddressresponse();
@@ -42993,6 +43084,35 @@ var init_errors2 = __esm(() => {
42993
43084
  init_sdkvalidationerror();
42994
43085
  });
42995
43086
 
43087
+ // src/models/operations/aaveaavesupportedtokens.ts
43088
+ var AaveAaveSupportedTokensChain, AaveAaveSupportedTokensChain$inboundSchema, AaveAaveSupportedTokensChain$outboundSchema, AaveAaveSupportedTokensChain$, AaveAaveSupportedTokensRequest$inboundSchema, AaveAaveSupportedTokensRequest$outboundSchema, AaveAaveSupportedTokensRequest$;
43089
+ var init_aaveaavesupportedtokens = __esm(() => {
43090
+ init_zod();
43091
+ AaveAaveSupportedTokensChain = {
43092
+ BaseMainnet: "base:mainnet",
43093
+ EthereumMainnet: "ethereum:mainnet",
43094
+ ArbitrumMainnet: "arbitrum:mainnet"
43095
+ };
43096
+ AaveAaveSupportedTokensChain$inboundSchema = nativeEnumType(AaveAaveSupportedTokensChain);
43097
+ AaveAaveSupportedTokensChain$outboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
43098
+ ((AaveAaveSupportedTokensChain$) => {
43099
+ AaveAaveSupportedTokensChain$.inboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
43100
+ AaveAaveSupportedTokensChain$.outboundSchema = AaveAaveSupportedTokensChain$outboundSchema;
43101
+ })(AaveAaveSupportedTokensChain$ ||= {});
43102
+ AaveAaveSupportedTokensRequest$inboundSchema = objectType({
43103
+ chain: AaveAaveSupportedTokensChain$inboundSchema.default("arbitrum:mainnet"),
43104
+ block: nullableType(numberType().int()).optional()
43105
+ });
43106
+ AaveAaveSupportedTokensRequest$outboundSchema = objectType({
43107
+ chain: AaveAaveSupportedTokensChain$outboundSchema.default("arbitrum:mainnet"),
43108
+ block: nullableType(numberType().int()).optional()
43109
+ });
43110
+ ((AaveAaveSupportedTokensRequest$) => {
43111
+ AaveAaveSupportedTokensRequest$.inboundSchema = AaveAaveSupportedTokensRequest$inboundSchema;
43112
+ AaveAaveSupportedTokensRequest$.outboundSchema = AaveAaveSupportedTokensRequest$outboundSchema;
43113
+ })(AaveAaveSupportedTokensRequest$ ||= {});
43114
+ });
43115
+
42996
43116
  // src/models/operations/aaveavgrate.ts
42997
43117
  var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
42998
43118
  var init_aaveavgrate = __esm(() => {
@@ -43987,6 +44107,23 @@ var init_genericportfolio = __esm(() => {
43987
44107
  })(GenericPortfolioRequest$ ||= {});
43988
44108
  });
43989
44109
 
44110
+ // src/models/operations/genericsupportedchains.ts
44111
+ var GenericSupportedChainsRequest$inboundSchema, GenericSupportedChainsRequest$outboundSchema, GenericSupportedChainsRequest$;
44112
+ var init_genericsupportedchains = __esm(() => {
44113
+ init_zod();
44114
+ init_components();
44115
+ GenericSupportedChainsRequest$inboundSchema = objectType({
44116
+ protocol: nullableType(Protocol$inboundSchema).optional()
44117
+ });
44118
+ GenericSupportedChainsRequest$outboundSchema = objectType({
44119
+ protocol: nullableType(Protocol$outboundSchema).optional()
44120
+ });
44121
+ ((GenericSupportedChainsRequest$) => {
44122
+ GenericSupportedChainsRequest$.inboundSchema = GenericSupportedChainsRequest$inboundSchema;
44123
+ GenericSupportedChainsRequest$.outboundSchema = GenericSupportedChainsRequest$outboundSchema;
44124
+ })(GenericSupportedChainsRequest$ ||= {});
44125
+ });
44126
+
43990
44127
  // src/models/operations/genericsupportedtokens.ts
43991
44128
  var GenericSupportedTokensChain, GenericSupportedTokensChain$inboundSchema, GenericSupportedTokensChain$outboundSchema, GenericSupportedTokensChain$, GenericSupportedTokensRequest$inboundSchema, GenericSupportedTokensRequest$outboundSchema, GenericSupportedTokensRequest$;
43992
44129
  var init_genericsupportedtokens = __esm(() => {
@@ -45270,6 +45407,7 @@ var init_vaultsvault = __esm(() => {
45270
45407
 
45271
45408
  // src/models/operations/index.ts
45272
45409
  var init_operations = __esm(() => {
45410
+ init_aaveaavesupportedtokens();
45273
45411
  init_aaveavgrate();
45274
45412
  init_aavehistoricaltransactions();
45275
45413
  init_aaveliquiditychange();
@@ -45284,6 +45422,7 @@ var init_operations = __esm(() => {
45284
45422
  init_genericallowance();
45285
45423
  init_genericens();
45286
45424
  init_genericportfolio();
45425
+ init_genericsupportedchains();
45287
45426
  init_genericsupportedtokens();
45288
45427
  init_genericvisualizeportfolio();
45289
45428
  init_morphomarket2();
@@ -45334,11 +45473,125 @@ var init_async = __esm(() => {
45334
45473
  };
45335
45474
  });
45336
45475
 
45337
- // src/funcs/aaveV3AvgRate.ts
45338
- function aaveV3AvgRate(client, request, options) {
45476
+ // src/funcs/aaveV3AaveSupportedTokens.ts
45477
+ function aaveV3AaveSupportedTokens(client, request, options) {
45339
45478
  return new APIPromise($do(client, request, options));
45340
45479
  }
45341
45480
  async function $do(client, request, options) {
45481
+ const parsed = safeParse(request, (value) => AaveAaveSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
45482
+ if (!parsed.ok) {
45483
+ return [parsed, { status: "invalid" }];
45484
+ }
45485
+ const payload = parsed.value;
45486
+ const body = null;
45487
+ const path = pathToFunc("/v0/aave/aave_supported_tokens/get")();
45488
+ const query = encodeFormQuery({
45489
+ block: payload.block,
45490
+ chain: payload.chain
45491
+ });
45492
+ const headers = new Headers(compactMap({
45493
+ Accept: "application/json"
45494
+ }));
45495
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45496
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45497
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45498
+ const context = {
45499
+ options: client._options,
45500
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45501
+ operationID: "aave_aave_supported_tokens",
45502
+ oAuth2Scopes: [],
45503
+ resolvedSecurity: requestSecurity,
45504
+ securitySource: client._options.apiKeyAuth,
45505
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45506
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45507
+ };
45508
+ const requestRes = client._createRequest(context, {
45509
+ security: requestSecurity,
45510
+ method: "GET",
45511
+ baseURL: options?.serverURL,
45512
+ path,
45513
+ headers,
45514
+ query,
45515
+ body,
45516
+ userAgent: client._options.userAgent,
45517
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45518
+ }, options);
45519
+ if (!requestRes.ok) {
45520
+ return [requestRes, { status: "invalid" }];
45521
+ }
45522
+ const req = requestRes.value;
45523
+ const doResult = await client._do(req, {
45524
+ context,
45525
+ errorCodes: ["422", "4XX", "5XX"],
45526
+ retryConfig: context.retryConfig,
45527
+ retryCodes: context.retryCodes
45528
+ });
45529
+ if (!doResult.ok) {
45530
+ return [doResult, { status: "request-error", request: req }];
45531
+ }
45532
+ const response = doResult.value;
45533
+ const responseFields = {
45534
+ HttpMeta: { Response: response, Request: req }
45535
+ };
45536
+ const [result] = await match(json(200, AaveSupportedTokensResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
45537
+ if (!result.ok) {
45538
+ return [result, { status: "complete", request: req, response }];
45539
+ }
45540
+ return [result, { status: "complete", request: req, response }];
45541
+ }
45542
+ var init_aaveV3AaveSupportedTokens = __esm(() => {
45543
+ init_encodings();
45544
+ init_matchers();
45545
+ init_primitives();
45546
+ init_schemas();
45547
+ init_security();
45548
+ init_url();
45549
+ init_components();
45550
+ init_errors2();
45551
+ init_operations();
45552
+ init_async();
45553
+ });
45554
+
45555
+ // src/mcp-server/tools/aaveV3AaveSupportedTokens.ts
45556
+ var args, tool$aaveV3AaveSupportedTokens;
45557
+ var init_aaveV3AaveSupportedTokens2 = __esm(() => {
45558
+ init_aaveV3AaveSupportedTokens();
45559
+ init_operations();
45560
+ init_tools();
45561
+ args = {
45562
+ request: AaveAaveSupportedTokensRequest$inboundSchema
45563
+ };
45564
+ tool$aaveV3AaveSupportedTokens = {
45565
+ name: "aave-v3-aave-supported-tokens",
45566
+ description: `Aave Supported Tokens
45567
+
45568
+ Returns the list of supported tokens on Aave for the specified network, along
45569
+ with key metadata.
45570
+
45571
+ For each token, the response includes:
45572
+ - The symbol and contract address.
45573
+ - Whether the token is currently enabled for supplying (depositing).
45574
+ - Whether it is enabled for borrowing.`,
45575
+ args,
45576
+ tool: async (client, args2, ctx) => {
45577
+ const [result, apiCall] = await aaveV3AaveSupportedTokens(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45578
+ if (!result.ok) {
45579
+ return {
45580
+ content: [{ type: "text", text: result.error.message }],
45581
+ isError: true
45582
+ };
45583
+ }
45584
+ const value = result.value;
45585
+ return formatResult(value, apiCall);
45586
+ }
45587
+ };
45588
+ });
45589
+
45590
+ // src/funcs/aaveV3AvgRate.ts
45591
+ function aaveV3AvgRate(client, request, options) {
45592
+ return new APIPromise($do2(client, request, options));
45593
+ }
45594
+ async function $do2(client, request, options) {
45342
45595
  const parsed = safeParse(request, (value) => AaveAvgRateRequest$outboundSchema.parse(value), "Input validation failed");
45343
45596
  if (!parsed.ok) {
45344
45597
  return [parsed, { status: "invalid" }];
@@ -45416,12 +45669,12 @@ var init_aaveV3AvgRate = __esm(() => {
45416
45669
  });
45417
45670
 
45418
45671
  // src/mcp-server/tools/aaveV3AvgRate.ts
45419
- var args, tool$aaveV3AvgRate;
45672
+ var args2, tool$aaveV3AvgRate;
45420
45673
  var init_aaveV3AvgRate2 = __esm(() => {
45421
45674
  init_aaveV3AvgRate();
45422
45675
  init_operations();
45423
45676
  init_tools();
45424
- args = {
45677
+ args2 = {
45425
45678
  request: AaveAvgRateRequest$inboundSchema
45426
45679
  };
45427
45680
  tool$aaveV3AvgRate = {
@@ -45429,9 +45682,9 @@ var init_aaveV3AvgRate2 = __esm(() => {
45429
45682
  description: `Interest Rates: Time Average
45430
45683
 
45431
45684
  Provides time-weighted averages of deposit and borrow rates for Aave reserves.`,
45432
- args,
45433
- tool: async (client, args2, ctx) => {
45434
- const [result, apiCall] = await aaveV3AvgRate(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45685
+ args: args2,
45686
+ tool: async (client, args3, ctx) => {
45687
+ const [result, apiCall] = await aaveV3AvgRate(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45435
45688
  if (!result.ok) {
45436
45689
  return {
45437
45690
  content: [{ type: "text", text: result.error.message }],
@@ -45446,9 +45699,9 @@ Provides time-weighted averages of deposit and borrow rates for Aave reserves.`,
45446
45699
 
45447
45700
  // src/funcs/aaveV3Borrow.ts
45448
45701
  function aaveV3Borrow(client, request, options) {
45449
- return new APIPromise($do2(client, request, options));
45702
+ return new APIPromise($do3(client, request, options));
45450
45703
  }
45451
- async function $do2(client, request, options) {
45704
+ async function $do3(client, request, options) {
45452
45705
  const parsed = safeParse(request, (value) => AaveBorrowRequest$outboundSchema.parse(value), "Input validation failed");
45453
45706
  if (!parsed.ok) {
45454
45707
  return [parsed, { status: "invalid" }];
@@ -45519,12 +45772,12 @@ var init_aaveV3Borrow = __esm(() => {
45519
45772
  });
45520
45773
 
45521
45774
  // src/mcp-server/tools/aaveV3Borrow.ts
45522
- var args2, tool$aaveV3Borrow;
45775
+ var args3, tool$aaveV3Borrow;
45523
45776
  var init_aaveV3Borrow2 = __esm(() => {
45524
45777
  init_aaveV3Borrow();
45525
45778
  init_components();
45526
45779
  init_tools();
45527
- args2 = {
45780
+ args3 = {
45528
45781
  request: AaveBorrowRequest$inboundSchema
45529
45782
  };
45530
45783
  tool$aaveV3Borrow = {
@@ -45543,9 +45796,9 @@ liquidated, if the borrow position becomes unhealthy.
45543
45796
  - \`AaveV3Pool\`
45544
45797
  </Info>
45545
45798
  `,
45546
- args: args2,
45547
- tool: async (client, args3, ctx) => {
45548
- const [result, apiCall] = await aaveV3Borrow(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45799
+ args: args3,
45800
+ tool: async (client, args4, ctx) => {
45801
+ const [result, apiCall] = await aaveV3Borrow(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45549
45802
  if (!result.ok) {
45550
45803
  return {
45551
45804
  content: [{ type: "text", text: result.error.message }],
@@ -45560,9 +45813,9 @@ liquidated, if the borrow position becomes unhealthy.
45560
45813
 
45561
45814
  // src/funcs/aaveV3HistoricalTransactions.ts
45562
45815
  function aaveV3HistoricalTransactions(client, request, options) {
45563
- return new APIPromise($do3(client, request, options));
45816
+ return new APIPromise($do4(client, request, options));
45564
45817
  }
45565
- async function $do3(client, request, options) {
45818
+ async function $do4(client, request, options) {
45566
45819
  const parsed = safeParse(request, (value) => AaveHistoricalTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
45567
45820
  if (!parsed.ok) {
45568
45821
  return [parsed, { status: "invalid" }];
@@ -45640,12 +45893,12 @@ var init_aaveV3HistoricalTransactions = __esm(() => {
45640
45893
  });
45641
45894
 
45642
45895
  // src/mcp-server/tools/aaveV3HistoricalTransactions.ts
45643
- var args3, tool$aaveV3HistoricalTransactions;
45896
+ var args4, tool$aaveV3HistoricalTransactions;
45644
45897
  var init_aaveV3HistoricalTransactions2 = __esm(() => {
45645
45898
  init_aaveV3HistoricalTransactions();
45646
45899
  init_operations();
45647
45900
  init_tools();
45648
- args3 = {
45901
+ args4 = {
45649
45902
  request: AaveHistoricalTransactionsRequest$inboundSchema
45650
45903
  };
45651
45904
  tool$aaveV3HistoricalTransactions = {
@@ -45658,9 +45911,9 @@ It returns a list of transactions including deposits, withdrawals, borrows, and
45658
45911
  repayments. Each transaction includes details such as the token, amount, timestamp,
45659
45912
  and transaction type. This provides a comprehensive view of the user's historical
45660
45913
  activity within the AAVE protocol.`,
45661
- args: args3,
45662
- tool: async (client, args4, ctx) => {
45663
- const [result, apiCall] = await aaveV3HistoricalTransactions(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45914
+ args: args4,
45915
+ tool: async (client, args5, ctx) => {
45916
+ const [result, apiCall] = await aaveV3HistoricalTransactions(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45664
45917
  if (!result.ok) {
45665
45918
  return {
45666
45919
  content: [{ type: "text", text: result.error.message }],
@@ -45675,9 +45928,9 @@ activity within the AAVE protocol.`,
45675
45928
 
45676
45929
  // src/funcs/aaveV3LiquidityChange.ts
45677
45930
  function aaveV3LiquidityChange(client, request, options) {
45678
- return new APIPromise($do4(client, request, options));
45931
+ return new APIPromise($do5(client, request, options));
45679
45932
  }
45680
- async function $do4(client, request, options) {
45933
+ async function $do5(client, request, options) {
45681
45934
  const parsed = safeParse(request, (value) => AaveLiquidityChangeRequest$outboundSchema.parse(value), "Input validation failed");
45682
45935
  if (!parsed.ok) {
45683
45936
  return [parsed, { status: "invalid" }];
@@ -45755,12 +46008,12 @@ var init_aaveV3LiquidityChange = __esm(() => {
45755
46008
  });
45756
46009
 
45757
46010
  // src/mcp-server/tools/aaveV3LiquidityChange.ts
45758
- var args4, tool$aaveV3LiquidityChange;
46011
+ var args5, tool$aaveV3LiquidityChange;
45759
46012
  var init_aaveV3LiquidityChange2 = __esm(() => {
45760
46013
  init_aaveV3LiquidityChange();
45761
46014
  init_operations();
45762
46015
  init_tools();
45763
- args4 = {
46016
+ args5 = {
45764
46017
  request: AaveLiquidityChangeRequest$inboundSchema
45765
46018
  };
45766
46019
  tool$aaveV3LiquidityChange = {
@@ -45778,9 +46031,9 @@ at the start block, a positive liquidity index change will represent accrued
45778
46031
  interest and a profit. If tokens were borrowed at the start block, this debt will
45779
46032
  increase, compound on itself and represent large debt. The reverse in both cases is
45780
46033
  true if the liquidity index is negative.`,
45781
- args: args4,
45782
- tool: async (client, args5, ctx) => {
45783
- const [result, apiCall] = await aaveV3LiquidityChange(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46034
+ args: args5,
46035
+ tool: async (client, args6, ctx) => {
46036
+ const [result, apiCall] = await aaveV3LiquidityChange(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45784
46037
  if (!result.ok) {
45785
46038
  return {
45786
46039
  content: [{ type: "text", text: result.error.message }],
@@ -45795,9 +46048,9 @@ true if the liquidity index is negative.`,
45795
46048
 
45796
46049
  // src/funcs/aaveV3Rate.ts
45797
46050
  function aaveV3Rate(client, request, options) {
45798
- return new APIPromise($do5(client, request, options));
46051
+ return new APIPromise($do6(client, request, options));
45799
46052
  }
45800
- async function $do5(client, request, options) {
46053
+ async function $do6(client, request, options) {
45801
46054
  const parsed = safeParse(request, (value) => AaveRateRequest$outboundSchema.parse(value), "Input validation failed");
45802
46055
  if (!parsed.ok) {
45803
46056
  return [parsed, { status: "invalid" }];
@@ -45874,12 +46127,12 @@ var init_aaveV3Rate = __esm(() => {
45874
46127
  });
45875
46128
 
45876
46129
  // src/mcp-server/tools/aaveV3Rate.ts
45877
- var args5, tool$aaveV3Rate;
46130
+ var args6, tool$aaveV3Rate;
45878
46131
  var init_aaveV3Rate2 = __esm(() => {
45879
46132
  init_aaveV3Rate();
45880
46133
  init_operations();
45881
46134
  init_tools();
45882
- args5 = {
46135
+ args6 = {
45883
46136
  request: AaveRateRequest$inboundSchema
45884
46137
  };
45885
46138
  tool$aaveV3Rate = {
@@ -45900,9 +46153,9 @@ blockchain every time this endpoint is called.
45900
46153
  compounding).
45901
46154
 
45902
46155
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.`,
45903
- args: args5,
45904
- tool: async (client, args6, ctx) => {
45905
- const [result, apiCall] = await aaveV3Rate(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46156
+ args: args6,
46157
+ tool: async (client, args7, ctx) => {
46158
+ const [result, apiCall] = await aaveV3Rate(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45906
46159
  if (!result.ok) {
45907
46160
  return {
45908
46161
  content: [{ type: "text", text: result.error.message }],
@@ -45917,9 +46170,9 @@ For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.`
45917
46170
 
45918
46171
  // src/funcs/aaveV3Repay.ts
45919
46172
  function aaveV3Repay(client, request, options) {
45920
- return new APIPromise($do6(client, request, options));
46173
+ return new APIPromise($do7(client, request, options));
45921
46174
  }
45922
- async function $do6(client, request, options) {
46175
+ async function $do7(client, request, options) {
45923
46176
  const parsed = safeParse(request, (value) => AaveRepayRequest$outboundSchema.parse(value), "Input validation failed");
45924
46177
  if (!parsed.ok) {
45925
46178
  return [parsed, { status: "invalid" }];
@@ -45990,12 +46243,12 @@ var init_aaveV3Repay = __esm(() => {
45990
46243
  });
45991
46244
 
45992
46245
  // src/mcp-server/tools/aaveV3Repay.ts
45993
- var args6, tool$aaveV3Repay;
46246
+ var args7, tool$aaveV3Repay;
45994
46247
  var init_aaveV3Repay2 = __esm(() => {
45995
46248
  init_aaveV3Repay();
45996
46249
  init_components();
45997
46250
  init_tools();
45998
- args6 = {
46251
+ args7 = {
45999
46252
  request: AaveRepayRequest$inboundSchema
46000
46253
  };
46001
46254
  tool$aaveV3Repay = {
@@ -46018,9 +46271,9 @@ including the amount and the asset to be repaid.
46018
46271
  - \`AaveV3Pool\`
46019
46272
  </Info>
46020
46273
  `,
46021
- args: args6,
46022
- tool: async (client, args7, ctx) => {
46023
- const [result, apiCall] = await aaveV3Repay(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46274
+ args: args7,
46275
+ tool: async (client, args8, ctx) => {
46276
+ const [result, apiCall] = await aaveV3Repay(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46024
46277
  if (!result.ok) {
46025
46278
  return {
46026
46279
  content: [{ type: "text", text: result.error.message }],
@@ -46035,9 +46288,9 @@ including the amount and the asset to be repaid.
46035
46288
 
46036
46289
  // src/funcs/aaveV3ReserveOverview.ts
46037
46290
  function aaveV3ReserveOverview(client, request, options) {
46038
- return new APIPromise($do7(client, request, options));
46291
+ return new APIPromise($do8(client, request, options));
46039
46292
  }
46040
- async function $do7(client, request, options) {
46293
+ async function $do8(client, request, options) {
46041
46294
  const parsed = safeParse(request, (value) => AaveReserveOverviewRequest$outboundSchema.parse(value), "Input validation failed");
46042
46295
  if (!parsed.ok) {
46043
46296
  return [parsed, { status: "invalid" }];
@@ -46114,12 +46367,12 @@ var init_aaveV3ReserveOverview = __esm(() => {
46114
46367
  });
46115
46368
 
46116
46369
  // src/mcp-server/tools/aaveV3ReserveOverview.ts
46117
- var args7, tool$aaveV3ReserveOverview;
46370
+ var args8, tool$aaveV3ReserveOverview;
46118
46371
  var init_aaveV3ReserveOverview2 = __esm(() => {
46119
46372
  init_aaveV3ReserveOverview();
46120
46373
  init_operations();
46121
46374
  init_tools();
46122
- args7 = {
46375
+ args8 = {
46123
46376
  request: AaveReserveOverviewRequest$inboundSchema
46124
46377
  };
46125
46378
  tool$aaveV3ReserveOverview = {
@@ -46132,9 +46385,9 @@ Returns key metrics for Aave Reserves:
46132
46385
  - Utilization Ratio
46133
46386
 
46134
46387
  See below for more info:`,
46135
- args: args7,
46136
- tool: async (client, args8, ctx) => {
46137
- const [result, apiCall] = await aaveV3ReserveOverview(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46388
+ args: args8,
46389
+ tool: async (client, args9, ctx) => {
46390
+ const [result, apiCall] = await aaveV3ReserveOverview(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46138
46391
  if (!result.ok) {
46139
46392
  return {
46140
46393
  content: [{ type: "text", text: result.error.message }],
@@ -46149,9 +46402,9 @@ See below for more info:`,
46149
46402
 
46150
46403
  // src/funcs/aaveV3StdRate.ts
46151
46404
  function aaveV3StdRate(client, request, options) {
46152
- return new APIPromise($do8(client, request, options));
46405
+ return new APIPromise($do9(client, request, options));
46153
46406
  }
46154
- async function $do8(client, request, options) {
46407
+ async function $do9(client, request, options) {
46155
46408
  const parsed = safeParse(request, (value) => AaveStdRateRequest$outboundSchema.parse(value), "Input validation failed");
46156
46409
  if (!parsed.ok) {
46157
46410
  return [parsed, { status: "invalid" }];
@@ -46229,12 +46482,12 @@ var init_aaveV3StdRate = __esm(() => {
46229
46482
  });
46230
46483
 
46231
46484
  // src/mcp-server/tools/aaveV3StdRate.ts
46232
- var args8, tool$aaveV3StdRate;
46485
+ var args9, tool$aaveV3StdRate;
46233
46486
  var init_aaveV3StdRate2 = __esm(() => {
46234
46487
  init_aaveV3StdRate();
46235
46488
  init_operations();
46236
46489
  init_tools();
46237
- args8 = {
46490
+ args9 = {
46238
46491
  request: AaveStdRateRequest$inboundSchema
46239
46492
  };
46240
46493
  tool$aaveV3StdRate = {
@@ -46243,9 +46496,9 @@ var init_aaveV3StdRate2 = __esm(() => {
46243
46496
 
46244
46497
  Returns the historical standard deviation of lending and borrowing rates for Aave
46245
46498
  reserves, illustrating market volatility.`,
46246
- args: args8,
46247
- tool: async (client, args9, ctx) => {
46248
- const [result, apiCall] = await aaveV3StdRate(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46499
+ args: args9,
46500
+ tool: async (client, args10, ctx) => {
46501
+ const [result, apiCall] = await aaveV3StdRate(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46249
46502
  if (!result.ok) {
46250
46503
  return {
46251
46504
  content: [{ type: "text", text: result.error.message }],
@@ -46260,9 +46513,9 @@ reserves, illustrating market volatility.`,
46260
46513
 
46261
46514
  // src/funcs/aaveV3Supply.ts
46262
46515
  function aaveV3Supply(client, request, options) {
46263
- return new APIPromise($do9(client, request, options));
46516
+ return new APIPromise($do10(client, request, options));
46264
46517
  }
46265
- async function $do9(client, request, options) {
46518
+ async function $do10(client, request, options) {
46266
46519
  const parsed = safeParse(request, (value) => AaveSupplyRequest$outboundSchema.parse(value), "Input validation failed");
46267
46520
  if (!parsed.ok) {
46268
46521
  return [parsed, { status: "invalid" }];
@@ -46333,12 +46586,12 @@ var init_aaveV3Supply = __esm(() => {
46333
46586
  });
46334
46587
 
46335
46588
  // src/mcp-server/tools/aaveV3Supply.ts
46336
- var args9, tool$aaveV3Supply;
46589
+ var args10, tool$aaveV3Supply;
46337
46590
  var init_aaveV3Supply2 = __esm(() => {
46338
46591
  init_aaveV3Supply();
46339
46592
  init_components();
46340
46593
  init_tools();
46341
- args9 = {
46594
+ args10 = {
46342
46595
  request: AaveSupplyRequest$inboundSchema
46343
46596
  };
46344
46597
  tool$aaveV3Supply = {
@@ -46362,9 +46615,9 @@ borrowing flexibility.
46362
46615
  - \`AaveV3Pool\`
46363
46616
  </Info>
46364
46617
  `,
46365
- args: args9,
46366
- tool: async (client, args10, ctx) => {
46367
- const [result, apiCall] = await aaveV3Supply(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46618
+ args: args10,
46619
+ tool: async (client, args11, ctx) => {
46620
+ const [result, apiCall] = await aaveV3Supply(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46368
46621
  if (!result.ok) {
46369
46622
  return {
46370
46623
  content: [{ type: "text", text: result.error.message }],
@@ -46379,9 +46632,9 @@ borrowing flexibility.
46379
46632
 
46380
46633
  // src/funcs/aaveV3TokenPrice.ts
46381
46634
  function aaveV3TokenPrice(client, request, options) {
46382
- return new APIPromise($do10(client, request, options));
46635
+ return new APIPromise($do11(client, request, options));
46383
46636
  }
46384
- async function $do10(client, request, options) {
46637
+ async function $do11(client, request, options) {
46385
46638
  const parsed = safeParse(request, (value) => AaveTokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
46386
46639
  if (!parsed.ok) {
46387
46640
  return [parsed, { status: "invalid" }];
@@ -46458,12 +46711,12 @@ var init_aaveV3TokenPrice = __esm(() => {
46458
46711
  });
46459
46712
 
46460
46713
  // src/mcp-server/tools/aaveV3TokenPrice.ts
46461
- var args10, tool$aaveV3TokenPrice;
46714
+ var args11, tool$aaveV3TokenPrice;
46462
46715
  var init_aaveV3TokenPrice2 = __esm(() => {
46463
46716
  init_aaveV3TokenPrice();
46464
46717
  init_operations();
46465
46718
  init_tools();
46466
- args10 = {
46719
+ args11 = {
46467
46720
  request: AaveTokenPriceRequest$inboundSchema
46468
46721
  };
46469
46722
  tool$aaveV3TokenPrice = {
@@ -46478,9 +46731,9 @@ to-date information. The request requires the token identifier and the blockchai
46478
46731
  network (chain) on which the token resides. The response provides the token price in
46479
46732
  a standardized format, converted from Wei to the base currency decimals defined by
46480
46733
  Aave.`,
46481
- args: args10,
46482
- tool: async (client, args11, ctx) => {
46483
- const [result, apiCall] = await aaveV3TokenPrice(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46734
+ args: args11,
46735
+ tool: async (client, args12, ctx) => {
46736
+ const [result, apiCall] = await aaveV3TokenPrice(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46484
46737
  if (!result.ok) {
46485
46738
  return {
46486
46739
  content: [{ type: "text", text: result.error.message }],
@@ -46495,9 +46748,9 @@ Aave.`,
46495
46748
 
46496
46749
  // src/funcs/aaveV3UserPositionPerToken.ts
46497
46750
  function aaveV3UserPositionPerToken(client, request, options) {
46498
- return new APIPromise($do11(client, request, options));
46751
+ return new APIPromise($do12(client, request, options));
46499
46752
  }
46500
- async function $do11(client, request, options) {
46753
+ async function $do12(client, request, options) {
46501
46754
  const parsed = safeParse(request, (value) => AaveUserPositionPerTokenRequest$outboundSchema.parse(value), "Input validation failed");
46502
46755
  if (!parsed.ok) {
46503
46756
  return [parsed, { status: "invalid" }];
@@ -46575,12 +46828,12 @@ var init_aaveV3UserPositionPerToken = __esm(() => {
46575
46828
  });
46576
46829
 
46577
46830
  // src/mcp-server/tools/aaveV3UserPositionPerToken.ts
46578
- var args11, tool$aaveV3UserPositionPerToken;
46831
+ var args12, tool$aaveV3UserPositionPerToken;
46579
46832
  var init_aaveV3UserPositionPerToken2 = __esm(() => {
46580
46833
  init_aaveV3UserPositionPerToken();
46581
46834
  init_operations();
46582
46835
  init_tools();
46583
- args11 = {
46836
+ args12 = {
46584
46837
  request: AaveUserPositionPerTokenRequest$inboundSchema
46585
46838
  };
46586
46839
  tool$aaveV3UserPositionPerToken = {
@@ -46596,9 +46849,9 @@ stable borrow rate, stable borrow rate for new loans, variable borrow rate, and
46596
46849
  liquidity rate. These metrics are calculated by aggregating data across all open
46597
46850
  positions held by the user for the specified token, offering a detailed view of
46598
46851
  their financial standing within the AAVE ecosystem.`,
46599
- args: args11,
46600
- tool: async (client, args12, ctx) => {
46601
- const [result, apiCall] = await aaveV3UserPositionPerToken(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46852
+ args: args12,
46853
+ tool: async (client, args13, ctx) => {
46854
+ const [result, apiCall] = await aaveV3UserPositionPerToken(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46602
46855
  if (!result.ok) {
46603
46856
  return {
46604
46857
  content: [{ type: "text", text: result.error.message }],
@@ -46613,9 +46866,9 @@ their financial standing within the AAVE ecosystem.`,
46613
46866
 
46614
46867
  // src/funcs/aaveV3UserPositionSummary.ts
46615
46868
  function aaveV3UserPositionSummary(client, request, options) {
46616
- return new APIPromise($do12(client, request, options));
46869
+ return new APIPromise($do13(client, request, options));
46617
46870
  }
46618
- async function $do12(client, request, options) {
46871
+ async function $do13(client, request, options) {
46619
46872
  const parsed = safeParse(request, (value) => AaveUserPositionSummaryRequest$outboundSchema.parse(value), "Input validation failed");
46620
46873
  if (!parsed.ok) {
46621
46874
  return [parsed, { status: "invalid" }];
@@ -46692,12 +46945,12 @@ var init_aaveV3UserPositionSummary = __esm(() => {
46692
46945
  });
46693
46946
 
46694
46947
  // src/mcp-server/tools/aaveV3UserPositionSummary.ts
46695
- var args12, tool$aaveV3UserPositionSummary;
46948
+ var args13, tool$aaveV3UserPositionSummary;
46696
46949
  var init_aaveV3UserPositionSummary2 = __esm(() => {
46697
46950
  init_aaveV3UserPositionSummary();
46698
46951
  init_operations();
46699
46952
  init_tools();
46700
- args12 = {
46953
+ args13 = {
46701
46954
  request: AaveUserPositionSummaryRequest$inboundSchema
46702
46955
  };
46703
46956
  tool$aaveV3UserPositionSummary = {
@@ -46712,10 +46965,10 @@ debt accrued, available borrowing capacity, liquidation threshold, maximum loan-
46712
46965
  value ratio, and the health factor of the user's account. These metrics are
46713
46966
  calculated by aggregating data across all open positions held by the user, offering
46714
46967
  a holistic view of their financial standing within the AAVE ecosystem.`,
46715
- args: args12,
46716
- tool: async (client, args13, ctx) => {
46717
- const [result, apiCall] = await aaveV3UserPositionSummary(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46718
- if (!result.ok) {
46968
+ args: args13,
46969
+ tool: async (client, args14, ctx) => {
46970
+ const [result, apiCall] = await aaveV3UserPositionSummary(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46971
+ if (!result.ok) {
46719
46972
  return {
46720
46973
  content: [{ type: "text", text: result.error.message }],
46721
46974
  isError: true
@@ -46729,9 +46982,9 @@ a holistic view of their financial standing within the AAVE ecosystem.`,
46729
46982
 
46730
46983
  // src/funcs/aaveV3Withdraw.ts
46731
46984
  function aaveV3Withdraw(client, request, options) {
46732
- return new APIPromise($do13(client, request, options));
46985
+ return new APIPromise($do14(client, request, options));
46733
46986
  }
46734
- async function $do13(client, request, options) {
46987
+ async function $do14(client, request, options) {
46735
46988
  const parsed = safeParse(request, (value) => AaveWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
46736
46989
  if (!parsed.ok) {
46737
46990
  return [parsed, { status: "invalid" }];
@@ -46802,12 +47055,12 @@ var init_aaveV3Withdraw = __esm(() => {
46802
47055
  });
46803
47056
 
46804
47057
  // src/mcp-server/tools/aaveV3Withdraw.ts
46805
- var args13, tool$aaveV3Withdraw;
47058
+ var args14, tool$aaveV3Withdraw;
46806
47059
  var init_aaveV3Withdraw2 = __esm(() => {
46807
47060
  init_aaveV3Withdraw();
46808
47061
  init_components();
46809
47062
  init_tools();
46810
- args13 = {
47063
+ args14 = {
46811
47064
  request: AaveWithdrawRequest$inboundSchema
46812
47065
  };
46813
47066
  tool$aaveV3Withdraw = {
@@ -46831,9 +47084,9 @@ the Aave ecosystem.
46831
47084
  - \`AaveV3Pool\`
46832
47085
  </Info>
46833
47086
  `,
46834
- args: args13,
46835
- tool: async (client, args14, ctx) => {
46836
- const [result, apiCall] = await aaveV3Withdraw(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47087
+ args: args14,
47088
+ tool: async (client, args15, ctx) => {
47089
+ const [result, apiCall] = await aaveV3Withdraw(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46837
47090
  if (!result.ok) {
46838
47091
  return {
46839
47092
  content: [{ type: "text", text: result.error.message }],
@@ -46848,9 +47101,9 @@ the Aave ecosystem.
46848
47101
 
46849
47102
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
46850
47103
  function aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, request, options) {
46851
- return new APIPromise($do14(client, request, options));
47104
+ return new APIPromise($do15(client, request, options));
46852
47105
  }
46853
- async function $do14(client, request, options) {
47106
+ async function $do15(client, request, options) {
46854
47107
  const parsed = safeParse(request, (value) => AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46855
47108
  if (!parsed.ok) {
46856
47109
  return [parsed, { status: "invalid" }];
@@ -46921,12 +47174,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = __esm(() => {
46921
47174
  });
46922
47175
 
46923
47176
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
46924
- var args14, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
47177
+ var args15, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
46925
47178
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease2 = __esm(() => {
46926
47179
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease();
46927
47180
  init_components();
46928
47181
  init_tools();
46929
- args14 = {
47182
+ args15 = {
46930
47183
  request: AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema
46931
47184
  };
46932
47185
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = {
@@ -46952,9 +47205,9 @@ to adapt to market conditions and maximize their returns in decentralized financ
46952
47205
  - \`AerodromeSlipstreamRouter\`
46953
47206
  </Info>
46954
47207
  `,
46955
- args: args14,
46956
- tool: async (client, args15, ctx) => {
46957
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47208
+ args: args15,
47209
+ tool: async (client, args16, ctx) => {
47210
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46958
47211
  if (!result.ok) {
46959
47212
  return {
46960
47213
  content: [{ type: "text", text: result.error.message }],
@@ -46969,9 +47222,9 @@ to adapt to market conditions and maximize their returns in decentralized financ
46969
47222
 
46970
47223
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
46971
47224
  function aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, request, options) {
46972
- return new APIPromise($do15(client, request, options));
47225
+ return new APIPromise($do16(client, request, options));
46973
47226
  }
46974
- async function $do15(client, request, options) {
47227
+ async function $do16(client, request, options) {
46975
47228
  const parsed = safeParse(request, (value) => AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46976
47229
  if (!parsed.ok) {
46977
47230
  return [parsed, { status: "invalid" }];
@@ -47042,12 +47295,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint = __esm(() => {
47042
47295
  });
47043
47296
 
47044
47297
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
47045
- var args15, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
47298
+ var args16, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
47046
47299
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint2 = __esm(() => {
47047
47300
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint();
47048
47301
  init_components();
47049
47302
  init_tools();
47050
- args15 = {
47303
+ args16 = {
47051
47304
  request: AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema
47052
47305
  };
47053
47306
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint = {
@@ -47071,9 +47324,9 @@ them the opportunity to engage in decentralized finance (DeFi) markets effective
47071
47324
  - \`AerodromeSlipstreamNonfungiblePositionManager\`
47072
47325
  </Info>
47073
47326
  `,
47074
- args: args15,
47075
- tool: async (client, args16, ctx) => {
47076
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47327
+ args: args16,
47328
+ tool: async (client, args17, ctx) => {
47329
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47077
47330
  if (!result.ok) {
47078
47331
  return {
47079
47332
  content: [{ type: "text", text: result.error.message }],
@@ -47088,9 +47341,9 @@ them the opportunity to engage in decentralized finance (DeFi) markets effective
47088
47341
 
47089
47342
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
47090
47343
  function aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, request, options) {
47091
- return new APIPromise($do16(client, request, options));
47344
+ return new APIPromise($do17(client, request, options));
47092
47345
  }
47093
- async function $do16(client, request, options) {
47346
+ async function $do17(client, request, options) {
47094
47347
  const parsed = safeParse(request, (value) => AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
47095
47348
  if (!parsed.ok) {
47096
47349
  return [parsed, { status: "invalid" }];
@@ -47166,12 +47419,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = __esm(() =>
47166
47419
  });
47167
47420
 
47168
47421
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
47169
- var args16, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
47422
+ var args17, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
47170
47423
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions2 = __esm(() => {
47171
47424
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions();
47172
47425
  init_operations();
47173
47426
  init_tools();
47174
- args16 = {
47427
+ args17 = {
47175
47428
  request: AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema
47176
47429
  };
47177
47430
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = {
@@ -47187,9 +47440,9 @@ AerodromeLPPositionsInfo, provides a structured representation of the LP positio
47187
47440
  data, ensuring clarity and ease of use. This functionality is essential for users
47188
47441
  managing their liquidity provision activities, enabling them to make informed
47189
47442
  decisions based on their current positions.`,
47190
- args: args16,
47191
- tool: async (client, args17, ctx) => {
47192
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47443
+ args: args17,
47444
+ tool: async (client, args18, ctx) => {
47445
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47193
47446
  if (!result.ok) {
47194
47447
  return {
47195
47448
  content: [{ type: "text", text: result.error.message }],
@@ -47204,9 +47457,9 @@ decisions based on their current positions.`,
47204
47457
 
47205
47458
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
47206
47459
  function aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, request, options) {
47207
- return new APIPromise($do17(client, request, options));
47460
+ return new APIPromise($do18(client, request, options));
47208
47461
  }
47209
- async function $do17(client, request, options) {
47462
+ async function $do18(client, request, options) {
47210
47463
  const parsed = safeParse(request, (value) => AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
47211
47464
  if (!parsed.ok) {
47212
47465
  return [parsed, { status: "invalid" }];
@@ -47277,12 +47530,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = __esm(() => {
47277
47530
  });
47278
47531
 
47279
47532
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
47280
- var args17, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
47533
+ var args18, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
47281
47534
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw2 = __esm(() => {
47282
47535
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw();
47283
47536
  init_components();
47284
47537
  init_tools();
47285
- args17 = {
47538
+ args18 = {
47286
47539
  request: AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema
47287
47540
  };
47288
47541
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = {
@@ -47308,9 +47561,9 @@ strategic management of their decentralized finance (DeFi) portfolios.
47308
47561
  - \`AerodromeSlipstreamNonfungiblePositionManager\`
47309
47562
  </Info>
47310
47563
  `,
47311
- args: args17,
47312
- tool: async (client, args18, ctx) => {
47313
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47564
+ args: args18,
47565
+ tool: async (client, args19, ctx) => {
47566
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47314
47567
  if (!result.ok) {
47315
47568
  return {
47316
47569
  content: [{ type: "text", text: result.error.message }],
@@ -47325,9 +47578,9 @@ strategic management of their decentralized finance (DeFi) portfolios.
47325
47578
 
47326
47579
  // src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts
47327
47580
  function aerodromeSlipstreamSlipstreamPoolPrice(client, request, options) {
47328
- return new APIPromise($do18(client, request, options));
47581
+ return new APIPromise($do19(client, request, options));
47329
47582
  }
47330
- async function $do18(client, request, options) {
47583
+ async function $do19(client, request, options) {
47331
47584
  const parsed = safeParse(request, (value) => AerodromeSlipstreamPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
47332
47585
  if (!parsed.ok) {
47333
47586
  return [parsed, { status: "invalid" }];
@@ -47405,12 +47658,12 @@ var init_aerodromeSlipstreamSlipstreamPoolPrice = __esm(() => {
47405
47658
  });
47406
47659
 
47407
47660
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.ts
47408
- var args18, tool$aerodromeSlipstreamSlipstreamPoolPrice;
47661
+ var args19, tool$aerodromeSlipstreamSlipstreamPoolPrice;
47409
47662
  var init_aerodromeSlipstreamSlipstreamPoolPrice2 = __esm(() => {
47410
47663
  init_aerodromeSlipstreamSlipstreamPoolPrice();
47411
47664
  init_operations();
47412
47665
  init_tools();
47413
- args18 = {
47666
+ args19 = {
47414
47667
  request: AerodromeSlipstreamPoolPriceRequest$inboundSchema
47415
47668
  };
47416
47669
  tool$aerodromeSlipstreamSlipstreamPoolPrice = {
@@ -47423,9 +47676,9 @@ you can purchase for 1 token1.
47423
47676
  Note that this is an instantaneous price and may change during any trade. For a more
47424
47677
  accurate representation of the trade ratios between the two assets, consider using
47425
47678
  the quote endpoint.`,
47426
- args: args18,
47427
- tool: async (client, args19, ctx) => {
47428
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47679
+ args: args19,
47680
+ tool: async (client, args20, ctx) => {
47681
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47429
47682
  if (!result.ok) {
47430
47683
  return {
47431
47684
  content: [{ type: "text", text: result.error.message }],
@@ -47440,9 +47693,9 @@ the quote endpoint.`,
47440
47693
 
47441
47694
  // src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
47442
47695
  function aerodromeSlipstreamSlipstreamSwapBuyExactly(client, request, options) {
47443
- return new APIPromise($do19(client, request, options));
47696
+ return new APIPromise($do20(client, request, options));
47444
47697
  }
47445
- async function $do19(client, request, options) {
47698
+ async function $do20(client, request, options) {
47446
47699
  const parsed = safeParse(request, (value) => AerodromeSlipstreamBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47447
47700
  if (!parsed.ok) {
47448
47701
  return [parsed, { status: "invalid" }];
@@ -47513,12 +47766,12 @@ var init_aerodromeSlipstreamSlipstreamSwapBuyExactly = __esm(() => {
47513
47766
  });
47514
47767
 
47515
47768
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
47516
- var args19, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
47769
+ var args20, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
47517
47770
  var init_aerodromeSlipstreamSlipstreamSwapBuyExactly2 = __esm(() => {
47518
47771
  init_aerodromeSlipstreamSlipstreamSwapBuyExactly();
47519
47772
  init_components();
47520
47773
  init_tools();
47521
- args19 = {
47774
+ args20 = {
47522
47775
  request: AerodromeSlipstreamBuyExactlyRequest$inboundSchema
47523
47776
  };
47524
47777
  tool$aerodromeSlipstreamSlipstreamSwapBuyExactly = {
@@ -47543,9 +47796,9 @@ effectively.
47543
47796
  - \`AerodromeSlipstreamRouter\`
47544
47797
  </Info>
47545
47798
  `,
47546
- args: args19,
47547
- tool: async (client, args20, ctx) => {
47548
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47799
+ args: args20,
47800
+ tool: async (client, args21, ctx) => {
47801
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47549
47802
  if (!result.ok) {
47550
47803
  return {
47551
47804
  content: [{ type: "text", text: result.error.message }],
@@ -47560,9 +47813,9 @@ effectively.
47560
47813
 
47561
47814
  // src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
47562
47815
  function aerodromeSlipstreamSlipstreamSwapSellExactly(client, request, options) {
47563
- return new APIPromise($do20(client, request, options));
47816
+ return new APIPromise($do21(client, request, options));
47564
47817
  }
47565
- async function $do20(client, request, options) {
47818
+ async function $do21(client, request, options) {
47566
47819
  const parsed = safeParse(request, (value) => AerodromeSlipstreamSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47567
47820
  if (!parsed.ok) {
47568
47821
  return [parsed, { status: "invalid" }];
@@ -47633,12 +47886,12 @@ var init_aerodromeSlipstreamSlipstreamSwapSellExactly = __esm(() => {
47633
47886
  });
47634
47887
 
47635
47888
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
47636
- var args20, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
47889
+ var args21, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
47637
47890
  var init_aerodromeSlipstreamSlipstreamSwapSellExactly2 = __esm(() => {
47638
47891
  init_aerodromeSlipstreamSlipstreamSwapSellExactly();
47639
47892
  init_components();
47640
47893
  init_tools();
47641
- args20 = {
47894
+ args21 = {
47642
47895
  request: AerodromeSlipstreamSellExactlyRequest$inboundSchema
47643
47896
  };
47644
47897
  tool$aerodromeSlipstreamSlipstreamSwapSellExactly = {
@@ -47662,9 +47915,9 @@ token and are willing to accept the resulting amount of the other token.
47662
47915
  - \`AerodromeSlipstreamRouter\`
47663
47916
  </Info>
47664
47917
  `,
47665
- args: args20,
47666
- tool: async (client, args21, ctx) => {
47667
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47918
+ args: args21,
47919
+ tool: async (client, args22, ctx) => {
47920
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47668
47921
  if (!result.ok) {
47669
47922
  return {
47670
47923
  content: [{ type: "text", text: result.error.message }],
@@ -47679,9 +47932,9 @@ token and are willing to accept the resulting amount of the other token.
47679
47932
 
47680
47933
  // src/funcs/erc4626VaultsDeposit.ts
47681
47934
  function erc4626VaultsDeposit(client, request, options) {
47682
- return new APIPromise($do21(client, request, options));
47935
+ return new APIPromise($do22(client, request, options));
47683
47936
  }
47684
- async function $do21(client, request, options) {
47937
+ async function $do22(client, request, options) {
47685
47938
  const parsed = safeParse(request, (value) => VaultDepositRequest$outboundSchema.parse(value), "Input validation failed");
47686
47939
  if (!parsed.ok) {
47687
47940
  return [parsed, { status: "invalid" }];
@@ -47752,12 +48005,12 @@ var init_erc4626VaultsDeposit = __esm(() => {
47752
48005
  });
47753
48006
 
47754
48007
  // src/mcp-server/tools/erc4626VaultsDeposit.ts
47755
- var args21, tool$erc4626VaultsDeposit;
48008
+ var args22, tool$erc4626VaultsDeposit;
47756
48009
  var init_erc4626VaultsDeposit2 = __esm(() => {
47757
48010
  init_erc4626VaultsDeposit();
47758
48011
  init_components();
47759
48012
  init_tools();
47760
- args21 = {
48013
+ args22 = {
47761
48014
  request: VaultDepositRequest$inboundSchema
47762
48015
  };
47763
48016
  tool$erc4626VaultsDeposit = {
@@ -47775,9 +48028,9 @@ Each vault accepts one unique token that can be deposited.
47775
48028
  - \`<vault_address>\`
47776
48029
  </Info>
47777
48030
  `,
47778
- args: args21,
47779
- tool: async (client, args22, ctx) => {
47780
- const [result, apiCall] = await erc4626VaultsDeposit(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48031
+ args: args22,
48032
+ tool: async (client, args23, ctx) => {
48033
+ const [result, apiCall] = await erc4626VaultsDeposit(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47781
48034
  if (!result.ok) {
47782
48035
  return {
47783
48036
  content: [{ type: "text", text: result.error.message }],
@@ -47792,9 +48045,9 @@ Each vault accepts one unique token that can be deposited.
47792
48045
 
47793
48046
  // src/funcs/erc4626VaultsVault.ts
47794
48047
  function erc4626VaultsVault(client, request, options) {
47795
- return new APIPromise($do22(client, request, options));
48048
+ return new APIPromise($do23(client, request, options));
47796
48049
  }
47797
- async function $do22(client, request, options) {
48050
+ async function $do23(client, request, options) {
47798
48051
  const parsed = safeParse(request, (value) => VaultsVaultRequest$outboundSchema.parse(value), "Input validation failed");
47799
48052
  if (!parsed.ok) {
47800
48053
  return [parsed, { status: "invalid" }];
@@ -47872,12 +48125,12 @@ var init_erc4626VaultsVault = __esm(() => {
47872
48125
  });
47873
48126
 
47874
48127
  // src/mcp-server/tools/erc4626VaultsVault.ts
47875
- var args22, tool$erc4626VaultsVault;
48128
+ var args23, tool$erc4626VaultsVault;
47876
48129
  var init_erc4626VaultsVault2 = __esm(() => {
47877
48130
  init_erc4626VaultsVault();
47878
48131
  init_operations();
47879
48132
  init_tools();
47880
- args22 = {
48133
+ args23 = {
47881
48134
  request: VaultsVaultRequest$inboundSchema
47882
48135
  };
47883
48136
  tool$erc4626VaultsVault = {
@@ -47887,9 +48140,9 @@ var init_erc4626VaultsVault2 = __esm(() => {
47887
48140
  Get Vault data & User Position.
47888
48141
 
47889
48142
  The user position is only included if 'user_address' parameter is included.`,
47890
- args: args22,
47891
- tool: async (client, args23, ctx) => {
47892
- const [result, apiCall] = await erc4626VaultsVault(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48143
+ args: args23,
48144
+ tool: async (client, args24, ctx) => {
48145
+ const [result, apiCall] = await erc4626VaultsVault(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47893
48146
  if (!result.ok) {
47894
48147
  return {
47895
48148
  content: [{ type: "text", text: result.error.message }],
@@ -47904,9 +48157,9 @@ The user position is only included if 'user_address' parameter is included.`,
47904
48157
 
47905
48158
  // src/funcs/erc4626VaultsWithdraw.ts
47906
48159
  function erc4626VaultsWithdraw(client, request, options) {
47907
- return new APIPromise($do23(client, request, options));
48160
+ return new APIPromise($do24(client, request, options));
47908
48161
  }
47909
- async function $do23(client, request, options) {
48162
+ async function $do24(client, request, options) {
47910
48163
  const parsed = safeParse(request, (value) => VaultWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
47911
48164
  if (!parsed.ok) {
47912
48165
  return [parsed, { status: "invalid" }];
@@ -47977,12 +48230,12 @@ var init_erc4626VaultsWithdraw = __esm(() => {
47977
48230
  });
47978
48231
 
47979
48232
  // src/mcp-server/tools/erc4626VaultsWithdraw.ts
47980
- var args23, tool$erc4626VaultsWithdraw;
48233
+ var args24, tool$erc4626VaultsWithdraw;
47981
48234
  var init_erc4626VaultsWithdraw2 = __esm(() => {
47982
48235
  init_erc4626VaultsWithdraw();
47983
48236
  init_components();
47984
48237
  init_tools();
47985
- args23 = {
48238
+ args24 = {
47986
48239
  request: VaultWithdrawRequest$inboundSchema
47987
48240
  };
47988
48241
  tool$erc4626VaultsWithdraw = {
@@ -48002,9 +48255,9 @@ deposited plus any accrued yield.
48002
48255
  - \`<vault address>\`
48003
48256
  </Info>
48004
48257
  `,
48005
- args: args23,
48006
- tool: async (client, args24, ctx) => {
48007
- const [result, apiCall] = await erc4626VaultsWithdraw(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48258
+ args: args24,
48259
+ tool: async (client, args25, ctx) => {
48260
+ const [result, apiCall] = await erc4626VaultsWithdraw(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48008
48261
  if (!result.ok) {
48009
48262
  return {
48010
48263
  content: [{ type: "text", text: result.error.message }],
@@ -48019,9 +48272,9 @@ deposited plus any accrued yield.
48019
48272
 
48020
48273
  // src/funcs/morphoBorrow.ts
48021
48274
  function morphoBorrow(client, request, options) {
48022
- return new APIPromise($do24(client, request, options));
48275
+ return new APIPromise($do25(client, request, options));
48023
48276
  }
48024
- async function $do24(client, request, options) {
48277
+ async function $do25(client, request, options) {
48025
48278
  const parsed = safeParse(request, (value) => MorphoBorrowRequest$outboundSchema.parse(value), "Input validation failed");
48026
48279
  if (!parsed.ok) {
48027
48280
  return [parsed, { status: "invalid" }];
@@ -48092,12 +48345,12 @@ var init_morphoBorrow = __esm(() => {
48092
48345
  });
48093
48346
 
48094
48347
  // src/mcp-server/tools/morphoBorrow.ts
48095
- var args24, tool$morphoBorrow;
48348
+ var args25, tool$morphoBorrow;
48096
48349
  var init_morphoBorrow2 = __esm(() => {
48097
48350
  init_morphoBorrow();
48098
48351
  init_components();
48099
48352
  init_tools();
48100
- args24 = {
48353
+ args25 = {
48101
48354
  request: MorphoBorrowRequest$inboundSchema
48102
48355
  };
48103
48356
  tool$morphoBorrow = {
@@ -48121,9 +48374,9 @@ as long as the blockchain it is deployed on is live.
48121
48374
  - \`Morpho\`
48122
48375
  </Info>
48123
48376
  `,
48124
- args: args24,
48125
- tool: async (client, args25, ctx) => {
48126
- const [result, apiCall] = await morphoBorrow(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48377
+ args: args25,
48378
+ tool: async (client, args26, ctx) => {
48379
+ const [result, apiCall] = await morphoBorrow(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48127
48380
  if (!result.ok) {
48128
48381
  return {
48129
48382
  content: [{ type: "text", text: result.error.message }],
@@ -48138,9 +48391,9 @@ as long as the blockchain it is deployed on is live.
48138
48391
 
48139
48392
  // src/funcs/morphoDeposit.ts
48140
48393
  function morphoDeposit(client, request, options) {
48141
- return new APIPromise($do25(client, request, options));
48394
+ return new APIPromise($do26(client, request, options));
48142
48395
  }
48143
- async function $do25(client, request, options) {
48396
+ async function $do26(client, request, options) {
48144
48397
  const parsed = safeParse(request, (value) => MorphoDepositRequest$outboundSchema.parse(value), "Input validation failed");
48145
48398
  if (!parsed.ok) {
48146
48399
  return [parsed, { status: "invalid" }];
@@ -48211,12 +48464,12 @@ var init_morphoDeposit = __esm(() => {
48211
48464
  });
48212
48465
 
48213
48466
  // src/mcp-server/tools/morphoDeposit.ts
48214
- var args25, tool$morphoDeposit;
48467
+ var args26, tool$morphoDeposit;
48215
48468
  var init_morphoDeposit2 = __esm(() => {
48216
48469
  init_morphoDeposit();
48217
48470
  init_components();
48218
48471
  init_tools();
48219
- args25 = {
48472
+ args26 = {
48220
48473
  request: MorphoDepositRequest$inboundSchema
48221
48474
  };
48222
48475
  tool$morphoDeposit = {
@@ -48242,9 +48495,9 @@ state at any time, and withdraw their liquidity at their discretion.
48242
48495
  - \`USDC\`
48243
48496
  </Info>
48244
48497
  `,
48245
- args: args25,
48246
- tool: async (client, args26, ctx) => {
48247
- const [result, apiCall] = await morphoDeposit(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48498
+ args: args26,
48499
+ tool: async (client, args27, ctx) => {
48500
+ const [result, apiCall] = await morphoDeposit(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48248
48501
  if (!result.ok) {
48249
48502
  return {
48250
48503
  content: [{ type: "text", text: result.error.message }],
@@ -48259,9 +48512,9 @@ state at any time, and withdraw their liquidity at their discretion.
48259
48512
 
48260
48513
  // src/funcs/morphoMarket.ts
48261
48514
  function morphoMarket(client, request, options) {
48262
- return new APIPromise($do26(client, request, options));
48515
+ return new APIPromise($do27(client, request, options));
48263
48516
  }
48264
- async function $do26(client, request, options) {
48517
+ async function $do27(client, request, options) {
48265
48518
  const parsed = safeParse(request, (value) => MorphoMarketRequest$outboundSchema.parse(value), "Input validation failed");
48266
48519
  if (!parsed.ok) {
48267
48520
  return [parsed, { status: "invalid" }];
@@ -48337,12 +48590,12 @@ var init_morphoMarket = __esm(() => {
48337
48590
  });
48338
48591
 
48339
48592
  // src/mcp-server/tools/morphoMarket.ts
48340
- var args26, tool$morphoMarket;
48593
+ var args27, tool$morphoMarket;
48341
48594
  var init_morphoMarket2 = __esm(() => {
48342
48595
  init_morphoMarket();
48343
48596
  init_operations();
48344
48597
  init_tools();
48345
- args26 = {
48598
+ args27 = {
48346
48599
  request: MorphoMarketRequest$inboundSchema
48347
48600
  };
48348
48601
  tool$morphoMarket = {
@@ -48359,9 +48612,9 @@ Including:
48359
48612
  - Utilization ratio
48360
48613
  - Pertinent metadata
48361
48614
  - Whitelist status`,
48362
- args: args26,
48363
- tool: async (client, args27, ctx) => {
48364
- const [result, apiCall] = await morphoMarket(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48615
+ args: args27,
48616
+ tool: async (client, args28, ctx) => {
48617
+ const [result, apiCall] = await morphoMarket(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48365
48618
  if (!result.ok) {
48366
48619
  return {
48367
48620
  content: [{ type: "text", text: result.error.message }],
@@ -48376,9 +48629,9 @@ Including:
48376
48629
 
48377
48630
  // src/funcs/morphoMarketPosition.ts
48378
48631
  function morphoMarketPosition(client, request, options) {
48379
- return new APIPromise($do27(client, request, options));
48632
+ return new APIPromise($do28(client, request, options));
48380
48633
  }
48381
- async function $do27(client, request, options) {
48634
+ async function $do28(client, request, options) {
48382
48635
  const parsed = safeParse(request, (value) => MorphoMarketPositionRequest$outboundSchema.parse(value), "Input validation failed");
48383
48636
  if (!parsed.ok) {
48384
48637
  return [parsed, { status: "invalid" }];
@@ -48455,12 +48708,12 @@ var init_morphoMarketPosition = __esm(() => {
48455
48708
  });
48456
48709
 
48457
48710
  // src/mcp-server/tools/morphoMarketPosition.ts
48458
- var args27, tool$morphoMarketPosition;
48711
+ var args28, tool$morphoMarketPosition;
48459
48712
  var init_morphoMarketPosition2 = __esm(() => {
48460
48713
  init_morphoMarketPosition();
48461
48714
  init_operations();
48462
48715
  init_tools();
48463
- args27 = {
48716
+ args28 = {
48464
48717
  request: MorphoMarketPositionRequest$inboundSchema
48465
48718
  };
48466
48719
  tool$morphoMarketPosition = {
@@ -48469,9 +48722,9 @@ var init_morphoMarketPosition2 = __esm(() => {
48469
48722
 
48470
48723
  Check how many shares you've borrowed and the equivalent token amount of a given
48471
48724
  market.`,
48472
- args: args27,
48473
- tool: async (client, args28, ctx) => {
48474
- const [result, apiCall] = await morphoMarketPosition(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48725
+ args: args28,
48726
+ tool: async (client, args29, ctx) => {
48727
+ const [result, apiCall] = await morphoMarketPosition(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48475
48728
  if (!result.ok) {
48476
48729
  return {
48477
48730
  content: [{ type: "text", text: result.error.message }],
@@ -48486,9 +48739,9 @@ market.`,
48486
48739
 
48487
48740
  // src/funcs/morphoMarkets.ts
48488
48741
  function morphoMarkets(client, request, options) {
48489
- return new APIPromise($do28(client, request, options));
48742
+ return new APIPromise($do29(client, request, options));
48490
48743
  }
48491
- async function $do28(client, request, options) {
48744
+ async function $do29(client, request, options) {
48492
48745
  const parsed = safeParse(request, (value) => MorphoMarketsRequest$outboundSchema.parse(value), "Input validation failed");
48493
48746
  if (!parsed.ok) {
48494
48747
  return [parsed, { status: "invalid" }];
@@ -48565,12 +48818,12 @@ var init_morphoMarkets = __esm(() => {
48565
48818
  });
48566
48819
 
48567
48820
  // src/mcp-server/tools/morphoMarkets.ts
48568
- var args28, tool$morphoMarkets;
48821
+ var args29, tool$morphoMarkets;
48569
48822
  var init_morphoMarkets2 = __esm(() => {
48570
48823
  init_morphoMarkets();
48571
48824
  init_operations();
48572
48825
  init_tools();
48573
- args28 = {
48826
+ args29 = {
48574
48827
  request: MorphoMarketsRequest$inboundSchema
48575
48828
  };
48576
48829
  tool$morphoMarkets = {
@@ -48581,9 +48834,9 @@ Query a list of markets you can borrow from.
48581
48834
 
48582
48835
  Each market has one unique token that can be borrowed against one unique token that
48583
48836
  can be used as collateral.`,
48584
- args: args28,
48585
- tool: async (client, args29, ctx) => {
48586
- const [result, apiCall] = await morphoMarkets(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48837
+ args: args29,
48838
+ tool: async (client, args30, ctx) => {
48839
+ const [result, apiCall] = await morphoMarkets(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48587
48840
  if (!result.ok) {
48588
48841
  return {
48589
48842
  content: [{ type: "text", text: result.error.message }],
@@ -48598,9 +48851,9 @@ can be used as collateral.`,
48598
48851
 
48599
48852
  // src/funcs/morphoRepay.ts
48600
48853
  function morphoRepay(client, request, options) {
48601
- return new APIPromise($do29(client, request, options));
48854
+ return new APIPromise($do30(client, request, options));
48602
48855
  }
48603
- async function $do29(client, request, options) {
48856
+ async function $do30(client, request, options) {
48604
48857
  const parsed = safeParse(request, (value) => MorphoRepayRequest$outboundSchema.parse(value), "Input validation failed");
48605
48858
  if (!parsed.ok) {
48606
48859
  return [parsed, { status: "invalid" }];
@@ -48671,12 +48924,12 @@ var init_morphoRepay = __esm(() => {
48671
48924
  });
48672
48925
 
48673
48926
  // src/mcp-server/tools/morphoRepay.ts
48674
- var args29, tool$morphoRepay;
48927
+ var args30, tool$morphoRepay;
48675
48928
  var init_morphoRepay2 = __esm(() => {
48676
48929
  init_morphoRepay();
48677
48930
  init_components();
48678
48931
  init_tools();
48679
- args29 = {
48932
+ args30 = {
48680
48933
  request: MorphoRepayRequest$inboundSchema
48681
48934
  };
48682
48935
  tool$morphoRepay = {
@@ -48697,9 +48950,9 @@ as long as the blockchain it is deployed on is live.
48697
48950
  - \`Morpho\`
48698
48951
  </Info>
48699
48952
  `,
48700
- args: args29,
48701
- tool: async (client, args30, ctx) => {
48702
- const [result, apiCall] = await morphoRepay(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48953
+ args: args30,
48954
+ tool: async (client, args31, ctx) => {
48955
+ const [result, apiCall] = await morphoRepay(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48703
48956
  if (!result.ok) {
48704
48957
  return {
48705
48958
  content: [{ type: "text", text: result.error.message }],
@@ -48714,9 +48967,9 @@ as long as the blockchain it is deployed on is live.
48714
48967
 
48715
48968
  // src/funcs/morphoSupplyCollateral.ts
48716
48969
  function morphoSupplyCollateral(client, request, options) {
48717
- return new APIPromise($do30(client, request, options));
48970
+ return new APIPromise($do31(client, request, options));
48718
48971
  }
48719
- async function $do30(client, request, options) {
48972
+ async function $do31(client, request, options) {
48720
48973
  const parsed = safeParse(request, (value) => MorphoSupplyCollateralRequest$outboundSchema.parse(value), "Input validation failed");
48721
48974
  if (!parsed.ok) {
48722
48975
  return [parsed, { status: "invalid" }];
@@ -48787,12 +49040,12 @@ var init_morphoSupplyCollateral = __esm(() => {
48787
49040
  });
48788
49041
 
48789
49042
  // src/mcp-server/tools/morphoSupplyCollateral.ts
48790
- var args30, tool$morphoSupplyCollateral;
49043
+ var args31, tool$morphoSupplyCollateral;
48791
49044
  var init_morphoSupplyCollateral2 = __esm(() => {
48792
49045
  init_morphoSupplyCollateral();
48793
49046
  init_components();
48794
49047
  init_tools();
48795
- args30 = {
49048
+ args31 = {
48796
49049
  request: MorphoSupplyCollateralRequest$inboundSchema
48797
49050
  };
48798
49051
  tool$morphoSupplyCollateral = {
@@ -48813,9 +49066,9 @@ as long as the blockchain it is deployed on is live.
48813
49066
  - \`Morpho\`
48814
49067
  </Info>
48815
49068
  `,
48816
- args: args30,
48817
- tool: async (client, args31, ctx) => {
48818
- const [result, apiCall] = await morphoSupplyCollateral(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49069
+ args: args31,
49070
+ tool: async (client, args32, ctx) => {
49071
+ const [result, apiCall] = await morphoSupplyCollateral(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48819
49072
  if (!result.ok) {
48820
49073
  return {
48821
49074
  content: [{ type: "text", text: result.error.message }],
@@ -48830,9 +49083,9 @@ as long as the blockchain it is deployed on is live.
48830
49083
 
48831
49084
  // src/funcs/morphoUserPosition.ts
48832
49085
  function morphoUserPosition(client, request, options) {
48833
- return new APIPromise($do31(client, request, options));
49086
+ return new APIPromise($do32(client, request, options));
48834
49087
  }
48835
- async function $do31(client, request, options) {
49088
+ async function $do32(client, request, options) {
48836
49089
  const parsed = safeParse(request, (value) => MorphoUserPositionRequest$outboundSchema.parse(value), "Input validation failed");
48837
49090
  if (!parsed.ok) {
48838
49091
  return [parsed, { status: "invalid" }];
@@ -48908,12 +49161,12 @@ var init_morphoUserPosition = __esm(() => {
48908
49161
  });
48909
49162
 
48910
49163
  // src/mcp-server/tools/morphoUserPosition.ts
48911
- var args31, tool$morphoUserPosition;
49164
+ var args32, tool$morphoUserPosition;
48912
49165
  var init_morphoUserPosition2 = __esm(() => {
48913
49166
  init_morphoUserPosition();
48914
49167
  init_operations();
48915
49168
  init_tools();
48916
- args31 = {
49169
+ args32 = {
48917
49170
  request: MorphoUserPositionRequest$inboundSchema
48918
49171
  };
48919
49172
  tool$morphoUserPosition = {
@@ -48924,9 +49177,9 @@ Check user's overall position across the entire Morpho ecosystem.
48924
49177
 
48925
49178
  Inlcuding all vault and market position metrics and relavant metadata of said vaults
48926
49179
  and markets.`,
48927
- args: args31,
48928
- tool: async (client, args32, ctx) => {
48929
- const [result, apiCall] = await morphoUserPosition(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49180
+ args: args32,
49181
+ tool: async (client, args33, ctx) => {
49182
+ const [result, apiCall] = await morphoUserPosition(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48930
49183
  if (!result.ok) {
48931
49184
  return {
48932
49185
  content: [{ type: "text", text: result.error.message }],
@@ -48941,9 +49194,9 @@ and markets.`,
48941
49194
 
48942
49195
  // src/funcs/morphoVault.ts
48943
49196
  function morphoVault(client, request, options) {
48944
- return new APIPromise($do32(client, request, options));
49197
+ return new APIPromise($do33(client, request, options));
48945
49198
  }
48946
- async function $do32(client, request, options) {
49199
+ async function $do33(client, request, options) {
48947
49200
  const parsed = safeParse(request, (value) => MorphoVaultRequest$outboundSchema.parse(value), "Input validation failed");
48948
49201
  if (!parsed.ok) {
48949
49202
  return [parsed, { status: "invalid" }];
@@ -49021,12 +49274,12 @@ var init_morphoVault = __esm(() => {
49021
49274
  });
49022
49275
 
49023
49276
  // src/mcp-server/tools/morphoVault.ts
49024
- var args32, tool$morphoVault;
49277
+ var args33, tool$morphoVault;
49025
49278
  var init_morphoVault2 = __esm(() => {
49026
49279
  init_morphoVault();
49027
49280
  init_operations();
49028
49281
  init_tools();
49029
- args32 = {
49282
+ args33 = {
49030
49283
  request: MorphoVaultRequest$inboundSchema
49031
49284
  };
49032
49285
  tool$morphoVault = {
@@ -49036,9 +49289,9 @@ var init_morphoVault2 = __esm(() => {
49036
49289
  Get Vault data & User Position.
49037
49290
 
49038
49291
  The user position is only included if 'user_address' parameter is included.`,
49039
- args: args32,
49040
- tool: async (client, args33, ctx) => {
49041
- const [result, apiCall] = await morphoVault(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49292
+ args: args33,
49293
+ tool: async (client, args34, ctx) => {
49294
+ const [result, apiCall] = await morphoVault(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49042
49295
  if (!result.ok) {
49043
49296
  return {
49044
49297
  content: [{ type: "text", text: result.error.message }],
@@ -49053,9 +49306,9 @@ The user position is only included if 'user_address' parameter is included.`,
49053
49306
 
49054
49307
  // src/funcs/morphoVaults.ts
49055
49308
  function morphoVaults(client, request, options) {
49056
- return new APIPromise($do33(client, request, options));
49309
+ return new APIPromise($do34(client, request, options));
49057
49310
  }
49058
- async function $do33(client, request, options) {
49311
+ async function $do34(client, request, options) {
49059
49312
  const parsed = safeParse(request, (value) => MorphoVaultsRequest$outboundSchema.parse(value), "Input validation failed");
49060
49313
  if (!parsed.ok) {
49061
49314
  return [parsed, { status: "invalid" }];
@@ -49131,12 +49384,12 @@ var init_morphoVaults = __esm(() => {
49131
49384
  });
49132
49385
 
49133
49386
  // src/mcp-server/tools/morphoVaults.ts
49134
- var args33, tool$morphoVaults;
49387
+ var args34, tool$morphoVaults;
49135
49388
  var init_morphoVaults2 = __esm(() => {
49136
49389
  init_morphoVaults();
49137
49390
  init_operations();
49138
49391
  init_tools();
49139
- args33 = {
49392
+ args34 = {
49140
49393
  request: MorphoVaultsRequest$inboundSchema
49141
49394
  };
49142
49395
  tool$morphoVaults = {
@@ -49148,9 +49401,9 @@ Query a list of vaults you can deposit into.
49148
49401
  Each vault has one unique token that can be deposited. In exchange for depositing
49149
49402
  tokens into a vault you receive shares. You earn yield on these shares by their
49150
49403
  exchange value increasing over time.`,
49151
- args: args33,
49152
- tool: async (client, args34, ctx) => {
49153
- const [result, apiCall] = await morphoVaults(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49404
+ args: args34,
49405
+ tool: async (client, args35, ctx) => {
49406
+ const [result, apiCall] = await morphoVaults(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49154
49407
  if (!result.ok) {
49155
49408
  return {
49156
49409
  content: [{ type: "text", text: result.error.message }],
@@ -49165,9 +49418,9 @@ exchange value increasing over time.`,
49165
49418
 
49166
49419
  // src/funcs/morphoWithdraw.ts
49167
49420
  function morphoWithdraw(client, request, options) {
49168
- return new APIPromise($do34(client, request, options));
49421
+ return new APIPromise($do35(client, request, options));
49169
49422
  }
49170
- async function $do34(client, request, options) {
49423
+ async function $do35(client, request, options) {
49171
49424
  const parsed = safeParse(request, (value) => MorphoWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
49172
49425
  if (!parsed.ok) {
49173
49426
  return [parsed, { status: "invalid" }];
@@ -49238,12 +49491,12 @@ var init_morphoWithdraw = __esm(() => {
49238
49491
  });
49239
49492
 
49240
49493
  // src/mcp-server/tools/morphoWithdraw.ts
49241
- var args34, tool$morphoWithdraw;
49494
+ var args35, tool$morphoWithdraw;
49242
49495
  var init_morphoWithdraw2 = __esm(() => {
49243
49496
  init_morphoWithdraw();
49244
49497
  init_components();
49245
49498
  init_tools();
49246
- args34 = {
49499
+ args35 = {
49247
49500
  request: MorphoWithdrawRequest$inboundSchema
49248
49501
  };
49249
49502
  tool$morphoWithdraw = {
@@ -49269,9 +49522,9 @@ state at any time, and withdraw their liquidity at their discretion.
49269
49522
  - \`<token address>\`
49270
49523
  </Info>
49271
49524
  `,
49272
- args: args34,
49273
- tool: async (client, args35, ctx) => {
49274
- const [result, apiCall] = await morphoWithdraw(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49525
+ args: args35,
49526
+ tool: async (client, args36, ctx) => {
49527
+ const [result, apiCall] = await morphoWithdraw(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49275
49528
  if (!result.ok) {
49276
49529
  return {
49277
49530
  content: [{ type: "text", text: result.error.message }],
@@ -49286,9 +49539,9 @@ state at any time, and withdraw their liquidity at their discretion.
49286
49539
 
49287
49540
  // src/funcs/morphoWithdrawCollateral.ts
49288
49541
  function morphoWithdrawCollateral(client, request, options) {
49289
- return new APIPromise($do35(client, request, options));
49542
+ return new APIPromise($do36(client, request, options));
49290
49543
  }
49291
- async function $do35(client, request, options) {
49544
+ async function $do36(client, request, options) {
49292
49545
  const parsed = safeParse(request, (value) => MorphoWithdrawCollateralRequest$outboundSchema.parse(value), "Input validation failed");
49293
49546
  if (!parsed.ok) {
49294
49547
  return [parsed, { status: "invalid" }];
@@ -49359,12 +49612,12 @@ var init_morphoWithdrawCollateral = __esm(() => {
49359
49612
  });
49360
49613
 
49361
49614
  // src/mcp-server/tools/morphoWithdrawCollateral.ts
49362
- var args35, tool$morphoWithdrawCollateral;
49615
+ var args36, tool$morphoWithdrawCollateral;
49363
49616
  var init_morphoWithdrawCollateral2 = __esm(() => {
49364
49617
  init_morphoWithdrawCollateral();
49365
49618
  init_components();
49366
49619
  init_tools();
49367
- args35 = {
49620
+ args36 = {
49368
49621
  request: MorphoWithdrawCollateralRequest$inboundSchema
49369
49622
  };
49370
49623
  tool$morphoWithdrawCollateral = {
@@ -49385,9 +49638,9 @@ as long as the blockchain it is deployed on is live.
49385
49638
  - \`Morpho\`
49386
49639
  </Info>
49387
49640
  `,
49388
- args: args35,
49389
- tool: async (client, args36, ctx) => {
49390
- const [result, apiCall] = await morphoWithdrawCollateral(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49641
+ args: args36,
49642
+ tool: async (client, args37, ctx) => {
49643
+ const [result, apiCall] = await morphoWithdrawCollateral(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49391
49644
  if (!result.ok) {
49392
49645
  return {
49393
49646
  content: [{ type: "text", text: result.error.message }],
@@ -49402,9 +49655,9 @@ as long as the blockchain it is deployed on is live.
49402
49655
 
49403
49656
  // src/funcs/pendleAddLiquidity.ts
49404
49657
  function pendleAddLiquidity(client, request, options) {
49405
- return new APIPromise($do36(client, request, options));
49658
+ return new APIPromise($do37(client, request, options));
49406
49659
  }
49407
- async function $do36(client, request, options) {
49660
+ async function $do37(client, request, options) {
49408
49661
  const parsed = safeParse(request, (value) => PendleAddLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
49409
49662
  if (!parsed.ok) {
49410
49663
  return [parsed, { status: "invalid" }];
@@ -49475,12 +49728,12 @@ var init_pendleAddLiquidity = __esm(() => {
49475
49728
  });
49476
49729
 
49477
49730
  // src/mcp-server/tools/pendleAddLiquidity.ts
49478
- var args36, tool$pendleAddLiquidity;
49731
+ var args37, tool$pendleAddLiquidity;
49479
49732
  var init_pendleAddLiquidity2 = __esm(() => {
49480
49733
  init_pendleAddLiquidity();
49481
49734
  init_components();
49482
49735
  init_tools();
49483
- args36 = {
49736
+ args37 = {
49484
49737
  request: PendleAddLiquidityRequest$inboundSchema
49485
49738
  };
49486
49739
  tool$pendleAddLiquidity = {
@@ -49499,9 +49752,9 @@ the liquidity received is the market's Liquidity Provider Token (LP).
49499
49752
  - \`PendleRouter\`
49500
49753
  </Info>
49501
49754
  `,
49502
- args: args36,
49503
- tool: async (client, args37, ctx) => {
49504
- const [result, apiCall] = await pendleAddLiquidity(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49755
+ args: args37,
49756
+ tool: async (client, args38, ctx) => {
49757
+ const [result, apiCall] = await pendleAddLiquidity(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49505
49758
  if (!result.ok) {
49506
49759
  return {
49507
49760
  content: [{ type: "text", text: result.error.message }],
@@ -49516,9 +49769,9 @@ the liquidity received is the market's Liquidity Provider Token (LP).
49516
49769
 
49517
49770
  // src/funcs/pendleBuyPt.ts
49518
49771
  function pendleBuyPt(client, request, options) {
49519
- return new APIPromise($do37(client, request, options));
49772
+ return new APIPromise($do38(client, request, options));
49520
49773
  }
49521
- async function $do37(client, request, options) {
49774
+ async function $do38(client, request, options) {
49522
49775
  const parsed = safeParse(request, (value) => PendleBuyPtRequest$outboundSchema.parse(value), "Input validation failed");
49523
49776
  if (!parsed.ok) {
49524
49777
  return [parsed, { status: "invalid" }];
@@ -49589,12 +49842,12 @@ var init_pendleBuyPt = __esm(() => {
49589
49842
  });
49590
49843
 
49591
49844
  // src/mcp-server/tools/pendleBuyPt.ts
49592
- var args37, tool$pendleBuyPt;
49845
+ var args38, tool$pendleBuyPt;
49593
49846
  var init_pendleBuyPt2 = __esm(() => {
49594
49847
  init_pendleBuyPt();
49595
49848
  init_components();
49596
49849
  init_tools();
49597
- args37 = {
49850
+ args38 = {
49598
49851
  request: PendleBuyPtRequest$inboundSchema
49599
49852
  };
49600
49853
  tool$pendleBuyPt = {
@@ -49610,9 +49863,9 @@ Buy Principal Token (PT) with market's Underlying Token.
49610
49863
  - \`PendleRouter\`
49611
49864
  </Info>
49612
49865
  `,
49613
- args: args37,
49614
- tool: async (client, args38, ctx) => {
49615
- const [result, apiCall] = await pendleBuyPt(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49866
+ args: args38,
49867
+ tool: async (client, args39, ctx) => {
49868
+ const [result, apiCall] = await pendleBuyPt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49616
49869
  if (!result.ok) {
49617
49870
  return {
49618
49871
  content: [{ type: "text", text: result.error.message }],
@@ -49627,9 +49880,9 @@ Buy Principal Token (PT) with market's Underlying Token.
49627
49880
 
49628
49881
  // src/funcs/pendleBuyYt.ts
49629
49882
  function pendleBuyYt(client, request, options) {
49630
- return new APIPromise($do38(client, request, options));
49883
+ return new APIPromise($do39(client, request, options));
49631
49884
  }
49632
- async function $do38(client, request, options) {
49885
+ async function $do39(client, request, options) {
49633
49886
  const parsed = safeParse(request, (value) => PendleBuyYtRequest$outboundSchema.parse(value), "Input validation failed");
49634
49887
  if (!parsed.ok) {
49635
49888
  return [parsed, { status: "invalid" }];
@@ -49700,12 +49953,12 @@ var init_pendleBuyYt = __esm(() => {
49700
49953
  });
49701
49954
 
49702
49955
  // src/mcp-server/tools/pendleBuyYt.ts
49703
- var args38, tool$pendleBuyYt;
49956
+ var args39, tool$pendleBuyYt;
49704
49957
  var init_pendleBuyYt2 = __esm(() => {
49705
49958
  init_pendleBuyYt();
49706
49959
  init_components();
49707
49960
  init_tools();
49708
- args38 = {
49961
+ args39 = {
49709
49962
  request: PendleBuyYtRequest$inboundSchema
49710
49963
  };
49711
49964
  tool$pendleBuyYt = {
@@ -49721,9 +49974,9 @@ Buy Yield Token (YT) with market's Underlying Token.
49721
49974
  - \`PendleRouter\`
49722
49975
  </Info>
49723
49976
  `,
49724
- args: args38,
49725
- tool: async (client, args39, ctx) => {
49726
- const [result, apiCall] = await pendleBuyYt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49977
+ args: args39,
49978
+ tool: async (client, args40, ctx) => {
49979
+ const [result, apiCall] = await pendleBuyYt(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49727
49980
  if (!result.ok) {
49728
49981
  return {
49729
49982
  content: [{ type: "text", text: result.error.message }],
@@ -49738,9 +49991,9 @@ Buy Yield Token (YT) with market's Underlying Token.
49738
49991
 
49739
49992
  // src/funcs/pendleMarket.ts
49740
49993
  function pendleMarket(client, request, options) {
49741
- return new APIPromise($do39(client, request, options));
49994
+ return new APIPromise($do40(client, request, options));
49742
49995
  }
49743
- async function $do39(client, request, options) {
49996
+ async function $do40(client, request, options) {
49744
49997
  const parsed = safeParse(request, (value) => PendleMarketRequest$outboundSchema.parse(value), "Input validation failed");
49745
49998
  if (!parsed.ok) {
49746
49999
  return [parsed, { status: "invalid" }];
@@ -49818,12 +50071,12 @@ var init_pendleMarket = __esm(() => {
49818
50071
  });
49819
50072
 
49820
50073
  // src/mcp-server/tools/pendleMarket.ts
49821
- var args39, tool$pendleMarket;
50074
+ var args40, tool$pendleMarket;
49822
50075
  var init_pendleMarket2 = __esm(() => {
49823
50076
  init_pendleMarket();
49824
50077
  init_operations();
49825
50078
  init_tools();
49826
- args39 = {
50079
+ args40 = {
49827
50080
  request: PendleMarketRequest$inboundSchema
49828
50081
  };
49829
50082
  tool$pendleMarket = {
@@ -49833,9 +50086,9 @@ var init_pendleMarket2 = __esm(() => {
49833
50086
  Get the market's implied APY, maturity date and the associated token data.
49834
50087
 
49835
50088
  The user position is only included if 'user_address' parameter is included.`,
49836
- args: args39,
49837
- tool: async (client, args40, ctx) => {
49838
- const [result, apiCall] = await pendleMarket(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50089
+ args: args40,
50090
+ tool: async (client, args41, ctx) => {
50091
+ const [result, apiCall] = await pendleMarket(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49839
50092
  if (!result.ok) {
49840
50093
  return {
49841
50094
  content: [{ type: "text", text: result.error.message }],
@@ -49850,9 +50103,9 @@ The user position is only included if 'user_address' parameter is included.`,
49850
50103
 
49851
50104
  // src/funcs/pendleMarkets.ts
49852
50105
  function pendleMarkets(client, request, options) {
49853
- return new APIPromise($do40(client, request, options));
50106
+ return new APIPromise($do41(client, request, options));
49854
50107
  }
49855
- async function $do40(client, request, options) {
50108
+ async function $do41(client, request, options) {
49856
50109
  const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
49857
50110
  if (!parsed.ok) {
49858
50111
  return [parsed, { status: "invalid" }];
@@ -49927,12 +50180,12 @@ var init_pendleMarkets = __esm(() => {
49927
50180
  });
49928
50181
 
49929
50182
  // src/mcp-server/tools/pendleMarkets.ts
49930
- var args40, tool$pendleMarkets;
50183
+ var args41, tool$pendleMarkets;
49931
50184
  var init_pendleMarkets2 = __esm(() => {
49932
50185
  init_pendleMarkets();
49933
50186
  init_operations();
49934
50187
  init_tools();
49935
- args40 = {
50188
+ args41 = {
49936
50189
  request: PendleMarketsRequest$inboundSchema
49937
50190
  };
49938
50191
  tool$pendleMarkets = {
@@ -49940,9 +50193,9 @@ var init_pendleMarkets2 = __esm(() => {
49940
50193
  description: `List Market Data
49941
50194
 
49942
50195
  Get a list of active markets.`,
49943
- args: args40,
49944
- tool: async (client, args41, ctx) => {
49945
- const [result, apiCall] = await pendleMarkets(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50196
+ args: args41,
50197
+ tool: async (client, args42, ctx) => {
50198
+ const [result, apiCall] = await pendleMarkets(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49946
50199
  if (!result.ok) {
49947
50200
  return {
49948
50201
  content: [{ type: "text", text: result.error.message }],
@@ -49957,9 +50210,9 @@ Get a list of active markets.`,
49957
50210
 
49958
50211
  // src/funcs/pendlePositions.ts
49959
50212
  function pendlePositions(client, request, options) {
49960
- return new APIPromise($do41(client, request, options));
50213
+ return new APIPromise($do42(client, request, options));
49961
50214
  }
49962
- async function $do41(client, request, options) {
50215
+ async function $do42(client, request, options) {
49963
50216
  const parsed = safeParse(request, (value) => PendlePositionsRequest$outboundSchema.parse(value), "Input validation failed");
49964
50217
  if (!parsed.ok) {
49965
50218
  return [parsed, { status: "invalid" }];
@@ -50035,12 +50288,12 @@ var init_pendlePositions = __esm(() => {
50035
50288
  });
50036
50289
 
50037
50290
  // src/mcp-server/tools/pendlePositions.ts
50038
- var args41, tool$pendlePositions;
50291
+ var args42, tool$pendlePositions;
50039
50292
  var init_pendlePositions2 = __esm(() => {
50040
50293
  init_pendlePositions();
50041
50294
  init_operations();
50042
50295
  init_tools();
50043
- args41 = {
50296
+ args42 = {
50044
50297
  request: PendlePositionsRequest$inboundSchema
50045
50298
  };
50046
50299
  tool$pendlePositions = {
@@ -50048,9 +50301,9 @@ var init_pendlePositions2 = __esm(() => {
50048
50301
  description: `List User's Market Positions
50049
50302
 
50050
50303
  List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
50051
- args: args41,
50052
- tool: async (client, args42, ctx) => {
50053
- const [result, apiCall] = await pendlePositions(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50304
+ args: args42,
50305
+ tool: async (client, args43, ctx) => {
50306
+ const [result, apiCall] = await pendlePositions(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50054
50307
  if (!result.ok) {
50055
50308
  return {
50056
50309
  content: [{ type: "text", text: result.error.message }],
@@ -50065,9 +50318,9 @@ List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
50065
50318
 
50066
50319
  // src/funcs/pendleQuote.ts
50067
50320
  function pendleQuote(client, request, options) {
50068
- return new APIPromise($do42(client, request, options));
50321
+ return new APIPromise($do43(client, request, options));
50069
50322
  }
50070
- async function $do42(client, request, options) {
50323
+ async function $do43(client, request, options) {
50071
50324
  const parsed = safeParse(request, (value) => PendleQuoteRequest$outboundSchema.parse(value), "Input validation failed");
50072
50325
  if (!parsed.ok) {
50073
50326
  return [parsed, { status: "invalid" }];
@@ -50147,12 +50400,12 @@ var init_pendleQuote = __esm(() => {
50147
50400
  });
50148
50401
 
50149
50402
  // src/mcp-server/tools/pendleQuote.ts
50150
- var args42, tool$pendleQuote;
50403
+ var args43, tool$pendleQuote;
50151
50404
  var init_pendleQuote2 = __esm(() => {
50152
50405
  init_pendleQuote();
50153
50406
  init_operations();
50154
50407
  init_tools();
50155
- args42 = {
50408
+ args43 = {
50156
50409
  request: PendleQuoteRequest$inboundSchema
50157
50410
  };
50158
50411
  tool$pendleQuote = {
@@ -50165,9 +50418,9 @@ Provider Token (LP) on Pendle.
50165
50418
  For \`BUY\`, \`amount\` is the quantity of the Underlying Token to spend, and the quote returns the amount of \`token_type\` received.
50166
50419
 
50167
50420
  For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quote returns the amount of Underlying Token received.`,
50168
- args: args42,
50169
- tool: async (client, args43, ctx) => {
50170
- const [result, apiCall] = await pendleQuote(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50421
+ args: args43,
50422
+ tool: async (client, args44, ctx) => {
50423
+ const [result, apiCall] = await pendleQuote(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50171
50424
  if (!result.ok) {
50172
50425
  return {
50173
50426
  content: [{ type: "text", text: result.error.message }],
@@ -50182,9 +50435,9 @@ For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quot
50182
50435
 
50183
50436
  // src/funcs/pendleRedeemYield.ts
50184
50437
  function pendleRedeemYield(client, request, options) {
50185
- return new APIPromise($do43(client, request, options));
50438
+ return new APIPromise($do44(client, request, options));
50186
50439
  }
50187
- async function $do43(client, request, options) {
50440
+ async function $do44(client, request, options) {
50188
50441
  const parsed = safeParse(request, (value) => PendleRedeemYieldRequest$outboundSchema.parse(value), "Input validation failed");
50189
50442
  if (!parsed.ok) {
50190
50443
  return [parsed, { status: "invalid" }];
@@ -50255,12 +50508,12 @@ var init_pendleRedeemYield = __esm(() => {
50255
50508
  });
50256
50509
 
50257
50510
  // src/mcp-server/tools/pendleRedeemYield.ts
50258
- var args43, tool$pendleRedeemYield;
50511
+ var args44, tool$pendleRedeemYield;
50259
50512
  var init_pendleRedeemYield2 = __esm(() => {
50260
50513
  init_pendleRedeemYield();
50261
50514
  init_components();
50262
50515
  init_tools();
50263
- args43 = {
50516
+ args44 = {
50264
50517
  request: PendleRedeemYieldRequest$inboundSchema
50265
50518
  };
50266
50519
  tool$pendleRedeemYield = {
@@ -50276,9 +50529,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).
50276
50529
  - \`PendleRouter\`
50277
50530
  </Info>
50278
50531
  `,
50279
- args: args43,
50280
- tool: async (client, args44, ctx) => {
50281
- const [result, apiCall] = await pendleRedeemYield(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50532
+ args: args44,
50533
+ tool: async (client, args45, ctx) => {
50534
+ const [result, apiCall] = await pendleRedeemYield(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50282
50535
  if (!result.ok) {
50283
50536
  return {
50284
50537
  content: [{ type: "text", text: result.error.message }],
@@ -50293,9 +50546,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).
50293
50546
 
50294
50547
  // src/funcs/pendleRemoveLiquidity.ts
50295
50548
  function pendleRemoveLiquidity(client, request, options) {
50296
- return new APIPromise($do44(client, request, options));
50549
+ return new APIPromise($do45(client, request, options));
50297
50550
  }
50298
- async function $do44(client, request, options) {
50551
+ async function $do45(client, request, options) {
50299
50552
  const parsed = safeParse(request, (value) => PendleRemoveLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
50300
50553
  if (!parsed.ok) {
50301
50554
  return [parsed, { status: "invalid" }];
@@ -50366,12 +50619,12 @@ var init_pendleRemoveLiquidity = __esm(() => {
50366
50619
  });
50367
50620
 
50368
50621
  // src/mcp-server/tools/pendleRemoveLiquidity.ts
50369
- var args44, tool$pendleRemoveLiquidity;
50622
+ var args45, tool$pendleRemoveLiquidity;
50370
50623
  var init_pendleRemoveLiquidity2 = __esm(() => {
50371
50624
  init_pendleRemoveLiquidity();
50372
50625
  init_components();
50373
50626
  init_tools();
50374
- args44 = {
50627
+ args45 = {
50375
50628
  request: PendleRemoveLiquidityRequest$inboundSchema
50376
50629
  };
50377
50630
  tool$pendleRemoveLiquidity = {
@@ -50391,9 +50644,9 @@ market contract must be set beforehand
50391
50644
  - \`PendleRouter\`
50392
50645
  </Info>
50393
50646
  `,
50394
- args: args44,
50395
- tool: async (client, args45, ctx) => {
50396
- const [result, apiCall] = await pendleRemoveLiquidity(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50647
+ args: args45,
50648
+ tool: async (client, args46, ctx) => {
50649
+ const [result, apiCall] = await pendleRemoveLiquidity(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50397
50650
  if (!result.ok) {
50398
50651
  return {
50399
50652
  content: [{ type: "text", text: result.error.message }],
@@ -50408,9 +50661,9 @@ market contract must be set beforehand
50408
50661
 
50409
50662
  // src/funcs/pendleSellPt.ts
50410
50663
  function pendleSellPt(client, request, options) {
50411
- return new APIPromise($do45(client, request, options));
50664
+ return new APIPromise($do46(client, request, options));
50412
50665
  }
50413
- async function $do45(client, request, options) {
50666
+ async function $do46(client, request, options) {
50414
50667
  const parsed = safeParse(request, (value) => PendleSellPtRequest$outboundSchema.parse(value), "Input validation failed");
50415
50668
  if (!parsed.ok) {
50416
50669
  return [parsed, { status: "invalid" }];
@@ -50481,12 +50734,12 @@ var init_pendleSellPt = __esm(() => {
50481
50734
  });
50482
50735
 
50483
50736
  // src/mcp-server/tools/pendleSellPt.ts
50484
- var args45, tool$pendleSellPt;
50737
+ var args46, tool$pendleSellPt;
50485
50738
  var init_pendleSellPt2 = __esm(() => {
50486
50739
  init_pendleSellPt();
50487
50740
  init_components();
50488
50741
  init_tools();
50489
- args45 = {
50742
+ args46 = {
50490
50743
  request: PendleSellPtRequest$inboundSchema
50491
50744
  };
50492
50745
  tool$pendleSellPt = {
@@ -50502,9 +50755,9 @@ Sell Principal Token (PT) for the market's Underlying Token.
50502
50755
  - \`PendleRouter\`
50503
50756
  </Info>
50504
50757
  `,
50505
- args: args45,
50506
- tool: async (client, args46, ctx) => {
50507
- const [result, apiCall] = await pendleSellPt(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50758
+ args: args46,
50759
+ tool: async (client, args47, ctx) => {
50760
+ const [result, apiCall] = await pendleSellPt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50508
50761
  if (!result.ok) {
50509
50762
  return {
50510
50763
  content: [{ type: "text", text: result.error.message }],
@@ -50519,9 +50772,9 @@ Sell Principal Token (PT) for the market's Underlying Token.
50519
50772
 
50520
50773
  // src/funcs/pendleSellYt.ts
50521
50774
  function pendleSellYt(client, request, options) {
50522
- return new APIPromise($do46(client, request, options));
50775
+ return new APIPromise($do47(client, request, options));
50523
50776
  }
50524
- async function $do46(client, request, options) {
50777
+ async function $do47(client, request, options) {
50525
50778
  const parsed = safeParse(request, (value) => PendleSellYtRequest$outboundSchema.parse(value), "Input validation failed");
50526
50779
  if (!parsed.ok) {
50527
50780
  return [parsed, { status: "invalid" }];
@@ -50592,12 +50845,12 @@ var init_pendleSellYt = __esm(() => {
50592
50845
  });
50593
50846
 
50594
50847
  // src/mcp-server/tools/pendleSellYt.ts
50595
- var args46, tool$pendleSellYt;
50848
+ var args47, tool$pendleSellYt;
50596
50849
  var init_pendleSellYt2 = __esm(() => {
50597
50850
  init_pendleSellYt();
50598
50851
  init_components();
50599
50852
  init_tools();
50600
- args46 = {
50853
+ args47 = {
50601
50854
  request: PendleSellYtRequest$inboundSchema
50602
50855
  };
50603
50856
  tool$pendleSellYt = {
@@ -50613,9 +50866,9 @@ Sell Yield Token (YT) for the market's Underlying Token.
50613
50866
  - \`PendleRouter\`
50614
50867
  </Info>
50615
50868
  `,
50616
- args: args46,
50617
- tool: async (client, args47, ctx) => {
50618
- const [result, apiCall] = await pendleSellYt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50869
+ args: args47,
50870
+ tool: async (client, args48, ctx) => {
50871
+ const [result, apiCall] = await pendleSellYt(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50619
50872
  if (!result.ok) {
50620
50873
  return {
50621
50874
  content: [{ type: "text", text: result.error.message }],
@@ -50630,9 +50883,9 @@ Sell Yield Token (YT) for the market's Underlying Token.
50630
50883
 
50631
50884
  // src/funcs/skyBuy.ts
50632
50885
  function skyBuy(client, request, options) {
50633
- return new APIPromise($do47(client, request, options));
50886
+ return new APIPromise($do48(client, request, options));
50634
50887
  }
50635
- async function $do47(client, request, options) {
50888
+ async function $do48(client, request, options) {
50636
50889
  const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
50637
50890
  if (!parsed.ok) {
50638
50891
  return [parsed, { status: "invalid" }];
@@ -50703,12 +50956,12 @@ var init_skyBuy = __esm(() => {
50703
50956
  });
50704
50957
 
50705
50958
  // src/mcp-server/tools/skyBuy.ts
50706
- var args47, tool$skyBuy;
50959
+ var args48, tool$skyBuy;
50707
50960
  var init_skyBuy2 = __esm(() => {
50708
50961
  init_skyBuy();
50709
50962
  init_components();
50710
50963
  init_tools();
50711
- args47 = {
50964
+ args48 = {
50712
50965
  request: SkyBuyRequest$inboundSchema
50713
50966
  };
50714
50967
  tool$skyBuy = {
@@ -50730,9 +50983,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
50730
50983
  - \`SkyUsdcUsdsConverter\`
50731
50984
  </Info>
50732
50985
  `,
50733
- args: args47,
50734
- tool: async (client, args48, ctx) => {
50735
- const [result, apiCall] = await skyBuy(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50986
+ args: args48,
50987
+ tool: async (client, args49, ctx) => {
50988
+ const [result, apiCall] = await skyBuy(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50736
50989
  if (!result.ok) {
50737
50990
  return {
50738
50991
  content: [{ type: "text", text: result.error.message }],
@@ -50747,9 +51000,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
50747
51000
 
50748
51001
  // src/funcs/skyDeposit.ts
50749
51002
  function skyDeposit(client, request, options) {
50750
- return new APIPromise($do48(client, request, options));
51003
+ return new APIPromise($do49(client, request, options));
50751
51004
  }
50752
- async function $do48(client, request, options) {
51005
+ async function $do49(client, request, options) {
50753
51006
  const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
50754
51007
  if (!parsed.ok) {
50755
51008
  return [parsed, { status: "invalid" }];
@@ -50820,12 +51073,12 @@ var init_skyDeposit = __esm(() => {
50820
51073
  });
50821
51074
 
50822
51075
  // src/mcp-server/tools/skyDeposit.ts
50823
- var args48, tool$skyDeposit;
51076
+ var args49, tool$skyDeposit;
50824
51077
  var init_skyDeposit2 = __esm(() => {
50825
51078
  init_skyDeposit();
50826
51079
  init_components();
50827
51080
  init_tools();
50828
- args48 = {
51081
+ args49 = {
50829
51082
  request: SkyDepositRequest$inboundSchema
50830
51083
  };
50831
51084
  tool$skyDeposit = {
@@ -50845,9 +51098,9 @@ There are no fees.
50845
51098
  - \`SkyUsdsVault\`
50846
51099
  </Info>
50847
51100
  `,
50848
- args: args48,
50849
- tool: async (client, args49, ctx) => {
50850
- const [result, apiCall] = await skyDeposit(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51101
+ args: args49,
51102
+ tool: async (client, args50, ctx) => {
51103
+ const [result, apiCall] = await skyDeposit(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50851
51104
  if (!result.ok) {
50852
51105
  return {
50853
51106
  content: [{ type: "text", text: result.error.message }],
@@ -50862,9 +51115,9 @@ There are no fees.
50862
51115
 
50863
51116
  // src/funcs/skyPosition.ts
50864
51117
  function skyPosition(client, request, options) {
50865
- return new APIPromise($do49(client, request, options));
51118
+ return new APIPromise($do50(client, request, options));
50866
51119
  }
50867
- async function $do49(client, request, options) {
51120
+ async function $do50(client, request, options) {
50868
51121
  const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
50869
51122
  if (!parsed.ok) {
50870
51123
  return [parsed, { status: "invalid" }];
@@ -50940,12 +51193,12 @@ var init_skyPosition = __esm(() => {
50940
51193
  });
50941
51194
 
50942
51195
  // src/mcp-server/tools/skyPosition.ts
50943
- var args49, tool$skyPosition;
51196
+ var args50, tool$skyPosition;
50944
51197
  var init_skyPosition2 = __esm(() => {
50945
51198
  init_skyPosition();
50946
51199
  init_operations();
50947
51200
  init_tools();
50948
- args49 = {
51201
+ args50 = {
50949
51202
  request: SkyPositionRequest$inboundSchema
50950
51203
  };
50951
51204
  tool$skyPosition = {
@@ -50953,9 +51206,9 @@ var init_skyPosition2 = __esm(() => {
50953
51206
  description: `Check USDS Position
50954
51207
 
50955
51208
  Check the USDS overall position.`,
50956
- args: args49,
50957
- tool: async (client, args50, ctx) => {
50958
- const [result, apiCall] = await skyPosition(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51209
+ args: args50,
51210
+ tool: async (client, args51, ctx) => {
51211
+ const [result, apiCall] = await skyPosition(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50959
51212
  if (!result.ok) {
50960
51213
  return {
50961
51214
  content: [{ type: "text", text: result.error.message }],
@@ -50970,9 +51223,9 @@ Check the USDS overall position.`,
50970
51223
 
50971
51224
  // src/funcs/skySell.ts
50972
51225
  function skySell(client, request, options) {
50973
- return new APIPromise($do50(client, request, options));
51226
+ return new APIPromise($do51(client, request, options));
50974
51227
  }
50975
- async function $do50(client, request, options) {
51228
+ async function $do51(client, request, options) {
50976
51229
  const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
50977
51230
  if (!parsed.ok) {
50978
51231
  return [parsed, { status: "invalid" }];
@@ -51043,12 +51296,12 @@ var init_skySell = __esm(() => {
51043
51296
  });
51044
51297
 
51045
51298
  // src/mcp-server/tools/skySell.ts
51046
- var args50, tool$skySell;
51299
+ var args51, tool$skySell;
51047
51300
  var init_skySell2 = __esm(() => {
51048
51301
  init_skySell();
51049
51302
  init_components();
51050
51303
  init_tools();
51051
- args50 = {
51304
+ args51 = {
51052
51305
  request: SkySellRequest$inboundSchema
51053
51306
  };
51054
51307
  tool$skySell = {
@@ -51070,9 +51323,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
51070
51323
  - \`SkyUsdcUsdsConverter\`
51071
51324
  </Info>
51072
51325
  `,
51073
- args: args50,
51074
- tool: async (client, args51, ctx) => {
51075
- const [result, apiCall] = await skySell(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51326
+ args: args51,
51327
+ tool: async (client, args52, ctx) => {
51328
+ const [result, apiCall] = await skySell(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51076
51329
  if (!result.ok) {
51077
51330
  return {
51078
51331
  content: [{ type: "text", text: result.error.message }],
@@ -51087,9 +51340,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
51087
51340
 
51088
51341
  // src/funcs/skyWithdraw.ts
51089
51342
  function skyWithdraw(client, request, options) {
51090
- return new APIPromise($do51(client, request, options));
51343
+ return new APIPromise($do52(client, request, options));
51091
51344
  }
51092
- async function $do51(client, request, options) {
51345
+ async function $do52(client, request, options) {
51093
51346
  const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
51094
51347
  if (!parsed.ok) {
51095
51348
  return [parsed, { status: "invalid" }];
@@ -51160,12 +51413,12 @@ var init_skyWithdraw = __esm(() => {
51160
51413
  });
51161
51414
 
51162
51415
  // src/mcp-server/tools/skyWithdraw.ts
51163
- var args51, tool$skyWithdraw;
51416
+ var args52, tool$skyWithdraw;
51164
51417
  var init_skyWithdraw2 = __esm(() => {
51165
51418
  init_skyWithdraw();
51166
51419
  init_components();
51167
51420
  init_tools();
51168
- args51 = {
51421
+ args52 = {
51169
51422
  request: SkyWithdrawRequest$inboundSchema
51170
51423
  };
51171
51424
  tool$skyWithdraw = {
@@ -51186,9 +51439,9 @@ There are no fees.
51186
51439
  - \`SkyUsdsVault\`
51187
51440
  </Info>
51188
51441
  `,
51189
- args: args51,
51190
- tool: async (client, args52, ctx) => {
51191
- const [result, apiCall] = await skyWithdraw(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51442
+ args: args52,
51443
+ tool: async (client, args53, ctx) => {
51444
+ const [result, apiCall] = await skyWithdraw(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51192
51445
  if (!result.ok) {
51193
51446
  return {
51194
51447
  content: [{ type: "text", text: result.error.message }],
@@ -51203,9 +51456,9 @@ There are no fees.
51203
51456
 
51204
51457
  // src/funcs/smartAccountAccountBatchedUserOperations.ts
51205
51458
  function smartAccountAccountBatchedUserOperations(client, request, options) {
51206
- return new APIPromise($do52(client, request, options));
51459
+ return new APIPromise($do53(client, request, options));
51207
51460
  }
51208
- async function $do52(client, request, options) {
51461
+ async function $do53(client, request, options) {
51209
51462
  const parsed = safeParse(request, (value) => BatchedUserOperationsRequest$outboundSchema.parse(value), "Input validation failed");
51210
51463
  if (!parsed.ok) {
51211
51464
  return [parsed, { status: "invalid" }];
@@ -51276,12 +51529,12 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
51276
51529
  });
51277
51530
 
51278
51531
  // src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
51279
- var args52, tool$smartAccountAccountBatchedUserOperations;
51532
+ var args53, tool$smartAccountAccountBatchedUserOperations;
51280
51533
  var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
51281
51534
  init_smartAccountAccountBatchedUserOperations();
51282
51535
  init_components();
51283
51536
  init_tools();
51284
- args52 = {
51537
+ args53 = {
51285
51538
  request: BatchedUserOperationsRequest$inboundSchema
51286
51539
  };
51287
51540
  tool$smartAccountAccountBatchedUserOperations = {
@@ -51289,9 +51542,9 @@ var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
51289
51542
  description: `Get Smart Account Batched User Operations
51290
51543
 
51291
51544
  Generate a list of user operations for smart account batching.`,
51292
- args: args52,
51293
- tool: async (client, args53, ctx) => {
51294
- const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51545
+ args: args53,
51546
+ tool: async (client, args54, ctx) => {
51547
+ const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51295
51548
  if (!result.ok) {
51296
51549
  return {
51297
51550
  content: [{ type: "text", text: result.error.message }],
@@ -51306,9 +51559,9 @@ Generate a list of user operations for smart account batching.`,
51306
51559
 
51307
51560
  // src/funcs/swapOdos.ts
51308
51561
  function swapOdos(client, request, options) {
51309
- return new APIPromise($do53(client, request, options));
51562
+ return new APIPromise($do54(client, request, options));
51310
51563
  }
51311
- async function $do53(client, request, options) {
51564
+ async function $do54(client, request, options) {
51312
51565
  const parsed = safeParse(request, (value) => OdosSwapRequest$outboundSchema.parse(value), "Input validation failed");
51313
51566
  if (!parsed.ok) {
51314
51567
  return [parsed, { status: "invalid" }];
@@ -51379,12 +51632,12 @@ var init_swapOdos = __esm(() => {
51379
51632
  });
51380
51633
 
51381
51634
  // src/mcp-server/tools/swapOdos.ts
51382
- var args53, tool$swapOdos;
51635
+ var args54, tool$swapOdos;
51383
51636
  var init_swapOdos2 = __esm(() => {
51384
51637
  init_swapOdos();
51385
51638
  init_components();
51386
51639
  init_tools();
51387
- args53 = {
51640
+ args54 = {
51388
51641
  request: OdosSwapRequest$inboundSchema
51389
51642
  };
51390
51643
  tool$swapOdos = {
@@ -51400,9 +51653,9 @@ Swap between two tokens using Odos Smart Order Routing.
51400
51653
  - \`OdosRouter\`
51401
51654
  </Info>
51402
51655
  `,
51403
- args: args53,
51404
- tool: async (client, args54, ctx) => {
51405
- const [result, apiCall] = await swapOdos(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51656
+ args: args54,
51657
+ tool: async (client, args55, ctx) => {
51658
+ const [result, apiCall] = await swapOdos(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51406
51659
  if (!result.ok) {
51407
51660
  return {
51408
51661
  content: [{ type: "text", text: result.error.message }],
@@ -51417,9 +51670,9 @@ Swap between two tokens using Odos Smart Order Routing.
51417
51670
 
51418
51671
  // src/funcs/tokenAddress.ts
51419
51672
  function tokenAddress(client, request, options) {
51420
- return new APIPromise($do54(client, request, options));
51673
+ return new APIPromise($do55(client, request, options));
51421
51674
  }
51422
- async function $do54(client, request, options) {
51675
+ async function $do55(client, request, options) {
51423
51676
  const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
51424
51677
  if (!parsed.ok) {
51425
51678
  return [parsed, { status: "invalid" }];
@@ -51495,12 +51748,12 @@ var init_tokenAddress = __esm(() => {
51495
51748
  });
51496
51749
 
51497
51750
  // src/mcp-server/tools/tokenAddress.ts
51498
- var args54, tool$tokenAddress;
51751
+ var args55, tool$tokenAddress;
51499
51752
  var init_tokenAddress2 = __esm(() => {
51500
51753
  init_tokenAddress();
51501
51754
  init_operations();
51502
51755
  init_tools();
51503
- args54 = {
51756
+ args55 = {
51504
51757
  request: TokenAddressRequest$inboundSchema
51505
51758
  };
51506
51759
  tool$tokenAddress = {
@@ -51508,9 +51761,9 @@ var init_tokenAddress2 = __esm(() => {
51508
51761
  description: `Token Address
51509
51762
 
51510
51763
  This endpoint retrieves the address for a token supported by us.`,
51511
- args: args54,
51512
- tool: async (client, args55, ctx) => {
51513
- const [result, apiCall] = await tokenAddress(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51764
+ args: args55,
51765
+ tool: async (client, args56, ctx) => {
51766
+ const [result, apiCall] = await tokenAddress(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51514
51767
  if (!result.ok) {
51515
51768
  return {
51516
51769
  content: [{ type: "text", text: result.error.message }],
@@ -51525,9 +51778,9 @@ This endpoint retrieves the address for a token supported by us.`,
51525
51778
 
51526
51779
  // src/funcs/tokenBalance.ts
51527
51780
  function tokenBalance(client, request, options) {
51528
- return new APIPromise($do55(client, request, options));
51781
+ return new APIPromise($do56(client, request, options));
51529
51782
  }
51530
- async function $do55(client, request, options) {
51783
+ async function $do56(client, request, options) {
51531
51784
  const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
51532
51785
  if (!parsed.ok) {
51533
51786
  return [parsed, { status: "invalid" }];
@@ -51604,12 +51857,12 @@ var init_tokenBalance = __esm(() => {
51604
51857
  });
51605
51858
 
51606
51859
  // src/mcp-server/tools/tokenBalance.ts
51607
- var args55, tool$tokenBalance;
51860
+ var args56, tool$tokenBalance;
51608
51861
  var init_tokenBalance2 = __esm(() => {
51609
51862
  init_tokenBalance();
51610
51863
  init_operations();
51611
51864
  init_tools();
51612
- args55 = {
51865
+ args56 = {
51613
51866
  request: TokenBalanceRequest$inboundSchema
51614
51867
  };
51615
51868
  tool$tokenBalance = {
@@ -51617,9 +51870,9 @@ var init_tokenBalance2 = __esm(() => {
51617
51870
  description: `Token Balance
51618
51871
 
51619
51872
  Returns the balance of a specific ERC20 token for a given user address.`,
51620
- args: args55,
51621
- tool: async (client, args56, ctx) => {
51622
- const [result, apiCall] = await tokenBalance(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51873
+ args: args56,
51874
+ tool: async (client, args57, ctx) => {
51875
+ const [result, apiCall] = await tokenBalance(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51623
51876
  if (!result.ok) {
51624
51877
  return {
51625
51878
  content: [{ type: "text", text: result.error.message }],
@@ -51634,9 +51887,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
51634
51887
 
51635
51888
  // src/funcs/tokenPrice.ts
51636
51889
  function tokenPrice(client, request, options) {
51637
- return new APIPromise($do56(client, request, options));
51890
+ return new APIPromise($do57(client, request, options));
51638
51891
  }
51639
- async function $do56(client, request, options) {
51892
+ async function $do57(client, request, options) {
51640
51893
  const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
51641
51894
  if (!parsed.ok) {
51642
51895
  return [parsed, { status: "invalid" }];
@@ -51713,12 +51966,12 @@ var init_tokenPrice = __esm(() => {
51713
51966
  });
51714
51967
 
51715
51968
  // src/mcp-server/tools/tokenPrice.ts
51716
- var args56, tool$tokenPrice;
51969
+ var args57, tool$tokenPrice;
51717
51970
  var init_tokenPrice2 = __esm(() => {
51718
51971
  init_tokenPrice();
51719
51972
  init_operations();
51720
51973
  init_tools();
51721
- args56 = {
51974
+ args57 = {
51722
51975
  request: TokenPriceRequest$inboundSchema
51723
51976
  };
51724
51977
  tool$tokenPrice = {
@@ -51730,9 +51983,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
51730
51983
  Chainlink is a decentralized oracle that aggregates price data from off-chain
51731
51984
  sources. This ensures the price is tamper-resistant but the price might be stale
51732
51985
  with the update frequency of the oracle.`,
51733
- args: args56,
51734
- tool: async (client, args57, ctx) => {
51735
- const [result, apiCall] = await tokenPrice(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51986
+ args: args57,
51987
+ tool: async (client, args58, ctx) => {
51988
+ const [result, apiCall] = await tokenPrice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51736
51989
  if (!result.ok) {
51737
51990
  return {
51738
51991
  content: [{ type: "text", text: result.error.message }],
@@ -51747,9 +52000,9 @@ with the update frequency of the oracle.`,
51747
52000
 
51748
52001
  // src/funcs/tokenTransfer.ts
51749
52002
  function tokenTransfer(client, request, options) {
51750
- return new APIPromise($do57(client, request, options));
52003
+ return new APIPromise($do58(client, request, options));
51751
52004
  }
51752
- async function $do57(client, request, options) {
52005
+ async function $do58(client, request, options) {
51753
52006
  const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
51754
52007
  if (!parsed.ok) {
51755
52008
  return [parsed, { status: "invalid" }];
@@ -51820,12 +52073,12 @@ var init_tokenTransfer = __esm(() => {
51820
52073
  });
51821
52074
 
51822
52075
  // src/mcp-server/tools/tokenTransfer.ts
51823
- var args57, tool$tokenTransfer;
52076
+ var args58, tool$tokenTransfer;
51824
52077
  var init_tokenTransfer2 = __esm(() => {
51825
52078
  init_tokenTransfer();
51826
52079
  init_components();
51827
52080
  init_tools();
51828
- args57 = {
52081
+ args58 = {
51829
52082
  request: TokenTransferRequest$inboundSchema
51830
52083
  };
51831
52084
  tool$tokenTransfer = {
@@ -51833,9 +52086,9 @@ var init_tokenTransfer2 = __esm(() => {
51833
52086
  description: `Transfer ETH or ERC20 Tokens
51834
52087
 
51835
52088
  Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51836
- args: args57,
51837
- tool: async (client, args58, ctx) => {
51838
- const [result, apiCall] = await tokenTransfer(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52089
+ args: args58,
52090
+ tool: async (client, args59, ctx) => {
52091
+ const [result, apiCall] = await tokenTransfer(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51839
52092
  if (!result.ok) {
51840
52093
  return {
51841
52094
  content: [{ type: "text", text: result.error.message }],
@@ -51850,9 +52103,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51850
52103
 
51851
52104
  // src/funcs/transactionBundlerBundlerAaveLoop.ts
51852
52105
  function transactionBundlerBundlerAaveLoop(client, request, options) {
51853
- return new APIPromise($do58(client, request, options));
52106
+ return new APIPromise($do59(client, request, options));
51854
52107
  }
51855
- async function $do58(client, request, options) {
52108
+ async function $do59(client, request, options) {
51856
52109
  const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
51857
52110
  if (!parsed.ok) {
51858
52111
  return [parsed, { status: "invalid" }];
@@ -51923,12 +52176,12 @@ var init_transactionBundlerBundlerAaveLoop = __esm(() => {
51923
52176
  });
51924
52177
 
51925
52178
  // src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
51926
- var args58, tool$transactionBundlerBundlerAaveLoop;
52179
+ var args59, tool$transactionBundlerBundlerAaveLoop;
51927
52180
  var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
51928
52181
  init_transactionBundlerBundlerAaveLoop();
51929
52182
  init_components();
51930
52183
  init_tools();
51931
- args58 = {
52184
+ args59 = {
51932
52185
  request: AaveLoopRequest$inboundSchema
51933
52186
  };
51934
52187
  tool$transactionBundlerBundlerAaveLoop = {
@@ -51946,9 +52199,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
51946
52199
  - Supplies the swapped tokens
51947
52200
 
51948
52201
  The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
51949
- args: args58,
51950
- tool: async (client, args59, ctx) => {
51951
- const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52202
+ args: args59,
52203
+ tool: async (client, args60, ctx) => {
52204
+ const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51952
52205
  if (!result.ok) {
51953
52206
  return {
51954
52207
  content: [{ type: "text", text: result.error.message }],
@@ -51963,9 +52216,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
51963
52216
 
51964
52217
  // src/funcs/transactionBundlerBundlerAuthorization.ts
51965
52218
  function transactionBundlerBundlerAuthorization(client, request, options) {
51966
- return new APIPromise($do59(client, request, options));
52219
+ return new APIPromise($do60(client, request, options));
51967
52220
  }
51968
- async function $do59(client, request, options) {
52221
+ async function $do60(client, request, options) {
51969
52222
  const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
51970
52223
  if (!parsed.ok) {
51971
52224
  return [parsed, { status: "invalid" }];
@@ -52036,12 +52289,12 @@ var init_transactionBundlerBundlerAuthorization = __esm(() => {
52036
52289
  });
52037
52290
 
52038
52291
  // src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
52039
- var args59, tool$transactionBundlerBundlerAuthorization;
52292
+ var args60, tool$transactionBundlerBundlerAuthorization;
52040
52293
  var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
52041
52294
  init_transactionBundlerBundlerAuthorization();
52042
52295
  init_components();
52043
52296
  init_tools();
52044
- args59 = {
52297
+ args60 = {
52045
52298
  request: MulticallAuthorizationRequest$inboundSchema
52046
52299
  };
52047
52300
  tool$transactionBundlerBundlerAuthorization = {
@@ -52054,9 +52307,9 @@ Currently this is required for every transaction bundle to prevent replay attack
52054
52307
  and ensure transaction ordering when batching multiple actions into a single
52055
52308
  transaction. The authorization includes a nonce and chain ID to guarantee
52056
52309
  transaction uniqueness and proper network targeting.`,
52057
- args: args59,
52058
- tool: async (client, args60, ctx) => {
52059
- const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52310
+ args: args60,
52311
+ tool: async (client, args61, ctx) => {
52312
+ const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52060
52313
  if (!result.ok) {
52061
52314
  return {
52062
52315
  content: [{ type: "text", text: result.error.message }],
@@ -52071,9 +52324,9 @@ transaction uniqueness and proper network targeting.`,
52071
52324
 
52072
52325
  // src/funcs/transactionBundlerBundlerExecute.ts
52073
52326
  function transactionBundlerBundlerExecute(client, request, options) {
52074
- return new APIPromise($do60(client, request, options));
52327
+ return new APIPromise($do61(client, request, options));
52075
52328
  }
52076
- async function $do60(client, request, options) {
52329
+ async function $do61(client, request, options) {
52077
52330
  const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
52078
52331
  if (!parsed.ok) {
52079
52332
  return [parsed, { status: "invalid" }];
@@ -52144,12 +52397,12 @@ var init_transactionBundlerBundlerExecute = __esm(() => {
52144
52397
  });
52145
52398
 
52146
52399
  // src/mcp-server/tools/transactionBundlerBundlerExecute.ts
52147
- var args60, tool$transactionBundlerBundlerExecute;
52400
+ var args61, tool$transactionBundlerBundlerExecute;
52148
52401
  var init_transactionBundlerBundlerExecute2 = __esm(() => {
52149
52402
  init_transactionBundlerBundlerExecute();
52150
52403
  init_components();
52151
52404
  init_tools();
52152
- args60 = {
52405
+ args61 = {
52153
52406
  request: MulticallExecuteRequest$inboundSchema
52154
52407
  };
52155
52408
  tool$transactionBundlerBundlerExecute = {
@@ -52163,9 +52416,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
52163
52416
  transaction, reducing gas costs and ensuring all operations succeed or fail
52164
52417
  together. The transaction must be authorized using the /authorization endpoint to
52165
52418
  prevent replay attacks.`,
52166
- args: args60,
52167
- tool: async (client, args61, ctx) => {
52168
- const [result, apiCall] = await transactionBundlerBundlerExecute(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52419
+ args: args61,
52420
+ tool: async (client, args62, ctx) => {
52421
+ const [result, apiCall] = await transactionBundlerBundlerExecute(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52169
52422
  if (!result.ok) {
52170
52423
  return {
52171
52424
  content: [{ type: "text", text: result.error.message }],
@@ -52180,9 +52433,9 @@ prevent replay attacks.`,
52180
52433
 
52181
52434
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
52182
52435
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
52183
- return new APIPromise($do61(client, request, options));
52436
+ return new APIPromise($do62(client, request, options));
52184
52437
  }
52185
- async function $do61(client, request, options) {
52438
+ async function $do62(client, request, options) {
52186
52439
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
52187
52440
  if (!parsed.ok) {
52188
52441
  return [parsed, { status: "invalid" }];
@@ -52253,12 +52506,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
52253
52506
  });
52254
52507
 
52255
52508
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
52256
- var args61, tool$uniswapV3LiquidityProvisionIncrease;
52509
+ var args62, tool$uniswapV3LiquidityProvisionIncrease;
52257
52510
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
52258
52511
  init_uniswapV3LiquidityProvisionIncrease();
52259
52512
  init_components();
52260
52513
  init_tools();
52261
- args61 = {
52514
+ args62 = {
52262
52515
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
52263
52516
  };
52264
52517
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -52282,9 +52535,9 @@ process.
52282
52535
  - \`AerodromeSlipstreamRouter\`
52283
52536
  </Info>
52284
52537
  `,
52285
- args: args61,
52286
- tool: async (client, args62, ctx) => {
52287
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52538
+ args: args62,
52539
+ tool: async (client, args63, ctx) => {
52540
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52288
52541
  if (!result.ok) {
52289
52542
  return {
52290
52543
  content: [{ type: "text", text: result.error.message }],
@@ -52299,9 +52552,9 @@ process.
52299
52552
 
52300
52553
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
52301
52554
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
52302
- return new APIPromise($do62(client, request, options));
52555
+ return new APIPromise($do63(client, request, options));
52303
52556
  }
52304
- async function $do62(client, request, options) {
52557
+ async function $do63(client, request, options) {
52305
52558
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
52306
52559
  if (!parsed.ok) {
52307
52560
  return [parsed, { status: "invalid" }];
@@ -52377,12 +52630,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
52377
52630
  });
52378
52631
 
52379
52632
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
52380
- var args62, tool$uniswapV3LiquidityProvisionInRange;
52633
+ var args63, tool$uniswapV3LiquidityProvisionInRange;
52381
52634
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
52382
52635
  init_uniswapV3LiquidityProvisionInRange();
52383
52636
  init_operations();
52384
52637
  init_tools();
52385
- args62 = {
52638
+ args63 = {
52386
52639
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
52387
52640
  };
52388
52641
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -52397,9 +52650,9 @@ position is currently within the tick range where trading occurs. this informati
52397
52650
  is essential for users to monitor the status of their lp positions and ensure that
52398
52651
  they are actively participating in the trading activities within the liquidity pool
52399
52652
  and earning trading fees.`,
52400
- args: args62,
52401
- tool: async (client, args63, ctx) => {
52402
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52653
+ args: args63,
52654
+ tool: async (client, args64, ctx) => {
52655
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52403
52656
  if (!result.ok) {
52404
52657
  return {
52405
52658
  content: [{ type: "text", text: result.error.message }],
@@ -52414,9 +52667,9 @@ and earning trading fees.`,
52414
52667
 
52415
52668
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
52416
52669
  function uniswapV3LiquidityProvisionMint(client, request, options) {
52417
- return new APIPromise($do63(client, request, options));
52670
+ return new APIPromise($do64(client, request, options));
52418
52671
  }
52419
- async function $do63(client, request, options) {
52672
+ async function $do64(client, request, options) {
52420
52673
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
52421
52674
  if (!parsed.ok) {
52422
52675
  return [parsed, { status: "invalid" }];
@@ -52487,12 +52740,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
52487
52740
  });
52488
52741
 
52489
52742
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
52490
- var args63, tool$uniswapV3LiquidityProvisionMint;
52743
+ var args64, tool$uniswapV3LiquidityProvisionMint;
52491
52744
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
52492
52745
  init_uniswapV3LiquidityProvisionMint();
52493
52746
  init_components();
52494
52747
  init_tools();
52495
- args63 = {
52748
+ args64 = {
52496
52749
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
52497
52750
  };
52498
52751
  tool$uniswapV3LiquidityProvisionMint = {
@@ -52516,9 +52769,9 @@ needed for the minting process.
52516
52769
  - \`UniswapV3NFTPositionManager\`
52517
52770
  </Info>
52518
52771
  `,
52519
- args: args63,
52520
- tool: async (client, args64, ctx) => {
52521
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52772
+ args: args64,
52773
+ tool: async (client, args65, ctx) => {
52774
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52522
52775
  if (!result.ok) {
52523
52776
  return {
52524
52777
  content: [{ type: "text", text: result.error.message }],
@@ -52533,9 +52786,9 @@ needed for the minting process.
52533
52786
 
52534
52787
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
52535
52788
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
52536
- return new APIPromise($do64(client, request, options));
52789
+ return new APIPromise($do65(client, request, options));
52537
52790
  }
52538
- async function $do64(client, request, options) {
52791
+ async function $do65(client, request, options) {
52539
52792
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
52540
52793
  if (!parsed.ok) {
52541
52794
  return [parsed, { status: "invalid" }];
@@ -52611,12 +52864,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
52611
52864
  });
52612
52865
 
52613
52866
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
52614
- var args64, tool$uniswapV3LiquidityProvisionPositions;
52867
+ var args65, tool$uniswapV3LiquidityProvisionPositions;
52615
52868
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
52616
52869
  init_uniswapV3LiquidityProvisionPositions();
52617
52870
  init_operations();
52618
52871
  init_tools();
52619
- args64 = {
52872
+ args65 = {
52620
52873
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
52621
52874
  };
52622
52875
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -52630,9 +52883,9 @@ Users can query this endpoint to obtain detailed information about their LP
52630
52883
  positions, including the total number of positions and relevant metadata. This
52631
52884
  information is crucial for users to manage and analyze their liquidity provision
52632
52885
  activities effectively.`,
52633
- args: args64,
52634
- tool: async (client, args65, ctx) => {
52635
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52886
+ args: args65,
52887
+ tool: async (client, args66, ctx) => {
52888
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52636
52889
  if (!result.ok) {
52637
52890
  return {
52638
52891
  content: [{ type: "text", text: result.error.message }],
@@ -52647,9 +52900,9 @@ activities effectively.`,
52647
52900
 
52648
52901
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
52649
52902
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
52650
- return new APIPromise($do65(client, request, options));
52903
+ return new APIPromise($do66(client, request, options));
52651
52904
  }
52652
- async function $do65(client, request, options) {
52905
+ async function $do66(client, request, options) {
52653
52906
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
52654
52907
  if (!parsed.ok) {
52655
52908
  return [parsed, { status: "invalid" }];
@@ -52720,12 +52973,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
52720
52973
  });
52721
52974
 
52722
52975
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
52723
- var args65, tool$uniswapV3LiquidityProvisionWithdraw;
52976
+ var args66, tool$uniswapV3LiquidityProvisionWithdraw;
52724
52977
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
52725
52978
  init_uniswapV3LiquidityProvisionWithdraw();
52726
52979
  init_components();
52727
52980
  init_tools();
52728
- args65 = {
52981
+ args66 = {
52729
52982
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
52730
52983
  };
52731
52984
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -52750,9 +53003,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
52750
53003
  - \`UniswapV3NFTPositionManager\`
52751
53004
  </Info>
52752
53005
  `,
52753
- args: args65,
52754
- tool: async (client, args66, ctx) => {
52755
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53006
+ args: args66,
53007
+ tool: async (client, args67, ctx) => {
53008
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52756
53009
  if (!result.ok) {
52757
53010
  return {
52758
53011
  content: [{ type: "text", text: result.error.message }],
@@ -52767,9 +53020,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
52767
53020
 
52768
53021
  // src/funcs/uniswapV3PoolPrice.ts
52769
53022
  function uniswapV3PoolPrice(client, request, options) {
52770
- return new APIPromise($do66(client, request, options));
53023
+ return new APIPromise($do67(client, request, options));
52771
53024
  }
52772
- async function $do66(client, request, options) {
53025
+ async function $do67(client, request, options) {
52773
53026
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
52774
53027
  if (!parsed.ok) {
52775
53028
  return [parsed, { status: "invalid" }];
@@ -52847,12 +53100,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
52847
53100
  });
52848
53101
 
52849
53102
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
52850
- var args66, tool$uniswapV3PoolPrice;
53103
+ var args67, tool$uniswapV3PoolPrice;
52851
53104
  var init_uniswapV3PoolPrice2 = __esm(() => {
52852
53105
  init_uniswapV3PoolPrice();
52853
53106
  init_operations();
52854
53107
  init_tools();
52855
- args66 = {
53108
+ args67 = {
52856
53109
  request: UniswapPoolPriceRequest$inboundSchema
52857
53110
  };
52858
53111
  tool$uniswapV3PoolPrice = {
@@ -52862,9 +53115,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
52862
53115
  This endpoint calculates the price of a token in a Uniswap pool.
52863
53116
 
52864
53117
  The price is calculated based on the current pool state and the specified fee tier.`,
52865
- args: args66,
52866
- tool: async (client, args67, ctx) => {
52867
- const [result, apiCall] = await uniswapV3PoolPrice(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53118
+ args: args67,
53119
+ tool: async (client, args68, ctx) => {
53120
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52868
53121
  if (!result.ok) {
52869
53122
  return {
52870
53123
  content: [{ type: "text", text: result.error.message }],
@@ -52879,9 +53132,9 @@ The price is calculated based on the current pool state and the specified fee ti
52879
53132
 
52880
53133
  // src/funcs/uniswapV3QuoteBuyExactly.ts
52881
53134
  function uniswapV3QuoteBuyExactly(client, request, options) {
52882
- return new APIPromise($do67(client, request, options));
53135
+ return new APIPromise($do68(client, request, options));
52883
53136
  }
52884
- async function $do67(client, request, options) {
53137
+ async function $do68(client, request, options) {
52885
53138
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52886
53139
  if (!parsed.ok) {
52887
53140
  return [parsed, { status: "invalid" }];
@@ -52960,12 +53213,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
52960
53213
  });
52961
53214
 
52962
53215
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
52963
- var args67, tool$uniswapV3QuoteBuyExactly;
53216
+ var args68, tool$uniswapV3QuoteBuyExactly;
52964
53217
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
52965
53218
  init_uniswapV3QuoteBuyExactly();
52966
53219
  init_operations();
52967
53220
  init_tools();
52968
- args67 = {
53221
+ args68 = {
52969
53222
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
52970
53223
  };
52971
53224
  tool$uniswapV3QuoteBuyExactly = {
@@ -52977,9 +53230,9 @@ specified amount of output tokens from a Uniswap pool.
52977
53230
 
52978
53231
  It also provides the resulting price after the transaction. The calculation takes
52979
53232
  into account the current pool state and the specified fee tier.`,
52980
- args: args67,
52981
- tool: async (client, args68, ctx) => {
52982
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53233
+ args: args68,
53234
+ tool: async (client, args69, ctx) => {
53235
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52983
53236
  if (!result.ok) {
52984
53237
  return {
52985
53238
  content: [{ type: "text", text: result.error.message }],
@@ -52994,9 +53247,9 @@ into account the current pool state and the specified fee tier.`,
52994
53247
 
52995
53248
  // src/funcs/uniswapV3QuoteSellExactly.ts
52996
53249
  function uniswapV3QuoteSellExactly(client, request, options) {
52997
- return new APIPromise($do68(client, request, options));
53250
+ return new APIPromise($do69(client, request, options));
52998
53251
  }
52999
- async function $do68(client, request, options) {
53252
+ async function $do69(client, request, options) {
53000
53253
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
53001
53254
  if (!parsed.ok) {
53002
53255
  return [parsed, { status: "invalid" }];
@@ -53075,12 +53328,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
53075
53328
  });
53076
53329
 
53077
53330
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
53078
- var args68, tool$uniswapV3QuoteSellExactly;
53331
+ var args69, tool$uniswapV3QuoteSellExactly;
53079
53332
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
53080
53333
  init_uniswapV3QuoteSellExactly();
53081
53334
  init_operations();
53082
53335
  init_tools();
53083
- args68 = {
53336
+ args69 = {
53084
53337
  request: UniswapQuoteSellExactlyRequest$inboundSchema
53085
53338
  };
53086
53339
  tool$uniswapV3QuoteSellExactly = {
@@ -53092,9 +53345,9 @@ specified amount of output tokens from a Uniswap pool.
53092
53345
 
53093
53346
  It also provides the resulting price after the transaction. The calculation takes
53094
53347
  into account the current pool state and the specified fee tier.`,
53095
- args: args68,
53096
- tool: async (client, args69, ctx) => {
53097
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53348
+ args: args69,
53349
+ tool: async (client, args70, ctx) => {
53350
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53098
53351
  if (!result.ok) {
53099
53352
  return {
53100
53353
  content: [{ type: "text", text: result.error.message }],
@@ -53109,9 +53362,9 @@ into account the current pool state and the specified fee tier.`,
53109
53362
 
53110
53363
  // src/funcs/uniswapV3SwapBuyExactly.ts
53111
53364
  function uniswapV3SwapBuyExactly(client, request, options) {
53112
- return new APIPromise($do69(client, request, options));
53365
+ return new APIPromise($do70(client, request, options));
53113
53366
  }
53114
- async function $do69(client, request, options) {
53367
+ async function $do70(client, request, options) {
53115
53368
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
53116
53369
  if (!parsed.ok) {
53117
53370
  return [parsed, { status: "invalid" }];
@@ -53182,12 +53435,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
53182
53435
  });
53183
53436
 
53184
53437
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
53185
- var args69, tool$uniswapV3SwapBuyExactly;
53438
+ var args70, tool$uniswapV3SwapBuyExactly;
53186
53439
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
53187
53440
  init_uniswapV3SwapBuyExactly();
53188
53441
  init_components();
53189
53442
  init_tools();
53190
- args69 = {
53443
+ args70 = {
53191
53444
  request: UniswapBuyExactlyRequest$inboundSchema
53192
53445
  };
53193
53446
  tool$uniswapV3SwapBuyExactly = {
@@ -53209,9 +53462,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
53209
53462
  - \`UniswapV3Router\`
53210
53463
  </Info>
53211
53464
  `,
53212
- args: args69,
53213
- tool: async (client, args70, ctx) => {
53214
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53465
+ args: args70,
53466
+ tool: async (client, args71, ctx) => {
53467
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53215
53468
  if (!result.ok) {
53216
53469
  return {
53217
53470
  content: [{ type: "text", text: result.error.message }],
@@ -53226,9 +53479,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
53226
53479
 
53227
53480
  // src/funcs/uniswapV3SwapSellExactly.ts
53228
53481
  function uniswapV3SwapSellExactly(client, request, options) {
53229
- return new APIPromise($do70(client, request, options));
53482
+ return new APIPromise($do71(client, request, options));
53230
53483
  }
53231
- async function $do70(client, request, options) {
53484
+ async function $do71(client, request, options) {
53232
53485
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
53233
53486
  if (!parsed.ok) {
53234
53487
  return [parsed, { status: "invalid" }];
@@ -53299,12 +53552,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
53299
53552
  });
53300
53553
 
53301
53554
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
53302
- var args70, tool$uniswapV3SwapSellExactly;
53555
+ var args71, tool$uniswapV3SwapSellExactly;
53303
53556
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
53304
53557
  init_uniswapV3SwapSellExactly();
53305
53558
  init_components();
53306
53559
  init_tools();
53307
- args70 = {
53560
+ args71 = {
53308
53561
  request: UniswapSellExactlyRequest$inboundSchema
53309
53562
  };
53310
53563
  tool$uniswapV3SwapSellExactly = {
@@ -53326,9 +53579,9 @@ wrapped, the appropriate amount will be wrapped automatically.
53326
53579
  - \`UniswapV3Router\`
53327
53580
  </Info>
53328
53581
  `,
53329
- args: args70,
53330
- tool: async (client, args71, ctx) => {
53331
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53582
+ args: args71,
53583
+ tool: async (client, args72, ctx) => {
53584
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53332
53585
  if (!result.ok) {
53333
53586
  return {
53334
53587
  content: [{ type: "text", text: result.error.message }],
@@ -53343,9 +53596,9 @@ wrapped, the appropriate amount will be wrapped automatically.
53343
53596
 
53344
53597
  // src/funcs/universalAllowance.ts
53345
53598
  function universalAllowance(client, request, options) {
53346
- return new APIPromise($do71(client, request, options));
53599
+ return new APIPromise($do72(client, request, options));
53347
53600
  }
53348
- async function $do71(client, request, options) {
53601
+ async function $do72(client, request, options) {
53349
53602
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
53350
53603
  if (!parsed.ok) {
53351
53604
  return [parsed, { status: "invalid" }];
@@ -53423,12 +53676,12 @@ var init_universalAllowance = __esm(() => {
53423
53676
  });
53424
53677
 
53425
53678
  // src/mcp-server/tools/universalAllowance.ts
53426
- var args71, tool$universalAllowance;
53679
+ var args72, tool$universalAllowance;
53427
53680
  var init_universalAllowance2 = __esm(() => {
53428
53681
  init_universalAllowance();
53429
53682
  init_operations();
53430
53683
  init_tools();
53431
- args71 = {
53684
+ args72 = {
53432
53685
  request: GenericAllowanceRequest$inboundSchema
53433
53686
  };
53434
53687
  tool$universalAllowance = {
@@ -53442,9 +53695,9 @@ tokens on their behalf.
53442
53695
  This is a crucial step before engaging in any transactions or operations within
53443
53696
  these protocols, ensuring that the protocol has the necessary permissions to manage
53444
53697
  the user's tokens securely and efficiently.`,
53445
- args: args71,
53446
- tool: async (client, args72, ctx) => {
53447
- const [result, apiCall] = await universalAllowance(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53698
+ args: args72,
53699
+ tool: async (client, args73, ctx) => {
53700
+ const [result, apiCall] = await universalAllowance(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53448
53701
  if (!result.ok) {
53449
53702
  return {
53450
53703
  content: [{ type: "text", text: result.error.message }],
@@ -53459,9 +53712,9 @@ the user's tokens securely and efficiently.`,
53459
53712
 
53460
53713
  // src/funcs/universalAllowanceSet.ts
53461
53714
  function universalAllowanceSet(client, request, options) {
53462
- return new APIPromise($do72(client, request, options));
53715
+ return new APIPromise($do73(client, request, options));
53463
53716
  }
53464
- async function $do72(client, request, options) {
53717
+ async function $do73(client, request, options) {
53465
53718
  const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
53466
53719
  if (!parsed.ok) {
53467
53720
  return [parsed, { status: "invalid" }];
@@ -53532,12 +53785,12 @@ var init_universalAllowanceSet = __esm(() => {
53532
53785
  });
53533
53786
 
53534
53787
  // src/mcp-server/tools/universalAllowanceSet.ts
53535
- var args72, tool$universalAllowanceSet;
53788
+ var args73, tool$universalAllowanceSet;
53536
53789
  var init_universalAllowanceSet2 = __esm(() => {
53537
53790
  init_universalAllowanceSet();
53538
53791
  init_components();
53539
53792
  init_tools();
53540
- args72 = {
53793
+ args73 = {
53541
53794
  request: SetAllowanceRequest$inboundSchema
53542
53795
  };
53543
53796
  tool$universalAllowanceSet = {
@@ -53552,9 +53805,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
53552
53805
  This operation is crucial for ensuring that the protocol can manage the user's
53553
53806
  tokens securely and efficiently, enabling seamless transactions and operations
53554
53807
  within the DeFi ecosystem.`,
53555
- args: args72,
53556
- tool: async (client, args73, ctx) => {
53557
- const [result, apiCall] = await universalAllowanceSet(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53808
+ args: args73,
53809
+ tool: async (client, args74, ctx) => {
53810
+ const [result, apiCall] = await universalAllowanceSet(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53558
53811
  if (!result.ok) {
53559
53812
  return {
53560
53813
  content: [{ type: "text", text: result.error.message }],
@@ -53569,9 +53822,9 @@ within the DeFi ecosystem.`,
53569
53822
 
53570
53823
  // src/funcs/universalEns.ts
53571
53824
  function universalEns(client, request, options) {
53572
- return new APIPromise($do73(client, request, options));
53825
+ return new APIPromise($do74(client, request, options));
53573
53826
  }
53574
- async function $do73(client, request, options) {
53827
+ async function $do74(client, request, options) {
53575
53828
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
53576
53829
  if (!parsed.ok) {
53577
53830
  return [parsed, { status: "invalid" }];
@@ -53647,12 +53900,12 @@ var init_universalEns = __esm(() => {
53647
53900
  });
53648
53901
 
53649
53902
  // src/mcp-server/tools/universalEns.ts
53650
- var args73, tool$universalEns;
53903
+ var args74, tool$universalEns;
53651
53904
  var init_universalEns2 = __esm(() => {
53652
53905
  init_universalEns();
53653
53906
  init_operations();
53654
53907
  init_tools();
53655
- args73 = {
53908
+ args74 = {
53656
53909
  request: GenericEnsRequest$inboundSchema
53657
53910
  };
53658
53911
  tool$universalEns = {
@@ -53663,9 +53916,9 @@ An ENS name is a string ending in \`.eth\`.
53663
53916
 
53664
53917
  E.g. \`vitalik.eth\`. This endpoint can be used to
53665
53918
  query the actual ethereum wallet address behind the ENS name.`,
53666
- args: args73,
53667
- tool: async (client, args74, ctx) => {
53668
- const [result, apiCall] = await universalEns(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53919
+ args: args74,
53920
+ tool: async (client, args75, ctx) => {
53921
+ const [result, apiCall] = await universalEns(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53669
53922
  if (!result.ok) {
53670
53923
  return {
53671
53924
  content: [{ type: "text", text: result.error.message }],
@@ -53680,9 +53933,9 @@ query the actual ethereum wallet address behind the ENS name.`,
53680
53933
 
53681
53934
  // src/funcs/universalPortfolio.ts
53682
53935
  function universalPortfolio(client, request, options) {
53683
- return new APIPromise($do74(client, request, options));
53936
+ return new APIPromise($do75(client, request, options));
53684
53937
  }
53685
- async function $do74(client, request, options) {
53938
+ async function $do75(client, request, options) {
53686
53939
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
53687
53940
  if (!parsed.ok) {
53688
53941
  return [parsed, { status: "invalid" }];
@@ -53758,12 +54011,12 @@ var init_universalPortfolio = __esm(() => {
53758
54011
  });
53759
54012
 
53760
54013
  // src/mcp-server/tools/universalPortfolio.ts
53761
- var args74, tool$universalPortfolio;
54014
+ var args75, tool$universalPortfolio;
53762
54015
  var init_universalPortfolio2 = __esm(() => {
53763
54016
  init_universalPortfolio();
53764
54017
  init_operations();
53765
54018
  init_tools();
53766
- args74 = {
54019
+ args75 = {
53767
54020
  request: GenericPortfolioRequest$inboundSchema
53768
54021
  };
53769
54022
  tool$universalPortfolio = {
@@ -53774,9 +54027,116 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
53774
54027
 
53775
54028
  This includes the total value of the portfolio in USD and a breakdown of token
53776
54029
  balances, including their respective values and quantities.`,
53777
- args: args74,
53778
- tool: async (client, args75, ctx) => {
53779
- const [result, apiCall] = await universalPortfolio(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54030
+ args: args75,
54031
+ tool: async (client, args76, ctx) => {
54032
+ const [result, apiCall] = await universalPortfolio(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54033
+ if (!result.ok) {
54034
+ return {
54035
+ content: [{ type: "text", text: result.error.message }],
54036
+ isError: true
54037
+ };
54038
+ }
54039
+ const value = result.value;
54040
+ return formatResult(value, apiCall);
54041
+ }
54042
+ };
54043
+ });
54044
+
54045
+ // src/funcs/universalSupportedChains.ts
54046
+ function universalSupportedChains(client, request, options) {
54047
+ return new APIPromise($do76(client, request, options));
54048
+ }
54049
+ async function $do76(client, request, options) {
54050
+ const parsed = safeParse(request, (value) => GenericSupportedChainsRequest$outboundSchema.parse(value), "Input validation failed");
54051
+ if (!parsed.ok) {
54052
+ return [parsed, { status: "invalid" }];
54053
+ }
54054
+ const payload = parsed.value;
54055
+ const body = null;
54056
+ const path = pathToFunc("/v0/generic/supported_chains/get")();
54057
+ const query = encodeFormQuery({
54058
+ protocol: payload.protocol
54059
+ });
54060
+ const headers = new Headers(compactMap({
54061
+ Accept: "application/json"
54062
+ }));
54063
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
54064
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
54065
+ const requestSecurity = resolveGlobalSecurity(securityInput);
54066
+ const context = {
54067
+ options: client._options,
54068
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
54069
+ operationID: "generic_supported_chains",
54070
+ oAuth2Scopes: [],
54071
+ resolvedSecurity: requestSecurity,
54072
+ securitySource: client._options.apiKeyAuth,
54073
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
54074
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
54075
+ };
54076
+ const requestRes = client._createRequest(context, {
54077
+ security: requestSecurity,
54078
+ method: "GET",
54079
+ baseURL: options?.serverURL,
54080
+ path,
54081
+ headers,
54082
+ query,
54083
+ body,
54084
+ userAgent: client._options.userAgent,
54085
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
54086
+ }, options);
54087
+ if (!requestRes.ok) {
54088
+ return [requestRes, { status: "invalid" }];
54089
+ }
54090
+ const req = requestRes.value;
54091
+ const doResult = await client._do(req, {
54092
+ context,
54093
+ errorCodes: ["422", "4XX", "5XX"],
54094
+ retryConfig: context.retryConfig,
54095
+ retryCodes: context.retryCodes
54096
+ });
54097
+ if (!doResult.ok) {
54098
+ return [doResult, { status: "request-error", request: req }];
54099
+ }
54100
+ const response = doResult.value;
54101
+ const responseFields = {
54102
+ HttpMeta: { Response: response, Request: req }
54103
+ };
54104
+ const [result] = await match(json(200, SupportedChainInfo$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
54105
+ if (!result.ok) {
54106
+ return [result, { status: "complete", request: req, response }];
54107
+ }
54108
+ return [result, { status: "complete", request: req, response }];
54109
+ }
54110
+ var init_universalSupportedChains = __esm(() => {
54111
+ init_encodings();
54112
+ init_matchers();
54113
+ init_primitives();
54114
+ init_schemas();
54115
+ init_security();
54116
+ init_url();
54117
+ init_components();
54118
+ init_errors2();
54119
+ init_operations();
54120
+ init_async();
54121
+ });
54122
+
54123
+ // src/mcp-server/tools/universalSupportedChains.ts
54124
+ var args76, tool$universalSupportedChains;
54125
+ var init_universalSupportedChains2 = __esm(() => {
54126
+ init_universalSupportedChains();
54127
+ init_operations();
54128
+ init_tools();
54129
+ args76 = {
54130
+ request: GenericSupportedChainsRequest$inboundSchema
54131
+ };
54132
+ tool$universalSupportedChains = {
54133
+ name: "universal-supported-chains",
54134
+ description: `List Supported Chains
54135
+
54136
+ Get the list of supported chains by the Compass API.`,
54137
+ args: args76,
54138
+ tool: async (client, args77, ctx) => {
54139
+ const [result, apiCall] = await universalSupportedChains(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53780
54140
  if (!result.ok) {
53781
54141
  return {
53782
54142
  content: [{ type: "text", text: result.error.message }],
@@ -53791,9 +54151,9 @@ balances, including their respective values and quantities.`,
53791
54151
 
53792
54152
  // src/funcs/universalSupportedTokens.ts
53793
54153
  function universalSupportedTokens(client, request, options) {
53794
- return new APIPromise($do75(client, request, options));
54154
+ return new APIPromise($do77(client, request, options));
53795
54155
  }
53796
- async function $do75(client, request, options) {
54156
+ async function $do77(client, request, options) {
53797
54157
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
53798
54158
  if (!parsed.ok) {
53799
54159
  return [parsed, { status: "invalid" }];
@@ -53868,12 +54228,12 @@ var init_universalSupportedTokens = __esm(() => {
53868
54228
  });
53869
54229
 
53870
54230
  // src/mcp-server/tools/universalSupportedTokens.ts
53871
- var args75, tool$universalSupportedTokens;
54231
+ var args77, tool$universalSupportedTokens;
53872
54232
  var init_universalSupportedTokens2 = __esm(() => {
53873
54233
  init_universalSupportedTokens();
53874
54234
  init_operations();
53875
54235
  init_tools();
53876
- args75 = {
54236
+ args77 = {
53877
54237
  request: GenericSupportedTokensRequest$inboundSchema
53878
54238
  };
53879
54239
  tool$universalSupportedTokens = {
@@ -53881,9 +54241,9 @@ var init_universalSupportedTokens2 = __esm(() => {
53881
54241
  description: `List Supported Tokens
53882
54242
 
53883
54243
  Get the list of supported tokens on a chain by the Compass API.`,
53884
- args: args75,
53885
- tool: async (client, args76, ctx) => {
53886
- const [result, apiCall] = await universalSupportedTokens(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54244
+ args: args77,
54245
+ tool: async (client, args78, ctx) => {
54246
+ const [result, apiCall] = await universalSupportedTokens(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53887
54247
  if (!result.ok) {
53888
54248
  return {
53889
54249
  content: [{ type: "text", text: result.error.message }],
@@ -53898,9 +54258,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
53898
54258
 
53899
54259
  // src/funcs/universalUnwrapWeth.ts
53900
54260
  function universalUnwrapWeth(client, request, options) {
53901
- return new APIPromise($do76(client, request, options));
54261
+ return new APIPromise($do78(client, request, options));
53902
54262
  }
53903
- async function $do76(client, request, options) {
54263
+ async function $do78(client, request, options) {
53904
54264
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
53905
54265
  if (!parsed.ok) {
53906
54266
  return [parsed, { status: "invalid" }];
@@ -53971,12 +54331,12 @@ var init_universalUnwrapWeth = __esm(() => {
53971
54331
  });
53972
54332
 
53973
54333
  // src/mcp-server/tools/universalUnwrapWeth.ts
53974
- var args76, tool$universalUnwrapWeth;
54334
+ var args78, tool$universalUnwrapWeth;
53975
54335
  var init_universalUnwrapWeth2 = __esm(() => {
53976
54336
  init_universalUnwrapWeth();
53977
54337
  init_components();
53978
54338
  init_tools();
53979
- args76 = {
54339
+ args78 = {
53980
54340
  request: UnwrapWethRequest$inboundSchema
53981
54341
  };
53982
54342
  tool$universalUnwrapWeth = {
@@ -53985,9 +54345,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
53985
54345
 
53986
54346
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
53987
54347
  can be used for gas and other native purposes.`,
53988
- args: args76,
53989
- tool: async (client, args77, ctx) => {
53990
- const [result, apiCall] = await universalUnwrapWeth(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54348
+ args: args78,
54349
+ tool: async (client, args79, ctx) => {
54350
+ const [result, apiCall] = await universalUnwrapWeth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53991
54351
  if (!result.ok) {
53992
54352
  return {
53993
54353
  content: [{ type: "text", text: result.error.message }],
@@ -54002,9 +54362,9 @@ can be used for gas and other native purposes.`,
54002
54362
 
54003
54363
  // src/funcs/universalVisualizePortfolio.ts
54004
54364
  function universalVisualizePortfolio(client, request, options) {
54005
- return new APIPromise($do77(client, request, options));
54365
+ return new APIPromise($do79(client, request, options));
54006
54366
  }
54007
- async function $do77(client, request, options) {
54367
+ async function $do79(client, request, options) {
54008
54368
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
54009
54369
  if (!parsed.ok) {
54010
54370
  return [parsed, { status: "invalid" }];
@@ -54080,12 +54440,12 @@ var init_universalVisualizePortfolio = __esm(() => {
54080
54440
  });
54081
54441
 
54082
54442
  // src/mcp-server/tools/universalVisualizePortfolio.ts
54083
- var args77, tool$universalVisualizePortfolio;
54443
+ var args79, tool$universalVisualizePortfolio;
54084
54444
  var init_universalVisualizePortfolio2 = __esm(() => {
54085
54445
  init_universalVisualizePortfolio();
54086
54446
  init_operations();
54087
54447
  init_tools();
54088
- args77 = {
54448
+ args79 = {
54089
54449
  request: GenericVisualizePortfolioRequest$inboundSchema
54090
54450
  };
54091
54451
  tool$universalVisualizePortfolio = {
@@ -54097,9 +54457,9 @@ Generate a visual representation of the token portfolio for a wallet address.
54097
54457
  The response is an SVG image of a pie chart depicting the relative distribution of
54098
54458
  tokens held, colored and labeled with token symbols, percentages and token values in
54099
54459
  USD.`,
54100
- args: args77,
54101
- tool: async (client, args78, ctx) => {
54102
- const [result, apiCall] = await universalVisualizePortfolio(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54460
+ args: args79,
54461
+ tool: async (client, args80, ctx) => {
54462
+ const [result, apiCall] = await universalVisualizePortfolio(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54103
54463
  if (!result.ok) {
54104
54464
  return {
54105
54465
  content: [{ type: "text", text: result.error.message }],
@@ -54114,9 +54474,9 @@ USD.`,
54114
54474
 
54115
54475
  // src/funcs/universalWrapEth.ts
54116
54476
  function universalWrapEth(client, request, options) {
54117
- return new APIPromise($do78(client, request, options));
54477
+ return new APIPromise($do80(client, request, options));
54118
54478
  }
54119
- async function $do78(client, request, options) {
54479
+ async function $do80(client, request, options) {
54120
54480
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
54121
54481
  if (!parsed.ok) {
54122
54482
  return [parsed, { status: "invalid" }];
@@ -54187,12 +54547,12 @@ var init_universalWrapEth = __esm(() => {
54187
54547
  });
54188
54548
 
54189
54549
  // src/mcp-server/tools/universalWrapEth.ts
54190
- var args78, tool$universalWrapEth;
54550
+ var args80, tool$universalWrapEth;
54191
54551
  var init_universalWrapEth2 = __esm(() => {
54192
54552
  init_universalWrapEth();
54193
54553
  init_components();
54194
54554
  init_tools();
54195
- args78 = {
54555
+ args80 = {
54196
54556
  request: WrapEthRequest$inboundSchema
54197
54557
  };
54198
54558
  tool$universalWrapEth = {
@@ -54201,9 +54561,9 @@ var init_universalWrapEth2 = __esm(() => {
54201
54561
 
54202
54562
  Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
54203
54563
  it to be traded on DeFi protocols.`,
54204
- args: args78,
54205
- tool: async (client, args79, ctx) => {
54206
- const [result, apiCall] = await universalWrapEth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54564
+ args: args80,
54565
+ tool: async (client, args81, ctx) => {
54566
+ const [result, apiCall] = await universalWrapEth(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54207
54567
  if (!result.ok) {
54208
54568
  return {
54209
54569
  content: [{ type: "text", text: result.error.message }],
@@ -54220,7 +54580,7 @@ it to be traded on DeFi protocols.`,
54220
54580
  function createMCPServer(deps) {
54221
54581
  const server = new McpServer({
54222
54582
  name: "CompassApiSDK",
54223
- version: "0.5.48"
54583
+ version: "0.5.50"
54224
54584
  });
54225
54585
  const client = new CompassApiSDKCore({
54226
54586
  apiKeyAuth: deps.apiKeyAuth,
@@ -54234,6 +54594,7 @@ function createMCPServer(deps) {
54234
54594
  const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
54235
54595
  const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
54236
54596
  const register = { tool, resource, resourceTemplate, prompt };
54597
+ tool(tool$aaveV3AaveSupportedTokens);
54237
54598
  tool(tool$aaveV3Rate);
54238
54599
  tool(tool$aaveV3AvgRate);
54239
54600
  tool(tool$aaveV3StdRate);
@@ -54288,6 +54649,7 @@ function createMCPServer(deps) {
54288
54649
  tool(tool$universalPortfolio);
54289
54650
  tool(tool$universalVisualizePortfolio);
54290
54651
  tool(tool$universalSupportedTokens);
54652
+ tool(tool$universalSupportedChains);
54291
54653
  tool(tool$universalAllowance);
54292
54654
  tool(tool$universalEns);
54293
54655
  tool(tool$universalWrapEth);
@@ -54319,6 +54681,7 @@ var init_server2 = __esm(() => {
54319
54681
  init_core();
54320
54682
  init_resources();
54321
54683
  init_tools();
54684
+ init_aaveV3AaveSupportedTokens2();
54322
54685
  init_aaveV3AvgRate2();
54323
54686
  init_aaveV3Borrow2();
54324
54687
  init_aaveV3HistoricalTransactions2();
@@ -54393,6 +54756,7 @@ var init_server2 = __esm(() => {
54393
54756
  init_universalAllowanceSet2();
54394
54757
  init_universalEns2();
54395
54758
  init_universalPortfolio2();
54759
+ init_universalSupportedChains2();
54396
54760
  init_universalSupportedTokens2();
54397
54761
  init_universalUnwrapWeth2();
54398
54762
  init_universalVisualizePortfolio2();
@@ -55592,7 +55956,7 @@ var routes = ln({
55592
55956
  var app = _e(routes, {
55593
55957
  name: "mcp",
55594
55958
  versionInfo: {
55595
- currentVersion: "0.5.48"
55959
+ currentVersion: "0.5.50"
55596
55960
  }
55597
55961
  });
55598
55962
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -55600,5 +55964,5 @@ export {
55600
55964
  app
55601
55965
  };
55602
55966
 
55603
- //# debugId=3A3B84022CAEF87C64756E2164756E21
55967
+ //# debugId=AD45B3175C19B3E564756E2164756E21
55604
55968
  //# sourceMappingURL=mcp-server.js.map