@compass-labs/api-sdk 0.5.47 → 0.5.49

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 (186) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +13 -6
  3. package/bin/mcp-server.js +1003 -553
  4. package/bin/mcp-server.js.map +21 -12
  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/swapOdos.d.ts +25 -0
  10. package/dist/commonjs/funcs/swapOdos.d.ts.map +1 -0
  11. package/dist/commonjs/funcs/swapOdos.js +125 -0
  12. package/dist/commonjs/funcs/swapOdos.js.map +1 -0
  13. package/dist/commonjs/lib/config.d.ts +3 -3
  14. package/dist/commonjs/lib/config.js +3 -3
  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/swapOdos.d.ts +8 -0
  24. package/dist/commonjs/mcp-server/tools/swapOdos.d.ts.map +1 -0
  25. package/dist/commonjs/mcp-server/tools/swapOdos.js +72 -0
  26. package/dist/commonjs/mcp-server/tools/swapOdos.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/odosswapparams.d.ts +122 -0
  40. package/dist/commonjs/models/components/odosswapparams.d.ts.map +1 -0
  41. package/dist/commonjs/models/components/odosswapparams.js +162 -0
  42. package/dist/commonjs/models/components/odosswapparams.js.map +1 -0
  43. package/dist/commonjs/models/components/odosswaprequest.d.ts +133 -0
  44. package/dist/commonjs/models/components/odosswaprequest.d.ts.map +1 -0
  45. package/dist/commonjs/models/components/odosswaprequest.js +167 -0
  46. package/dist/commonjs/models/components/odosswaprequest.js.map +1 -0
  47. package/dist/commonjs/models/components/setallowanceparams.d.ts +3 -0
  48. package/dist/commonjs/models/components/setallowanceparams.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/setallowanceparams.js +1 -0
  50. package/dist/commonjs/models/components/setallowanceparams.js.map +1 -1
  51. package/dist/commonjs/models/components/setallowancerequest.d.ts +3 -0
  52. package/dist/commonjs/models/components/setallowancerequest.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/setallowancerequest.js +1 -0
  54. package/dist/commonjs/models/components/setallowancerequest.js.map +1 -1
  55. package/dist/commonjs/models/components/useroperation.d.ts +9 -0
  56. package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
  57. package/dist/commonjs/models/components/useroperation.js +13 -0
  58. package/dist/commonjs/models/components/useroperation.js.map +1 -1
  59. package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts +72 -0
  60. package/dist/commonjs/models/operations/aaveaavesupportedtokens.d.ts.map +1 -0
  61. package/dist/commonjs/models/operations/aaveaavesupportedtokens.js +94 -0
  62. package/dist/commonjs/models/operations/aaveaavesupportedtokens.js.map +1 -0
  63. package/dist/commonjs/models/operations/genericallowance.d.ts +3 -0
  64. package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
  65. package/dist/commonjs/models/operations/genericallowance.js +1 -0
  66. package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
  67. package/dist/commonjs/models/operations/index.d.ts +1 -0
  68. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  69. package/dist/commonjs/models/operations/index.js +1 -0
  70. package/dist/commonjs/models/operations/index.js.map +1 -1
  71. package/dist/commonjs/sdk/aavev3.d.ts +13 -0
  72. package/dist/commonjs/sdk/aavev3.d.ts.map +1 -1
  73. package/dist/commonjs/sdk/aavev3.js +16 -0
  74. package/dist/commonjs/sdk/aavev3.js.map +1 -1
  75. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  76. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  77. package/dist/commonjs/sdk/sdk.js +4 -0
  78. package/dist/commonjs/sdk/sdk.js.map +1 -1
  79. package/dist/commonjs/sdk/swap.d.ts +19 -0
  80. package/dist/commonjs/sdk/swap.d.ts.map +1 -0
  81. package/dist/commonjs/sdk/swap.js +29 -0
  82. package/dist/commonjs/sdk/swap.js.map +1 -0
  83. package/dist/esm/funcs/aaveV3AaveSupportedTokens.d.ts +25 -0
  84. package/dist/esm/funcs/aaveV3AaveSupportedTokens.d.ts.map +1 -0
  85. package/dist/esm/funcs/aaveV3AaveSupportedTokens.js +93 -0
  86. package/dist/esm/funcs/aaveV3AaveSupportedTokens.js.map +1 -0
  87. package/dist/esm/funcs/swapOdos.d.ts +25 -0
  88. package/dist/esm/funcs/swapOdos.d.ts.map +1 -0
  89. package/dist/esm/funcs/swapOdos.js +89 -0
  90. package/dist/esm/funcs/swapOdos.js.map +1 -0
  91. package/dist/esm/lib/config.d.ts +3 -3
  92. package/dist/esm/lib/config.js +3 -3
  93. package/dist/esm/mcp-server/mcp-server.js +1 -1
  94. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  95. package/dist/esm/mcp-server/server.js +5 -1
  96. package/dist/esm/mcp-server/server.js.map +1 -1
  97. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.d.ts +8 -0
  98. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.d.ts.map +1 -0
  99. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.js +34 -0
  100. package/dist/esm/mcp-server/tools/aaveV3AaveSupportedTokens.js.map +1 -0
  101. package/dist/esm/mcp-server/tools/swapOdos.d.ts +8 -0
  102. package/dist/esm/mcp-server/tools/swapOdos.d.ts.map +1 -0
  103. package/dist/esm/mcp-server/tools/swapOdos.js +36 -0
  104. package/dist/esm/mcp-server/tools/swapOdos.js.map +1 -0
  105. package/dist/esm/models/components/aavesupportedtokenmetadata.d.ts +47 -0
  106. package/dist/esm/models/components/aavesupportedtokenmetadata.d.ts.map +1 -0
  107. package/dist/esm/models/components/aavesupportedtokenmetadata.js +48 -0
  108. package/dist/esm/models/components/aavesupportedtokenmetadata.js.map +1 -0
  109. package/dist/esm/models/components/aavesupportedtokensresponse.d.ts +33 -0
  110. package/dist/esm/models/components/aavesupportedtokensresponse.d.ts.map +1 -0
  111. package/dist/esm/models/components/aavesupportedtokensresponse.js +32 -0
  112. package/dist/esm/models/components/aavesupportedtokensresponse.js.map +1 -0
  113. package/dist/esm/models/components/index.d.ts +4 -0
  114. package/dist/esm/models/components/index.d.ts.map +1 -1
  115. package/dist/esm/models/components/index.js +4 -0
  116. package/dist/esm/models/components/index.js.map +1 -1
  117. package/dist/esm/models/components/odosswapparams.d.ts +122 -0
  118. package/dist/esm/models/components/odosswapparams.d.ts.map +1 -0
  119. package/dist/esm/models/components/odosswapparams.js +118 -0
  120. package/dist/esm/models/components/odosswapparams.js.map +1 -0
  121. package/dist/esm/models/components/odosswaprequest.d.ts +133 -0
  122. package/dist/esm/models/components/odosswaprequest.d.ts.map +1 -0
  123. package/dist/esm/models/components/odosswaprequest.js +123 -0
  124. package/dist/esm/models/components/odosswaprequest.js.map +1 -0
  125. package/dist/esm/models/components/setallowanceparams.d.ts +3 -0
  126. package/dist/esm/models/components/setallowanceparams.d.ts.map +1 -1
  127. package/dist/esm/models/components/setallowanceparams.js +1 -0
  128. package/dist/esm/models/components/setallowanceparams.js.map +1 -1
  129. package/dist/esm/models/components/setallowancerequest.d.ts +3 -0
  130. package/dist/esm/models/components/setallowancerequest.d.ts.map +1 -1
  131. package/dist/esm/models/components/setallowancerequest.js +1 -0
  132. package/dist/esm/models/components/setallowancerequest.js.map +1 -1
  133. package/dist/esm/models/components/useroperation.d.ts +9 -0
  134. package/dist/esm/models/components/useroperation.d.ts.map +1 -1
  135. package/dist/esm/models/components/useroperation.js +13 -0
  136. package/dist/esm/models/components/useroperation.js.map +1 -1
  137. package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts +72 -0
  138. package/dist/esm/models/operations/aaveaavesupportedtokens.d.ts.map +1 -0
  139. package/dist/esm/models/operations/aaveaavesupportedtokens.js +56 -0
  140. package/dist/esm/models/operations/aaveaavesupportedtokens.js.map +1 -0
  141. package/dist/esm/models/operations/genericallowance.d.ts +3 -0
  142. package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
  143. package/dist/esm/models/operations/genericallowance.js +1 -0
  144. package/dist/esm/models/operations/genericallowance.js.map +1 -1
  145. package/dist/esm/models/operations/index.d.ts +1 -0
  146. package/dist/esm/models/operations/index.d.ts.map +1 -1
  147. package/dist/esm/models/operations/index.js +1 -0
  148. package/dist/esm/models/operations/index.js.map +1 -1
  149. package/dist/esm/sdk/aavev3.d.ts +13 -0
  150. package/dist/esm/sdk/aavev3.d.ts.map +1 -1
  151. package/dist/esm/sdk/aavev3.js +16 -0
  152. package/dist/esm/sdk/aavev3.js.map +1 -1
  153. package/dist/esm/sdk/sdk.d.ts +3 -0
  154. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  155. package/dist/esm/sdk/sdk.js +4 -0
  156. package/dist/esm/sdk/sdk.js.map +1 -1
  157. package/dist/esm/sdk/swap.d.ts +19 -0
  158. package/dist/esm/sdk/swap.d.ts.map +1 -0
  159. package/dist/esm/sdk/swap.js +25 -0
  160. package/dist/esm/sdk/swap.js.map +1 -0
  161. package/docs/sdks/aavev3/README.md +76 -0
  162. package/docs/sdks/swap/README.md +99 -0
  163. package/examples/{aaveV3Rate.example.ts → aaveV3AaveSupportedTokens.example.ts} +2 -2
  164. package/jsr.json +1 -1
  165. package/package.json +1 -1
  166. package/src/funcs/aaveV3AaveSupportedTokens.ts +182 -0
  167. package/src/funcs/swapOdos.ts +176 -0
  168. package/src/lib/config.ts +3 -3
  169. package/src/mcp-server/mcp-server.ts +1 -1
  170. package/src/mcp-server/server.ts +5 -1
  171. package/src/mcp-server/tools/aaveV3AaveSupportedTokens.ts +43 -0
  172. package/src/mcp-server/tools/swapOdos.ts +45 -0
  173. package/src/models/components/aavesupportedtokenmetadata.ts +101 -0
  174. package/src/models/components/aavesupportedtokensresponse.ts +77 -0
  175. package/src/models/components/index.ts +4 -0
  176. package/src/models/components/odosswapparams.ts +269 -0
  177. package/src/models/components/odosswaprequest.ts +286 -0
  178. package/src/models/components/setallowanceparams.ts +1 -0
  179. package/src/models/components/setallowancerequest.ts +1 -0
  180. package/src/models/components/useroperation.ts +30 -0
  181. package/src/models/operations/aaveaavesupportedtokens.ts +117 -0
  182. package/src/models/operations/genericallowance.ts +1 -0
  183. package/src/models/operations/index.ts +1 -0
  184. package/src/sdk/aavev3.ts +24 -0
  185. package/src/sdk/sdk.ts +6 -0
  186. package/src/sdk/swap.ts +34 -0
package/bin/mcp-server.js CHANGED
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
34264
34264
  SDK_METADATA = {
34265
34265
  language: "typescript",
34266
34266
  openapiDocVersion: "0.0.1",
34267
- sdkVersion: "0.5.47",
34268
- genVersion: "2.656.9",
34269
- userAgent: "speakeasy-sdk/typescript 0.5.47 2.656.9 0.0.1 @compass-labs/api-sdk"
34267
+ sdkVersion: "0.5.49",
34268
+ genVersion: "2.657.1",
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.49 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(() => {
@@ -38008,6 +38058,64 @@ var init_morphowithdrawparams = __esm(() => {
38008
38058
  })(MorphoWithdrawParams$ ||= {});
38009
38059
  });
38010
38060
 
38061
+ // src/models/components/odosswapparams.ts
38062
+ var OdosSwapParamsTokenIn$inboundSchema, OdosSwapParamsTokenIn$outboundSchema, OdosSwapParamsTokenIn$, OdosSwapParamsTokenOut$inboundSchema, OdosSwapParamsTokenOut$outboundSchema, OdosSwapParamsTokenOut$, OdosSwapParamsAmount$inboundSchema, OdosSwapParamsAmount$outboundSchema, OdosSwapParamsAmount$, OdosSwapParams$inboundSchema, OdosSwapParams$outboundSchema, OdosSwapParams$;
38063
+ var init_odosswapparams = __esm(() => {
38064
+ init_zod();
38065
+ init_primitives();
38066
+ init_tokenenum();
38067
+ OdosSwapParamsTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38068
+ OdosSwapParamsTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38069
+ ((OdosSwapParamsTokenIn$) => {
38070
+ OdosSwapParamsTokenIn$.inboundSchema = OdosSwapParamsTokenIn$inboundSchema;
38071
+ OdosSwapParamsTokenIn$.outboundSchema = OdosSwapParamsTokenIn$outboundSchema;
38072
+ })(OdosSwapParamsTokenIn$ ||= {});
38073
+ OdosSwapParamsTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38074
+ OdosSwapParamsTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
38075
+ ((OdosSwapParamsTokenOut$) => {
38076
+ OdosSwapParamsTokenOut$.inboundSchema = OdosSwapParamsTokenOut$inboundSchema;
38077
+ OdosSwapParamsTokenOut$.outboundSchema = OdosSwapParamsTokenOut$outboundSchema;
38078
+ })(OdosSwapParamsTokenOut$ ||= {});
38079
+ OdosSwapParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
38080
+ OdosSwapParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
38081
+ ((OdosSwapParamsAmount$) => {
38082
+ OdosSwapParamsAmount$.inboundSchema = OdosSwapParamsAmount$inboundSchema;
38083
+ OdosSwapParamsAmount$.outboundSchema = OdosSwapParamsAmount$outboundSchema;
38084
+ })(OdosSwapParamsAmount$ ||= {});
38085
+ OdosSwapParams$inboundSchema = objectType({
38086
+ action_type: literalType("ODOS_SWAP").default("ODOS_SWAP"),
38087
+ token_in: unionType([TokenEnum$inboundSchema, stringType()]),
38088
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
38089
+ amount: unionType([numberType(), stringType()]),
38090
+ max_slippage_percent: numberType()
38091
+ }).transform((v2) => {
38092
+ return remap(v2, {
38093
+ action_type: "actionType",
38094
+ token_in: "tokenIn",
38095
+ token_out: "tokenOut",
38096
+ max_slippage_percent: "maxSlippagePercent"
38097
+ });
38098
+ });
38099
+ OdosSwapParams$outboundSchema = objectType({
38100
+ actionType: literalType("ODOS_SWAP").default("ODOS_SWAP"),
38101
+ tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
38102
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
38103
+ amount: unionType([numberType(), stringType()]),
38104
+ maxSlippagePercent: numberType()
38105
+ }).transform((v2) => {
38106
+ return remap(v2, {
38107
+ actionType: "action_type",
38108
+ tokenIn: "token_in",
38109
+ tokenOut: "token_out",
38110
+ maxSlippagePercent: "max_slippage_percent"
38111
+ });
38112
+ });
38113
+ ((OdosSwapParams$) => {
38114
+ OdosSwapParams$.inboundSchema = OdosSwapParams$inboundSchema;
38115
+ OdosSwapParams$.outboundSchema = OdosSwapParams$outboundSchema;
38116
+ })(OdosSwapParams$ ||= {});
38117
+ });
38118
+
38011
38119
  // src/models/components/pendleaddliquidityparams.ts
38012
38120
  var PendleAddLiquidityParamsAmount$inboundSchema, PendleAddLiquidityParamsAmount$outboundSchema, PendleAddLiquidityParamsAmount$, PendleAddLiquidityParams$inboundSchema, PendleAddLiquidityParams$outboundSchema, PendleAddLiquidityParams$;
38013
38121
  var init_pendleaddliquidityparams = __esm(() => {
@@ -38300,7 +38408,8 @@ var init_setallowanceparams = __esm(() => {
38300
38408
  SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
38301
38409
  SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
38302
38410
  SkyUsdsVault: "SkyUsdsVault",
38303
- PendleRouter: "PendleRouter"
38411
+ PendleRouter: "PendleRouter",
38412
+ OdosRouter: "OdosRouter"
38304
38413
  };
38305
38414
  SetAllowanceParamsToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
38306
38415
  SetAllowanceParamsToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
@@ -39012,6 +39121,7 @@ var init_useroperation = __esm(() => {
39012
39121
  init_morphosupplycollateralparams();
39013
39122
  init_morphowithdrawcollateralparams();
39014
39123
  init_morphowithdrawparams();
39124
+ init_odosswapparams();
39015
39125
  init_pendleaddliquidityparams();
39016
39126
  init_pendlebuyptparams();
39017
39127
  init_pendlebuyytparams();
@@ -39049,6 +39159,9 @@ var init_useroperation = __esm(() => {
39049
39159
  UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
39050
39160
  UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
39051
39161
  AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
39162
+ OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
39163
+ actionType: v2.action_type
39164
+ }))),
39052
39165
  AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
39053
39166
  actionType: v2.action_type
39054
39167
  }))),
@@ -39133,6 +39246,9 @@ var init_useroperation = __esm(() => {
39133
39246
  UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39134
39247
  UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39135
39248
  AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39249
+ OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
39250
+ action_type: v2.actionType
39251
+ }))),
39136
39252
  AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
39137
39253
  action_type: v2.actionType
39138
39254
  }))),
@@ -39224,6 +39340,9 @@ var init_useroperation = __esm(() => {
39224
39340
  UniswapBuyExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
39225
39341
  UniswapSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
39226
39342
  AerodromeSlipstreamSellExactlyParams$inboundSchema.and(objectType({ action_type: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ actionType: v2.action_type }))),
39343
+ OdosSwapParams$inboundSchema.and(objectType({ action_type: literalType("ODOS_SWAP") }).transform((v2) => ({
39344
+ actionType: v2.action_type
39345
+ }))),
39227
39346
  AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
39228
39347
  actionType: v2.action_type
39229
39348
  }))),
@@ -39310,6 +39429,9 @@ var init_useroperation = __esm(() => {
39310
39429
  UniswapBuyExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_BUY_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39311
39430
  UniswapSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("UNISWAP_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39312
39431
  AerodromeSlipstreamSellExactlyParams$outboundSchema.and(objectType({ actionType: literalType("AERODROME_SLIPSTREAM_SELL_EXACTLY") }).transform((v2) => ({ action_type: v2.actionType }))),
39432
+ OdosSwapParams$outboundSchema.and(objectType({ actionType: literalType("ODOS_SWAP") }).transform((v2) => ({
39433
+ action_type: v2.actionType
39434
+ }))),
39313
39435
  AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
39314
39436
  action_type: v2.actionType
39315
39437
  }))),
@@ -40842,6 +40964,69 @@ var init_multicallexecuterequest = __esm(() => {
40842
40964
  })(MulticallExecuteRequest$ ||= {});
40843
40965
  });
40844
40966
 
40967
+ // src/models/components/odosswaprequest.ts
40968
+ var OdosSwapRequestTokenIn$inboundSchema, OdosSwapRequestTokenIn$outboundSchema, OdosSwapRequestTokenIn$, OdosSwapRequestTokenOut$inboundSchema, OdosSwapRequestTokenOut$outboundSchema, OdosSwapRequestTokenOut$, OdosSwapRequestAmount$inboundSchema, OdosSwapRequestAmount$outboundSchema, OdosSwapRequestAmount$, OdosSwapRequest$inboundSchema, OdosSwapRequest$outboundSchema, OdosSwapRequest$;
40969
+ var init_odosswaprequest = __esm(() => {
40970
+ init_zod();
40971
+ init_primitives();
40972
+ init_chain();
40973
+ init_tokenenum();
40974
+ OdosSwapRequestTokenIn$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
40975
+ OdosSwapRequestTokenIn$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
40976
+ ((OdosSwapRequestTokenIn$) => {
40977
+ OdosSwapRequestTokenIn$.inboundSchema = OdosSwapRequestTokenIn$inboundSchema;
40978
+ OdosSwapRequestTokenIn$.outboundSchema = OdosSwapRequestTokenIn$outboundSchema;
40979
+ })(OdosSwapRequestTokenIn$ ||= {});
40980
+ OdosSwapRequestTokenOut$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
40981
+ OdosSwapRequestTokenOut$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
40982
+ ((OdosSwapRequestTokenOut$) => {
40983
+ OdosSwapRequestTokenOut$.inboundSchema = OdosSwapRequestTokenOut$inboundSchema;
40984
+ OdosSwapRequestTokenOut$.outboundSchema = OdosSwapRequestTokenOut$outboundSchema;
40985
+ })(OdosSwapRequestTokenOut$ ||= {});
40986
+ OdosSwapRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
40987
+ OdosSwapRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
40988
+ ((OdosSwapRequestAmount$) => {
40989
+ OdosSwapRequestAmount$.inboundSchema = OdosSwapRequestAmount$inboundSchema;
40990
+ OdosSwapRequestAmount$.outboundSchema = OdosSwapRequestAmount$outboundSchema;
40991
+ })(OdosSwapRequestAmount$ ||= {});
40992
+ OdosSwapRequest$inboundSchema = objectType({
40993
+ action_type: literalType("ODOS_SWAP").default("ODOS_SWAP"),
40994
+ token_in: unionType([TokenEnum$inboundSchema, stringType()]),
40995
+ token_out: unionType([TokenEnum$inboundSchema, stringType()]),
40996
+ amount: unionType([numberType(), stringType()]),
40997
+ max_slippage_percent: numberType(),
40998
+ chain: Chain$inboundSchema,
40999
+ sender: stringType()
41000
+ }).transform((v2) => {
41001
+ return remap(v2, {
41002
+ action_type: "actionType",
41003
+ token_in: "tokenIn",
41004
+ token_out: "tokenOut",
41005
+ max_slippage_percent: "maxSlippagePercent"
41006
+ });
41007
+ });
41008
+ OdosSwapRequest$outboundSchema = objectType({
41009
+ actionType: literalType("ODOS_SWAP").default("ODOS_SWAP"),
41010
+ tokenIn: unionType([TokenEnum$outboundSchema, stringType()]),
41011
+ tokenOut: unionType([TokenEnum$outboundSchema, stringType()]),
41012
+ amount: unionType([numberType(), stringType()]),
41013
+ maxSlippagePercent: numberType(),
41014
+ chain: Chain$outboundSchema,
41015
+ sender: stringType()
41016
+ }).transform((v2) => {
41017
+ return remap(v2, {
41018
+ actionType: "action_type",
41019
+ tokenIn: "token_in",
41020
+ tokenOut: "token_out",
41021
+ maxSlippagePercent: "max_slippage_percent"
41022
+ });
41023
+ });
41024
+ ((OdosSwapRequest$) => {
41025
+ OdosSwapRequest$.inboundSchema = OdosSwapRequest$inboundSchema;
41026
+ OdosSwapRequest$.outboundSchema = OdosSwapRequest$outboundSchema;
41027
+ })(OdosSwapRequest$ ||= {});
41028
+ });
41029
+
40845
41030
  // src/models/components/openposition.ts
40846
41031
  var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
40847
41032
  var init_openposition = __esm(() => {
@@ -41427,7 +41612,8 @@ var init_setallowancerequest = __esm(() => {
41427
41612
  SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
41428
41613
  SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
41429
41614
  SkyUsdsVault: "SkyUsdsVault",
41430
- PendleRouter: "PendleRouter"
41615
+ PendleRouter: "PendleRouter",
41616
+ OdosRouter: "OdosRouter"
41431
41617
  };
41432
41618
  SetAllowanceRequestToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
41433
41619
  SetAllowanceRequestToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
@@ -42647,6 +42833,8 @@ var init_components = __esm(() => {
42647
42833
  init_aavestdrateresponse();
42648
42834
  init_aavesupplyparams();
42649
42835
  init_aavesupplyrequest();
42836
+ init_aavesupportedtokenmetadata();
42837
+ init_aavesupportedtokensresponse();
42650
42838
  init_aavetokenpriceresponse();
42651
42839
  init_aaveuserpositionpertokenresponse();
42652
42840
  init_aaveuserpositionsummaryresponse();
@@ -42722,6 +42910,8 @@ var init_components = __esm(() => {
42722
42910
  init_multicallauthorizationrequest();
42723
42911
  init_multicallauthorizationresponse();
42724
42912
  init_multicallexecuterequest();
42913
+ init_odosswapparams();
42914
+ init_odosswaprequest();
42725
42915
  init_openposition();
42726
42916
  init_pendleaddliquidityparams();
42727
42917
  init_pendleaddliquidityrequest();
@@ -42855,6 +43045,35 @@ var init_errors2 = __esm(() => {
42855
43045
  init_sdkvalidationerror();
42856
43046
  });
42857
43047
 
43048
+ // src/models/operations/aaveaavesupportedtokens.ts
43049
+ var AaveAaveSupportedTokensChain, AaveAaveSupportedTokensChain$inboundSchema, AaveAaveSupportedTokensChain$outboundSchema, AaveAaveSupportedTokensChain$, AaveAaveSupportedTokensRequest$inboundSchema, AaveAaveSupportedTokensRequest$outboundSchema, AaveAaveSupportedTokensRequest$;
43050
+ var init_aaveaavesupportedtokens = __esm(() => {
43051
+ init_zod();
43052
+ AaveAaveSupportedTokensChain = {
43053
+ BaseMainnet: "base:mainnet",
43054
+ EthereumMainnet: "ethereum:mainnet",
43055
+ ArbitrumMainnet: "arbitrum:mainnet"
43056
+ };
43057
+ AaveAaveSupportedTokensChain$inboundSchema = nativeEnumType(AaveAaveSupportedTokensChain);
43058
+ AaveAaveSupportedTokensChain$outboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
43059
+ ((AaveAaveSupportedTokensChain$) => {
43060
+ AaveAaveSupportedTokensChain$.inboundSchema = AaveAaveSupportedTokensChain$inboundSchema;
43061
+ AaveAaveSupportedTokensChain$.outboundSchema = AaveAaveSupportedTokensChain$outboundSchema;
43062
+ })(AaveAaveSupportedTokensChain$ ||= {});
43063
+ AaveAaveSupportedTokensRequest$inboundSchema = objectType({
43064
+ chain: AaveAaveSupportedTokensChain$inboundSchema.default("arbitrum:mainnet"),
43065
+ block: nullableType(numberType().int()).optional()
43066
+ });
43067
+ AaveAaveSupportedTokensRequest$outboundSchema = objectType({
43068
+ chain: AaveAaveSupportedTokensChain$outboundSchema.default("arbitrum:mainnet"),
43069
+ block: nullableType(numberType().int()).optional()
43070
+ });
43071
+ ((AaveAaveSupportedTokensRequest$) => {
43072
+ AaveAaveSupportedTokensRequest$.inboundSchema = AaveAaveSupportedTokensRequest$inboundSchema;
43073
+ AaveAaveSupportedTokensRequest$.outboundSchema = AaveAaveSupportedTokensRequest$outboundSchema;
43074
+ })(AaveAaveSupportedTokensRequest$ ||= {});
43075
+ });
43076
+
42858
43077
  // src/models/operations/aaveavgrate.ts
42859
43078
  var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
42860
43079
  var init_aaveavgrate = __esm(() => {
@@ -43737,7 +43956,8 @@ var init_genericallowance = __esm(() => {
43737
43956
  SkyDaiUsdsConverter: "SkyDaiUsdsConverter",
43738
43957
  SkyUsdcUsdsConverter: "SkyUsdcUsdsConverter",
43739
43958
  SkyUsdsVault: "SkyUsdsVault",
43740
- PendleRouter: "PendleRouter"
43959
+ PendleRouter: "PendleRouter",
43960
+ OdosRouter: "OdosRouter"
43741
43961
  };
43742
43962
  GenericAllowanceChain$inboundSchema = nativeEnumType(GenericAllowanceChain);
43743
43963
  GenericAllowanceChain$outboundSchema = GenericAllowanceChain$inboundSchema;
@@ -45131,6 +45351,7 @@ var init_vaultsvault = __esm(() => {
45131
45351
 
45132
45352
  // src/models/operations/index.ts
45133
45353
  var init_operations = __esm(() => {
45354
+ init_aaveaavesupportedtokens();
45134
45355
  init_aaveavgrate();
45135
45356
  init_aavehistoricaltransactions();
45136
45357
  init_aaveliquiditychange();
@@ -45195,11 +45416,125 @@ var init_async = __esm(() => {
45195
45416
  };
45196
45417
  });
45197
45418
 
45198
- // src/funcs/aaveV3AvgRate.ts
45199
- function aaveV3AvgRate(client, request, options) {
45419
+ // src/funcs/aaveV3AaveSupportedTokens.ts
45420
+ function aaveV3AaveSupportedTokens(client, request, options) {
45200
45421
  return new APIPromise($do(client, request, options));
45201
45422
  }
45202
45423
  async function $do(client, request, options) {
45424
+ const parsed = safeParse(request, (value) => AaveAaveSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
45425
+ if (!parsed.ok) {
45426
+ return [parsed, { status: "invalid" }];
45427
+ }
45428
+ const payload = parsed.value;
45429
+ const body = null;
45430
+ const path = pathToFunc("/v0/aave/aave_supported_tokens/get")();
45431
+ const query = encodeFormQuery({
45432
+ block: payload.block,
45433
+ chain: payload.chain
45434
+ });
45435
+ const headers = new Headers(compactMap({
45436
+ Accept: "application/json"
45437
+ }));
45438
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
45439
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
45440
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45441
+ const context = {
45442
+ options: client._options,
45443
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
45444
+ operationID: "aave_aave_supported_tokens",
45445
+ oAuth2Scopes: [],
45446
+ resolvedSecurity: requestSecurity,
45447
+ securitySource: client._options.apiKeyAuth,
45448
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45449
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45450
+ };
45451
+ const requestRes = client._createRequest(context, {
45452
+ security: requestSecurity,
45453
+ method: "GET",
45454
+ baseURL: options?.serverURL,
45455
+ path,
45456
+ headers,
45457
+ query,
45458
+ body,
45459
+ userAgent: client._options.userAgent,
45460
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
45461
+ }, options);
45462
+ if (!requestRes.ok) {
45463
+ return [requestRes, { status: "invalid" }];
45464
+ }
45465
+ const req = requestRes.value;
45466
+ const doResult = await client._do(req, {
45467
+ context,
45468
+ errorCodes: ["422", "4XX", "5XX"],
45469
+ retryConfig: context.retryConfig,
45470
+ retryCodes: context.retryCodes
45471
+ });
45472
+ if (!doResult.ok) {
45473
+ return [doResult, { status: "request-error", request: req }];
45474
+ }
45475
+ const response = doResult.value;
45476
+ const responseFields = {
45477
+ HttpMeta: { Response: response, Request: req }
45478
+ };
45479
+ const [result] = await match(json(200, AaveSupportedTokensResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
45480
+ if (!result.ok) {
45481
+ return [result, { status: "complete", request: req, response }];
45482
+ }
45483
+ return [result, { status: "complete", request: req, response }];
45484
+ }
45485
+ var init_aaveV3AaveSupportedTokens = __esm(() => {
45486
+ init_encodings();
45487
+ init_matchers();
45488
+ init_primitives();
45489
+ init_schemas();
45490
+ init_security();
45491
+ init_url();
45492
+ init_components();
45493
+ init_errors2();
45494
+ init_operations();
45495
+ init_async();
45496
+ });
45497
+
45498
+ // src/mcp-server/tools/aaveV3AaveSupportedTokens.ts
45499
+ var args, tool$aaveV3AaveSupportedTokens;
45500
+ var init_aaveV3AaveSupportedTokens2 = __esm(() => {
45501
+ init_aaveV3AaveSupportedTokens();
45502
+ init_operations();
45503
+ init_tools();
45504
+ args = {
45505
+ request: AaveAaveSupportedTokensRequest$inboundSchema
45506
+ };
45507
+ tool$aaveV3AaveSupportedTokens = {
45508
+ name: "aave-v3-aave-supported-tokens",
45509
+ description: `Aave Supported Tokens
45510
+
45511
+ Returns the list of supported tokens on Aave for the specified network, along
45512
+ with key metadata.
45513
+
45514
+ For each token, the response includes:
45515
+ - The symbol and contract address.
45516
+ - Whether the token is currently enabled for supplying (depositing).
45517
+ - Whether it is enabled for borrowing.`,
45518
+ args,
45519
+ tool: async (client, args2, ctx) => {
45520
+ const [result, apiCall] = await aaveV3AaveSupportedTokens(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45521
+ if (!result.ok) {
45522
+ return {
45523
+ content: [{ type: "text", text: result.error.message }],
45524
+ isError: true
45525
+ };
45526
+ }
45527
+ const value = result.value;
45528
+ return formatResult(value, apiCall);
45529
+ }
45530
+ };
45531
+ });
45532
+
45533
+ // src/funcs/aaveV3AvgRate.ts
45534
+ function aaveV3AvgRate(client, request, options) {
45535
+ return new APIPromise($do2(client, request, options));
45536
+ }
45537
+ async function $do2(client, request, options) {
45203
45538
  const parsed = safeParse(request, (value) => AaveAvgRateRequest$outboundSchema.parse(value), "Input validation failed");
45204
45539
  if (!parsed.ok) {
45205
45540
  return [parsed, { status: "invalid" }];
@@ -45277,12 +45612,12 @@ var init_aaveV3AvgRate = __esm(() => {
45277
45612
  });
45278
45613
 
45279
45614
  // src/mcp-server/tools/aaveV3AvgRate.ts
45280
- var args, tool$aaveV3AvgRate;
45615
+ var args2, tool$aaveV3AvgRate;
45281
45616
  var init_aaveV3AvgRate2 = __esm(() => {
45282
45617
  init_aaveV3AvgRate();
45283
45618
  init_operations();
45284
45619
  init_tools();
45285
- args = {
45620
+ args2 = {
45286
45621
  request: AaveAvgRateRequest$inboundSchema
45287
45622
  };
45288
45623
  tool$aaveV3AvgRate = {
@@ -45290,9 +45625,9 @@ var init_aaveV3AvgRate2 = __esm(() => {
45290
45625
  description: `Interest Rates: Time Average
45291
45626
 
45292
45627
  Provides time-weighted averages of deposit and borrow rates for Aave reserves.`,
45293
- args,
45294
- tool: async (client, args2, ctx) => {
45295
- const [result, apiCall] = await aaveV3AvgRate(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45628
+ args: args2,
45629
+ tool: async (client, args3, ctx) => {
45630
+ const [result, apiCall] = await aaveV3AvgRate(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45296
45631
  if (!result.ok) {
45297
45632
  return {
45298
45633
  content: [{ type: "text", text: result.error.message }],
@@ -45307,9 +45642,9 @@ Provides time-weighted averages of deposit and borrow rates for Aave reserves.`,
45307
45642
 
45308
45643
  // src/funcs/aaveV3Borrow.ts
45309
45644
  function aaveV3Borrow(client, request, options) {
45310
- return new APIPromise($do2(client, request, options));
45645
+ return new APIPromise($do3(client, request, options));
45311
45646
  }
45312
- async function $do2(client, request, options) {
45647
+ async function $do3(client, request, options) {
45313
45648
  const parsed = safeParse(request, (value) => AaveBorrowRequest$outboundSchema.parse(value), "Input validation failed");
45314
45649
  if (!parsed.ok) {
45315
45650
  return [parsed, { status: "invalid" }];
@@ -45380,12 +45715,12 @@ var init_aaveV3Borrow = __esm(() => {
45380
45715
  });
45381
45716
 
45382
45717
  // src/mcp-server/tools/aaveV3Borrow.ts
45383
- var args2, tool$aaveV3Borrow;
45718
+ var args3, tool$aaveV3Borrow;
45384
45719
  var init_aaveV3Borrow2 = __esm(() => {
45385
45720
  init_aaveV3Borrow();
45386
45721
  init_components();
45387
45722
  init_tools();
45388
- args2 = {
45723
+ args3 = {
45389
45724
  request: AaveBorrowRequest$inboundSchema
45390
45725
  };
45391
45726
  tool$aaveV3Borrow = {
@@ -45404,9 +45739,9 @@ liquidated, if the borrow position becomes unhealthy.
45404
45739
  - \`AaveV3Pool\`
45405
45740
  </Info>
45406
45741
  `,
45407
- args: args2,
45408
- tool: async (client, args3, ctx) => {
45409
- const [result, apiCall] = await aaveV3Borrow(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45742
+ args: args3,
45743
+ tool: async (client, args4, ctx) => {
45744
+ const [result, apiCall] = await aaveV3Borrow(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45410
45745
  if (!result.ok) {
45411
45746
  return {
45412
45747
  content: [{ type: "text", text: result.error.message }],
@@ -45421,9 +45756,9 @@ liquidated, if the borrow position becomes unhealthy.
45421
45756
 
45422
45757
  // src/funcs/aaveV3HistoricalTransactions.ts
45423
45758
  function aaveV3HistoricalTransactions(client, request, options) {
45424
- return new APIPromise($do3(client, request, options));
45759
+ return new APIPromise($do4(client, request, options));
45425
45760
  }
45426
- async function $do3(client, request, options) {
45761
+ async function $do4(client, request, options) {
45427
45762
  const parsed = safeParse(request, (value) => AaveHistoricalTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
45428
45763
  if (!parsed.ok) {
45429
45764
  return [parsed, { status: "invalid" }];
@@ -45501,12 +45836,12 @@ var init_aaveV3HistoricalTransactions = __esm(() => {
45501
45836
  });
45502
45837
 
45503
45838
  // src/mcp-server/tools/aaveV3HistoricalTransactions.ts
45504
- var args3, tool$aaveV3HistoricalTransactions;
45839
+ var args4, tool$aaveV3HistoricalTransactions;
45505
45840
  var init_aaveV3HistoricalTransactions2 = __esm(() => {
45506
45841
  init_aaveV3HistoricalTransactions();
45507
45842
  init_operations();
45508
45843
  init_tools();
45509
- args3 = {
45844
+ args4 = {
45510
45845
  request: AaveHistoricalTransactionsRequest$inboundSchema
45511
45846
  };
45512
45847
  tool$aaveV3HistoricalTransactions = {
@@ -45519,9 +45854,9 @@ It returns a list of transactions including deposits, withdrawals, borrows, and
45519
45854
  repayments. Each transaction includes details such as the token, amount, timestamp,
45520
45855
  and transaction type. This provides a comprehensive view of the user's historical
45521
45856
  activity within the AAVE protocol.`,
45522
- args: args3,
45523
- tool: async (client, args4, ctx) => {
45524
- const [result, apiCall] = await aaveV3HistoricalTransactions(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45857
+ args: args4,
45858
+ tool: async (client, args5, ctx) => {
45859
+ const [result, apiCall] = await aaveV3HistoricalTransactions(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45525
45860
  if (!result.ok) {
45526
45861
  return {
45527
45862
  content: [{ type: "text", text: result.error.message }],
@@ -45536,9 +45871,9 @@ activity within the AAVE protocol.`,
45536
45871
 
45537
45872
  // src/funcs/aaveV3LiquidityChange.ts
45538
45873
  function aaveV3LiquidityChange(client, request, options) {
45539
- return new APIPromise($do4(client, request, options));
45874
+ return new APIPromise($do5(client, request, options));
45540
45875
  }
45541
- async function $do4(client, request, options) {
45876
+ async function $do5(client, request, options) {
45542
45877
  const parsed = safeParse(request, (value) => AaveLiquidityChangeRequest$outboundSchema.parse(value), "Input validation failed");
45543
45878
  if (!parsed.ok) {
45544
45879
  return [parsed, { status: "invalid" }];
@@ -45616,12 +45951,12 @@ var init_aaveV3LiquidityChange = __esm(() => {
45616
45951
  });
45617
45952
 
45618
45953
  // src/mcp-server/tools/aaveV3LiquidityChange.ts
45619
- var args4, tool$aaveV3LiquidityChange;
45954
+ var args5, tool$aaveV3LiquidityChange;
45620
45955
  var init_aaveV3LiquidityChange2 = __esm(() => {
45621
45956
  init_aaveV3LiquidityChange();
45622
45957
  init_operations();
45623
45958
  init_tools();
45624
- args4 = {
45959
+ args5 = {
45625
45960
  request: AaveLiquidityChangeRequest$inboundSchema
45626
45961
  };
45627
45962
  tool$aaveV3LiquidityChange = {
@@ -45639,9 +45974,9 @@ at the start block, a positive liquidity index change will represent accrued
45639
45974
  interest and a profit. If tokens were borrowed at the start block, this debt will
45640
45975
  increase, compound on itself and represent large debt. The reverse in both cases is
45641
45976
  true if the liquidity index is negative.`,
45642
- args: args4,
45643
- tool: async (client, args5, ctx) => {
45644
- const [result, apiCall] = await aaveV3LiquidityChange(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45977
+ args: args5,
45978
+ tool: async (client, args6, ctx) => {
45979
+ const [result, apiCall] = await aaveV3LiquidityChange(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45645
45980
  if (!result.ok) {
45646
45981
  return {
45647
45982
  content: [{ type: "text", text: result.error.message }],
@@ -45656,9 +45991,9 @@ true if the liquidity index is negative.`,
45656
45991
 
45657
45992
  // src/funcs/aaveV3Rate.ts
45658
45993
  function aaveV3Rate(client, request, options) {
45659
- return new APIPromise($do5(client, request, options));
45994
+ return new APIPromise($do6(client, request, options));
45660
45995
  }
45661
- async function $do5(client, request, options) {
45996
+ async function $do6(client, request, options) {
45662
45997
  const parsed = safeParse(request, (value) => AaveRateRequest$outboundSchema.parse(value), "Input validation failed");
45663
45998
  if (!parsed.ok) {
45664
45999
  return [parsed, { status: "invalid" }];
@@ -45735,12 +46070,12 @@ var init_aaveV3Rate = __esm(() => {
45735
46070
  });
45736
46071
 
45737
46072
  // src/mcp-server/tools/aaveV3Rate.ts
45738
- var args5, tool$aaveV3Rate;
46073
+ var args6, tool$aaveV3Rate;
45739
46074
  var init_aaveV3Rate2 = __esm(() => {
45740
46075
  init_aaveV3Rate();
45741
46076
  init_operations();
45742
46077
  init_tools();
45743
- args5 = {
46078
+ args6 = {
45744
46079
  request: AaveRateRequest$inboundSchema
45745
46080
  };
45746
46081
  tool$aaveV3Rate = {
@@ -45761,9 +46096,9 @@ blockchain every time this endpoint is called.
45761
46096
  compounding).
45762
46097
 
45763
46098
  For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.`,
45764
- args: args5,
45765
- tool: async (client, args6, ctx) => {
45766
- const [result, apiCall] = await aaveV3Rate(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46099
+ args: args6,
46100
+ tool: async (client, args7, ctx) => {
46101
+ const [result, apiCall] = await aaveV3Rate(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45767
46102
  if (!result.ok) {
45768
46103
  return {
45769
46104
  content: [{ type: "text", text: result.error.message }],
@@ -45778,9 +46113,9 @@ For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.`
45778
46113
 
45779
46114
  // src/funcs/aaveV3Repay.ts
45780
46115
  function aaveV3Repay(client, request, options) {
45781
- return new APIPromise($do6(client, request, options));
46116
+ return new APIPromise($do7(client, request, options));
45782
46117
  }
45783
- async function $do6(client, request, options) {
46118
+ async function $do7(client, request, options) {
45784
46119
  const parsed = safeParse(request, (value) => AaveRepayRequest$outboundSchema.parse(value), "Input validation failed");
45785
46120
  if (!parsed.ok) {
45786
46121
  return [parsed, { status: "invalid" }];
@@ -45851,12 +46186,12 @@ var init_aaveV3Repay = __esm(() => {
45851
46186
  });
45852
46187
 
45853
46188
  // src/mcp-server/tools/aaveV3Repay.ts
45854
- var args6, tool$aaveV3Repay;
46189
+ var args7, tool$aaveV3Repay;
45855
46190
  var init_aaveV3Repay2 = __esm(() => {
45856
46191
  init_aaveV3Repay();
45857
46192
  init_components();
45858
46193
  init_tools();
45859
- args6 = {
46194
+ args7 = {
45860
46195
  request: AaveRepayRequest$inboundSchema
45861
46196
  };
45862
46197
  tool$aaveV3Repay = {
@@ -45879,9 +46214,9 @@ including the amount and the asset to be repaid.
45879
46214
  - \`AaveV3Pool\`
45880
46215
  </Info>
45881
46216
  `,
45882
- args: args6,
45883
- tool: async (client, args7, ctx) => {
45884
- const [result, apiCall] = await aaveV3Repay(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46217
+ args: args7,
46218
+ tool: async (client, args8, ctx) => {
46219
+ const [result, apiCall] = await aaveV3Repay(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45885
46220
  if (!result.ok) {
45886
46221
  return {
45887
46222
  content: [{ type: "text", text: result.error.message }],
@@ -45896,9 +46231,9 @@ including the amount and the asset to be repaid.
45896
46231
 
45897
46232
  // src/funcs/aaveV3ReserveOverview.ts
45898
46233
  function aaveV3ReserveOverview(client, request, options) {
45899
- return new APIPromise($do7(client, request, options));
46234
+ return new APIPromise($do8(client, request, options));
45900
46235
  }
45901
- async function $do7(client, request, options) {
46236
+ async function $do8(client, request, options) {
45902
46237
  const parsed = safeParse(request, (value) => AaveReserveOverviewRequest$outboundSchema.parse(value), "Input validation failed");
45903
46238
  if (!parsed.ok) {
45904
46239
  return [parsed, { status: "invalid" }];
@@ -45975,12 +46310,12 @@ var init_aaveV3ReserveOverview = __esm(() => {
45975
46310
  });
45976
46311
 
45977
46312
  // src/mcp-server/tools/aaveV3ReserveOverview.ts
45978
- var args7, tool$aaveV3ReserveOverview;
46313
+ var args8, tool$aaveV3ReserveOverview;
45979
46314
  var init_aaveV3ReserveOverview2 = __esm(() => {
45980
46315
  init_aaveV3ReserveOverview();
45981
46316
  init_operations();
45982
46317
  init_tools();
45983
- args7 = {
46318
+ args8 = {
45984
46319
  request: AaveReserveOverviewRequest$inboundSchema
45985
46320
  };
45986
46321
  tool$aaveV3ReserveOverview = {
@@ -45993,9 +46328,9 @@ Returns key metrics for Aave Reserves:
45993
46328
  - Utilization Ratio
45994
46329
 
45995
46330
  See below for more info:`,
45996
- args: args7,
45997
- tool: async (client, args8, ctx) => {
45998
- const [result, apiCall] = await aaveV3ReserveOverview(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46331
+ args: args8,
46332
+ tool: async (client, args9, ctx) => {
46333
+ const [result, apiCall] = await aaveV3ReserveOverview(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45999
46334
  if (!result.ok) {
46000
46335
  return {
46001
46336
  content: [{ type: "text", text: result.error.message }],
@@ -46010,9 +46345,9 @@ See below for more info:`,
46010
46345
 
46011
46346
  // src/funcs/aaveV3StdRate.ts
46012
46347
  function aaveV3StdRate(client, request, options) {
46013
- return new APIPromise($do8(client, request, options));
46348
+ return new APIPromise($do9(client, request, options));
46014
46349
  }
46015
- async function $do8(client, request, options) {
46350
+ async function $do9(client, request, options) {
46016
46351
  const parsed = safeParse(request, (value) => AaveStdRateRequest$outboundSchema.parse(value), "Input validation failed");
46017
46352
  if (!parsed.ok) {
46018
46353
  return [parsed, { status: "invalid" }];
@@ -46090,12 +46425,12 @@ var init_aaveV3StdRate = __esm(() => {
46090
46425
  });
46091
46426
 
46092
46427
  // src/mcp-server/tools/aaveV3StdRate.ts
46093
- var args8, tool$aaveV3StdRate;
46428
+ var args9, tool$aaveV3StdRate;
46094
46429
  var init_aaveV3StdRate2 = __esm(() => {
46095
46430
  init_aaveV3StdRate();
46096
46431
  init_operations();
46097
46432
  init_tools();
46098
- args8 = {
46433
+ args9 = {
46099
46434
  request: AaveStdRateRequest$inboundSchema
46100
46435
  };
46101
46436
  tool$aaveV3StdRate = {
@@ -46104,9 +46439,9 @@ var init_aaveV3StdRate2 = __esm(() => {
46104
46439
 
46105
46440
  Returns the historical standard deviation of lending and borrowing rates for Aave
46106
46441
  reserves, illustrating market volatility.`,
46107
- args: args8,
46108
- tool: async (client, args9, ctx) => {
46109
- const [result, apiCall] = await aaveV3StdRate(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46442
+ args: args9,
46443
+ tool: async (client, args10, ctx) => {
46444
+ const [result, apiCall] = await aaveV3StdRate(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46110
46445
  if (!result.ok) {
46111
46446
  return {
46112
46447
  content: [{ type: "text", text: result.error.message }],
@@ -46121,9 +46456,9 @@ reserves, illustrating market volatility.`,
46121
46456
 
46122
46457
  // src/funcs/aaveV3Supply.ts
46123
46458
  function aaveV3Supply(client, request, options) {
46124
- return new APIPromise($do9(client, request, options));
46459
+ return new APIPromise($do10(client, request, options));
46125
46460
  }
46126
- async function $do9(client, request, options) {
46461
+ async function $do10(client, request, options) {
46127
46462
  const parsed = safeParse(request, (value) => AaveSupplyRequest$outboundSchema.parse(value), "Input validation failed");
46128
46463
  if (!parsed.ok) {
46129
46464
  return [parsed, { status: "invalid" }];
@@ -46194,12 +46529,12 @@ var init_aaveV3Supply = __esm(() => {
46194
46529
  });
46195
46530
 
46196
46531
  // src/mcp-server/tools/aaveV3Supply.ts
46197
- var args9, tool$aaveV3Supply;
46532
+ var args10, tool$aaveV3Supply;
46198
46533
  var init_aaveV3Supply2 = __esm(() => {
46199
46534
  init_aaveV3Supply();
46200
46535
  init_components();
46201
46536
  init_tools();
46202
- args9 = {
46537
+ args10 = {
46203
46538
  request: AaveSupplyRequest$inboundSchema
46204
46539
  };
46205
46540
  tool$aaveV3Supply = {
@@ -46223,9 +46558,9 @@ borrowing flexibility.
46223
46558
  - \`AaveV3Pool\`
46224
46559
  </Info>
46225
46560
  `,
46226
- args: args9,
46227
- tool: async (client, args10, ctx) => {
46228
- const [result, apiCall] = await aaveV3Supply(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46561
+ args: args10,
46562
+ tool: async (client, args11, ctx) => {
46563
+ const [result, apiCall] = await aaveV3Supply(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46229
46564
  if (!result.ok) {
46230
46565
  return {
46231
46566
  content: [{ type: "text", text: result.error.message }],
@@ -46240,9 +46575,9 @@ borrowing flexibility.
46240
46575
 
46241
46576
  // src/funcs/aaveV3TokenPrice.ts
46242
46577
  function aaveV3TokenPrice(client, request, options) {
46243
- return new APIPromise($do10(client, request, options));
46578
+ return new APIPromise($do11(client, request, options));
46244
46579
  }
46245
- async function $do10(client, request, options) {
46580
+ async function $do11(client, request, options) {
46246
46581
  const parsed = safeParse(request, (value) => AaveTokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
46247
46582
  if (!parsed.ok) {
46248
46583
  return [parsed, { status: "invalid" }];
@@ -46319,12 +46654,12 @@ var init_aaveV3TokenPrice = __esm(() => {
46319
46654
  });
46320
46655
 
46321
46656
  // src/mcp-server/tools/aaveV3TokenPrice.ts
46322
- var args10, tool$aaveV3TokenPrice;
46657
+ var args11, tool$aaveV3TokenPrice;
46323
46658
  var init_aaveV3TokenPrice2 = __esm(() => {
46324
46659
  init_aaveV3TokenPrice();
46325
46660
  init_operations();
46326
46661
  init_tools();
46327
- args10 = {
46662
+ args11 = {
46328
46663
  request: AaveTokenPriceRequest$inboundSchema
46329
46664
  };
46330
46665
  tool$aaveV3TokenPrice = {
@@ -46339,9 +46674,9 @@ to-date information. The request requires the token identifier and the blockchai
46339
46674
  network (chain) on which the token resides. The response provides the token price in
46340
46675
  a standardized format, converted from Wei to the base currency decimals defined by
46341
46676
  Aave.`,
46342
- args: args10,
46343
- tool: async (client, args11, ctx) => {
46344
- const [result, apiCall] = await aaveV3TokenPrice(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46677
+ args: args11,
46678
+ tool: async (client, args12, ctx) => {
46679
+ const [result, apiCall] = await aaveV3TokenPrice(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46345
46680
  if (!result.ok) {
46346
46681
  return {
46347
46682
  content: [{ type: "text", text: result.error.message }],
@@ -46356,9 +46691,9 @@ Aave.`,
46356
46691
 
46357
46692
  // src/funcs/aaveV3UserPositionPerToken.ts
46358
46693
  function aaveV3UserPositionPerToken(client, request, options) {
46359
- return new APIPromise($do11(client, request, options));
46694
+ return new APIPromise($do12(client, request, options));
46360
46695
  }
46361
- async function $do11(client, request, options) {
46696
+ async function $do12(client, request, options) {
46362
46697
  const parsed = safeParse(request, (value) => AaveUserPositionPerTokenRequest$outboundSchema.parse(value), "Input validation failed");
46363
46698
  if (!parsed.ok) {
46364
46699
  return [parsed, { status: "invalid" }];
@@ -46436,12 +46771,12 @@ var init_aaveV3UserPositionPerToken = __esm(() => {
46436
46771
  });
46437
46772
 
46438
46773
  // src/mcp-server/tools/aaveV3UserPositionPerToken.ts
46439
- var args11, tool$aaveV3UserPositionPerToken;
46774
+ var args12, tool$aaveV3UserPositionPerToken;
46440
46775
  var init_aaveV3UserPositionPerToken2 = __esm(() => {
46441
46776
  init_aaveV3UserPositionPerToken();
46442
46777
  init_operations();
46443
46778
  init_tools();
46444
- args11 = {
46779
+ args12 = {
46445
46780
  request: AaveUserPositionPerTokenRequest$inboundSchema
46446
46781
  };
46447
46782
  tool$aaveV3UserPositionPerToken = {
@@ -46457,9 +46792,9 @@ stable borrow rate, stable borrow rate for new loans, variable borrow rate, and
46457
46792
  liquidity rate. These metrics are calculated by aggregating data across all open
46458
46793
  positions held by the user for the specified token, offering a detailed view of
46459
46794
  their financial standing within the AAVE ecosystem.`,
46460
- args: args11,
46461
- tool: async (client, args12, ctx) => {
46462
- const [result, apiCall] = await aaveV3UserPositionPerToken(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46795
+ args: args12,
46796
+ tool: async (client, args13, ctx) => {
46797
+ const [result, apiCall] = await aaveV3UserPositionPerToken(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46463
46798
  if (!result.ok) {
46464
46799
  return {
46465
46800
  content: [{ type: "text", text: result.error.message }],
@@ -46474,9 +46809,9 @@ their financial standing within the AAVE ecosystem.`,
46474
46809
 
46475
46810
  // src/funcs/aaveV3UserPositionSummary.ts
46476
46811
  function aaveV3UserPositionSummary(client, request, options) {
46477
- return new APIPromise($do12(client, request, options));
46812
+ return new APIPromise($do13(client, request, options));
46478
46813
  }
46479
- async function $do12(client, request, options) {
46814
+ async function $do13(client, request, options) {
46480
46815
  const parsed = safeParse(request, (value) => AaveUserPositionSummaryRequest$outboundSchema.parse(value), "Input validation failed");
46481
46816
  if (!parsed.ok) {
46482
46817
  return [parsed, { status: "invalid" }];
@@ -46553,12 +46888,12 @@ var init_aaveV3UserPositionSummary = __esm(() => {
46553
46888
  });
46554
46889
 
46555
46890
  // src/mcp-server/tools/aaveV3UserPositionSummary.ts
46556
- var args12, tool$aaveV3UserPositionSummary;
46891
+ var args13, tool$aaveV3UserPositionSummary;
46557
46892
  var init_aaveV3UserPositionSummary2 = __esm(() => {
46558
46893
  init_aaveV3UserPositionSummary();
46559
46894
  init_operations();
46560
46895
  init_tools();
46561
- args12 = {
46896
+ args13 = {
46562
46897
  request: AaveUserPositionSummaryRequest$inboundSchema
46563
46898
  };
46564
46899
  tool$aaveV3UserPositionSummary = {
@@ -46573,9 +46908,9 @@ debt accrued, available borrowing capacity, liquidation threshold, maximum loan-
46573
46908
  value ratio, and the health factor of the user's account. These metrics are
46574
46909
  calculated by aggregating data across all open positions held by the user, offering
46575
46910
  a holistic view of their financial standing within the AAVE ecosystem.`,
46576
- args: args12,
46577
- tool: async (client, args13, ctx) => {
46578
- const [result, apiCall] = await aaveV3UserPositionSummary(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46911
+ args: args13,
46912
+ tool: async (client, args14, ctx) => {
46913
+ const [result, apiCall] = await aaveV3UserPositionSummary(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46579
46914
  if (!result.ok) {
46580
46915
  return {
46581
46916
  content: [{ type: "text", text: result.error.message }],
@@ -46590,9 +46925,9 @@ a holistic view of their financial standing within the AAVE ecosystem.`,
46590
46925
 
46591
46926
  // src/funcs/aaveV3Withdraw.ts
46592
46927
  function aaveV3Withdraw(client, request, options) {
46593
- return new APIPromise($do13(client, request, options));
46928
+ return new APIPromise($do14(client, request, options));
46594
46929
  }
46595
- async function $do13(client, request, options) {
46930
+ async function $do14(client, request, options) {
46596
46931
  const parsed = safeParse(request, (value) => AaveWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
46597
46932
  if (!parsed.ok) {
46598
46933
  return [parsed, { status: "invalid" }];
@@ -46663,12 +46998,12 @@ var init_aaveV3Withdraw = __esm(() => {
46663
46998
  });
46664
46999
 
46665
47000
  // src/mcp-server/tools/aaveV3Withdraw.ts
46666
- var args13, tool$aaveV3Withdraw;
47001
+ var args14, tool$aaveV3Withdraw;
46667
47002
  var init_aaveV3Withdraw2 = __esm(() => {
46668
47003
  init_aaveV3Withdraw();
46669
47004
  init_components();
46670
47005
  init_tools();
46671
- args13 = {
47006
+ args14 = {
46672
47007
  request: AaveWithdrawRequest$inboundSchema
46673
47008
  };
46674
47009
  tool$aaveV3Withdraw = {
@@ -46692,9 +47027,9 @@ the Aave ecosystem.
46692
47027
  - \`AaveV3Pool\`
46693
47028
  </Info>
46694
47029
  `,
46695
- args: args13,
46696
- tool: async (client, args14, ctx) => {
46697
- const [result, apiCall] = await aaveV3Withdraw(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47030
+ args: args14,
47031
+ tool: async (client, args15, ctx) => {
47032
+ const [result, apiCall] = await aaveV3Withdraw(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46698
47033
  if (!result.ok) {
46699
47034
  return {
46700
47035
  content: [{ type: "text", text: result.error.message }],
@@ -46709,9 +47044,9 @@ the Aave ecosystem.
46709
47044
 
46710
47045
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
46711
47046
  function aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, request, options) {
46712
- return new APIPromise($do14(client, request, options));
47047
+ return new APIPromise($do15(client, request, options));
46713
47048
  }
46714
- async function $do14(client, request, options) {
47049
+ async function $do15(client, request, options) {
46715
47050
  const parsed = safeParse(request, (value) => AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46716
47051
  if (!parsed.ok) {
46717
47052
  return [parsed, { status: "invalid" }];
@@ -46782,12 +47117,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = __esm(() => {
46782
47117
  });
46783
47118
 
46784
47119
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease.ts
46785
- var args14, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
47120
+ var args15, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease;
46786
47121
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease2 = __esm(() => {
46787
47122
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease();
46788
47123
  init_components();
46789
47124
  init_tools();
46790
- args14 = {
47125
+ args15 = {
46791
47126
  request: AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema
46792
47127
  };
46793
47128
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease = {
@@ -46813,9 +47148,9 @@ to adapt to market conditions and maximize their returns in decentralized financ
46813
47148
  - \`AerodromeSlipstreamRouter\`
46814
47149
  </Info>
46815
47150
  `,
46816
- args: args14,
46817
- tool: async (client, args15, ctx) => {
46818
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47151
+ args: args15,
47152
+ tool: async (client, args16, ctx) => {
47153
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionIncrease(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46819
47154
  if (!result.ok) {
46820
47155
  return {
46821
47156
  content: [{ type: "text", text: result.error.message }],
@@ -46830,9 +47165,9 @@ to adapt to market conditions and maximize their returns in decentralized financ
46830
47165
 
46831
47166
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
46832
47167
  function aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, request, options) {
46833
- return new APIPromise($do15(client, request, options));
47168
+ return new APIPromise($do16(client, request, options));
46834
47169
  }
46835
- async function $do15(client, request, options) {
47170
+ async function $do16(client, request, options) {
46836
47171
  const parsed = safeParse(request, (value) => AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
46837
47172
  if (!parsed.ok) {
46838
47173
  return [parsed, { status: "invalid" }];
@@ -46903,12 +47238,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint = __esm(() => {
46903
47238
  });
46904
47239
 
46905
47240
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionMint.ts
46906
- var args15, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
47241
+ var args16, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint;
46907
47242
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint2 = __esm(() => {
46908
47243
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionMint();
46909
47244
  init_components();
46910
47245
  init_tools();
46911
- args15 = {
47246
+ args16 = {
46912
47247
  request: AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema
46913
47248
  };
46914
47249
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionMint = {
@@ -46932,9 +47267,9 @@ them the opportunity to engage in decentralized finance (DeFi) markets effective
46932
47267
  - \`AerodromeSlipstreamNonfungiblePositionManager\`
46933
47268
  </Info>
46934
47269
  `,
46935
- args: args15,
46936
- tool: async (client, args16, ctx) => {
46937
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47270
+ args: args16,
47271
+ tool: async (client, args17, ctx) => {
47272
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionMint(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46938
47273
  if (!result.ok) {
46939
47274
  return {
46940
47275
  content: [{ type: "text", text: result.error.message }],
@@ -46949,9 +47284,9 @@ them the opportunity to engage in decentralized finance (DeFi) markets effective
46949
47284
 
46950
47285
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
46951
47286
  function aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, request, options) {
46952
- return new APIPromise($do16(client, request, options));
47287
+ return new APIPromise($do17(client, request, options));
46953
47288
  }
46954
- async function $do16(client, request, options) {
47289
+ async function $do17(client, request, options) {
46955
47290
  const parsed = safeParse(request, (value) => AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
46956
47291
  if (!parsed.ok) {
46957
47292
  return [parsed, { status: "invalid" }];
@@ -47027,12 +47362,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = __esm(() =>
47027
47362
  });
47028
47363
 
47029
47364
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionPositions.ts
47030
- var args16, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
47365
+ var args17, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions;
47031
47366
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions2 = __esm(() => {
47032
47367
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionPositions();
47033
47368
  init_operations();
47034
47369
  init_tools();
47035
- args16 = {
47370
+ args17 = {
47036
47371
  request: AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema
47037
47372
  };
47038
47373
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionPositions = {
@@ -47048,9 +47383,9 @@ AerodromeLPPositionsInfo, provides a structured representation of the LP positio
47048
47383
  data, ensuring clarity and ease of use. This functionality is essential for users
47049
47384
  managing their liquidity provision activities, enabling them to make informed
47050
47385
  decisions based on their current positions.`,
47051
- args: args16,
47052
- tool: async (client, args17, ctx) => {
47053
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47386
+ args: args17,
47387
+ tool: async (client, args18, ctx) => {
47388
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionPositions(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47054
47389
  if (!result.ok) {
47055
47390
  return {
47056
47391
  content: [{ type: "text", text: result.error.message }],
@@ -47065,9 +47400,9 @@ decisions based on their current positions.`,
47065
47400
 
47066
47401
  // src/funcs/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
47067
47402
  function aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, request, options) {
47068
- return new APIPromise($do17(client, request, options));
47403
+ return new APIPromise($do18(client, request, options));
47069
47404
  }
47070
- async function $do17(client, request, options) {
47405
+ async function $do18(client, request, options) {
47071
47406
  const parsed = safeParse(request, (value) => AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
47072
47407
  if (!parsed.ok) {
47073
47408
  return [parsed, { status: "invalid" }];
@@ -47138,12 +47473,12 @@ var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = __esm(() => {
47138
47473
  });
47139
47474
 
47140
47475
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw.ts
47141
- var args17, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
47476
+ var args18, tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw;
47142
47477
  var init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw2 = __esm(() => {
47143
47478
  init_aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw();
47144
47479
  init_components();
47145
47480
  init_tools();
47146
- args17 = {
47481
+ args18 = {
47147
47482
  request: AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema
47148
47483
  };
47149
47484
  tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw = {
@@ -47169,9 +47504,9 @@ strategic management of their decentralized finance (DeFi) portfolios.
47169
47504
  - \`AerodromeSlipstreamNonfungiblePositionManager\`
47170
47505
  </Info>
47171
47506
  `,
47172
- args: args17,
47173
- tool: async (client, args18, ctx) => {
47174
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47507
+ args: args18,
47508
+ tool: async (client, args19, ctx) => {
47509
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47175
47510
  if (!result.ok) {
47176
47511
  return {
47177
47512
  content: [{ type: "text", text: result.error.message }],
@@ -47186,9 +47521,9 @@ strategic management of their decentralized finance (DeFi) portfolios.
47186
47521
 
47187
47522
  // src/funcs/aerodromeSlipstreamSlipstreamPoolPrice.ts
47188
47523
  function aerodromeSlipstreamSlipstreamPoolPrice(client, request, options) {
47189
- return new APIPromise($do18(client, request, options));
47524
+ return new APIPromise($do19(client, request, options));
47190
47525
  }
47191
- async function $do18(client, request, options) {
47526
+ async function $do19(client, request, options) {
47192
47527
  const parsed = safeParse(request, (value) => AerodromeSlipstreamPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
47193
47528
  if (!parsed.ok) {
47194
47529
  return [parsed, { status: "invalid" }];
@@ -47266,12 +47601,12 @@ var init_aerodromeSlipstreamSlipstreamPoolPrice = __esm(() => {
47266
47601
  });
47267
47602
 
47268
47603
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamPoolPrice.ts
47269
- var args18, tool$aerodromeSlipstreamSlipstreamPoolPrice;
47604
+ var args19, tool$aerodromeSlipstreamSlipstreamPoolPrice;
47270
47605
  var init_aerodromeSlipstreamSlipstreamPoolPrice2 = __esm(() => {
47271
47606
  init_aerodromeSlipstreamSlipstreamPoolPrice();
47272
47607
  init_operations();
47273
47608
  init_tools();
47274
- args18 = {
47609
+ args19 = {
47275
47610
  request: AerodromeSlipstreamPoolPriceRequest$inboundSchema
47276
47611
  };
47277
47612
  tool$aerodromeSlipstreamSlipstreamPoolPrice = {
@@ -47284,9 +47619,9 @@ you can purchase for 1 token1.
47284
47619
  Note that this is an instantaneous price and may change during any trade. For a more
47285
47620
  accurate representation of the trade ratios between the two assets, consider using
47286
47621
  the quote endpoint.`,
47287
- args: args18,
47288
- tool: async (client, args19, ctx) => {
47289
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47622
+ args: args19,
47623
+ tool: async (client, args20, ctx) => {
47624
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamPoolPrice(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47290
47625
  if (!result.ok) {
47291
47626
  return {
47292
47627
  content: [{ type: "text", text: result.error.message }],
@@ -47301,9 +47636,9 @@ the quote endpoint.`,
47301
47636
 
47302
47637
  // src/funcs/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
47303
47638
  function aerodromeSlipstreamSlipstreamSwapBuyExactly(client, request, options) {
47304
- return new APIPromise($do19(client, request, options));
47639
+ return new APIPromise($do20(client, request, options));
47305
47640
  }
47306
- async function $do19(client, request, options) {
47641
+ async function $do20(client, request, options) {
47307
47642
  const parsed = safeParse(request, (value) => AerodromeSlipstreamBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47308
47643
  if (!parsed.ok) {
47309
47644
  return [parsed, { status: "invalid" }];
@@ -47374,12 +47709,12 @@ var init_aerodromeSlipstreamSlipstreamSwapBuyExactly = __esm(() => {
47374
47709
  });
47375
47710
 
47376
47711
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapBuyExactly.ts
47377
- var args19, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
47712
+ var args20, tool$aerodromeSlipstreamSlipstreamSwapBuyExactly;
47378
47713
  var init_aerodromeSlipstreamSlipstreamSwapBuyExactly2 = __esm(() => {
47379
47714
  init_aerodromeSlipstreamSlipstreamSwapBuyExactly();
47380
47715
  init_components();
47381
47716
  init_tools();
47382
- args19 = {
47717
+ args20 = {
47383
47718
  request: AerodromeSlipstreamBuyExactlyRequest$inboundSchema
47384
47719
  };
47385
47720
  tool$aerodromeSlipstreamSlipstreamSwapBuyExactly = {
@@ -47404,9 +47739,9 @@ effectively.
47404
47739
  - \`AerodromeSlipstreamRouter\`
47405
47740
  </Info>
47406
47741
  `,
47407
- args: args19,
47408
- tool: async (client, args20, ctx) => {
47409
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47742
+ args: args20,
47743
+ tool: async (client, args21, ctx) => {
47744
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapBuyExactly(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47410
47745
  if (!result.ok) {
47411
47746
  return {
47412
47747
  content: [{ type: "text", text: result.error.message }],
@@ -47421,9 +47756,9 @@ effectively.
47421
47756
 
47422
47757
  // src/funcs/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
47423
47758
  function aerodromeSlipstreamSlipstreamSwapSellExactly(client, request, options) {
47424
- return new APIPromise($do20(client, request, options));
47759
+ return new APIPromise($do21(client, request, options));
47425
47760
  }
47426
- async function $do20(client, request, options) {
47761
+ async function $do21(client, request, options) {
47427
47762
  const parsed = safeParse(request, (value) => AerodromeSlipstreamSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
47428
47763
  if (!parsed.ok) {
47429
47764
  return [parsed, { status: "invalid" }];
@@ -47494,12 +47829,12 @@ var init_aerodromeSlipstreamSlipstreamSwapSellExactly = __esm(() => {
47494
47829
  });
47495
47830
 
47496
47831
  // src/mcp-server/tools/aerodromeSlipstreamSlipstreamSwapSellExactly.ts
47497
- var args20, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
47832
+ var args21, tool$aerodromeSlipstreamSlipstreamSwapSellExactly;
47498
47833
  var init_aerodromeSlipstreamSlipstreamSwapSellExactly2 = __esm(() => {
47499
47834
  init_aerodromeSlipstreamSlipstreamSwapSellExactly();
47500
47835
  init_components();
47501
47836
  init_tools();
47502
- args20 = {
47837
+ args21 = {
47503
47838
  request: AerodromeSlipstreamSellExactlyRequest$inboundSchema
47504
47839
  };
47505
47840
  tool$aerodromeSlipstreamSlipstreamSwapSellExactly = {
@@ -47523,9 +47858,9 @@ token and are willing to accept the resulting amount of the other token.
47523
47858
  - \`AerodromeSlipstreamRouter\`
47524
47859
  </Info>
47525
47860
  `,
47526
- args: args20,
47527
- tool: async (client, args21, ctx) => {
47528
- const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47861
+ args: args21,
47862
+ tool: async (client, args22, ctx) => {
47863
+ const [result, apiCall] = await aerodromeSlipstreamSlipstreamSwapSellExactly(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47529
47864
  if (!result.ok) {
47530
47865
  return {
47531
47866
  content: [{ type: "text", text: result.error.message }],
@@ -47540,9 +47875,9 @@ token and are willing to accept the resulting amount of the other token.
47540
47875
 
47541
47876
  // src/funcs/erc4626VaultsDeposit.ts
47542
47877
  function erc4626VaultsDeposit(client, request, options) {
47543
- return new APIPromise($do21(client, request, options));
47878
+ return new APIPromise($do22(client, request, options));
47544
47879
  }
47545
- async function $do21(client, request, options) {
47880
+ async function $do22(client, request, options) {
47546
47881
  const parsed = safeParse(request, (value) => VaultDepositRequest$outboundSchema.parse(value), "Input validation failed");
47547
47882
  if (!parsed.ok) {
47548
47883
  return [parsed, { status: "invalid" }];
@@ -47613,12 +47948,12 @@ var init_erc4626VaultsDeposit = __esm(() => {
47613
47948
  });
47614
47949
 
47615
47950
  // src/mcp-server/tools/erc4626VaultsDeposit.ts
47616
- var args21, tool$erc4626VaultsDeposit;
47951
+ var args22, tool$erc4626VaultsDeposit;
47617
47952
  var init_erc4626VaultsDeposit2 = __esm(() => {
47618
47953
  init_erc4626VaultsDeposit();
47619
47954
  init_components();
47620
47955
  init_tools();
47621
- args21 = {
47956
+ args22 = {
47622
47957
  request: VaultDepositRequest$inboundSchema
47623
47958
  };
47624
47959
  tool$erc4626VaultsDeposit = {
@@ -47636,9 +47971,9 @@ Each vault accepts one unique token that can be deposited.
47636
47971
  - \`<vault_address>\`
47637
47972
  </Info>
47638
47973
  `,
47639
- args: args21,
47640
- tool: async (client, args22, ctx) => {
47641
- const [result, apiCall] = await erc4626VaultsDeposit(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47974
+ args: args22,
47975
+ tool: async (client, args23, ctx) => {
47976
+ const [result, apiCall] = await erc4626VaultsDeposit(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47642
47977
  if (!result.ok) {
47643
47978
  return {
47644
47979
  content: [{ type: "text", text: result.error.message }],
@@ -47653,9 +47988,9 @@ Each vault accepts one unique token that can be deposited.
47653
47988
 
47654
47989
  // src/funcs/erc4626VaultsVault.ts
47655
47990
  function erc4626VaultsVault(client, request, options) {
47656
- return new APIPromise($do22(client, request, options));
47991
+ return new APIPromise($do23(client, request, options));
47657
47992
  }
47658
- async function $do22(client, request, options) {
47993
+ async function $do23(client, request, options) {
47659
47994
  const parsed = safeParse(request, (value) => VaultsVaultRequest$outboundSchema.parse(value), "Input validation failed");
47660
47995
  if (!parsed.ok) {
47661
47996
  return [parsed, { status: "invalid" }];
@@ -47733,12 +48068,12 @@ var init_erc4626VaultsVault = __esm(() => {
47733
48068
  });
47734
48069
 
47735
48070
  // src/mcp-server/tools/erc4626VaultsVault.ts
47736
- var args22, tool$erc4626VaultsVault;
48071
+ var args23, tool$erc4626VaultsVault;
47737
48072
  var init_erc4626VaultsVault2 = __esm(() => {
47738
48073
  init_erc4626VaultsVault();
47739
48074
  init_operations();
47740
48075
  init_tools();
47741
- args22 = {
48076
+ args23 = {
47742
48077
  request: VaultsVaultRequest$inboundSchema
47743
48078
  };
47744
48079
  tool$erc4626VaultsVault = {
@@ -47748,9 +48083,9 @@ var init_erc4626VaultsVault2 = __esm(() => {
47748
48083
  Get Vault data & User Position.
47749
48084
 
47750
48085
  The user position is only included if 'user_address' parameter is included.`,
47751
- args: args22,
47752
- tool: async (client, args23, ctx) => {
47753
- const [result, apiCall] = await erc4626VaultsVault(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48086
+ args: args23,
48087
+ tool: async (client, args24, ctx) => {
48088
+ const [result, apiCall] = await erc4626VaultsVault(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47754
48089
  if (!result.ok) {
47755
48090
  return {
47756
48091
  content: [{ type: "text", text: result.error.message }],
@@ -47765,9 +48100,9 @@ The user position is only included if 'user_address' parameter is included.`,
47765
48100
 
47766
48101
  // src/funcs/erc4626VaultsWithdraw.ts
47767
48102
  function erc4626VaultsWithdraw(client, request, options) {
47768
- return new APIPromise($do23(client, request, options));
48103
+ return new APIPromise($do24(client, request, options));
47769
48104
  }
47770
- async function $do23(client, request, options) {
48105
+ async function $do24(client, request, options) {
47771
48106
  const parsed = safeParse(request, (value) => VaultWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
47772
48107
  if (!parsed.ok) {
47773
48108
  return [parsed, { status: "invalid" }];
@@ -47838,12 +48173,12 @@ var init_erc4626VaultsWithdraw = __esm(() => {
47838
48173
  });
47839
48174
 
47840
48175
  // src/mcp-server/tools/erc4626VaultsWithdraw.ts
47841
- var args23, tool$erc4626VaultsWithdraw;
48176
+ var args24, tool$erc4626VaultsWithdraw;
47842
48177
  var init_erc4626VaultsWithdraw2 = __esm(() => {
47843
48178
  init_erc4626VaultsWithdraw();
47844
48179
  init_components();
47845
48180
  init_tools();
47846
- args23 = {
48181
+ args24 = {
47847
48182
  request: VaultWithdrawRequest$inboundSchema
47848
48183
  };
47849
48184
  tool$erc4626VaultsWithdraw = {
@@ -47863,9 +48198,9 @@ deposited plus any accrued yield.
47863
48198
  - \`<vault address>\`
47864
48199
  </Info>
47865
48200
  `,
47866
- args: args23,
47867
- tool: async (client, args24, ctx) => {
47868
- const [result, apiCall] = await erc4626VaultsWithdraw(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48201
+ args: args24,
48202
+ tool: async (client, args25, ctx) => {
48203
+ const [result, apiCall] = await erc4626VaultsWithdraw(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47869
48204
  if (!result.ok) {
47870
48205
  return {
47871
48206
  content: [{ type: "text", text: result.error.message }],
@@ -47880,9 +48215,9 @@ deposited plus any accrued yield.
47880
48215
 
47881
48216
  // src/funcs/morphoBorrow.ts
47882
48217
  function morphoBorrow(client, request, options) {
47883
- return new APIPromise($do24(client, request, options));
48218
+ return new APIPromise($do25(client, request, options));
47884
48219
  }
47885
- async function $do24(client, request, options) {
48220
+ async function $do25(client, request, options) {
47886
48221
  const parsed = safeParse(request, (value) => MorphoBorrowRequest$outboundSchema.parse(value), "Input validation failed");
47887
48222
  if (!parsed.ok) {
47888
48223
  return [parsed, { status: "invalid" }];
@@ -47953,12 +48288,12 @@ var init_morphoBorrow = __esm(() => {
47953
48288
  });
47954
48289
 
47955
48290
  // src/mcp-server/tools/morphoBorrow.ts
47956
- var args24, tool$morphoBorrow;
48291
+ var args25, tool$morphoBorrow;
47957
48292
  var init_morphoBorrow2 = __esm(() => {
47958
48293
  init_morphoBorrow();
47959
48294
  init_components();
47960
48295
  init_tools();
47961
- args24 = {
48296
+ args25 = {
47962
48297
  request: MorphoBorrowRequest$inboundSchema
47963
48298
  };
47964
48299
  tool$morphoBorrow = {
@@ -47982,9 +48317,9 @@ as long as the blockchain it is deployed on is live.
47982
48317
  - \`Morpho\`
47983
48318
  </Info>
47984
48319
  `,
47985
- args: args24,
47986
- tool: async (client, args25, ctx) => {
47987
- const [result, apiCall] = await morphoBorrow(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48320
+ args: args25,
48321
+ tool: async (client, args26, ctx) => {
48322
+ const [result, apiCall] = await morphoBorrow(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47988
48323
  if (!result.ok) {
47989
48324
  return {
47990
48325
  content: [{ type: "text", text: result.error.message }],
@@ -47999,9 +48334,9 @@ as long as the blockchain it is deployed on is live.
47999
48334
 
48000
48335
  // src/funcs/morphoDeposit.ts
48001
48336
  function morphoDeposit(client, request, options) {
48002
- return new APIPromise($do25(client, request, options));
48337
+ return new APIPromise($do26(client, request, options));
48003
48338
  }
48004
- async function $do25(client, request, options) {
48339
+ async function $do26(client, request, options) {
48005
48340
  const parsed = safeParse(request, (value) => MorphoDepositRequest$outboundSchema.parse(value), "Input validation failed");
48006
48341
  if (!parsed.ok) {
48007
48342
  return [parsed, { status: "invalid" }];
@@ -48072,12 +48407,12 @@ var init_morphoDeposit = __esm(() => {
48072
48407
  });
48073
48408
 
48074
48409
  // src/mcp-server/tools/morphoDeposit.ts
48075
- var args25, tool$morphoDeposit;
48410
+ var args26, tool$morphoDeposit;
48076
48411
  var init_morphoDeposit2 = __esm(() => {
48077
48412
  init_morphoDeposit();
48078
48413
  init_components();
48079
48414
  init_tools();
48080
- args25 = {
48415
+ args26 = {
48081
48416
  request: MorphoDepositRequest$inboundSchema
48082
48417
  };
48083
48418
  tool$morphoDeposit = {
@@ -48103,9 +48438,9 @@ state at any time, and withdraw their liquidity at their discretion.
48103
48438
  - \`USDC\`
48104
48439
  </Info>
48105
48440
  `,
48106
- args: args25,
48107
- tool: async (client, args26, ctx) => {
48108
- const [result, apiCall] = await morphoDeposit(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48441
+ args: args26,
48442
+ tool: async (client, args27, ctx) => {
48443
+ const [result, apiCall] = await morphoDeposit(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48109
48444
  if (!result.ok) {
48110
48445
  return {
48111
48446
  content: [{ type: "text", text: result.error.message }],
@@ -48120,9 +48455,9 @@ state at any time, and withdraw their liquidity at their discretion.
48120
48455
 
48121
48456
  // src/funcs/morphoMarket.ts
48122
48457
  function morphoMarket(client, request, options) {
48123
- return new APIPromise($do26(client, request, options));
48458
+ return new APIPromise($do27(client, request, options));
48124
48459
  }
48125
- async function $do26(client, request, options) {
48460
+ async function $do27(client, request, options) {
48126
48461
  const parsed = safeParse(request, (value) => MorphoMarketRequest$outboundSchema.parse(value), "Input validation failed");
48127
48462
  if (!parsed.ok) {
48128
48463
  return [parsed, { status: "invalid" }];
@@ -48198,12 +48533,12 @@ var init_morphoMarket = __esm(() => {
48198
48533
  });
48199
48534
 
48200
48535
  // src/mcp-server/tools/morphoMarket.ts
48201
- var args26, tool$morphoMarket;
48536
+ var args27, tool$morphoMarket;
48202
48537
  var init_morphoMarket2 = __esm(() => {
48203
48538
  init_morphoMarket();
48204
48539
  init_operations();
48205
48540
  init_tools();
48206
- args26 = {
48541
+ args27 = {
48207
48542
  request: MorphoMarketRequest$inboundSchema
48208
48543
  };
48209
48544
  tool$morphoMarket = {
@@ -48220,9 +48555,9 @@ Including:
48220
48555
  - Utilization ratio
48221
48556
  - Pertinent metadata
48222
48557
  - Whitelist status`,
48223
- args: args26,
48224
- tool: async (client, args27, ctx) => {
48225
- const [result, apiCall] = await morphoMarket(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48558
+ args: args27,
48559
+ tool: async (client, args28, ctx) => {
48560
+ const [result, apiCall] = await morphoMarket(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48226
48561
  if (!result.ok) {
48227
48562
  return {
48228
48563
  content: [{ type: "text", text: result.error.message }],
@@ -48237,9 +48572,9 @@ Including:
48237
48572
 
48238
48573
  // src/funcs/morphoMarketPosition.ts
48239
48574
  function morphoMarketPosition(client, request, options) {
48240
- return new APIPromise($do27(client, request, options));
48575
+ return new APIPromise($do28(client, request, options));
48241
48576
  }
48242
- async function $do27(client, request, options) {
48577
+ async function $do28(client, request, options) {
48243
48578
  const parsed = safeParse(request, (value) => MorphoMarketPositionRequest$outboundSchema.parse(value), "Input validation failed");
48244
48579
  if (!parsed.ok) {
48245
48580
  return [parsed, { status: "invalid" }];
@@ -48316,12 +48651,12 @@ var init_morphoMarketPosition = __esm(() => {
48316
48651
  });
48317
48652
 
48318
48653
  // src/mcp-server/tools/morphoMarketPosition.ts
48319
- var args27, tool$morphoMarketPosition;
48654
+ var args28, tool$morphoMarketPosition;
48320
48655
  var init_morphoMarketPosition2 = __esm(() => {
48321
48656
  init_morphoMarketPosition();
48322
48657
  init_operations();
48323
48658
  init_tools();
48324
- args27 = {
48659
+ args28 = {
48325
48660
  request: MorphoMarketPositionRequest$inboundSchema
48326
48661
  };
48327
48662
  tool$morphoMarketPosition = {
@@ -48330,9 +48665,9 @@ var init_morphoMarketPosition2 = __esm(() => {
48330
48665
 
48331
48666
  Check how many shares you've borrowed and the equivalent token amount of a given
48332
48667
  market.`,
48333
- args: args27,
48334
- tool: async (client, args28, ctx) => {
48335
- const [result, apiCall] = await morphoMarketPosition(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48668
+ args: args28,
48669
+ tool: async (client, args29, ctx) => {
48670
+ const [result, apiCall] = await morphoMarketPosition(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48336
48671
  if (!result.ok) {
48337
48672
  return {
48338
48673
  content: [{ type: "text", text: result.error.message }],
@@ -48347,9 +48682,9 @@ market.`,
48347
48682
 
48348
48683
  // src/funcs/morphoMarkets.ts
48349
48684
  function morphoMarkets(client, request, options) {
48350
- return new APIPromise($do28(client, request, options));
48685
+ return new APIPromise($do29(client, request, options));
48351
48686
  }
48352
- async function $do28(client, request, options) {
48687
+ async function $do29(client, request, options) {
48353
48688
  const parsed = safeParse(request, (value) => MorphoMarketsRequest$outboundSchema.parse(value), "Input validation failed");
48354
48689
  if (!parsed.ok) {
48355
48690
  return [parsed, { status: "invalid" }];
@@ -48426,12 +48761,12 @@ var init_morphoMarkets = __esm(() => {
48426
48761
  });
48427
48762
 
48428
48763
  // src/mcp-server/tools/morphoMarkets.ts
48429
- var args28, tool$morphoMarkets;
48764
+ var args29, tool$morphoMarkets;
48430
48765
  var init_morphoMarkets2 = __esm(() => {
48431
48766
  init_morphoMarkets();
48432
48767
  init_operations();
48433
48768
  init_tools();
48434
- args28 = {
48769
+ args29 = {
48435
48770
  request: MorphoMarketsRequest$inboundSchema
48436
48771
  };
48437
48772
  tool$morphoMarkets = {
@@ -48442,9 +48777,9 @@ Query a list of markets you can borrow from.
48442
48777
 
48443
48778
  Each market has one unique token that can be borrowed against one unique token that
48444
48779
  can be used as collateral.`,
48445
- args: args28,
48446
- tool: async (client, args29, ctx) => {
48447
- const [result, apiCall] = await morphoMarkets(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48780
+ args: args29,
48781
+ tool: async (client, args30, ctx) => {
48782
+ const [result, apiCall] = await morphoMarkets(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48448
48783
  if (!result.ok) {
48449
48784
  return {
48450
48785
  content: [{ type: "text", text: result.error.message }],
@@ -48459,9 +48794,9 @@ can be used as collateral.`,
48459
48794
 
48460
48795
  // src/funcs/morphoRepay.ts
48461
48796
  function morphoRepay(client, request, options) {
48462
- return new APIPromise($do29(client, request, options));
48797
+ return new APIPromise($do30(client, request, options));
48463
48798
  }
48464
- async function $do29(client, request, options) {
48799
+ async function $do30(client, request, options) {
48465
48800
  const parsed = safeParse(request, (value) => MorphoRepayRequest$outboundSchema.parse(value), "Input validation failed");
48466
48801
  if (!parsed.ok) {
48467
48802
  return [parsed, { status: "invalid" }];
@@ -48532,12 +48867,12 @@ var init_morphoRepay = __esm(() => {
48532
48867
  });
48533
48868
 
48534
48869
  // src/mcp-server/tools/morphoRepay.ts
48535
- var args29, tool$morphoRepay;
48870
+ var args30, tool$morphoRepay;
48536
48871
  var init_morphoRepay2 = __esm(() => {
48537
48872
  init_morphoRepay();
48538
48873
  init_components();
48539
48874
  init_tools();
48540
- args29 = {
48875
+ args30 = {
48541
48876
  request: MorphoRepayRequest$inboundSchema
48542
48877
  };
48543
48878
  tool$morphoRepay = {
@@ -48558,9 +48893,9 @@ as long as the blockchain it is deployed on is live.
48558
48893
  - \`Morpho\`
48559
48894
  </Info>
48560
48895
  `,
48561
- args: args29,
48562
- tool: async (client, args30, ctx) => {
48563
- const [result, apiCall] = await morphoRepay(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48896
+ args: args30,
48897
+ tool: async (client, args31, ctx) => {
48898
+ const [result, apiCall] = await morphoRepay(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48564
48899
  if (!result.ok) {
48565
48900
  return {
48566
48901
  content: [{ type: "text", text: result.error.message }],
@@ -48575,9 +48910,9 @@ as long as the blockchain it is deployed on is live.
48575
48910
 
48576
48911
  // src/funcs/morphoSupplyCollateral.ts
48577
48912
  function morphoSupplyCollateral(client, request, options) {
48578
- return new APIPromise($do30(client, request, options));
48913
+ return new APIPromise($do31(client, request, options));
48579
48914
  }
48580
- async function $do30(client, request, options) {
48915
+ async function $do31(client, request, options) {
48581
48916
  const parsed = safeParse(request, (value) => MorphoSupplyCollateralRequest$outboundSchema.parse(value), "Input validation failed");
48582
48917
  if (!parsed.ok) {
48583
48918
  return [parsed, { status: "invalid" }];
@@ -48648,12 +48983,12 @@ var init_morphoSupplyCollateral = __esm(() => {
48648
48983
  });
48649
48984
 
48650
48985
  // src/mcp-server/tools/morphoSupplyCollateral.ts
48651
- var args30, tool$morphoSupplyCollateral;
48986
+ var args31, tool$morphoSupplyCollateral;
48652
48987
  var init_morphoSupplyCollateral2 = __esm(() => {
48653
48988
  init_morphoSupplyCollateral();
48654
48989
  init_components();
48655
48990
  init_tools();
48656
- args30 = {
48991
+ args31 = {
48657
48992
  request: MorphoSupplyCollateralRequest$inboundSchema
48658
48993
  };
48659
48994
  tool$morphoSupplyCollateral = {
@@ -48674,9 +49009,9 @@ as long as the blockchain it is deployed on is live.
48674
49009
  - \`Morpho\`
48675
49010
  </Info>
48676
49011
  `,
48677
- args: args30,
48678
- tool: async (client, args31, ctx) => {
48679
- const [result, apiCall] = await morphoSupplyCollateral(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49012
+ args: args31,
49013
+ tool: async (client, args32, ctx) => {
49014
+ const [result, apiCall] = await morphoSupplyCollateral(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48680
49015
  if (!result.ok) {
48681
49016
  return {
48682
49017
  content: [{ type: "text", text: result.error.message }],
@@ -48691,9 +49026,9 @@ as long as the blockchain it is deployed on is live.
48691
49026
 
48692
49027
  // src/funcs/morphoUserPosition.ts
48693
49028
  function morphoUserPosition(client, request, options) {
48694
- return new APIPromise($do31(client, request, options));
49029
+ return new APIPromise($do32(client, request, options));
48695
49030
  }
48696
- async function $do31(client, request, options) {
49031
+ async function $do32(client, request, options) {
48697
49032
  const parsed = safeParse(request, (value) => MorphoUserPositionRequest$outboundSchema.parse(value), "Input validation failed");
48698
49033
  if (!parsed.ok) {
48699
49034
  return [parsed, { status: "invalid" }];
@@ -48769,12 +49104,12 @@ var init_morphoUserPosition = __esm(() => {
48769
49104
  });
48770
49105
 
48771
49106
  // src/mcp-server/tools/morphoUserPosition.ts
48772
- var args31, tool$morphoUserPosition;
49107
+ var args32, tool$morphoUserPosition;
48773
49108
  var init_morphoUserPosition2 = __esm(() => {
48774
49109
  init_morphoUserPosition();
48775
49110
  init_operations();
48776
49111
  init_tools();
48777
- args31 = {
49112
+ args32 = {
48778
49113
  request: MorphoUserPositionRequest$inboundSchema
48779
49114
  };
48780
49115
  tool$morphoUserPosition = {
@@ -48785,9 +49120,9 @@ Check user's overall position across the entire Morpho ecosystem.
48785
49120
 
48786
49121
  Inlcuding all vault and market position metrics and relavant metadata of said vaults
48787
49122
  and markets.`,
48788
- args: args31,
48789
- tool: async (client, args32, ctx) => {
48790
- const [result, apiCall] = await morphoUserPosition(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49123
+ args: args32,
49124
+ tool: async (client, args33, ctx) => {
49125
+ const [result, apiCall] = await morphoUserPosition(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48791
49126
  if (!result.ok) {
48792
49127
  return {
48793
49128
  content: [{ type: "text", text: result.error.message }],
@@ -48802,9 +49137,9 @@ and markets.`,
48802
49137
 
48803
49138
  // src/funcs/morphoVault.ts
48804
49139
  function morphoVault(client, request, options) {
48805
- return new APIPromise($do32(client, request, options));
49140
+ return new APIPromise($do33(client, request, options));
48806
49141
  }
48807
- async function $do32(client, request, options) {
49142
+ async function $do33(client, request, options) {
48808
49143
  const parsed = safeParse(request, (value) => MorphoVaultRequest$outboundSchema.parse(value), "Input validation failed");
48809
49144
  if (!parsed.ok) {
48810
49145
  return [parsed, { status: "invalid" }];
@@ -48882,12 +49217,12 @@ var init_morphoVault = __esm(() => {
48882
49217
  });
48883
49218
 
48884
49219
  // src/mcp-server/tools/morphoVault.ts
48885
- var args32, tool$morphoVault;
49220
+ var args33, tool$morphoVault;
48886
49221
  var init_morphoVault2 = __esm(() => {
48887
49222
  init_morphoVault();
48888
49223
  init_operations();
48889
49224
  init_tools();
48890
- args32 = {
49225
+ args33 = {
48891
49226
  request: MorphoVaultRequest$inboundSchema
48892
49227
  };
48893
49228
  tool$morphoVault = {
@@ -48897,10 +49232,10 @@ var init_morphoVault2 = __esm(() => {
48897
49232
  Get Vault data & User Position.
48898
49233
 
48899
49234
  The user position is only included if 'user_address' parameter is included.`,
48900
- args: args32,
48901
- tool: async (client, args33, ctx) => {
48902
- const [result, apiCall] = await morphoVault(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48903
- if (!result.ok) {
49235
+ args: args33,
49236
+ tool: async (client, args34, ctx) => {
49237
+ const [result, apiCall] = await morphoVault(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49238
+ if (!result.ok) {
48904
49239
  return {
48905
49240
  content: [{ type: "text", text: result.error.message }],
48906
49241
  isError: true
@@ -48914,9 +49249,9 @@ The user position is only included if 'user_address' parameter is included.`,
48914
49249
 
48915
49250
  // src/funcs/morphoVaults.ts
48916
49251
  function morphoVaults(client, request, options) {
48917
- return new APIPromise($do33(client, request, options));
49252
+ return new APIPromise($do34(client, request, options));
48918
49253
  }
48919
- async function $do33(client, request, options) {
49254
+ async function $do34(client, request, options) {
48920
49255
  const parsed = safeParse(request, (value) => MorphoVaultsRequest$outboundSchema.parse(value), "Input validation failed");
48921
49256
  if (!parsed.ok) {
48922
49257
  return [parsed, { status: "invalid" }];
@@ -48992,12 +49327,12 @@ var init_morphoVaults = __esm(() => {
48992
49327
  });
48993
49328
 
48994
49329
  // src/mcp-server/tools/morphoVaults.ts
48995
- var args33, tool$morphoVaults;
49330
+ var args34, tool$morphoVaults;
48996
49331
  var init_morphoVaults2 = __esm(() => {
48997
49332
  init_morphoVaults();
48998
49333
  init_operations();
48999
49334
  init_tools();
49000
- args33 = {
49335
+ args34 = {
49001
49336
  request: MorphoVaultsRequest$inboundSchema
49002
49337
  };
49003
49338
  tool$morphoVaults = {
@@ -49009,9 +49344,9 @@ Query a list of vaults you can deposit into.
49009
49344
  Each vault has one unique token that can be deposited. In exchange for depositing
49010
49345
  tokens into a vault you receive shares. You earn yield on these shares by their
49011
49346
  exchange value increasing over time.`,
49012
- args: args33,
49013
- tool: async (client, args34, ctx) => {
49014
- const [result, apiCall] = await morphoVaults(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49347
+ args: args34,
49348
+ tool: async (client, args35, ctx) => {
49349
+ const [result, apiCall] = await morphoVaults(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49015
49350
  if (!result.ok) {
49016
49351
  return {
49017
49352
  content: [{ type: "text", text: result.error.message }],
@@ -49026,9 +49361,9 @@ exchange value increasing over time.`,
49026
49361
 
49027
49362
  // src/funcs/morphoWithdraw.ts
49028
49363
  function morphoWithdraw(client, request, options) {
49029
- return new APIPromise($do34(client, request, options));
49364
+ return new APIPromise($do35(client, request, options));
49030
49365
  }
49031
- async function $do34(client, request, options) {
49366
+ async function $do35(client, request, options) {
49032
49367
  const parsed = safeParse(request, (value) => MorphoWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
49033
49368
  if (!parsed.ok) {
49034
49369
  return [parsed, { status: "invalid" }];
@@ -49099,12 +49434,12 @@ var init_morphoWithdraw = __esm(() => {
49099
49434
  });
49100
49435
 
49101
49436
  // src/mcp-server/tools/morphoWithdraw.ts
49102
- var args34, tool$morphoWithdraw;
49437
+ var args35, tool$morphoWithdraw;
49103
49438
  var init_morphoWithdraw2 = __esm(() => {
49104
49439
  init_morphoWithdraw();
49105
49440
  init_components();
49106
49441
  init_tools();
49107
- args34 = {
49442
+ args35 = {
49108
49443
  request: MorphoWithdrawRequest$inboundSchema
49109
49444
  };
49110
49445
  tool$morphoWithdraw = {
@@ -49130,9 +49465,9 @@ state at any time, and withdraw their liquidity at their discretion.
49130
49465
  - \`<token address>\`
49131
49466
  </Info>
49132
49467
  `,
49133
- args: args34,
49134
- tool: async (client, args35, ctx) => {
49135
- const [result, apiCall] = await morphoWithdraw(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49468
+ args: args35,
49469
+ tool: async (client, args36, ctx) => {
49470
+ const [result, apiCall] = await morphoWithdraw(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49136
49471
  if (!result.ok) {
49137
49472
  return {
49138
49473
  content: [{ type: "text", text: result.error.message }],
@@ -49147,9 +49482,9 @@ state at any time, and withdraw their liquidity at their discretion.
49147
49482
 
49148
49483
  // src/funcs/morphoWithdrawCollateral.ts
49149
49484
  function morphoWithdrawCollateral(client, request, options) {
49150
- return new APIPromise($do35(client, request, options));
49485
+ return new APIPromise($do36(client, request, options));
49151
49486
  }
49152
- async function $do35(client, request, options) {
49487
+ async function $do36(client, request, options) {
49153
49488
  const parsed = safeParse(request, (value) => MorphoWithdrawCollateralRequest$outboundSchema.parse(value), "Input validation failed");
49154
49489
  if (!parsed.ok) {
49155
49490
  return [parsed, { status: "invalid" }];
@@ -49220,12 +49555,12 @@ var init_morphoWithdrawCollateral = __esm(() => {
49220
49555
  });
49221
49556
 
49222
49557
  // src/mcp-server/tools/morphoWithdrawCollateral.ts
49223
- var args35, tool$morphoWithdrawCollateral;
49558
+ var args36, tool$morphoWithdrawCollateral;
49224
49559
  var init_morphoWithdrawCollateral2 = __esm(() => {
49225
49560
  init_morphoWithdrawCollateral();
49226
49561
  init_components();
49227
49562
  init_tools();
49228
- args35 = {
49563
+ args36 = {
49229
49564
  request: MorphoWithdrawCollateralRequest$inboundSchema
49230
49565
  };
49231
49566
  tool$morphoWithdrawCollateral = {
@@ -49246,9 +49581,9 @@ as long as the blockchain it is deployed on is live.
49246
49581
  - \`Morpho\`
49247
49582
  </Info>
49248
49583
  `,
49249
- args: args35,
49250
- tool: async (client, args36, ctx) => {
49251
- const [result, apiCall] = await morphoWithdrawCollateral(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49584
+ args: args36,
49585
+ tool: async (client, args37, ctx) => {
49586
+ const [result, apiCall] = await morphoWithdrawCollateral(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49252
49587
  if (!result.ok) {
49253
49588
  return {
49254
49589
  content: [{ type: "text", text: result.error.message }],
@@ -49263,9 +49598,9 @@ as long as the blockchain it is deployed on is live.
49263
49598
 
49264
49599
  // src/funcs/pendleAddLiquidity.ts
49265
49600
  function pendleAddLiquidity(client, request, options) {
49266
- return new APIPromise($do36(client, request, options));
49601
+ return new APIPromise($do37(client, request, options));
49267
49602
  }
49268
- async function $do36(client, request, options) {
49603
+ async function $do37(client, request, options) {
49269
49604
  const parsed = safeParse(request, (value) => PendleAddLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
49270
49605
  if (!parsed.ok) {
49271
49606
  return [parsed, { status: "invalid" }];
@@ -49336,12 +49671,12 @@ var init_pendleAddLiquidity = __esm(() => {
49336
49671
  });
49337
49672
 
49338
49673
  // src/mcp-server/tools/pendleAddLiquidity.ts
49339
- var args36, tool$pendleAddLiquidity;
49674
+ var args37, tool$pendleAddLiquidity;
49340
49675
  var init_pendleAddLiquidity2 = __esm(() => {
49341
49676
  init_pendleAddLiquidity();
49342
49677
  init_components();
49343
49678
  init_tools();
49344
- args36 = {
49679
+ args37 = {
49345
49680
  request: PendleAddLiquidityRequest$inboundSchema
49346
49681
  };
49347
49682
  tool$pendleAddLiquidity = {
@@ -49360,9 +49695,9 @@ the liquidity received is the market's Liquidity Provider Token (LP).
49360
49695
  - \`PendleRouter\`
49361
49696
  </Info>
49362
49697
  `,
49363
- args: args36,
49364
- tool: async (client, args37, ctx) => {
49365
- const [result, apiCall] = await pendleAddLiquidity(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49698
+ args: args37,
49699
+ tool: async (client, args38, ctx) => {
49700
+ const [result, apiCall] = await pendleAddLiquidity(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49366
49701
  if (!result.ok) {
49367
49702
  return {
49368
49703
  content: [{ type: "text", text: result.error.message }],
@@ -49377,9 +49712,9 @@ the liquidity received is the market's Liquidity Provider Token (LP).
49377
49712
 
49378
49713
  // src/funcs/pendleBuyPt.ts
49379
49714
  function pendleBuyPt(client, request, options) {
49380
- return new APIPromise($do37(client, request, options));
49715
+ return new APIPromise($do38(client, request, options));
49381
49716
  }
49382
- async function $do37(client, request, options) {
49717
+ async function $do38(client, request, options) {
49383
49718
  const parsed = safeParse(request, (value) => PendleBuyPtRequest$outboundSchema.parse(value), "Input validation failed");
49384
49719
  if (!parsed.ok) {
49385
49720
  return [parsed, { status: "invalid" }];
@@ -49450,12 +49785,12 @@ var init_pendleBuyPt = __esm(() => {
49450
49785
  });
49451
49786
 
49452
49787
  // src/mcp-server/tools/pendleBuyPt.ts
49453
- var args37, tool$pendleBuyPt;
49788
+ var args38, tool$pendleBuyPt;
49454
49789
  var init_pendleBuyPt2 = __esm(() => {
49455
49790
  init_pendleBuyPt();
49456
49791
  init_components();
49457
49792
  init_tools();
49458
- args37 = {
49793
+ args38 = {
49459
49794
  request: PendleBuyPtRequest$inboundSchema
49460
49795
  };
49461
49796
  tool$pendleBuyPt = {
@@ -49471,9 +49806,9 @@ Buy Principal Token (PT) with market's Underlying Token.
49471
49806
  - \`PendleRouter\`
49472
49807
  </Info>
49473
49808
  `,
49474
- args: args37,
49475
- tool: async (client, args38, ctx) => {
49476
- const [result, apiCall] = await pendleBuyPt(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49809
+ args: args38,
49810
+ tool: async (client, args39, ctx) => {
49811
+ const [result, apiCall] = await pendleBuyPt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49477
49812
  if (!result.ok) {
49478
49813
  return {
49479
49814
  content: [{ type: "text", text: result.error.message }],
@@ -49488,9 +49823,9 @@ Buy Principal Token (PT) with market's Underlying Token.
49488
49823
 
49489
49824
  // src/funcs/pendleBuyYt.ts
49490
49825
  function pendleBuyYt(client, request, options) {
49491
- return new APIPromise($do38(client, request, options));
49826
+ return new APIPromise($do39(client, request, options));
49492
49827
  }
49493
- async function $do38(client, request, options) {
49828
+ async function $do39(client, request, options) {
49494
49829
  const parsed = safeParse(request, (value) => PendleBuyYtRequest$outboundSchema.parse(value), "Input validation failed");
49495
49830
  if (!parsed.ok) {
49496
49831
  return [parsed, { status: "invalid" }];
@@ -49561,12 +49896,12 @@ var init_pendleBuyYt = __esm(() => {
49561
49896
  });
49562
49897
 
49563
49898
  // src/mcp-server/tools/pendleBuyYt.ts
49564
- var args38, tool$pendleBuyYt;
49899
+ var args39, tool$pendleBuyYt;
49565
49900
  var init_pendleBuyYt2 = __esm(() => {
49566
49901
  init_pendleBuyYt();
49567
49902
  init_components();
49568
49903
  init_tools();
49569
- args38 = {
49904
+ args39 = {
49570
49905
  request: PendleBuyYtRequest$inboundSchema
49571
49906
  };
49572
49907
  tool$pendleBuyYt = {
@@ -49582,9 +49917,9 @@ Buy Yield Token (YT) with market's Underlying Token.
49582
49917
  - \`PendleRouter\`
49583
49918
  </Info>
49584
49919
  `,
49585
- args: args38,
49586
- tool: async (client, args39, ctx) => {
49587
- const [result, apiCall] = await pendleBuyYt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49920
+ args: args39,
49921
+ tool: async (client, args40, ctx) => {
49922
+ const [result, apiCall] = await pendleBuyYt(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49588
49923
  if (!result.ok) {
49589
49924
  return {
49590
49925
  content: [{ type: "text", text: result.error.message }],
@@ -49599,9 +49934,9 @@ Buy Yield Token (YT) with market's Underlying Token.
49599
49934
 
49600
49935
  // src/funcs/pendleMarket.ts
49601
49936
  function pendleMarket(client, request, options) {
49602
- return new APIPromise($do39(client, request, options));
49937
+ return new APIPromise($do40(client, request, options));
49603
49938
  }
49604
- async function $do39(client, request, options) {
49939
+ async function $do40(client, request, options) {
49605
49940
  const parsed = safeParse(request, (value) => PendleMarketRequest$outboundSchema.parse(value), "Input validation failed");
49606
49941
  if (!parsed.ok) {
49607
49942
  return [parsed, { status: "invalid" }];
@@ -49679,12 +50014,12 @@ var init_pendleMarket = __esm(() => {
49679
50014
  });
49680
50015
 
49681
50016
  // src/mcp-server/tools/pendleMarket.ts
49682
- var args39, tool$pendleMarket;
50017
+ var args40, tool$pendleMarket;
49683
50018
  var init_pendleMarket2 = __esm(() => {
49684
50019
  init_pendleMarket();
49685
50020
  init_operations();
49686
50021
  init_tools();
49687
- args39 = {
50022
+ args40 = {
49688
50023
  request: PendleMarketRequest$inboundSchema
49689
50024
  };
49690
50025
  tool$pendleMarket = {
@@ -49694,9 +50029,9 @@ var init_pendleMarket2 = __esm(() => {
49694
50029
  Get the market's implied APY, maturity date and the associated token data.
49695
50030
 
49696
50031
  The user position is only included if 'user_address' parameter is included.`,
49697
- args: args39,
49698
- tool: async (client, args40, ctx) => {
49699
- const [result, apiCall] = await pendleMarket(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50032
+ args: args40,
50033
+ tool: async (client, args41, ctx) => {
50034
+ const [result, apiCall] = await pendleMarket(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49700
50035
  if (!result.ok) {
49701
50036
  return {
49702
50037
  content: [{ type: "text", text: result.error.message }],
@@ -49711,9 +50046,9 @@ The user position is only included if 'user_address' parameter is included.`,
49711
50046
 
49712
50047
  // src/funcs/pendleMarkets.ts
49713
50048
  function pendleMarkets(client, request, options) {
49714
- return new APIPromise($do40(client, request, options));
50049
+ return new APIPromise($do41(client, request, options));
49715
50050
  }
49716
- async function $do40(client, request, options) {
50051
+ async function $do41(client, request, options) {
49717
50052
  const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
49718
50053
  if (!parsed.ok) {
49719
50054
  return [parsed, { status: "invalid" }];
@@ -49788,12 +50123,12 @@ var init_pendleMarkets = __esm(() => {
49788
50123
  });
49789
50124
 
49790
50125
  // src/mcp-server/tools/pendleMarkets.ts
49791
- var args40, tool$pendleMarkets;
50126
+ var args41, tool$pendleMarkets;
49792
50127
  var init_pendleMarkets2 = __esm(() => {
49793
50128
  init_pendleMarkets();
49794
50129
  init_operations();
49795
50130
  init_tools();
49796
- args40 = {
50131
+ args41 = {
49797
50132
  request: PendleMarketsRequest$inboundSchema
49798
50133
  };
49799
50134
  tool$pendleMarkets = {
@@ -49801,9 +50136,9 @@ var init_pendleMarkets2 = __esm(() => {
49801
50136
  description: `List Market Data
49802
50137
 
49803
50138
  Get a list of active markets.`,
49804
- args: args40,
49805
- tool: async (client, args41, ctx) => {
49806
- const [result, apiCall] = await pendleMarkets(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50139
+ args: args41,
50140
+ tool: async (client, args42, ctx) => {
50141
+ const [result, apiCall] = await pendleMarkets(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49807
50142
  if (!result.ok) {
49808
50143
  return {
49809
50144
  content: [{ type: "text", text: result.error.message }],
@@ -49818,9 +50153,9 @@ Get a list of active markets.`,
49818
50153
 
49819
50154
  // src/funcs/pendlePositions.ts
49820
50155
  function pendlePositions(client, request, options) {
49821
- return new APIPromise($do41(client, request, options));
50156
+ return new APIPromise($do42(client, request, options));
49822
50157
  }
49823
- async function $do41(client, request, options) {
50158
+ async function $do42(client, request, options) {
49824
50159
  const parsed = safeParse(request, (value) => PendlePositionsRequest$outboundSchema.parse(value), "Input validation failed");
49825
50160
  if (!parsed.ok) {
49826
50161
  return [parsed, { status: "invalid" }];
@@ -49896,12 +50231,12 @@ var init_pendlePositions = __esm(() => {
49896
50231
  });
49897
50232
 
49898
50233
  // src/mcp-server/tools/pendlePositions.ts
49899
- var args41, tool$pendlePositions;
50234
+ var args42, tool$pendlePositions;
49900
50235
  var init_pendlePositions2 = __esm(() => {
49901
50236
  init_pendlePositions();
49902
50237
  init_operations();
49903
50238
  init_tools();
49904
- args41 = {
50239
+ args42 = {
49905
50240
  request: PendlePositionsRequest$inboundSchema
49906
50241
  };
49907
50242
  tool$pendlePositions = {
@@ -49909,9 +50244,9 @@ var init_pendlePositions2 = __esm(() => {
49909
50244
  description: `List User's Market Positions
49910
50245
 
49911
50246
  List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
49912
- args: args41,
49913
- tool: async (client, args42, ctx) => {
49914
- const [result, apiCall] = await pendlePositions(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50247
+ args: args42,
50248
+ tool: async (client, args43, ctx) => {
50249
+ const [result, apiCall] = await pendlePositions(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49915
50250
  if (!result.ok) {
49916
50251
  return {
49917
50252
  content: [{ type: "text", text: result.error.message }],
@@ -49926,9 +50261,9 @@ List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
49926
50261
 
49927
50262
  // src/funcs/pendleQuote.ts
49928
50263
  function pendleQuote(client, request, options) {
49929
- return new APIPromise($do42(client, request, options));
50264
+ return new APIPromise($do43(client, request, options));
49930
50265
  }
49931
- async function $do42(client, request, options) {
50266
+ async function $do43(client, request, options) {
49932
50267
  const parsed = safeParse(request, (value) => PendleQuoteRequest$outboundSchema.parse(value), "Input validation failed");
49933
50268
  if (!parsed.ok) {
49934
50269
  return [parsed, { status: "invalid" }];
@@ -50008,12 +50343,12 @@ var init_pendleQuote = __esm(() => {
50008
50343
  });
50009
50344
 
50010
50345
  // src/mcp-server/tools/pendleQuote.ts
50011
- var args42, tool$pendleQuote;
50346
+ var args43, tool$pendleQuote;
50012
50347
  var init_pendleQuote2 = __esm(() => {
50013
50348
  init_pendleQuote();
50014
50349
  init_operations();
50015
50350
  init_tools();
50016
- args42 = {
50351
+ args43 = {
50017
50352
  request: PendleQuoteRequest$inboundSchema
50018
50353
  };
50019
50354
  tool$pendleQuote = {
@@ -50026,9 +50361,9 @@ Provider Token (LP) on Pendle.
50026
50361
  For \`BUY\`, \`amount\` is the quantity of the Underlying Token to spend, and the quote returns the amount of \`token_type\` received.
50027
50362
 
50028
50363
  For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quote returns the amount of Underlying Token received.`,
50029
- args: args42,
50030
- tool: async (client, args43, ctx) => {
50031
- const [result, apiCall] = await pendleQuote(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50364
+ args: args43,
50365
+ tool: async (client, args44, ctx) => {
50366
+ const [result, apiCall] = await pendleQuote(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50032
50367
  if (!result.ok) {
50033
50368
  return {
50034
50369
  content: [{ type: "text", text: result.error.message }],
@@ -50043,9 +50378,9 @@ For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quot
50043
50378
 
50044
50379
  // src/funcs/pendleRedeemYield.ts
50045
50380
  function pendleRedeemYield(client, request, options) {
50046
- return new APIPromise($do43(client, request, options));
50381
+ return new APIPromise($do44(client, request, options));
50047
50382
  }
50048
- async function $do43(client, request, options) {
50383
+ async function $do44(client, request, options) {
50049
50384
  const parsed = safeParse(request, (value) => PendleRedeemYieldRequest$outboundSchema.parse(value), "Input validation failed");
50050
50385
  if (!parsed.ok) {
50051
50386
  return [parsed, { status: "invalid" }];
@@ -50116,12 +50451,12 @@ var init_pendleRedeemYield = __esm(() => {
50116
50451
  });
50117
50452
 
50118
50453
  // src/mcp-server/tools/pendleRedeemYield.ts
50119
- var args43, tool$pendleRedeemYield;
50454
+ var args44, tool$pendleRedeemYield;
50120
50455
  var init_pendleRedeemYield2 = __esm(() => {
50121
50456
  init_pendleRedeemYield();
50122
50457
  init_components();
50123
50458
  init_tools();
50124
- args43 = {
50459
+ args44 = {
50125
50460
  request: PendleRedeemYieldRequest$inboundSchema
50126
50461
  };
50127
50462
  tool$pendleRedeemYield = {
@@ -50137,9 +50472,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).
50137
50472
  - \`PendleRouter\`
50138
50473
  </Info>
50139
50474
  `,
50140
- args: args43,
50141
- tool: async (client, args44, ctx) => {
50142
- const [result, apiCall] = await pendleRedeemYield(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50475
+ args: args44,
50476
+ tool: async (client, args45, ctx) => {
50477
+ const [result, apiCall] = await pendleRedeemYield(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50143
50478
  if (!result.ok) {
50144
50479
  return {
50145
50480
  content: [{ type: "text", text: result.error.message }],
@@ -50154,9 +50489,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).
50154
50489
 
50155
50490
  // src/funcs/pendleRemoveLiquidity.ts
50156
50491
  function pendleRemoveLiquidity(client, request, options) {
50157
- return new APIPromise($do44(client, request, options));
50492
+ return new APIPromise($do45(client, request, options));
50158
50493
  }
50159
- async function $do44(client, request, options) {
50494
+ async function $do45(client, request, options) {
50160
50495
  const parsed = safeParse(request, (value) => PendleRemoveLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
50161
50496
  if (!parsed.ok) {
50162
50497
  return [parsed, { status: "invalid" }];
@@ -50227,12 +50562,12 @@ var init_pendleRemoveLiquidity = __esm(() => {
50227
50562
  });
50228
50563
 
50229
50564
  // src/mcp-server/tools/pendleRemoveLiquidity.ts
50230
- var args44, tool$pendleRemoveLiquidity;
50565
+ var args45, tool$pendleRemoveLiquidity;
50231
50566
  var init_pendleRemoveLiquidity2 = __esm(() => {
50232
50567
  init_pendleRemoveLiquidity();
50233
50568
  init_components();
50234
50569
  init_tools();
50235
- args44 = {
50570
+ args45 = {
50236
50571
  request: PendleRemoveLiquidityRequest$inboundSchema
50237
50572
  };
50238
50573
  tool$pendleRemoveLiquidity = {
@@ -50252,9 +50587,9 @@ market contract must be set beforehand
50252
50587
  - \`PendleRouter\`
50253
50588
  </Info>
50254
50589
  `,
50255
- args: args44,
50256
- tool: async (client, args45, ctx) => {
50257
- const [result, apiCall] = await pendleRemoveLiquidity(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50590
+ args: args45,
50591
+ tool: async (client, args46, ctx) => {
50592
+ const [result, apiCall] = await pendleRemoveLiquidity(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50258
50593
  if (!result.ok) {
50259
50594
  return {
50260
50595
  content: [{ type: "text", text: result.error.message }],
@@ -50269,9 +50604,9 @@ market contract must be set beforehand
50269
50604
 
50270
50605
  // src/funcs/pendleSellPt.ts
50271
50606
  function pendleSellPt(client, request, options) {
50272
- return new APIPromise($do45(client, request, options));
50607
+ return new APIPromise($do46(client, request, options));
50273
50608
  }
50274
- async function $do45(client, request, options) {
50609
+ async function $do46(client, request, options) {
50275
50610
  const parsed = safeParse(request, (value) => PendleSellPtRequest$outboundSchema.parse(value), "Input validation failed");
50276
50611
  if (!parsed.ok) {
50277
50612
  return [parsed, { status: "invalid" }];
@@ -50342,12 +50677,12 @@ var init_pendleSellPt = __esm(() => {
50342
50677
  });
50343
50678
 
50344
50679
  // src/mcp-server/tools/pendleSellPt.ts
50345
- var args45, tool$pendleSellPt;
50680
+ var args46, tool$pendleSellPt;
50346
50681
  var init_pendleSellPt2 = __esm(() => {
50347
50682
  init_pendleSellPt();
50348
50683
  init_components();
50349
50684
  init_tools();
50350
- args45 = {
50685
+ args46 = {
50351
50686
  request: PendleSellPtRequest$inboundSchema
50352
50687
  };
50353
50688
  tool$pendleSellPt = {
@@ -50363,9 +50698,9 @@ Sell Principal Token (PT) for the market's Underlying Token.
50363
50698
  - \`PendleRouter\`
50364
50699
  </Info>
50365
50700
  `,
50366
- args: args45,
50367
- tool: async (client, args46, ctx) => {
50368
- const [result, apiCall] = await pendleSellPt(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50701
+ args: args46,
50702
+ tool: async (client, args47, ctx) => {
50703
+ const [result, apiCall] = await pendleSellPt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50369
50704
  if (!result.ok) {
50370
50705
  return {
50371
50706
  content: [{ type: "text", text: result.error.message }],
@@ -50380,9 +50715,9 @@ Sell Principal Token (PT) for the market's Underlying Token.
50380
50715
 
50381
50716
  // src/funcs/pendleSellYt.ts
50382
50717
  function pendleSellYt(client, request, options) {
50383
- return new APIPromise($do46(client, request, options));
50718
+ return new APIPromise($do47(client, request, options));
50384
50719
  }
50385
- async function $do46(client, request, options) {
50720
+ async function $do47(client, request, options) {
50386
50721
  const parsed = safeParse(request, (value) => PendleSellYtRequest$outboundSchema.parse(value), "Input validation failed");
50387
50722
  if (!parsed.ok) {
50388
50723
  return [parsed, { status: "invalid" }];
@@ -50453,12 +50788,12 @@ var init_pendleSellYt = __esm(() => {
50453
50788
  });
50454
50789
 
50455
50790
  // src/mcp-server/tools/pendleSellYt.ts
50456
- var args46, tool$pendleSellYt;
50791
+ var args47, tool$pendleSellYt;
50457
50792
  var init_pendleSellYt2 = __esm(() => {
50458
50793
  init_pendleSellYt();
50459
50794
  init_components();
50460
50795
  init_tools();
50461
- args46 = {
50796
+ args47 = {
50462
50797
  request: PendleSellYtRequest$inboundSchema
50463
50798
  };
50464
50799
  tool$pendleSellYt = {
@@ -50474,9 +50809,9 @@ Sell Yield Token (YT) for the market's Underlying Token.
50474
50809
  - \`PendleRouter\`
50475
50810
  </Info>
50476
50811
  `,
50477
- args: args46,
50478
- tool: async (client, args47, ctx) => {
50479
- const [result, apiCall] = await pendleSellYt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50812
+ args: args47,
50813
+ tool: async (client, args48, ctx) => {
50814
+ const [result, apiCall] = await pendleSellYt(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50480
50815
  if (!result.ok) {
50481
50816
  return {
50482
50817
  content: [{ type: "text", text: result.error.message }],
@@ -50491,9 +50826,9 @@ Sell Yield Token (YT) for the market's Underlying Token.
50491
50826
 
50492
50827
  // src/funcs/skyBuy.ts
50493
50828
  function skyBuy(client, request, options) {
50494
- return new APIPromise($do47(client, request, options));
50829
+ return new APIPromise($do48(client, request, options));
50495
50830
  }
50496
- async function $do47(client, request, options) {
50831
+ async function $do48(client, request, options) {
50497
50832
  const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
50498
50833
  if (!parsed.ok) {
50499
50834
  return [parsed, { status: "invalid" }];
@@ -50564,12 +50899,12 @@ var init_skyBuy = __esm(() => {
50564
50899
  });
50565
50900
 
50566
50901
  // src/mcp-server/tools/skyBuy.ts
50567
- var args47, tool$skyBuy;
50902
+ var args48, tool$skyBuy;
50568
50903
  var init_skyBuy2 = __esm(() => {
50569
50904
  init_skyBuy();
50570
50905
  init_components();
50571
50906
  init_tools();
50572
- args47 = {
50907
+ args48 = {
50573
50908
  request: SkyBuyRequest$inboundSchema
50574
50909
  };
50575
50910
  tool$skyBuy = {
@@ -50591,9 +50926,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
50591
50926
  - \`SkyUsdcUsdsConverter\`
50592
50927
  </Info>
50593
50928
  `,
50594
- args: args47,
50595
- tool: async (client, args48, ctx) => {
50596
- const [result, apiCall] = await skyBuy(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50929
+ args: args48,
50930
+ tool: async (client, args49, ctx) => {
50931
+ const [result, apiCall] = await skyBuy(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50597
50932
  if (!result.ok) {
50598
50933
  return {
50599
50934
  content: [{ type: "text", text: result.error.message }],
@@ -50608,9 +50943,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
50608
50943
 
50609
50944
  // src/funcs/skyDeposit.ts
50610
50945
  function skyDeposit(client, request, options) {
50611
- return new APIPromise($do48(client, request, options));
50946
+ return new APIPromise($do49(client, request, options));
50612
50947
  }
50613
- async function $do48(client, request, options) {
50948
+ async function $do49(client, request, options) {
50614
50949
  const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
50615
50950
  if (!parsed.ok) {
50616
50951
  return [parsed, { status: "invalid" }];
@@ -50681,12 +51016,12 @@ var init_skyDeposit = __esm(() => {
50681
51016
  });
50682
51017
 
50683
51018
  // src/mcp-server/tools/skyDeposit.ts
50684
- var args48, tool$skyDeposit;
51019
+ var args49, tool$skyDeposit;
50685
51020
  var init_skyDeposit2 = __esm(() => {
50686
51021
  init_skyDeposit();
50687
51022
  init_components();
50688
51023
  init_tools();
50689
- args48 = {
51024
+ args49 = {
50690
51025
  request: SkyDepositRequest$inboundSchema
50691
51026
  };
50692
51027
  tool$skyDeposit = {
@@ -50706,9 +51041,9 @@ There are no fees.
50706
51041
  - \`SkyUsdsVault\`
50707
51042
  </Info>
50708
51043
  `,
50709
- args: args48,
50710
- tool: async (client, args49, ctx) => {
50711
- const [result, apiCall] = await skyDeposit(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51044
+ args: args49,
51045
+ tool: async (client, args50, ctx) => {
51046
+ const [result, apiCall] = await skyDeposit(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50712
51047
  if (!result.ok) {
50713
51048
  return {
50714
51049
  content: [{ type: "text", text: result.error.message }],
@@ -50723,9 +51058,9 @@ There are no fees.
50723
51058
 
50724
51059
  // src/funcs/skyPosition.ts
50725
51060
  function skyPosition(client, request, options) {
50726
- return new APIPromise($do49(client, request, options));
51061
+ return new APIPromise($do50(client, request, options));
50727
51062
  }
50728
- async function $do49(client, request, options) {
51063
+ async function $do50(client, request, options) {
50729
51064
  const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
50730
51065
  if (!parsed.ok) {
50731
51066
  return [parsed, { status: "invalid" }];
@@ -50801,12 +51136,12 @@ var init_skyPosition = __esm(() => {
50801
51136
  });
50802
51137
 
50803
51138
  // src/mcp-server/tools/skyPosition.ts
50804
- var args49, tool$skyPosition;
51139
+ var args50, tool$skyPosition;
50805
51140
  var init_skyPosition2 = __esm(() => {
50806
51141
  init_skyPosition();
50807
51142
  init_operations();
50808
51143
  init_tools();
50809
- args49 = {
51144
+ args50 = {
50810
51145
  request: SkyPositionRequest$inboundSchema
50811
51146
  };
50812
51147
  tool$skyPosition = {
@@ -50814,9 +51149,9 @@ var init_skyPosition2 = __esm(() => {
50814
51149
  description: `Check USDS Position
50815
51150
 
50816
51151
  Check the USDS overall position.`,
50817
- args: args49,
50818
- tool: async (client, args50, ctx) => {
50819
- const [result, apiCall] = await skyPosition(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51152
+ args: args50,
51153
+ tool: async (client, args51, ctx) => {
51154
+ const [result, apiCall] = await skyPosition(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50820
51155
  if (!result.ok) {
50821
51156
  return {
50822
51157
  content: [{ type: "text", text: result.error.message }],
@@ -50831,9 +51166,9 @@ Check the USDS overall position.`,
50831
51166
 
50832
51167
  // src/funcs/skySell.ts
50833
51168
  function skySell(client, request, options) {
50834
- return new APIPromise($do50(client, request, options));
51169
+ return new APIPromise($do51(client, request, options));
50835
51170
  }
50836
- async function $do50(client, request, options) {
51171
+ async function $do51(client, request, options) {
50837
51172
  const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
50838
51173
  if (!parsed.ok) {
50839
51174
  return [parsed, { status: "invalid" }];
@@ -50904,12 +51239,12 @@ var init_skySell = __esm(() => {
50904
51239
  });
50905
51240
 
50906
51241
  // src/mcp-server/tools/skySell.ts
50907
- var args50, tool$skySell;
51242
+ var args51, tool$skySell;
50908
51243
  var init_skySell2 = __esm(() => {
50909
51244
  init_skySell();
50910
51245
  init_components();
50911
51246
  init_tools();
50912
- args50 = {
51247
+ args51 = {
50913
51248
  request: SkySellRequest$inboundSchema
50914
51249
  };
50915
51250
  tool$skySell = {
@@ -50931,9 +51266,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
50931
51266
  - \`SkyUsdcUsdsConverter\`
50932
51267
  </Info>
50933
51268
  `,
50934
- args: args50,
50935
- tool: async (client, args51, ctx) => {
50936
- const [result, apiCall] = await skySell(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51269
+ args: args51,
51270
+ tool: async (client, args52, ctx) => {
51271
+ const [result, apiCall] = await skySell(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50937
51272
  if (!result.ok) {
50938
51273
  return {
50939
51274
  content: [{ type: "text", text: result.error.message }],
@@ -50948,9 +51283,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
50948
51283
 
50949
51284
  // src/funcs/skyWithdraw.ts
50950
51285
  function skyWithdraw(client, request, options) {
50951
- return new APIPromise($do51(client, request, options));
51286
+ return new APIPromise($do52(client, request, options));
50952
51287
  }
50953
- async function $do51(client, request, options) {
51288
+ async function $do52(client, request, options) {
50954
51289
  const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
50955
51290
  if (!parsed.ok) {
50956
51291
  return [parsed, { status: "invalid" }];
@@ -51021,12 +51356,12 @@ var init_skyWithdraw = __esm(() => {
51021
51356
  });
51022
51357
 
51023
51358
  // src/mcp-server/tools/skyWithdraw.ts
51024
- var args51, tool$skyWithdraw;
51359
+ var args52, tool$skyWithdraw;
51025
51360
  var init_skyWithdraw2 = __esm(() => {
51026
51361
  init_skyWithdraw();
51027
51362
  init_components();
51028
51363
  init_tools();
51029
- args51 = {
51364
+ args52 = {
51030
51365
  request: SkyWithdrawRequest$inboundSchema
51031
51366
  };
51032
51367
  tool$skyWithdraw = {
@@ -51047,9 +51382,9 @@ There are no fees.
51047
51382
  - \`SkyUsdsVault\`
51048
51383
  </Info>
51049
51384
  `,
51050
- args: args51,
51051
- tool: async (client, args52, ctx) => {
51052
- const [result, apiCall] = await skyWithdraw(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51385
+ args: args52,
51386
+ tool: async (client, args53, ctx) => {
51387
+ const [result, apiCall] = await skyWithdraw(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51053
51388
  if (!result.ok) {
51054
51389
  return {
51055
51390
  content: [{ type: "text", text: result.error.message }],
@@ -51064,9 +51399,9 @@ There are no fees.
51064
51399
 
51065
51400
  // src/funcs/smartAccountAccountBatchedUserOperations.ts
51066
51401
  function smartAccountAccountBatchedUserOperations(client, request, options) {
51067
- return new APIPromise($do52(client, request, options));
51402
+ return new APIPromise($do53(client, request, options));
51068
51403
  }
51069
- async function $do52(client, request, options) {
51404
+ async function $do53(client, request, options) {
51070
51405
  const parsed = safeParse(request, (value) => BatchedUserOperationsRequest$outboundSchema.parse(value), "Input validation failed");
51071
51406
  if (!parsed.ok) {
51072
51407
  return [parsed, { status: "invalid" }];
@@ -51137,22 +51472,133 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
51137
51472
  });
51138
51473
 
51139
51474
  // src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
51140
- var args52, tool$smartAccountAccountBatchedUserOperations;
51475
+ var args53, tool$smartAccountAccountBatchedUserOperations;
51141
51476
  var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
51142
51477
  init_smartAccountAccountBatchedUserOperations();
51143
51478
  init_components();
51144
51479
  init_tools();
51145
- args52 = {
51480
+ args53 = {
51146
51481
  request: BatchedUserOperationsRequest$inboundSchema
51147
51482
  };
51148
- tool$smartAccountAccountBatchedUserOperations = {
51149
- name: "smart-account-account-batched-user-operations",
51150
- description: `Get Smart Account Batched User Operations
51483
+ tool$smartAccountAccountBatchedUserOperations = {
51484
+ name: "smart-account-account-batched-user-operations",
51485
+ description: `Get Smart Account Batched User Operations
51486
+
51487
+ Generate a list of user operations for smart account batching.`,
51488
+ args: args53,
51489
+ tool: async (client, args54, ctx) => {
51490
+ const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51491
+ if (!result.ok) {
51492
+ return {
51493
+ content: [{ type: "text", text: result.error.message }],
51494
+ isError: true
51495
+ };
51496
+ }
51497
+ const value = result.value;
51498
+ return formatResult(value, apiCall);
51499
+ }
51500
+ };
51501
+ });
51502
+
51503
+ // src/funcs/swapOdos.ts
51504
+ function swapOdos(client, request, options) {
51505
+ return new APIPromise($do54(client, request, options));
51506
+ }
51507
+ async function $do54(client, request, options) {
51508
+ const parsed = safeParse(request, (value) => OdosSwapRequest$outboundSchema.parse(value), "Input validation failed");
51509
+ if (!parsed.ok) {
51510
+ return [parsed, { status: "invalid" }];
51511
+ }
51512
+ const payload = parsed.value;
51513
+ const body = encodeJSON("body", payload, { explode: true });
51514
+ const path = pathToFunc("/v0/swap/odos")();
51515
+ const headers = new Headers(compactMap({
51516
+ "Content-Type": "application/json",
51517
+ Accept: "application/json"
51518
+ }));
51519
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
51520
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
51521
+ const requestSecurity = resolveGlobalSecurity(securityInput);
51522
+ const context = {
51523
+ options: client._options,
51524
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
51525
+ operationID: "swap_odos",
51526
+ oAuth2Scopes: [],
51527
+ resolvedSecurity: requestSecurity,
51528
+ securitySource: client._options.apiKeyAuth,
51529
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
51530
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
51531
+ };
51532
+ const requestRes = client._createRequest(context, {
51533
+ security: requestSecurity,
51534
+ method: "POST",
51535
+ baseURL: options?.serverURL,
51536
+ path,
51537
+ headers,
51538
+ body,
51539
+ userAgent: client._options.userAgent,
51540
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
51541
+ }, options);
51542
+ if (!requestRes.ok) {
51543
+ return [requestRes, { status: "invalid" }];
51544
+ }
51545
+ const req = requestRes.value;
51546
+ const doResult = await client._do(req, {
51547
+ context,
51548
+ errorCodes: ["422", "4XX", "5XX"],
51549
+ retryConfig: context.retryConfig,
51550
+ retryCodes: context.retryCodes
51551
+ });
51552
+ if (!doResult.ok) {
51553
+ return [doResult, { status: "request-error", request: req }];
51554
+ }
51555
+ const response = doResult.value;
51556
+ const responseFields = {
51557
+ HttpMeta: { Response: response, Request: req }
51558
+ };
51559
+ const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51560
+ if (!result.ok) {
51561
+ return [result, { status: "complete", request: req, response }];
51562
+ }
51563
+ return [result, { status: "complete", request: req, response }];
51564
+ }
51565
+ var init_swapOdos = __esm(() => {
51566
+ init_encodings();
51567
+ init_matchers();
51568
+ init_primitives();
51569
+ init_schemas();
51570
+ init_security();
51571
+ init_url();
51572
+ init_components();
51573
+ init_errors2();
51574
+ init_async();
51575
+ });
51576
+
51577
+ // src/mcp-server/tools/swapOdos.ts
51578
+ var args54, tool$swapOdos;
51579
+ var init_swapOdos2 = __esm(() => {
51580
+ init_swapOdos();
51581
+ init_components();
51582
+ init_tools();
51583
+ args54 = {
51584
+ request: OdosSwapRequest$inboundSchema
51585
+ };
51586
+ tool$swapOdos = {
51587
+ name: "swap-odos",
51588
+ description: `Odos Swap
51151
51589
 
51152
- Generate a list of user operations for smart account batching.`,
51153
- args: args52,
51154
- tool: async (client, args53, ctx) => {
51155
- const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51590
+ Swap between two tokens using Odos Smart Order Routing.
51591
+ <Info>
51592
+ **Required Allowances**
51593
+
51594
+ In order to make this transaction, token allowances need to be set on the following contracts.
51595
+
51596
+ - \`OdosRouter\`
51597
+ </Info>
51598
+ `,
51599
+ args: args54,
51600
+ tool: async (client, args55, ctx) => {
51601
+ const [result, apiCall] = await swapOdos(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51156
51602
  if (!result.ok) {
51157
51603
  return {
51158
51604
  content: [{ type: "text", text: result.error.message }],
@@ -51167,9 +51613,9 @@ Generate a list of user operations for smart account batching.`,
51167
51613
 
51168
51614
  // src/funcs/tokenAddress.ts
51169
51615
  function tokenAddress(client, request, options) {
51170
- return new APIPromise($do53(client, request, options));
51616
+ return new APIPromise($do55(client, request, options));
51171
51617
  }
51172
- async function $do53(client, request, options) {
51618
+ async function $do55(client, request, options) {
51173
51619
  const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
51174
51620
  if (!parsed.ok) {
51175
51621
  return [parsed, { status: "invalid" }];
@@ -51245,12 +51691,12 @@ var init_tokenAddress = __esm(() => {
51245
51691
  });
51246
51692
 
51247
51693
  // src/mcp-server/tools/tokenAddress.ts
51248
- var args53, tool$tokenAddress;
51694
+ var args55, tool$tokenAddress;
51249
51695
  var init_tokenAddress2 = __esm(() => {
51250
51696
  init_tokenAddress();
51251
51697
  init_operations();
51252
51698
  init_tools();
51253
- args53 = {
51699
+ args55 = {
51254
51700
  request: TokenAddressRequest$inboundSchema
51255
51701
  };
51256
51702
  tool$tokenAddress = {
@@ -51258,9 +51704,9 @@ var init_tokenAddress2 = __esm(() => {
51258
51704
  description: `Token Address
51259
51705
 
51260
51706
  This endpoint retrieves the address for a token supported by us.`,
51261
- args: args53,
51262
- tool: async (client, args54, ctx) => {
51263
- const [result, apiCall] = await tokenAddress(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51707
+ args: args55,
51708
+ tool: async (client, args56, ctx) => {
51709
+ const [result, apiCall] = await tokenAddress(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51264
51710
  if (!result.ok) {
51265
51711
  return {
51266
51712
  content: [{ type: "text", text: result.error.message }],
@@ -51275,9 +51721,9 @@ This endpoint retrieves the address for a token supported by us.`,
51275
51721
 
51276
51722
  // src/funcs/tokenBalance.ts
51277
51723
  function tokenBalance(client, request, options) {
51278
- return new APIPromise($do54(client, request, options));
51724
+ return new APIPromise($do56(client, request, options));
51279
51725
  }
51280
- async function $do54(client, request, options) {
51726
+ async function $do56(client, request, options) {
51281
51727
  const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
51282
51728
  if (!parsed.ok) {
51283
51729
  return [parsed, { status: "invalid" }];
@@ -51354,12 +51800,12 @@ var init_tokenBalance = __esm(() => {
51354
51800
  });
51355
51801
 
51356
51802
  // src/mcp-server/tools/tokenBalance.ts
51357
- var args54, tool$tokenBalance;
51803
+ var args56, tool$tokenBalance;
51358
51804
  var init_tokenBalance2 = __esm(() => {
51359
51805
  init_tokenBalance();
51360
51806
  init_operations();
51361
51807
  init_tools();
51362
- args54 = {
51808
+ args56 = {
51363
51809
  request: TokenBalanceRequest$inboundSchema
51364
51810
  };
51365
51811
  tool$tokenBalance = {
@@ -51367,9 +51813,9 @@ var init_tokenBalance2 = __esm(() => {
51367
51813
  description: `Token Balance
51368
51814
 
51369
51815
  Returns the balance of a specific ERC20 token for a given user address.`,
51370
- args: args54,
51371
- tool: async (client, args55, ctx) => {
51372
- const [result, apiCall] = await tokenBalance(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51816
+ args: args56,
51817
+ tool: async (client, args57, ctx) => {
51818
+ const [result, apiCall] = await tokenBalance(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51373
51819
  if (!result.ok) {
51374
51820
  return {
51375
51821
  content: [{ type: "text", text: result.error.message }],
@@ -51384,9 +51830,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
51384
51830
 
51385
51831
  // src/funcs/tokenPrice.ts
51386
51832
  function tokenPrice(client, request, options) {
51387
- return new APIPromise($do55(client, request, options));
51833
+ return new APIPromise($do57(client, request, options));
51388
51834
  }
51389
- async function $do55(client, request, options) {
51835
+ async function $do57(client, request, options) {
51390
51836
  const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
51391
51837
  if (!parsed.ok) {
51392
51838
  return [parsed, { status: "invalid" }];
@@ -51463,12 +51909,12 @@ var init_tokenPrice = __esm(() => {
51463
51909
  });
51464
51910
 
51465
51911
  // src/mcp-server/tools/tokenPrice.ts
51466
- var args55, tool$tokenPrice;
51912
+ var args57, tool$tokenPrice;
51467
51913
  var init_tokenPrice2 = __esm(() => {
51468
51914
  init_tokenPrice();
51469
51915
  init_operations();
51470
51916
  init_tools();
51471
- args55 = {
51917
+ args57 = {
51472
51918
  request: TokenPriceRequest$inboundSchema
51473
51919
  };
51474
51920
  tool$tokenPrice = {
@@ -51480,9 +51926,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
51480
51926
  Chainlink is a decentralized oracle that aggregates price data from off-chain
51481
51927
  sources. This ensures the price is tamper-resistant but the price might be stale
51482
51928
  with the update frequency of the oracle.`,
51483
- args: args55,
51484
- tool: async (client, args56, ctx) => {
51485
- const [result, apiCall] = await tokenPrice(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51929
+ args: args57,
51930
+ tool: async (client, args58, ctx) => {
51931
+ const [result, apiCall] = await tokenPrice(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51486
51932
  if (!result.ok) {
51487
51933
  return {
51488
51934
  content: [{ type: "text", text: result.error.message }],
@@ -51497,9 +51943,9 @@ with the update frequency of the oracle.`,
51497
51943
 
51498
51944
  // src/funcs/tokenTransfer.ts
51499
51945
  function tokenTransfer(client, request, options) {
51500
- return new APIPromise($do56(client, request, options));
51946
+ return new APIPromise($do58(client, request, options));
51501
51947
  }
51502
- async function $do56(client, request, options) {
51948
+ async function $do58(client, request, options) {
51503
51949
  const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
51504
51950
  if (!parsed.ok) {
51505
51951
  return [parsed, { status: "invalid" }];
@@ -51570,12 +52016,12 @@ var init_tokenTransfer = __esm(() => {
51570
52016
  });
51571
52017
 
51572
52018
  // src/mcp-server/tools/tokenTransfer.ts
51573
- var args56, tool$tokenTransfer;
52019
+ var args58, tool$tokenTransfer;
51574
52020
  var init_tokenTransfer2 = __esm(() => {
51575
52021
  init_tokenTransfer();
51576
52022
  init_components();
51577
52023
  init_tools();
51578
- args56 = {
52024
+ args58 = {
51579
52025
  request: TokenTransferRequest$inboundSchema
51580
52026
  };
51581
52027
  tool$tokenTransfer = {
@@ -51583,9 +52029,9 @@ var init_tokenTransfer2 = __esm(() => {
51583
52029
  description: `Transfer ETH or ERC20 Tokens
51584
52030
 
51585
52031
  Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51586
- args: args56,
51587
- tool: async (client, args57, ctx) => {
51588
- const [result, apiCall] = await tokenTransfer(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52032
+ args: args58,
52033
+ tool: async (client, args59, ctx) => {
52034
+ const [result, apiCall] = await tokenTransfer(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51589
52035
  if (!result.ok) {
51590
52036
  return {
51591
52037
  content: [{ type: "text", text: result.error.message }],
@@ -51600,9 +52046,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51600
52046
 
51601
52047
  // src/funcs/transactionBundlerBundlerAaveLoop.ts
51602
52048
  function transactionBundlerBundlerAaveLoop(client, request, options) {
51603
- return new APIPromise($do57(client, request, options));
52049
+ return new APIPromise($do59(client, request, options));
51604
52050
  }
51605
- async function $do57(client, request, options) {
52051
+ async function $do59(client, request, options) {
51606
52052
  const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
51607
52053
  if (!parsed.ok) {
51608
52054
  return [parsed, { status: "invalid" }];
@@ -51673,12 +52119,12 @@ var init_transactionBundlerBundlerAaveLoop = __esm(() => {
51673
52119
  });
51674
52120
 
51675
52121
  // src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
51676
- var args57, tool$transactionBundlerBundlerAaveLoop;
52122
+ var args59, tool$transactionBundlerBundlerAaveLoop;
51677
52123
  var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
51678
52124
  init_transactionBundlerBundlerAaveLoop();
51679
52125
  init_components();
51680
52126
  init_tools();
51681
- args57 = {
52127
+ args59 = {
51682
52128
  request: AaveLoopRequest$inboundSchema
51683
52129
  };
51684
52130
  tool$transactionBundlerBundlerAaveLoop = {
@@ -51696,9 +52142,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
51696
52142
  - Supplies the swapped tokens
51697
52143
 
51698
52144
  The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
51699
- args: args57,
51700
- tool: async (client, args58, ctx) => {
51701
- const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52145
+ args: args59,
52146
+ tool: async (client, args60, ctx) => {
52147
+ const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51702
52148
  if (!result.ok) {
51703
52149
  return {
51704
52150
  content: [{ type: "text", text: result.error.message }],
@@ -51713,9 +52159,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
51713
52159
 
51714
52160
  // src/funcs/transactionBundlerBundlerAuthorization.ts
51715
52161
  function transactionBundlerBundlerAuthorization(client, request, options) {
51716
- return new APIPromise($do58(client, request, options));
52162
+ return new APIPromise($do60(client, request, options));
51717
52163
  }
51718
- async function $do58(client, request, options) {
52164
+ async function $do60(client, request, options) {
51719
52165
  const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
51720
52166
  if (!parsed.ok) {
51721
52167
  return [parsed, { status: "invalid" }];
@@ -51786,12 +52232,12 @@ var init_transactionBundlerBundlerAuthorization = __esm(() => {
51786
52232
  });
51787
52233
 
51788
52234
  // src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
51789
- var args58, tool$transactionBundlerBundlerAuthorization;
52235
+ var args60, tool$transactionBundlerBundlerAuthorization;
51790
52236
  var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
51791
52237
  init_transactionBundlerBundlerAuthorization();
51792
52238
  init_components();
51793
52239
  init_tools();
51794
- args58 = {
52240
+ args60 = {
51795
52241
  request: MulticallAuthorizationRequest$inboundSchema
51796
52242
  };
51797
52243
  tool$transactionBundlerBundlerAuthorization = {
@@ -51804,9 +52250,9 @@ Currently this is required for every transaction bundle to prevent replay attack
51804
52250
  and ensure transaction ordering when batching multiple actions into a single
51805
52251
  transaction. The authorization includes a nonce and chain ID to guarantee
51806
52252
  transaction uniqueness and proper network targeting.`,
51807
- args: args58,
51808
- tool: async (client, args59, ctx) => {
51809
- const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52253
+ args: args60,
52254
+ tool: async (client, args61, ctx) => {
52255
+ const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51810
52256
  if (!result.ok) {
51811
52257
  return {
51812
52258
  content: [{ type: "text", text: result.error.message }],
@@ -51821,9 +52267,9 @@ transaction uniqueness and proper network targeting.`,
51821
52267
 
51822
52268
  // src/funcs/transactionBundlerBundlerExecute.ts
51823
52269
  function transactionBundlerBundlerExecute(client, request, options) {
51824
- return new APIPromise($do59(client, request, options));
52270
+ return new APIPromise($do61(client, request, options));
51825
52271
  }
51826
- async function $do59(client, request, options) {
52272
+ async function $do61(client, request, options) {
51827
52273
  const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
51828
52274
  if (!parsed.ok) {
51829
52275
  return [parsed, { status: "invalid" }];
@@ -51894,12 +52340,12 @@ var init_transactionBundlerBundlerExecute = __esm(() => {
51894
52340
  });
51895
52341
 
51896
52342
  // src/mcp-server/tools/transactionBundlerBundlerExecute.ts
51897
- var args59, tool$transactionBundlerBundlerExecute;
52343
+ var args61, tool$transactionBundlerBundlerExecute;
51898
52344
  var init_transactionBundlerBundlerExecute2 = __esm(() => {
51899
52345
  init_transactionBundlerBundlerExecute();
51900
52346
  init_components();
51901
52347
  init_tools();
51902
- args59 = {
52348
+ args61 = {
51903
52349
  request: MulticallExecuteRequest$inboundSchema
51904
52350
  };
51905
52351
  tool$transactionBundlerBundlerExecute = {
@@ -51913,9 +52359,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
51913
52359
  transaction, reducing gas costs and ensuring all operations succeed or fail
51914
52360
  together. The transaction must be authorized using the /authorization endpoint to
51915
52361
  prevent replay attacks.`,
51916
- args: args59,
51917
- tool: async (client, args60, ctx) => {
51918
- const [result, apiCall] = await transactionBundlerBundlerExecute(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52362
+ args: args61,
52363
+ tool: async (client, args62, ctx) => {
52364
+ const [result, apiCall] = await transactionBundlerBundlerExecute(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51919
52365
  if (!result.ok) {
51920
52366
  return {
51921
52367
  content: [{ type: "text", text: result.error.message }],
@@ -51930,9 +52376,9 @@ prevent replay attacks.`,
51930
52376
 
51931
52377
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
51932
52378
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
51933
- return new APIPromise($do60(client, request, options));
52379
+ return new APIPromise($do62(client, request, options));
51934
52380
  }
51935
- async function $do60(client, request, options) {
52381
+ async function $do62(client, request, options) {
51936
52382
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51937
52383
  if (!parsed.ok) {
51938
52384
  return [parsed, { status: "invalid" }];
@@ -52003,12 +52449,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
52003
52449
  });
52004
52450
 
52005
52451
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
52006
- var args60, tool$uniswapV3LiquidityProvisionIncrease;
52452
+ var args62, tool$uniswapV3LiquidityProvisionIncrease;
52007
52453
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
52008
52454
  init_uniswapV3LiquidityProvisionIncrease();
52009
52455
  init_components();
52010
52456
  init_tools();
52011
- args60 = {
52457
+ args62 = {
52012
52458
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
52013
52459
  };
52014
52460
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -52032,9 +52478,9 @@ process.
52032
52478
  - \`AerodromeSlipstreamRouter\`
52033
52479
  </Info>
52034
52480
  `,
52035
- args: args60,
52036
- tool: async (client, args61, ctx) => {
52037
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52481
+ args: args62,
52482
+ tool: async (client, args63, ctx) => {
52483
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52038
52484
  if (!result.ok) {
52039
52485
  return {
52040
52486
  content: [{ type: "text", text: result.error.message }],
@@ -52049,9 +52495,9 @@ process.
52049
52495
 
52050
52496
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
52051
52497
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
52052
- return new APIPromise($do61(client, request, options));
52498
+ return new APIPromise($do63(client, request, options));
52053
52499
  }
52054
- async function $do61(client, request, options) {
52500
+ async function $do63(client, request, options) {
52055
52501
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
52056
52502
  if (!parsed.ok) {
52057
52503
  return [parsed, { status: "invalid" }];
@@ -52127,12 +52573,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
52127
52573
  });
52128
52574
 
52129
52575
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
52130
- var args61, tool$uniswapV3LiquidityProvisionInRange;
52576
+ var args63, tool$uniswapV3LiquidityProvisionInRange;
52131
52577
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
52132
52578
  init_uniswapV3LiquidityProvisionInRange();
52133
52579
  init_operations();
52134
52580
  init_tools();
52135
- args61 = {
52581
+ args63 = {
52136
52582
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
52137
52583
  };
52138
52584
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -52147,9 +52593,9 @@ position is currently within the tick range where trading occurs. this informati
52147
52593
  is essential for users to monitor the status of their lp positions and ensure that
52148
52594
  they are actively participating in the trading activities within the liquidity pool
52149
52595
  and earning trading fees.`,
52150
- args: args61,
52151
- tool: async (client, args62, ctx) => {
52152
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52596
+ args: args63,
52597
+ tool: async (client, args64, ctx) => {
52598
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52153
52599
  if (!result.ok) {
52154
52600
  return {
52155
52601
  content: [{ type: "text", text: result.error.message }],
@@ -52164,9 +52610,9 @@ and earning trading fees.`,
52164
52610
 
52165
52611
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
52166
52612
  function uniswapV3LiquidityProvisionMint(client, request, options) {
52167
- return new APIPromise($do62(client, request, options));
52613
+ return new APIPromise($do64(client, request, options));
52168
52614
  }
52169
- async function $do62(client, request, options) {
52615
+ async function $do64(client, request, options) {
52170
52616
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
52171
52617
  if (!parsed.ok) {
52172
52618
  return [parsed, { status: "invalid" }];
@@ -52237,12 +52683,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
52237
52683
  });
52238
52684
 
52239
52685
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
52240
- var args62, tool$uniswapV3LiquidityProvisionMint;
52686
+ var args64, tool$uniswapV3LiquidityProvisionMint;
52241
52687
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
52242
52688
  init_uniswapV3LiquidityProvisionMint();
52243
52689
  init_components();
52244
52690
  init_tools();
52245
- args62 = {
52691
+ args64 = {
52246
52692
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
52247
52693
  };
52248
52694
  tool$uniswapV3LiquidityProvisionMint = {
@@ -52266,9 +52712,9 @@ needed for the minting process.
52266
52712
  - \`UniswapV3NFTPositionManager\`
52267
52713
  </Info>
52268
52714
  `,
52269
- args: args62,
52270
- tool: async (client, args63, ctx) => {
52271
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52715
+ args: args64,
52716
+ tool: async (client, args65, ctx) => {
52717
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52272
52718
  if (!result.ok) {
52273
52719
  return {
52274
52720
  content: [{ type: "text", text: result.error.message }],
@@ -52283,9 +52729,9 @@ needed for the minting process.
52283
52729
 
52284
52730
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
52285
52731
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
52286
- return new APIPromise($do63(client, request, options));
52732
+ return new APIPromise($do65(client, request, options));
52287
52733
  }
52288
- async function $do63(client, request, options) {
52734
+ async function $do65(client, request, options) {
52289
52735
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
52290
52736
  if (!parsed.ok) {
52291
52737
  return [parsed, { status: "invalid" }];
@@ -52361,12 +52807,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
52361
52807
  });
52362
52808
 
52363
52809
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
52364
- var args63, tool$uniswapV3LiquidityProvisionPositions;
52810
+ var args65, tool$uniswapV3LiquidityProvisionPositions;
52365
52811
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
52366
52812
  init_uniswapV3LiquidityProvisionPositions();
52367
52813
  init_operations();
52368
52814
  init_tools();
52369
- args63 = {
52815
+ args65 = {
52370
52816
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
52371
52817
  };
52372
52818
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -52380,9 +52826,9 @@ Users can query this endpoint to obtain detailed information about their LP
52380
52826
  positions, including the total number of positions and relevant metadata. This
52381
52827
  information is crucial for users to manage and analyze their liquidity provision
52382
52828
  activities effectively.`,
52383
- args: args63,
52384
- tool: async (client, args64, ctx) => {
52385
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52829
+ args: args65,
52830
+ tool: async (client, args66, ctx) => {
52831
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52386
52832
  if (!result.ok) {
52387
52833
  return {
52388
52834
  content: [{ type: "text", text: result.error.message }],
@@ -52397,9 +52843,9 @@ activities effectively.`,
52397
52843
 
52398
52844
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
52399
52845
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
52400
- return new APIPromise($do64(client, request, options));
52846
+ return new APIPromise($do66(client, request, options));
52401
52847
  }
52402
- async function $do64(client, request, options) {
52848
+ async function $do66(client, request, options) {
52403
52849
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
52404
52850
  if (!parsed.ok) {
52405
52851
  return [parsed, { status: "invalid" }];
@@ -52470,12 +52916,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
52470
52916
  });
52471
52917
 
52472
52918
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
52473
- var args64, tool$uniswapV3LiquidityProvisionWithdraw;
52919
+ var args66, tool$uniswapV3LiquidityProvisionWithdraw;
52474
52920
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
52475
52921
  init_uniswapV3LiquidityProvisionWithdraw();
52476
52922
  init_components();
52477
52923
  init_tools();
52478
- args64 = {
52924
+ args66 = {
52479
52925
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
52480
52926
  };
52481
52927
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -52500,9 +52946,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
52500
52946
  - \`UniswapV3NFTPositionManager\`
52501
52947
  </Info>
52502
52948
  `,
52503
- args: args64,
52504
- tool: async (client, args65, ctx) => {
52505
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52949
+ args: args66,
52950
+ tool: async (client, args67, ctx) => {
52951
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52506
52952
  if (!result.ok) {
52507
52953
  return {
52508
52954
  content: [{ type: "text", text: result.error.message }],
@@ -52517,9 +52963,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
52517
52963
 
52518
52964
  // src/funcs/uniswapV3PoolPrice.ts
52519
52965
  function uniswapV3PoolPrice(client, request, options) {
52520
- return new APIPromise($do65(client, request, options));
52966
+ return new APIPromise($do67(client, request, options));
52521
52967
  }
52522
- async function $do65(client, request, options) {
52968
+ async function $do67(client, request, options) {
52523
52969
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
52524
52970
  if (!parsed.ok) {
52525
52971
  return [parsed, { status: "invalid" }];
@@ -52597,12 +53043,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
52597
53043
  });
52598
53044
 
52599
53045
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
52600
- var args65, tool$uniswapV3PoolPrice;
53046
+ var args67, tool$uniswapV3PoolPrice;
52601
53047
  var init_uniswapV3PoolPrice2 = __esm(() => {
52602
53048
  init_uniswapV3PoolPrice();
52603
53049
  init_operations();
52604
53050
  init_tools();
52605
- args65 = {
53051
+ args67 = {
52606
53052
  request: UniswapPoolPriceRequest$inboundSchema
52607
53053
  };
52608
53054
  tool$uniswapV3PoolPrice = {
@@ -52612,9 +53058,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
52612
53058
  This endpoint calculates the price of a token in a Uniswap pool.
52613
53059
 
52614
53060
  The price is calculated based on the current pool state and the specified fee tier.`,
52615
- args: args65,
52616
- tool: async (client, args66, ctx) => {
52617
- const [result, apiCall] = await uniswapV3PoolPrice(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53061
+ args: args67,
53062
+ tool: async (client, args68, ctx) => {
53063
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52618
53064
  if (!result.ok) {
52619
53065
  return {
52620
53066
  content: [{ type: "text", text: result.error.message }],
@@ -52629,9 +53075,9 @@ The price is calculated based on the current pool state and the specified fee ti
52629
53075
 
52630
53076
  // src/funcs/uniswapV3QuoteBuyExactly.ts
52631
53077
  function uniswapV3QuoteBuyExactly(client, request, options) {
52632
- return new APIPromise($do66(client, request, options));
53078
+ return new APIPromise($do68(client, request, options));
52633
53079
  }
52634
- async function $do66(client, request, options) {
53080
+ async function $do68(client, request, options) {
52635
53081
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52636
53082
  if (!parsed.ok) {
52637
53083
  return [parsed, { status: "invalid" }];
@@ -52710,12 +53156,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
52710
53156
  });
52711
53157
 
52712
53158
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
52713
- var args66, tool$uniswapV3QuoteBuyExactly;
53159
+ var args68, tool$uniswapV3QuoteBuyExactly;
52714
53160
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
52715
53161
  init_uniswapV3QuoteBuyExactly();
52716
53162
  init_operations();
52717
53163
  init_tools();
52718
- args66 = {
53164
+ args68 = {
52719
53165
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
52720
53166
  };
52721
53167
  tool$uniswapV3QuoteBuyExactly = {
@@ -52727,9 +53173,9 @@ specified amount of output tokens from a Uniswap pool.
52727
53173
 
52728
53174
  It also provides the resulting price after the transaction. The calculation takes
52729
53175
  into account the current pool state and the specified fee tier.`,
52730
- args: args66,
52731
- tool: async (client, args67, ctx) => {
52732
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53176
+ args: args68,
53177
+ tool: async (client, args69, ctx) => {
53178
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52733
53179
  if (!result.ok) {
52734
53180
  return {
52735
53181
  content: [{ type: "text", text: result.error.message }],
@@ -52744,9 +53190,9 @@ into account the current pool state and the specified fee tier.`,
52744
53190
 
52745
53191
  // src/funcs/uniswapV3QuoteSellExactly.ts
52746
53192
  function uniswapV3QuoteSellExactly(client, request, options) {
52747
- return new APIPromise($do67(client, request, options));
53193
+ return new APIPromise($do69(client, request, options));
52748
53194
  }
52749
- async function $do67(client, request, options) {
53195
+ async function $do69(client, request, options) {
52750
53196
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52751
53197
  if (!parsed.ok) {
52752
53198
  return [parsed, { status: "invalid" }];
@@ -52825,12 +53271,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
52825
53271
  });
52826
53272
 
52827
53273
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
52828
- var args67, tool$uniswapV3QuoteSellExactly;
53274
+ var args69, tool$uniswapV3QuoteSellExactly;
52829
53275
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
52830
53276
  init_uniswapV3QuoteSellExactly();
52831
53277
  init_operations();
52832
53278
  init_tools();
52833
- args67 = {
53279
+ args69 = {
52834
53280
  request: UniswapQuoteSellExactlyRequest$inboundSchema
52835
53281
  };
52836
53282
  tool$uniswapV3QuoteSellExactly = {
@@ -52842,9 +53288,9 @@ specified amount of output tokens from a Uniswap pool.
52842
53288
 
52843
53289
  It also provides the resulting price after the transaction. The calculation takes
52844
53290
  into account the current pool state and the specified fee tier.`,
52845
- args: args67,
52846
- tool: async (client, args68, ctx) => {
52847
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53291
+ args: args69,
53292
+ tool: async (client, args70, ctx) => {
53293
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52848
53294
  if (!result.ok) {
52849
53295
  return {
52850
53296
  content: [{ type: "text", text: result.error.message }],
@@ -52859,9 +53305,9 @@ into account the current pool state and the specified fee tier.`,
52859
53305
 
52860
53306
  // src/funcs/uniswapV3SwapBuyExactly.ts
52861
53307
  function uniswapV3SwapBuyExactly(client, request, options) {
52862
- return new APIPromise($do68(client, request, options));
53308
+ return new APIPromise($do70(client, request, options));
52863
53309
  }
52864
- async function $do68(client, request, options) {
53310
+ async function $do70(client, request, options) {
52865
53311
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52866
53312
  if (!parsed.ok) {
52867
53313
  return [parsed, { status: "invalid" }];
@@ -52932,12 +53378,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
52932
53378
  });
52933
53379
 
52934
53380
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
52935
- var args68, tool$uniswapV3SwapBuyExactly;
53381
+ var args70, tool$uniswapV3SwapBuyExactly;
52936
53382
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
52937
53383
  init_uniswapV3SwapBuyExactly();
52938
53384
  init_components();
52939
53385
  init_tools();
52940
- args68 = {
53386
+ args70 = {
52941
53387
  request: UniswapBuyExactlyRequest$inboundSchema
52942
53388
  };
52943
53389
  tool$uniswapV3SwapBuyExactly = {
@@ -52959,9 +53405,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
52959
53405
  - \`UniswapV3Router\`
52960
53406
  </Info>
52961
53407
  `,
52962
- args: args68,
52963
- tool: async (client, args69, ctx) => {
52964
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53408
+ args: args70,
53409
+ tool: async (client, args71, ctx) => {
53410
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52965
53411
  if (!result.ok) {
52966
53412
  return {
52967
53413
  content: [{ type: "text", text: result.error.message }],
@@ -52976,9 +53422,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
52976
53422
 
52977
53423
  // src/funcs/uniswapV3SwapSellExactly.ts
52978
53424
  function uniswapV3SwapSellExactly(client, request, options) {
52979
- return new APIPromise($do69(client, request, options));
53425
+ return new APIPromise($do71(client, request, options));
52980
53426
  }
52981
- async function $do69(client, request, options) {
53427
+ async function $do71(client, request, options) {
52982
53428
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52983
53429
  if (!parsed.ok) {
52984
53430
  return [parsed, { status: "invalid" }];
@@ -53049,12 +53495,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
53049
53495
  });
53050
53496
 
53051
53497
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
53052
- var args69, tool$uniswapV3SwapSellExactly;
53498
+ var args71, tool$uniswapV3SwapSellExactly;
53053
53499
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
53054
53500
  init_uniswapV3SwapSellExactly();
53055
53501
  init_components();
53056
53502
  init_tools();
53057
- args69 = {
53503
+ args71 = {
53058
53504
  request: UniswapSellExactlyRequest$inboundSchema
53059
53505
  };
53060
53506
  tool$uniswapV3SwapSellExactly = {
@@ -53076,9 +53522,9 @@ wrapped, the appropriate amount will be wrapped automatically.
53076
53522
  - \`UniswapV3Router\`
53077
53523
  </Info>
53078
53524
  `,
53079
- args: args69,
53080
- tool: async (client, args70, ctx) => {
53081
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53525
+ args: args71,
53526
+ tool: async (client, args72, ctx) => {
53527
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53082
53528
  if (!result.ok) {
53083
53529
  return {
53084
53530
  content: [{ type: "text", text: result.error.message }],
@@ -53093,9 +53539,9 @@ wrapped, the appropriate amount will be wrapped automatically.
53093
53539
 
53094
53540
  // src/funcs/universalAllowance.ts
53095
53541
  function universalAllowance(client, request, options) {
53096
- return new APIPromise($do70(client, request, options));
53542
+ return new APIPromise($do72(client, request, options));
53097
53543
  }
53098
- async function $do70(client, request, options) {
53544
+ async function $do72(client, request, options) {
53099
53545
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
53100
53546
  if (!parsed.ok) {
53101
53547
  return [parsed, { status: "invalid" }];
@@ -53173,12 +53619,12 @@ var init_universalAllowance = __esm(() => {
53173
53619
  });
53174
53620
 
53175
53621
  // src/mcp-server/tools/universalAllowance.ts
53176
- var args70, tool$universalAllowance;
53622
+ var args72, tool$universalAllowance;
53177
53623
  var init_universalAllowance2 = __esm(() => {
53178
53624
  init_universalAllowance();
53179
53625
  init_operations();
53180
53626
  init_tools();
53181
- args70 = {
53627
+ args72 = {
53182
53628
  request: GenericAllowanceRequest$inboundSchema
53183
53629
  };
53184
53630
  tool$universalAllowance = {
@@ -53192,9 +53638,9 @@ tokens on their behalf.
53192
53638
  This is a crucial step before engaging in any transactions or operations within
53193
53639
  these protocols, ensuring that the protocol has the necessary permissions to manage
53194
53640
  the user's tokens securely and efficiently.`,
53195
- args: args70,
53196
- tool: async (client, args71, ctx) => {
53197
- const [result, apiCall] = await universalAllowance(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53641
+ args: args72,
53642
+ tool: async (client, args73, ctx) => {
53643
+ const [result, apiCall] = await universalAllowance(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53198
53644
  if (!result.ok) {
53199
53645
  return {
53200
53646
  content: [{ type: "text", text: result.error.message }],
@@ -53209,9 +53655,9 @@ the user's tokens securely and efficiently.`,
53209
53655
 
53210
53656
  // src/funcs/universalAllowanceSet.ts
53211
53657
  function universalAllowanceSet(client, request, options) {
53212
- return new APIPromise($do71(client, request, options));
53658
+ return new APIPromise($do73(client, request, options));
53213
53659
  }
53214
- async function $do71(client, request, options) {
53660
+ async function $do73(client, request, options) {
53215
53661
  const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
53216
53662
  if (!parsed.ok) {
53217
53663
  return [parsed, { status: "invalid" }];
@@ -53282,12 +53728,12 @@ var init_universalAllowanceSet = __esm(() => {
53282
53728
  });
53283
53729
 
53284
53730
  // src/mcp-server/tools/universalAllowanceSet.ts
53285
- var args71, tool$universalAllowanceSet;
53731
+ var args73, tool$universalAllowanceSet;
53286
53732
  var init_universalAllowanceSet2 = __esm(() => {
53287
53733
  init_universalAllowanceSet();
53288
53734
  init_components();
53289
53735
  init_tools();
53290
- args71 = {
53736
+ args73 = {
53291
53737
  request: SetAllowanceRequest$inboundSchema
53292
53738
  };
53293
53739
  tool$universalAllowanceSet = {
@@ -53302,9 +53748,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
53302
53748
  This operation is crucial for ensuring that the protocol can manage the user's
53303
53749
  tokens securely and efficiently, enabling seamless transactions and operations
53304
53750
  within the DeFi ecosystem.`,
53305
- args: args71,
53306
- tool: async (client, args72, ctx) => {
53307
- const [result, apiCall] = await universalAllowanceSet(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53751
+ args: args73,
53752
+ tool: async (client, args74, ctx) => {
53753
+ const [result, apiCall] = await universalAllowanceSet(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53308
53754
  if (!result.ok) {
53309
53755
  return {
53310
53756
  content: [{ type: "text", text: result.error.message }],
@@ -53319,9 +53765,9 @@ within the DeFi ecosystem.`,
53319
53765
 
53320
53766
  // src/funcs/universalEns.ts
53321
53767
  function universalEns(client, request, options) {
53322
- return new APIPromise($do72(client, request, options));
53768
+ return new APIPromise($do74(client, request, options));
53323
53769
  }
53324
- async function $do72(client, request, options) {
53770
+ async function $do74(client, request, options) {
53325
53771
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
53326
53772
  if (!parsed.ok) {
53327
53773
  return [parsed, { status: "invalid" }];
@@ -53397,12 +53843,12 @@ var init_universalEns = __esm(() => {
53397
53843
  });
53398
53844
 
53399
53845
  // src/mcp-server/tools/universalEns.ts
53400
- var args72, tool$universalEns;
53846
+ var args74, tool$universalEns;
53401
53847
  var init_universalEns2 = __esm(() => {
53402
53848
  init_universalEns();
53403
53849
  init_operations();
53404
53850
  init_tools();
53405
- args72 = {
53851
+ args74 = {
53406
53852
  request: GenericEnsRequest$inboundSchema
53407
53853
  };
53408
53854
  tool$universalEns = {
@@ -53413,9 +53859,9 @@ An ENS name is a string ending in \`.eth\`.
53413
53859
 
53414
53860
  E.g. \`vitalik.eth\`. This endpoint can be used to
53415
53861
  query the actual ethereum wallet address behind the ENS name.`,
53416
- args: args72,
53417
- tool: async (client, args73, ctx) => {
53418
- const [result, apiCall] = await universalEns(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53862
+ args: args74,
53863
+ tool: async (client, args75, ctx) => {
53864
+ const [result, apiCall] = await universalEns(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53419
53865
  if (!result.ok) {
53420
53866
  return {
53421
53867
  content: [{ type: "text", text: result.error.message }],
@@ -53430,9 +53876,9 @@ query the actual ethereum wallet address behind the ENS name.`,
53430
53876
 
53431
53877
  // src/funcs/universalPortfolio.ts
53432
53878
  function universalPortfolio(client, request, options) {
53433
- return new APIPromise($do73(client, request, options));
53879
+ return new APIPromise($do75(client, request, options));
53434
53880
  }
53435
- async function $do73(client, request, options) {
53881
+ async function $do75(client, request, options) {
53436
53882
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
53437
53883
  if (!parsed.ok) {
53438
53884
  return [parsed, { status: "invalid" }];
@@ -53508,12 +53954,12 @@ var init_universalPortfolio = __esm(() => {
53508
53954
  });
53509
53955
 
53510
53956
  // src/mcp-server/tools/universalPortfolio.ts
53511
- var args73, tool$universalPortfolio;
53957
+ var args75, tool$universalPortfolio;
53512
53958
  var init_universalPortfolio2 = __esm(() => {
53513
53959
  init_universalPortfolio();
53514
53960
  init_operations();
53515
53961
  init_tools();
53516
- args73 = {
53962
+ args75 = {
53517
53963
  request: GenericPortfolioRequest$inboundSchema
53518
53964
  };
53519
53965
  tool$universalPortfolio = {
@@ -53524,9 +53970,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
53524
53970
 
53525
53971
  This includes the total value of the portfolio in USD and a breakdown of token
53526
53972
  balances, including their respective values and quantities.`,
53527
- args: args73,
53528
- tool: async (client, args74, ctx) => {
53529
- const [result, apiCall] = await universalPortfolio(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53973
+ args: args75,
53974
+ tool: async (client, args76, ctx) => {
53975
+ const [result, apiCall] = await universalPortfolio(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53530
53976
  if (!result.ok) {
53531
53977
  return {
53532
53978
  content: [{ type: "text", text: result.error.message }],
@@ -53541,9 +53987,9 @@ balances, including their respective values and quantities.`,
53541
53987
 
53542
53988
  // src/funcs/universalSupportedTokens.ts
53543
53989
  function universalSupportedTokens(client, request, options) {
53544
- return new APIPromise($do74(client, request, options));
53990
+ return new APIPromise($do76(client, request, options));
53545
53991
  }
53546
- async function $do74(client, request, options) {
53992
+ async function $do76(client, request, options) {
53547
53993
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
53548
53994
  if (!parsed.ok) {
53549
53995
  return [parsed, { status: "invalid" }];
@@ -53618,12 +54064,12 @@ var init_universalSupportedTokens = __esm(() => {
53618
54064
  });
53619
54065
 
53620
54066
  // src/mcp-server/tools/universalSupportedTokens.ts
53621
- var args74, tool$universalSupportedTokens;
54067
+ var args76, tool$universalSupportedTokens;
53622
54068
  var init_universalSupportedTokens2 = __esm(() => {
53623
54069
  init_universalSupportedTokens();
53624
54070
  init_operations();
53625
54071
  init_tools();
53626
- args74 = {
54072
+ args76 = {
53627
54073
  request: GenericSupportedTokensRequest$inboundSchema
53628
54074
  };
53629
54075
  tool$universalSupportedTokens = {
@@ -53631,9 +54077,9 @@ var init_universalSupportedTokens2 = __esm(() => {
53631
54077
  description: `List Supported Tokens
53632
54078
 
53633
54079
  Get the list of supported tokens on a chain by the Compass API.`,
53634
- args: args74,
53635
- tool: async (client, args75, ctx) => {
53636
- const [result, apiCall] = await universalSupportedTokens(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54080
+ args: args76,
54081
+ tool: async (client, args77, ctx) => {
54082
+ const [result, apiCall] = await universalSupportedTokens(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53637
54083
  if (!result.ok) {
53638
54084
  return {
53639
54085
  content: [{ type: "text", text: result.error.message }],
@@ -53648,9 +54094,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
53648
54094
 
53649
54095
  // src/funcs/universalUnwrapWeth.ts
53650
54096
  function universalUnwrapWeth(client, request, options) {
53651
- return new APIPromise($do75(client, request, options));
54097
+ return new APIPromise($do77(client, request, options));
53652
54098
  }
53653
- async function $do75(client, request, options) {
54099
+ async function $do77(client, request, options) {
53654
54100
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
53655
54101
  if (!parsed.ok) {
53656
54102
  return [parsed, { status: "invalid" }];
@@ -53721,12 +54167,12 @@ var init_universalUnwrapWeth = __esm(() => {
53721
54167
  });
53722
54168
 
53723
54169
  // src/mcp-server/tools/universalUnwrapWeth.ts
53724
- var args75, tool$universalUnwrapWeth;
54170
+ var args77, tool$universalUnwrapWeth;
53725
54171
  var init_universalUnwrapWeth2 = __esm(() => {
53726
54172
  init_universalUnwrapWeth();
53727
54173
  init_components();
53728
54174
  init_tools();
53729
- args75 = {
54175
+ args77 = {
53730
54176
  request: UnwrapWethRequest$inboundSchema
53731
54177
  };
53732
54178
  tool$universalUnwrapWeth = {
@@ -53735,9 +54181,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
53735
54181
 
53736
54182
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
53737
54183
  can be used for gas and other native purposes.`,
53738
- args: args75,
53739
- tool: async (client, args76, ctx) => {
53740
- const [result, apiCall] = await universalUnwrapWeth(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54184
+ args: args77,
54185
+ tool: async (client, args78, ctx) => {
54186
+ const [result, apiCall] = await universalUnwrapWeth(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53741
54187
  if (!result.ok) {
53742
54188
  return {
53743
54189
  content: [{ type: "text", text: result.error.message }],
@@ -53752,9 +54198,9 @@ can be used for gas and other native purposes.`,
53752
54198
 
53753
54199
  // src/funcs/universalVisualizePortfolio.ts
53754
54200
  function universalVisualizePortfolio(client, request, options) {
53755
- return new APIPromise($do76(client, request, options));
54201
+ return new APIPromise($do78(client, request, options));
53756
54202
  }
53757
- async function $do76(client, request, options) {
54203
+ async function $do78(client, request, options) {
53758
54204
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
53759
54205
  if (!parsed.ok) {
53760
54206
  return [parsed, { status: "invalid" }];
@@ -53830,12 +54276,12 @@ var init_universalVisualizePortfolio = __esm(() => {
53830
54276
  });
53831
54277
 
53832
54278
  // src/mcp-server/tools/universalVisualizePortfolio.ts
53833
- var args76, tool$universalVisualizePortfolio;
54279
+ var args78, tool$universalVisualizePortfolio;
53834
54280
  var init_universalVisualizePortfolio2 = __esm(() => {
53835
54281
  init_universalVisualizePortfolio();
53836
54282
  init_operations();
53837
54283
  init_tools();
53838
- args76 = {
54284
+ args78 = {
53839
54285
  request: GenericVisualizePortfolioRequest$inboundSchema
53840
54286
  };
53841
54287
  tool$universalVisualizePortfolio = {
@@ -53847,9 +54293,9 @@ Generate a visual representation of the token portfolio for a wallet address.
53847
54293
  The response is an SVG image of a pie chart depicting the relative distribution of
53848
54294
  tokens held, colored and labeled with token symbols, percentages and token values in
53849
54295
  USD.`,
53850
- args: args76,
53851
- tool: async (client, args77, ctx) => {
53852
- const [result, apiCall] = await universalVisualizePortfolio(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54296
+ args: args78,
54297
+ tool: async (client, args79, ctx) => {
54298
+ const [result, apiCall] = await universalVisualizePortfolio(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53853
54299
  if (!result.ok) {
53854
54300
  return {
53855
54301
  content: [{ type: "text", text: result.error.message }],
@@ -53864,9 +54310,9 @@ USD.`,
53864
54310
 
53865
54311
  // src/funcs/universalWrapEth.ts
53866
54312
  function universalWrapEth(client, request, options) {
53867
- return new APIPromise($do77(client, request, options));
54313
+ return new APIPromise($do79(client, request, options));
53868
54314
  }
53869
- async function $do77(client, request, options) {
54315
+ async function $do79(client, request, options) {
53870
54316
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
53871
54317
  if (!parsed.ok) {
53872
54318
  return [parsed, { status: "invalid" }];
@@ -53937,12 +54383,12 @@ var init_universalWrapEth = __esm(() => {
53937
54383
  });
53938
54384
 
53939
54385
  // src/mcp-server/tools/universalWrapEth.ts
53940
- var args77, tool$universalWrapEth;
54386
+ var args79, tool$universalWrapEth;
53941
54387
  var init_universalWrapEth2 = __esm(() => {
53942
54388
  init_universalWrapEth();
53943
54389
  init_components();
53944
54390
  init_tools();
53945
- args77 = {
54391
+ args79 = {
53946
54392
  request: WrapEthRequest$inboundSchema
53947
54393
  };
53948
54394
  tool$universalWrapEth = {
@@ -53951,9 +54397,9 @@ var init_universalWrapEth2 = __esm(() => {
53951
54397
 
53952
54398
  Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
53953
54399
  it to be traded on DeFi protocols.`,
53954
- args: args77,
53955
- tool: async (client, args78, ctx) => {
53956
- const [result, apiCall] = await universalWrapEth(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54400
+ args: args79,
54401
+ tool: async (client, args80, ctx) => {
54402
+ const [result, apiCall] = await universalWrapEth(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53957
54403
  if (!result.ok) {
53958
54404
  return {
53959
54405
  content: [{ type: "text", text: result.error.message }],
@@ -53970,7 +54416,7 @@ it to be traded on DeFi protocols.`,
53970
54416
  function createMCPServer(deps) {
53971
54417
  const server = new McpServer({
53972
54418
  name: "CompassApiSDK",
53973
- version: "0.5.47"
54419
+ version: "0.5.49"
53974
54420
  });
53975
54421
  const client = new CompassApiSDKCore({
53976
54422
  apiKeyAuth: deps.apiKeyAuth,
@@ -53984,6 +54430,7 @@ function createMCPServer(deps) {
53984
54430
  const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
53985
54431
  const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
53986
54432
  const register = { tool, resource, resourceTemplate, prompt };
54433
+ tool(tool$aaveV3AaveSupportedTokens);
53987
54434
  tool(tool$aaveV3Rate);
53988
54435
  tool(tool$aaveV3AvgRate);
53989
54436
  tool(tool$aaveV3StdRate);
@@ -54054,6 +54501,7 @@ function createMCPServer(deps) {
54054
54501
  tool(tool$pendleRedeemYield);
54055
54502
  tool(tool$pendleAddLiquidity);
54056
54503
  tool(tool$pendleRemoveLiquidity);
54504
+ tool(tool$swapOdos);
54057
54505
  tool(tool$transactionBundlerBundlerAuthorization);
54058
54506
  tool(tool$transactionBundlerBundlerExecute);
54059
54507
  tool(tool$transactionBundlerBundlerAaveLoop);
@@ -54068,6 +54516,7 @@ var init_server2 = __esm(() => {
54068
54516
  init_core();
54069
54517
  init_resources();
54070
54518
  init_tools();
54519
+ init_aaveV3AaveSupportedTokens2();
54071
54520
  init_aaveV3AvgRate2();
54072
54521
  init_aaveV3Borrow2();
54073
54522
  init_aaveV3HistoricalTransactions2();
@@ -54120,6 +54569,7 @@ var init_server2 = __esm(() => {
54120
54569
  init_skySell2();
54121
54570
  init_skyWithdraw2();
54122
54571
  init_smartAccountAccountBatchedUserOperations2();
54572
+ init_swapOdos2();
54123
54573
  init_tokenAddress2();
54124
54574
  init_tokenBalance2();
54125
54575
  init_tokenPrice2();
@@ -55340,7 +55790,7 @@ var routes = ln({
55340
55790
  var app = _e(routes, {
55341
55791
  name: "mcp",
55342
55792
  versionInfo: {
55343
- currentVersion: "0.5.47"
55793
+ currentVersion: "0.5.49"
55344
55794
  }
55345
55795
  });
55346
55796
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -55348,5 +55798,5 @@ export {
55348
55798
  app
55349
55799
  };
55350
55800
 
55351
- //# debugId=BBB93F37F7A9E51064756E2164756E21
55801
+ //# debugId=4B054E79943581CE64756E2164756E21
55352
55802
  //# sourceMappingURL=mcp-server.js.map