@compass-labs/api-sdk 0.5.32 → 0.5.34

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 (146) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +718 -425
  3. package/bin/mcp-server.js.map +22 -15
  4. package/dist/commonjs/funcs/erc4626VaultsVault.d.ts +19 -0
  5. package/dist/commonjs/funcs/erc4626VaultsVault.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/erc4626VaultsVault.js +125 -0
  7. package/dist/commonjs/funcs/erc4626VaultsVault.js.map +1 -0
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  12. package/dist/commonjs/mcp-server/server.js +3 -1
  13. package/dist/commonjs/mcp-server/server.js.map +1 -1
  14. package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.d.ts +8 -0
  15. package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.d.ts.map +1 -0
  16. package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.js +64 -0
  17. package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.js.map +1 -0
  18. package/dist/commonjs/models/components/apy.d.ts +33 -0
  19. package/dist/commonjs/models/components/apy.d.ts.map +1 -0
  20. package/dist/commonjs/models/components/apy.js +88 -0
  21. package/dist/commonjs/models/components/apy.js.map +1 -0
  22. package/dist/commonjs/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.d.ts +35 -0
  23. package/dist/commonjs/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.d.ts.map +1 -0
  24. package/dist/commonjs/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.js +75 -0
  25. package/dist/commonjs/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.js.map +1 -0
  26. package/dist/commonjs/models/components/index.d.ts +4 -0
  27. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  28. package/dist/commonjs/models/components/index.js +4 -0
  29. package/dist/commonjs/models/components/index.js.map +1 -1
  30. package/dist/commonjs/models/components/userposition.d.ts +31 -0
  31. package/dist/commonjs/models/components/userposition.d.ts.map +1 -0
  32. package/dist/commonjs/models/components/userposition.js +80 -0
  33. package/dist/commonjs/models/components/userposition.js.map +1 -0
  34. package/dist/commonjs/models/components/vaultgetvaultresponse.d.ts +69 -0
  35. package/dist/commonjs/models/components/vaultgetvaultresponse.d.ts.map +1 -0
  36. package/dist/commonjs/models/components/vaultgetvaultresponse.js +103 -0
  37. package/dist/commonjs/models/components/vaultgetvaultresponse.js.map +1 -0
  38. package/dist/commonjs/models/operations/index.d.ts +1 -0
  39. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/index.js +1 -0
  41. package/dist/commonjs/models/operations/index.js.map +1 -1
  42. package/dist/commonjs/models/operations/morphomarket.js +4 -4
  43. package/dist/commonjs/models/operations/morphomarket.js.map +1 -1
  44. package/dist/commonjs/models/operations/morphomarketposition.js +6 -6
  45. package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
  46. package/dist/commonjs/models/operations/morphomarkets.js +2 -2
  47. package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
  48. package/dist/commonjs/models/operations/morphouserposition.js +4 -4
  49. package/dist/commonjs/models/operations/morphouserposition.js.map +1 -1
  50. package/dist/commonjs/models/operations/morphovault.js +4 -4
  51. package/dist/commonjs/models/operations/morphovault.js.map +1 -1
  52. package/dist/commonjs/models/operations/morphovaultposition.js +6 -6
  53. package/dist/commonjs/models/operations/morphovaultposition.js.map +1 -1
  54. package/dist/commonjs/models/operations/morphovaults.js +2 -2
  55. package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
  56. package/dist/commonjs/models/operations/vaultsvault.d.ts +82 -0
  57. package/dist/commonjs/models/operations/vaultsvault.d.ts.map +1 -0
  58. package/dist/commonjs/models/operations/vaultsvault.js +109 -0
  59. package/dist/commonjs/models/operations/vaultsvault.js.map +1 -0
  60. package/dist/commonjs/sdk/erc4626vaults.d.ts +8 -0
  61. package/dist/commonjs/sdk/erc4626vaults.d.ts.map +1 -1
  62. package/dist/commonjs/sdk/erc4626vaults.js +10 -0
  63. package/dist/commonjs/sdk/erc4626vaults.js.map +1 -1
  64. package/dist/esm/funcs/erc4626VaultsVault.d.ts +19 -0
  65. package/dist/esm/funcs/erc4626VaultsVault.d.ts.map +1 -0
  66. package/dist/esm/funcs/erc4626VaultsVault.js +89 -0
  67. package/dist/esm/funcs/erc4626VaultsVault.js.map +1 -0
  68. package/dist/esm/lib/config.d.ts +2 -2
  69. package/dist/esm/lib/config.js +2 -2
  70. package/dist/esm/mcp-server/mcp-server.js +1 -1
  71. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  72. package/dist/esm/mcp-server/server.js +3 -1
  73. package/dist/esm/mcp-server/server.js.map +1 -1
  74. package/dist/esm/mcp-server/tools/erc4626VaultsVault.d.ts +8 -0
  75. package/dist/esm/mcp-server/tools/erc4626VaultsVault.d.ts.map +1 -0
  76. package/dist/esm/mcp-server/tools/erc4626VaultsVault.js +28 -0
  77. package/dist/esm/mcp-server/tools/erc4626VaultsVault.js.map +1 -0
  78. package/dist/esm/models/components/apy.d.ts +33 -0
  79. package/dist/esm/models/components/apy.d.ts.map +1 -0
  80. package/dist/esm/models/components/apy.js +50 -0
  81. package/dist/esm/models/components/apy.js.map +1 -0
  82. package/dist/esm/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.d.ts +35 -0
  83. package/dist/esm/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.d.ts.map +1 -0
  84. package/dist/esm/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.js +37 -0
  85. package/dist/esm/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.js.map +1 -0
  86. package/dist/esm/models/components/index.d.ts +4 -0
  87. package/dist/esm/models/components/index.d.ts.map +1 -1
  88. package/dist/esm/models/components/index.js +4 -0
  89. package/dist/esm/models/components/index.js.map +1 -1
  90. package/dist/esm/models/components/userposition.d.ts +31 -0
  91. package/dist/esm/models/components/userposition.d.ts.map +1 -0
  92. package/dist/esm/models/components/userposition.js +42 -0
  93. package/dist/esm/models/components/userposition.js.map +1 -0
  94. package/dist/esm/models/components/vaultgetvaultresponse.d.ts +69 -0
  95. package/dist/esm/models/components/vaultgetvaultresponse.d.ts.map +1 -0
  96. package/dist/esm/models/components/vaultgetvaultresponse.js +65 -0
  97. package/dist/esm/models/components/vaultgetvaultresponse.js.map +1 -0
  98. package/dist/esm/models/operations/index.d.ts +1 -0
  99. package/dist/esm/models/operations/index.d.ts.map +1 -1
  100. package/dist/esm/models/operations/index.js +1 -0
  101. package/dist/esm/models/operations/index.js.map +1 -1
  102. package/dist/esm/models/operations/morphomarket.js +4 -4
  103. package/dist/esm/models/operations/morphomarket.js.map +1 -1
  104. package/dist/esm/models/operations/morphomarketposition.js +6 -6
  105. package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
  106. package/dist/esm/models/operations/morphomarkets.js +2 -2
  107. package/dist/esm/models/operations/morphomarkets.js.map +1 -1
  108. package/dist/esm/models/operations/morphouserposition.js +4 -4
  109. package/dist/esm/models/operations/morphouserposition.js.map +1 -1
  110. package/dist/esm/models/operations/morphovault.js +4 -4
  111. package/dist/esm/models/operations/morphovault.js.map +1 -1
  112. package/dist/esm/models/operations/morphovaultposition.js +6 -6
  113. package/dist/esm/models/operations/morphovaultposition.js.map +1 -1
  114. package/dist/esm/models/operations/morphovaults.js +2 -2
  115. package/dist/esm/models/operations/morphovaults.js.map +1 -1
  116. package/dist/esm/models/operations/vaultsvault.d.ts +82 -0
  117. package/dist/esm/models/operations/vaultsvault.d.ts.map +1 -0
  118. package/dist/esm/models/operations/vaultsvault.js +71 -0
  119. package/dist/esm/models/operations/vaultsvault.js.map +1 -0
  120. package/dist/esm/sdk/erc4626vaults.d.ts +8 -0
  121. package/dist/esm/sdk/erc4626vaults.d.ts.map +1 -1
  122. package/dist/esm/sdk/erc4626vaults.js +10 -0
  123. package/dist/esm/sdk/erc4626vaults.js.map +1 -1
  124. package/docs/sdks/erc4626vaults/README.md +70 -0
  125. package/jsr.json +1 -1
  126. package/package.json +1 -1
  127. package/src/funcs/erc4626VaultsVault.ts +177 -0
  128. package/src/lib/config.ts +2 -2
  129. package/src/mcp-server/mcp-server.ts +1 -1
  130. package/src/mcp-server/server.ts +3 -1
  131. package/src/mcp-server/tools/erc4626VaultsVault.ts +37 -0
  132. package/src/models/components/apy.ts +77 -0
  133. package/src/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.ts +92 -0
  134. package/src/models/components/index.ts +4 -0
  135. package/src/models/components/userposition.ts +75 -0
  136. package/src/models/components/vaultgetvaultresponse.ts +152 -0
  137. package/src/models/operations/index.ts +1 -0
  138. package/src/models/operations/morphomarket.ts +4 -4
  139. package/src/models/operations/morphomarketposition.ts +6 -6
  140. package/src/models/operations/morphomarkets.ts +2 -2
  141. package/src/models/operations/morphouserposition.ts +4 -4
  142. package/src/models/operations/morphovault.ts +4 -4
  143. package/src/models/operations/morphovaultposition.ts +6 -6
  144. package/src/models/operations/morphovaults.ts +2 -2
  145. package/src/models/operations/vaultsvault.ts +140 -0
  146. package/src/sdk/erc4626vaults.ts +19 -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.32",
34267
+ sdkVersion: "0.5.34",
34268
34268
  genVersion: "2.640.2",
34269
- userAgent: "speakeasy-sdk/typescript 0.5.32 2.640.2 0.0.1 @compass-labs/api-sdk"
34269
+ userAgent: "speakeasy-sdk/typescript 0.5.34 2.640.2 0.0.1 @compass-labs/api-sdk"
34270
34270
  };
34271
34271
  });
34272
34272
 
@@ -37722,6 +37722,39 @@ var init_allowanceinforesponse = __esm(() => {
37722
37722
  })(AllowanceInfoResponse$ ||= {});
37723
37723
  });
37724
37724
 
37725
+ // src/models/components/apy.ts
37726
+ var Apy$inboundSchema, Apy$outboundSchema, Apy$;
37727
+ var init_apy = __esm(() => {
37728
+ init_esm();
37729
+ init_primitives();
37730
+ Apy$inboundSchema = objectType({
37731
+ apy_1_day: stringType(),
37732
+ apy_7_day: stringType(),
37733
+ apy_30_day: stringType()
37734
+ }).transform((v2) => {
37735
+ return remap(v2, {
37736
+ apy_1_day: "apy1Day",
37737
+ apy_7_day: "apy7Day",
37738
+ apy_30_day: "apy30Day"
37739
+ });
37740
+ });
37741
+ Apy$outboundSchema = objectType({
37742
+ apy1Day: stringType(),
37743
+ apy7Day: stringType(),
37744
+ apy30Day: stringType()
37745
+ }).transform((v2) => {
37746
+ return remap(v2, {
37747
+ apy1Day: "apy_1_day",
37748
+ apy7Day: "apy_7_day",
37749
+ apy30Day: "apy_30_day"
37750
+ });
37751
+ });
37752
+ ((Apy$) => {
37753
+ Apy$.inboundSchema = Apy$inboundSchema;
37754
+ Apy$.outboundSchema = Apy$outboundSchema;
37755
+ })(Apy$ ||= {});
37756
+ });
37757
+
37725
37758
  // src/models/components/morphoborrowparams.ts
37726
37759
  var MorphoBorrowParamsAmount$inboundSchema, MorphoBorrowParamsAmount$outboundSchema, MorphoBorrowParamsAmount$, MorphoBorrowParams$inboundSchema, MorphoBorrowParams$outboundSchema, MorphoBorrowParams$;
37727
37760
  var init_morphoborrowparams = __esm(() => {
@@ -39817,6 +39850,28 @@ var init_compassapibackendmodelspendlereadresponsepositionstokenbalance = __esm(
39817
39850
  })(CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$ ||= {});
39818
39851
  });
39819
39852
 
39853
+ // src/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.ts
39854
+ var CompassApiBackendModelsVaultsReadResponseVaultAsset$inboundSchema, CompassApiBackendModelsVaultsReadResponseVaultAsset$outboundSchema, CompassApiBackendModelsVaultsReadResponseVaultAsset$;
39855
+ var init_compassapibackendmodelsvaultsreadresponsevaultasset = __esm(() => {
39856
+ init_esm();
39857
+ CompassApiBackendModelsVaultsReadResponseVaultAsset$inboundSchema = objectType({
39858
+ address: stringType(),
39859
+ name: stringType(),
39860
+ symbol: stringType(),
39861
+ decimals: numberType().int()
39862
+ });
39863
+ CompassApiBackendModelsVaultsReadResponseVaultAsset$outboundSchema = objectType({
39864
+ address: stringType(),
39865
+ name: stringType(),
39866
+ symbol: stringType(),
39867
+ decimals: numberType().int()
39868
+ });
39869
+ ((CompassApiBackendModelsVaultsReadResponseVaultAsset$) => {
39870
+ CompassApiBackendModelsVaultsReadResponseVaultAsset$.inboundSchema = CompassApiBackendModelsVaultsReadResponseVaultAsset$inboundSchema;
39871
+ CompassApiBackendModelsVaultsReadResponseVaultAsset$.outboundSchema = CompassApiBackendModelsVaultsReadResponseVaultAsset$outboundSchema;
39872
+ })(CompassApiBackendModelsVaultsReadResponseVaultAsset$ ||= {});
39873
+ });
39874
+
39820
39875
  // src/models/components/curator.ts
39821
39876
  var Curator$inboundSchema, Curator$outboundSchema, Curator$;
39822
39877
  var init_curator = __esm(() => {
@@ -42490,6 +42545,33 @@ var init_unwrapwethrequest = __esm(() => {
42490
42545
  })(UnwrapWethRequest$ ||= {});
42491
42546
  });
42492
42547
 
42548
+ // src/models/components/userposition.ts
42549
+ var UserPosition$inboundSchema, UserPosition$outboundSchema, UserPosition$;
42550
+ var init_userposition = __esm(() => {
42551
+ init_esm();
42552
+ init_primitives();
42553
+ UserPosition$inboundSchema = objectType({
42554
+ shares: numberType().int(),
42555
+ token_amount: stringType()
42556
+ }).transform((v2) => {
42557
+ return remap(v2, {
42558
+ token_amount: "tokenAmount"
42559
+ });
42560
+ });
42561
+ UserPosition$outboundSchema = objectType({
42562
+ shares: numberType().int(),
42563
+ tokenAmount: stringType()
42564
+ }).transform((v2) => {
42565
+ return remap(v2, {
42566
+ tokenAmount: "token_amount"
42567
+ });
42568
+ });
42569
+ ((UserPosition$) => {
42570
+ UserPosition$.inboundSchema = UserPosition$inboundSchema;
42571
+ UserPosition$.outboundSchema = UserPosition$outboundSchema;
42572
+ })(UserPosition$ ||= {});
42573
+ });
42574
+
42493
42575
  // src/models/components/validationerror.ts
42494
42576
  var Loc$inboundSchema, Loc$outboundSchema, Loc$, ValidationError$inboundSchema, ValidationError$outboundSchema, ValidationError$;
42495
42577
  var init_validationerror = __esm(() => {
@@ -42560,6 +42642,56 @@ var init_vaultdepositrequest = __esm(() => {
42560
42642
  })(VaultDepositRequest$ ||= {});
42561
42643
  });
42562
42644
 
42645
+ // src/models/components/vaultgetvaultresponse.ts
42646
+ var VaultGetVaultResponse$inboundSchema, VaultGetVaultResponse$outboundSchema, VaultGetVaultResponse$;
42647
+ var init_vaultgetvaultresponse = __esm(() => {
42648
+ init_esm();
42649
+ init_primitives();
42650
+ init_apy();
42651
+ init_compassapibackendmodelsvaultsreadresponsevaultasset();
42652
+ init_userposition();
42653
+ VaultGetVaultResponse$inboundSchema = objectType({
42654
+ name: stringType(),
42655
+ symbol: stringType(),
42656
+ decimals: numberType().int(),
42657
+ total_assets: stringType(),
42658
+ total_supply: stringType(),
42659
+ share_price: stringType(),
42660
+ asset: CompassApiBackendModelsVaultsReadResponseVaultAsset$inboundSchema,
42661
+ apy: Apy$inboundSchema,
42662
+ user_position: nullableType(UserPosition$inboundSchema)
42663
+ }).transform((v2) => {
42664
+ return remap(v2, {
42665
+ total_assets: "totalAssets",
42666
+ total_supply: "totalSupply",
42667
+ share_price: "sharePrice",
42668
+ user_position: "userPosition"
42669
+ });
42670
+ });
42671
+ VaultGetVaultResponse$outboundSchema = objectType({
42672
+ name: stringType(),
42673
+ symbol: stringType(),
42674
+ decimals: numberType().int(),
42675
+ totalAssets: stringType(),
42676
+ totalSupply: stringType(),
42677
+ sharePrice: stringType(),
42678
+ asset: CompassApiBackendModelsVaultsReadResponseVaultAsset$outboundSchema,
42679
+ apy: Apy$outboundSchema,
42680
+ userPosition: nullableType(UserPosition$outboundSchema)
42681
+ }).transform((v2) => {
42682
+ return remap(v2, {
42683
+ totalAssets: "total_assets",
42684
+ totalSupply: "total_supply",
42685
+ sharePrice: "share_price",
42686
+ userPosition: "user_position"
42687
+ });
42688
+ });
42689
+ ((VaultGetVaultResponse$) => {
42690
+ VaultGetVaultResponse$.inboundSchema = VaultGetVaultResponse$inboundSchema;
42691
+ VaultGetVaultResponse$.outboundSchema = VaultGetVaultResponse$outboundSchema;
42692
+ })(VaultGetVaultResponse$ ||= {});
42693
+ });
42694
+
42563
42695
  // src/models/components/vaultwithdrawrequest.ts
42564
42696
  var VaultWithdrawRequest$inboundSchema, VaultWithdrawRequest$outboundSchema, VaultWithdrawRequest$;
42565
42697
  var init_vaultwithdrawrequest = __esm(() => {
@@ -42670,6 +42802,7 @@ var init_components = __esm(() => {
42670
42802
  init_aerodromeslipstreamwithdrawliquidityprovisionparams();
42671
42803
  init_aerodromeslipstreamwithdrawliquidityprovisionrequest();
42672
42804
  init_allowanceinforesponse();
42805
+ init_apy();
42673
42806
  init_batcheduseroperationsrequest();
42674
42807
  init_batcheduseroperationsresponse();
42675
42808
  init_borrow();
@@ -42690,6 +42823,7 @@ var init_components = __esm(() => {
42690
42823
  init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate();
42691
42824
  init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate();
42692
42825
  init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
42826
+ init_compassapibackendmodelsvaultsreadresponsevaultasset();
42693
42827
  init_curator();
42694
42828
  init_details();
42695
42829
  init_ensnameinforesponse();
@@ -42801,10 +42935,12 @@ var init_components = __esm(() => {
42801
42935
  init_usageascollateral();
42802
42936
  init_useroperation();
42803
42937
  init_useroperationresponse();
42938
+ init_userposition();
42804
42939
  init_userstate();
42805
42940
  init_validationerror();
42806
42941
  init_vault();
42807
42942
  init_vaultdepositrequest();
42943
+ init_vaultgetvaultresponse();
42808
42944
  init_vaultposition();
42809
42945
  init_vaultwithdrawrequest();
42810
42946
  init_weeklyapys();
@@ -43917,16 +44053,16 @@ var init_morphomarket2 = __esm(() => {
43917
44053
  MorphoMarketChain$.outboundSchema = MorphoMarketChain$outboundSchema;
43918
44054
  })(MorphoMarketChain$ ||= {});
43919
44055
  MorphoMarketRequest$inboundSchema = objectType({
43920
- chain: MorphoMarketChain$inboundSchema.default("ethereum:mainnet"),
43921
- unique_market_key: stringType().default("0x83b7ad16905809ea36482f4fbf6cfee9c9f316d128de9a5da1952607d5e4df5e")
44056
+ chain: MorphoMarketChain$inboundSchema.default("base:mainnet"),
44057
+ unique_market_key: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
43922
44058
  }).transform((v2) => {
43923
44059
  return remap(v2, {
43924
44060
  unique_market_key: "uniqueMarketKey"
43925
44061
  });
43926
44062
  });
43927
44063
  MorphoMarketRequest$outboundSchema = objectType({
43928
- chain: MorphoMarketChain$outboundSchema.default("ethereum:mainnet"),
43929
- uniqueMarketKey: stringType().default("0x83b7ad16905809ea36482f4fbf6cfee9c9f316d128de9a5da1952607d5e4df5e")
44064
+ chain: MorphoMarketChain$outboundSchema.default("base:mainnet"),
44065
+ uniqueMarketKey: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
43930
44066
  }).transform((v2) => {
43931
44067
  return remap(v2, {
43932
44068
  uniqueMarketKey: "unique_market_key"
@@ -43954,9 +44090,9 @@ var init_morphomarketposition = __esm(() => {
43954
44090
  MorphoMarketPositionChain$.outboundSchema = MorphoMarketPositionChain$outboundSchema;
43955
44091
  })(MorphoMarketPositionChain$ ||= {});
43956
44092
  MorphoMarketPositionRequest$inboundSchema = objectType({
43957
- chain: MorphoMarketPositionChain$inboundSchema.default("ethereum:mainnet"),
43958
- user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
43959
- unique_market_key: stringType().default("0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4")
44093
+ chain: MorphoMarketPositionChain$inboundSchema.default("base:mainnet"),
44094
+ user_address: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4"),
44095
+ unique_market_key: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
43960
44096
  }).transform((v2) => {
43961
44097
  return remap(v2, {
43962
44098
  user_address: "userAddress",
@@ -43964,9 +44100,9 @@ var init_morphomarketposition = __esm(() => {
43964
44100
  });
43965
44101
  });
43966
44102
  MorphoMarketPositionRequest$outboundSchema = objectType({
43967
- chain: MorphoMarketPositionChain$outboundSchema.default("ethereum:mainnet"),
43968
- userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
43969
- uniqueMarketKey: stringType().default("0xe7399fdebc318d76dfec7356caafcf8cd4b91287e139a3ec423f09aeeb656fc4")
44103
+ chain: MorphoMarketPositionChain$outboundSchema.default("base:mainnet"),
44104
+ userAddress: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4"),
44105
+ uniqueMarketKey: stringType().default("0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5")
43970
44106
  }).transform((v2) => {
43971
44107
  return remap(v2, {
43972
44108
  userAddress: "user_address",
@@ -43995,7 +44131,7 @@ var init_morphomarkets = __esm(() => {
43995
44131
  MorphoMarketsChain$.outboundSchema = MorphoMarketsChain$outboundSchema;
43996
44132
  })(MorphoMarketsChain$ ||= {});
43997
44133
  MorphoMarketsRequest$inboundSchema = objectType({
43998
- chain: MorphoMarketsChain$inboundSchema.default("ethereum:mainnet"),
44134
+ chain: MorphoMarketsChain$inboundSchema.default("base:mainnet"),
43999
44135
  collateral_token: nullableType(stringType()).optional(),
44000
44136
  loan_token: nullableType(stringType()).optional()
44001
44137
  }).transform((v2) => {
@@ -44005,7 +44141,7 @@ var init_morphomarkets = __esm(() => {
44005
44141
  });
44006
44142
  });
44007
44143
  MorphoMarketsRequest$outboundSchema = objectType({
44008
- chain: MorphoMarketsChain$outboundSchema.default("ethereum:mainnet"),
44144
+ chain: MorphoMarketsChain$outboundSchema.default("base:mainnet"),
44009
44145
  collateralToken: nullableType(stringType()).optional(),
44010
44146
  loanToken: nullableType(stringType()).optional()
44011
44147
  }).transform((v2) => {
@@ -44036,16 +44172,16 @@ var init_morphouserposition = __esm(() => {
44036
44172
  MorphoUserPositionChain$.outboundSchema = MorphoUserPositionChain$outboundSchema;
44037
44173
  })(MorphoUserPositionChain$ ||= {});
44038
44174
  MorphoUserPositionRequest$inboundSchema = objectType({
44039
- chain: MorphoUserPositionChain$inboundSchema.default("ethereum:mainnet"),
44040
- user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
44175
+ chain: MorphoUserPositionChain$inboundSchema.default("base:mainnet"),
44176
+ user_address: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4")
44041
44177
  }).transform((v2) => {
44042
44178
  return remap(v2, {
44043
44179
  user_address: "userAddress"
44044
44180
  });
44045
44181
  });
44046
44182
  MorphoUserPositionRequest$outboundSchema = objectType({
44047
- chain: MorphoUserPositionChain$outboundSchema.default("ethereum:mainnet"),
44048
- userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B")
44183
+ chain: MorphoUserPositionChain$outboundSchema.default("base:mainnet"),
44184
+ userAddress: stringType().default("0x81d310Eb515E05EB26322e2DeDE9e75b754885A4")
44049
44185
  }).transform((v2) => {
44050
44186
  return remap(v2, {
44051
44187
  userAddress: "user_address"
@@ -44073,16 +44209,16 @@ var init_morphovault2 = __esm(() => {
44073
44209
  MorphoVaultChain$.outboundSchema = MorphoVaultChain$outboundSchema;
44074
44210
  })(MorphoVaultChain$ ||= {});
44075
44211
  MorphoVaultRequest$inboundSchema = objectType({
44076
- chain: MorphoVaultChain$inboundSchema.default("ethereum:mainnet"),
44077
- vault_address: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
44212
+ chain: MorphoVaultChain$inboundSchema.default("base:mainnet"),
44213
+ vault_address: stringType().default("0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca")
44078
44214
  }).transform((v2) => {
44079
44215
  return remap(v2, {
44080
44216
  vault_address: "vaultAddress"
44081
44217
  });
44082
44218
  });
44083
44219
  MorphoVaultRequest$outboundSchema = objectType({
44084
- chain: MorphoVaultChain$outboundSchema.default("ethereum:mainnet"),
44085
- vaultAddress: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
44220
+ chain: MorphoVaultChain$outboundSchema.default("base:mainnet"),
44221
+ vaultAddress: stringType().default("0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca")
44086
44222
  }).transform((v2) => {
44087
44223
  return remap(v2, {
44088
44224
  vaultAddress: "vault_address"
@@ -44110,9 +44246,9 @@ var init_morphovaultposition = __esm(() => {
44110
44246
  MorphoVaultPositionChain$.outboundSchema = MorphoVaultPositionChain$outboundSchema;
44111
44247
  })(MorphoVaultPositionChain$ ||= {});
44112
44248
  MorphoVaultPositionRequest$inboundSchema = objectType({
44113
- chain: MorphoVaultPositionChain$inboundSchema.default("ethereum:mainnet"),
44114
- user_address: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
44115
- vault_address: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
44249
+ chain: MorphoVaultPositionChain$inboundSchema.default("base:mainnet"),
44250
+ user_address: stringType().default("0xB3B45f5aCBb58a432BDe58724c1C959E11D5A418"),
44251
+ vault_address: stringType().default("0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca")
44116
44252
  }).transform((v2) => {
44117
44253
  return remap(v2, {
44118
44254
  user_address: "userAddress",
@@ -44120,9 +44256,9 @@ var init_morphovaultposition = __esm(() => {
44120
44256
  });
44121
44257
  });
44122
44258
  MorphoVaultPositionRequest$outboundSchema = objectType({
44123
- chain: MorphoVaultPositionChain$outboundSchema.default("ethereum:mainnet"),
44124
- userAddress: stringType().default("0xa829B388A3DF7f581cE957a95edbe419dd146d1B"),
44125
- vaultAddress: stringType().default("0xbEef047a543E45807105E51A8BBEFCc5950fcfBa")
44259
+ chain: MorphoVaultPositionChain$outboundSchema.default("base:mainnet"),
44260
+ userAddress: stringType().default("0xB3B45f5aCBb58a432BDe58724c1C959E11D5A418"),
44261
+ vaultAddress: stringType().default("0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca")
44126
44262
  }).transform((v2) => {
44127
44263
  return remap(v2, {
44128
44264
  userAddress: "user_address",
@@ -44151,7 +44287,7 @@ var init_morphovaults = __esm(() => {
44151
44287
  MorphoVaultsChain$.outboundSchema = MorphoVaultsChain$outboundSchema;
44152
44288
  })(MorphoVaultsChain$ ||= {});
44153
44289
  MorphoVaultsRequest$inboundSchema = objectType({
44154
- chain: MorphoVaultsChain$inboundSchema.default("ethereum:mainnet"),
44290
+ chain: MorphoVaultsChain$inboundSchema.default("base:mainnet"),
44155
44291
  deposit_token: nullableType(stringType()).optional()
44156
44292
  }).transform((v2) => {
44157
44293
  return remap(v2, {
@@ -44159,7 +44295,7 @@ var init_morphovaults = __esm(() => {
44159
44295
  });
44160
44296
  });
44161
44297
  MorphoVaultsRequest$outboundSchema = objectType({
44162
- chain: MorphoVaultsChain$outboundSchema.default("ethereum:mainnet"),
44298
+ chain: MorphoVaultsChain$outboundSchema.default("base:mainnet"),
44163
44299
  depositToken: nullableType(stringType()).optional()
44164
44300
  }).transform((v2) => {
44165
44301
  return remap(v2, {
@@ -45115,6 +45251,50 @@ var init_uniswapquotesellexactly = __esm(() => {
45115
45251
  })(UniswapQuoteSellExactlyRequest$ ||= {});
45116
45252
  });
45117
45253
 
45254
+ // src/models/operations/vaultsvault.ts
45255
+ var VaultsVaultChain, VaultsVaultChain$inboundSchema, VaultsVaultChain$outboundSchema, VaultsVaultChain$, VaultsVaultRequest$inboundSchema, VaultsVaultRequest$outboundSchema, VaultsVaultRequest$;
45256
+ var init_vaultsvault = __esm(() => {
45257
+ init_esm();
45258
+ init_primitives();
45259
+ VaultsVaultChain = {
45260
+ BaseMainnet: "base:mainnet",
45261
+ EthereumMainnet: "ethereum:mainnet",
45262
+ ArbitrumMainnet: "arbitrum:mainnet"
45263
+ };
45264
+ VaultsVaultChain$inboundSchema = nativeEnumType(VaultsVaultChain);
45265
+ VaultsVaultChain$outboundSchema = VaultsVaultChain$inboundSchema;
45266
+ ((VaultsVaultChain$) => {
45267
+ VaultsVaultChain$.inboundSchema = VaultsVaultChain$inboundSchema;
45268
+ VaultsVaultChain$.outboundSchema = VaultsVaultChain$outboundSchema;
45269
+ })(VaultsVaultChain$ ||= {});
45270
+ VaultsVaultRequest$inboundSchema = objectType({
45271
+ chain: VaultsVaultChain$inboundSchema.default("ethereum:mainnet"),
45272
+ block: nullableType(numberType().int()).optional(),
45273
+ vault_address: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
45274
+ user_address: nullableType(stringType()).optional()
45275
+ }).transform((v2) => {
45276
+ return remap(v2, {
45277
+ vault_address: "vaultAddress",
45278
+ user_address: "userAddress"
45279
+ });
45280
+ });
45281
+ VaultsVaultRequest$outboundSchema = objectType({
45282
+ chain: VaultsVaultChain$outboundSchema.default("ethereum:mainnet"),
45283
+ block: nullableType(numberType().int()).optional(),
45284
+ vaultAddress: stringType().default("0x182863131F9a4630fF9E27830d945B1413e347E8"),
45285
+ userAddress: nullableType(stringType()).optional()
45286
+ }).transform((v2) => {
45287
+ return remap(v2, {
45288
+ vaultAddress: "vault_address",
45289
+ userAddress: "user_address"
45290
+ });
45291
+ });
45292
+ ((VaultsVaultRequest$) => {
45293
+ VaultsVaultRequest$.inboundSchema = VaultsVaultRequest$inboundSchema;
45294
+ VaultsVaultRequest$.outboundSchema = VaultsVaultRequest$outboundSchema;
45295
+ })(VaultsVaultRequest$ ||= {});
45296
+ });
45297
+
45118
45298
  // src/models/operations/index.ts
45119
45299
  var init_operations = __esm(() => {
45120
45300
  init_aaveavgrate();
@@ -45153,6 +45333,7 @@ var init_operations = __esm(() => {
45153
45333
  init_uniswappoolprice();
45154
45334
  init_uniswapquotebuyexactly();
45155
45335
  init_uniswapquotesellexactly();
45336
+ init_vaultsvault();
45156
45337
  });
45157
45338
 
45158
45339
  // src/types/async.ts
@@ -47557,11 +47738,121 @@ Each vault accepts one unique token that can be deposited.`,
47557
47738
  };
47558
47739
  });
47559
47740
 
47560
- // src/funcs/erc4626VaultsWithdraw.ts
47561
- function erc4626VaultsWithdraw(client, request, options) {
47741
+ // src/funcs/erc4626VaultsVault.ts
47742
+ function erc4626VaultsVault(client, request, options) {
47562
47743
  return new APIPromise($do22(client, request, options));
47563
47744
  }
47564
47745
  async function $do22(client, request, options) {
47746
+ const parsed = safeParse(request, (value) => VaultsVaultRequest$outboundSchema.parse(value), "Input validation failed");
47747
+ if (!parsed.ok) {
47748
+ return [parsed, { status: "invalid" }];
47749
+ }
47750
+ const payload = parsed.value;
47751
+ const body = null;
47752
+ const path = pathToFunc("/v0/vaults/vault")();
47753
+ const query = encodeFormQuery({
47754
+ block: payload.block,
47755
+ chain: payload.chain,
47756
+ user_address: payload.user_address,
47757
+ vault_address: payload.vault_address
47758
+ });
47759
+ const headers = new Headers(compactMap({
47760
+ Accept: "application/json"
47761
+ }));
47762
+ const secConfig = await extractSecurity(client._options.apiKeyAuth);
47763
+ const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
47764
+ const requestSecurity = resolveGlobalSecurity(securityInput);
47765
+ const context = {
47766
+ options: client._options,
47767
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
47768
+ operationID: "vaults_vault",
47769
+ oAuth2Scopes: [],
47770
+ resolvedSecurity: requestSecurity,
47771
+ securitySource: client._options.apiKeyAuth,
47772
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
47773
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
47774
+ };
47775
+ const requestRes = client._createRequest(context, {
47776
+ security: requestSecurity,
47777
+ method: "GET",
47778
+ baseURL: options?.serverURL,
47779
+ path,
47780
+ headers,
47781
+ query,
47782
+ body,
47783
+ userAgent: client._options.userAgent,
47784
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
47785
+ }, options);
47786
+ if (!requestRes.ok) {
47787
+ return [requestRes, { status: "invalid" }];
47788
+ }
47789
+ const req = requestRes.value;
47790
+ const doResult = await client._do(req, {
47791
+ context,
47792
+ errorCodes: ["422", "4XX", "5XX"],
47793
+ retryConfig: context.retryConfig,
47794
+ retryCodes: context.retryCodes
47795
+ });
47796
+ if (!doResult.ok) {
47797
+ return [doResult, { status: "request-error", request: req }];
47798
+ }
47799
+ const response = doResult.value;
47800
+ const responseFields = {
47801
+ HttpMeta: { Response: response, Request: req }
47802
+ };
47803
+ const [result] = await match(json(200, VaultGetVaultResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
47804
+ if (!result.ok) {
47805
+ return [result, { status: "complete", request: req, response }];
47806
+ }
47807
+ return [result, { status: "complete", request: req, response }];
47808
+ }
47809
+ var init_erc4626VaultsVault = __esm(() => {
47810
+ init_encodings();
47811
+ init_matchers();
47812
+ init_primitives();
47813
+ init_schemas();
47814
+ init_security();
47815
+ init_url();
47816
+ init_components();
47817
+ init_errors2();
47818
+ init_operations();
47819
+ init_async();
47820
+ });
47821
+
47822
+ // src/mcp-server/tools/erc4626VaultsVault.ts
47823
+ var args22, tool$erc4626VaultsVault;
47824
+ var init_erc4626VaultsVault2 = __esm(() => {
47825
+ init_erc4626VaultsVault();
47826
+ init_operations();
47827
+ init_tools();
47828
+ args22 = {
47829
+ request: VaultsVaultRequest$inboundSchema
47830
+ };
47831
+ tool$erc4626VaultsVault = {
47832
+ name: "ERC-4626-vaults-vault",
47833
+ description: `Get Vault & User Position
47834
+
47835
+ Get Vault & User Position.`,
47836
+ args: args22,
47837
+ tool: async (client, args23, ctx) => {
47838
+ const [result, apiCall] = await erc4626VaultsVault(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47839
+ if (!result.ok) {
47840
+ return {
47841
+ content: [{ type: "text", text: result.error.message }],
47842
+ isError: true
47843
+ };
47844
+ }
47845
+ const value = result.value;
47846
+ return formatResult(value, apiCall);
47847
+ }
47848
+ };
47849
+ });
47850
+
47851
+ // src/funcs/erc4626VaultsWithdraw.ts
47852
+ function erc4626VaultsWithdraw(client, request, options) {
47853
+ return new APIPromise($do23(client, request, options));
47854
+ }
47855
+ async function $do23(client, request, options) {
47565
47856
  const parsed = safeParse(request, (value) => VaultWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
47566
47857
  if (!parsed.ok) {
47567
47858
  return [parsed, { status: "invalid" }];
@@ -47632,12 +47923,12 @@ var init_erc4626VaultsWithdraw = __esm(() => {
47632
47923
  });
47633
47924
 
47634
47925
  // src/mcp-server/tools/erc4626VaultsWithdraw.ts
47635
- var args22, tool$erc4626VaultsWithdraw;
47926
+ var args23, tool$erc4626VaultsWithdraw;
47636
47927
  var init_erc4626VaultsWithdraw2 = __esm(() => {
47637
47928
  init_erc4626VaultsWithdraw();
47638
47929
  init_components();
47639
47930
  init_tools();
47640
- args22 = {
47931
+ args23 = {
47641
47932
  request: VaultWithdrawRequest$inboundSchema
47642
47933
  };
47643
47934
  tool$erc4626VaultsWithdraw = {
@@ -47649,9 +47940,9 @@ Withdraw deposited tokens from a Vault (ERC-4626 Standard).
47649
47940
  The passive yield earned on token deposits is represented by the increased value of
47650
47941
  the shares received upon depositing tokens. Trade in these shares for the tokens you
47651
47942
  deposited plus any accrued yield.`,
47652
- args: args22,
47653
- tool: async (client, args23, ctx) => {
47654
- const [result, apiCall] = await erc4626VaultsWithdraw(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47943
+ args: args23,
47944
+ tool: async (client, args24, ctx) => {
47945
+ const [result, apiCall] = await erc4626VaultsWithdraw(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47655
47946
  if (!result.ok) {
47656
47947
  return {
47657
47948
  content: [{ type: "text", text: result.error.message }],
@@ -47666,9 +47957,9 @@ deposited plus any accrued yield.`,
47666
47957
 
47667
47958
  // src/funcs/morphoBorrow.ts
47668
47959
  function morphoBorrow(client, request, options) {
47669
- return new APIPromise($do23(client, request, options));
47960
+ return new APIPromise($do24(client, request, options));
47670
47961
  }
47671
- async function $do23(client, request, options) {
47962
+ async function $do24(client, request, options) {
47672
47963
  const parsed = safeParse(request, (value) => MorphoBorrowRequest$outboundSchema.parse(value), "Input validation failed");
47673
47964
  if (!parsed.ok) {
47674
47965
  return [parsed, { status: "invalid" }];
@@ -47739,12 +48030,12 @@ var init_morphoBorrow = __esm(() => {
47739
48030
  });
47740
48031
 
47741
48032
  // src/mcp-server/tools/morphoBorrow.ts
47742
- var args23, tool$morphoBorrow;
48033
+ var args24, tool$morphoBorrow;
47743
48034
  var init_morphoBorrow2 = __esm(() => {
47744
48035
  init_morphoBorrow();
47745
48036
  init_components();
47746
48037
  init_tools();
47747
- args23 = {
48038
+ args24 = {
47748
48039
  request: MorphoBorrowRequest$inboundSchema
47749
48040
  };
47750
48041
  tool$morphoBorrow = {
@@ -47760,9 +48051,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
47760
48051
  loan asset. Each market is isolated (meaning risks are contained within each
47761
48052
  individual market), immutable (cannot be changed after deployment), and will persist
47762
48053
  as long as the blockchain it is deployed on is live.`,
47763
- args: args23,
47764
- tool: async (client, args24, ctx) => {
47765
- const [result, apiCall] = await morphoBorrow(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48054
+ args: args24,
48055
+ tool: async (client, args25, ctx) => {
48056
+ const [result, apiCall] = await morphoBorrow(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47766
48057
  if (!result.ok) {
47767
48058
  return {
47768
48059
  content: [{ type: "text", text: result.error.message }],
@@ -47777,9 +48068,9 @@ as long as the blockchain it is deployed on is live.`,
47777
48068
 
47778
48069
  // src/funcs/morphoDeposit.ts
47779
48070
  function morphoDeposit(client, request, options) {
47780
- return new APIPromise($do24(client, request, options));
48071
+ return new APIPromise($do25(client, request, options));
47781
48072
  }
47782
- async function $do24(client, request, options) {
48073
+ async function $do25(client, request, options) {
47783
48074
  const parsed = safeParse(request, (value) => MorphoDepositRequest$outboundSchema.parse(value), "Input validation failed");
47784
48075
  if (!parsed.ok) {
47785
48076
  return [parsed, { status: "invalid" }];
@@ -47850,12 +48141,12 @@ var init_morphoDeposit = __esm(() => {
47850
48141
  });
47851
48142
 
47852
48143
  // src/mcp-server/tools/morphoDeposit.ts
47853
- var args24, tool$morphoDeposit;
48144
+ var args25, tool$morphoDeposit;
47854
48145
  var init_morphoDeposit2 = __esm(() => {
47855
48146
  init_morphoDeposit();
47856
48147
  init_components();
47857
48148
  init_tools();
47858
- args24 = {
48149
+ args25 = {
47859
48150
  request: MorphoDepositRequest$inboundSchema
47860
48151
  };
47861
48152
  tool$morphoDeposit = {
@@ -47873,9 +48164,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
47873
48164
  exposure for all deposited assets so users don't need to make these decisions
47874
48165
  themselves. Users maintain full control over their assets, can monitor the vault's
47875
48166
  state at any time, and withdraw their liquidity at their discretion.`,
47876
- args: args24,
47877
- tool: async (client, args25, ctx) => {
47878
- const [result, apiCall] = await morphoDeposit(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48167
+ args: args25,
48168
+ tool: async (client, args26, ctx) => {
48169
+ const [result, apiCall] = await morphoDeposit(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47879
48170
  if (!result.ok) {
47880
48171
  return {
47881
48172
  content: [{ type: "text", text: result.error.message }],
@@ -47890,9 +48181,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
47890
48181
 
47891
48182
  // src/funcs/morphoMarket.ts
47892
48183
  function morphoMarket(client, request, options) {
47893
- return new APIPromise($do25(client, request, options));
48184
+ return new APIPromise($do26(client, request, options));
47894
48185
  }
47895
- async function $do25(client, request, options) {
48186
+ async function $do26(client, request, options) {
47896
48187
  const parsed = safeParse(request, (value) => MorphoMarketRequest$outboundSchema.parse(value), "Input validation failed");
47897
48188
  if (!parsed.ok) {
47898
48189
  return [parsed, { status: "invalid" }];
@@ -47968,12 +48259,12 @@ var init_morphoMarket = __esm(() => {
47968
48259
  });
47969
48260
 
47970
48261
  // src/mcp-server/tools/morphoMarket.ts
47971
- var args25, tool$morphoMarket;
48262
+ var args26, tool$morphoMarket;
47972
48263
  var init_morphoMarket2 = __esm(() => {
47973
48264
  init_morphoMarket();
47974
48265
  init_operations();
47975
48266
  init_tools();
47976
- args25 = {
48267
+ args26 = {
47977
48268
  request: MorphoMarketRequest$inboundSchema
47978
48269
  };
47979
48270
  tool$morphoMarket = {
@@ -47990,9 +48281,9 @@ Including:
47990
48281
  - Utilization ratio
47991
48282
  - Pertinent metadata
47992
48283
  - Whitelist status`,
47993
- args: args25,
47994
- tool: async (client, args26, ctx) => {
47995
- const [result, apiCall] = await morphoMarket(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48284
+ args: args26,
48285
+ tool: async (client, args27, ctx) => {
48286
+ const [result, apiCall] = await morphoMarket(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47996
48287
  if (!result.ok) {
47997
48288
  return {
47998
48289
  content: [{ type: "text", text: result.error.message }],
@@ -48007,9 +48298,9 @@ Including:
48007
48298
 
48008
48299
  // src/funcs/morphoMarketPosition.ts
48009
48300
  function morphoMarketPosition(client, request, options) {
48010
- return new APIPromise($do26(client, request, options));
48301
+ return new APIPromise($do27(client, request, options));
48011
48302
  }
48012
- async function $do26(client, request, options) {
48303
+ async function $do27(client, request, options) {
48013
48304
  const parsed = safeParse(request, (value) => MorphoMarketPositionRequest$outboundSchema.parse(value), "Input validation failed");
48014
48305
  if (!parsed.ok) {
48015
48306
  return [parsed, { status: "invalid" }];
@@ -48086,12 +48377,12 @@ var init_morphoMarketPosition = __esm(() => {
48086
48377
  });
48087
48378
 
48088
48379
  // src/mcp-server/tools/morphoMarketPosition.ts
48089
- var args26, tool$morphoMarketPosition;
48380
+ var args27, tool$morphoMarketPosition;
48090
48381
  var init_morphoMarketPosition2 = __esm(() => {
48091
48382
  init_morphoMarketPosition();
48092
48383
  init_operations();
48093
48384
  init_tools();
48094
- args26 = {
48385
+ args27 = {
48095
48386
  request: MorphoMarketPositionRequest$inboundSchema
48096
48387
  };
48097
48388
  tool$morphoMarketPosition = {
@@ -48100,9 +48391,9 @@ var init_morphoMarketPosition2 = __esm(() => {
48100
48391
 
48101
48392
  Check how many shares you've borrowed and the equivalent token amount of a given
48102
48393
  market.`,
48103
- args: args26,
48104
- tool: async (client, args27, ctx) => {
48105
- const [result, apiCall] = await morphoMarketPosition(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48394
+ args: args27,
48395
+ tool: async (client, args28, ctx) => {
48396
+ const [result, apiCall] = await morphoMarketPosition(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48106
48397
  if (!result.ok) {
48107
48398
  return {
48108
48399
  content: [{ type: "text", text: result.error.message }],
@@ -48117,9 +48408,9 @@ market.`,
48117
48408
 
48118
48409
  // src/funcs/morphoMarkets.ts
48119
48410
  function morphoMarkets(client, request, options) {
48120
- return new APIPromise($do27(client, request, options));
48411
+ return new APIPromise($do28(client, request, options));
48121
48412
  }
48122
- async function $do27(client, request, options) {
48413
+ async function $do28(client, request, options) {
48123
48414
  const parsed = safeParse(request, (value) => MorphoMarketsRequest$outboundSchema.parse(value), "Input validation failed");
48124
48415
  if (!parsed.ok) {
48125
48416
  return [parsed, { status: "invalid" }];
@@ -48196,12 +48487,12 @@ var init_morphoMarkets = __esm(() => {
48196
48487
  });
48197
48488
 
48198
48489
  // src/mcp-server/tools/morphoMarkets.ts
48199
- var args27, tool$morphoMarkets;
48490
+ var args28, tool$morphoMarkets;
48200
48491
  var init_morphoMarkets2 = __esm(() => {
48201
48492
  init_morphoMarkets();
48202
48493
  init_operations();
48203
48494
  init_tools();
48204
- args27 = {
48495
+ args28 = {
48205
48496
  request: MorphoMarketsRequest$inboundSchema
48206
48497
  };
48207
48498
  tool$morphoMarkets = {
@@ -48212,9 +48503,9 @@ Query a list of markets you can borrow from.
48212
48503
 
48213
48504
  Each market has one unique token that can be borrowed against one unique token that
48214
48505
  can be used as collateral.`,
48215
- args: args27,
48216
- tool: async (client, args28, ctx) => {
48217
- const [result, apiCall] = await morphoMarkets(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48506
+ args: args28,
48507
+ tool: async (client, args29, ctx) => {
48508
+ const [result, apiCall] = await morphoMarkets(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48218
48509
  if (!result.ok) {
48219
48510
  return {
48220
48511
  content: [{ type: "text", text: result.error.message }],
@@ -48229,9 +48520,9 @@ can be used as collateral.`,
48229
48520
 
48230
48521
  // src/funcs/morphoRepay.ts
48231
48522
  function morphoRepay(client, request, options) {
48232
- return new APIPromise($do28(client, request, options));
48523
+ return new APIPromise($do29(client, request, options));
48233
48524
  }
48234
- async function $do28(client, request, options) {
48525
+ async function $do29(client, request, options) {
48235
48526
  const parsed = safeParse(request, (value) => MorphoRepayRequest$outboundSchema.parse(value), "Input validation failed");
48236
48527
  if (!parsed.ok) {
48237
48528
  return [parsed, { status: "invalid" }];
@@ -48302,12 +48593,12 @@ var init_morphoRepay = __esm(() => {
48302
48593
  });
48303
48594
 
48304
48595
  // src/mcp-server/tools/morphoRepay.ts
48305
- var args28, tool$morphoRepay;
48596
+ var args29, tool$morphoRepay;
48306
48597
  var init_morphoRepay2 = __esm(() => {
48307
48598
  init_morphoRepay();
48308
48599
  init_components();
48309
48600
  init_tools();
48310
- args28 = {
48601
+ args29 = {
48311
48602
  request: MorphoRepayRequest$inboundSchema
48312
48603
  };
48313
48604
  tool$morphoRepay = {
@@ -48320,9 +48611,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
48320
48611
  loan asset. Each market is isolated (meaning risks are contained within each
48321
48612
  individual market), immutable (cannot be changed after deployment), and will persist
48322
48613
  as long as the blockchain it is deployed on is live.`,
48323
- args: args28,
48324
- tool: async (client, args29, ctx) => {
48325
- const [result, apiCall] = await morphoRepay(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48614
+ args: args29,
48615
+ tool: async (client, args30, ctx) => {
48616
+ const [result, apiCall] = await morphoRepay(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48326
48617
  if (!result.ok) {
48327
48618
  return {
48328
48619
  content: [{ type: "text", text: result.error.message }],
@@ -48337,9 +48628,9 @@ as long as the blockchain it is deployed on is live.`,
48337
48628
 
48338
48629
  // src/funcs/morphoSupplyCollateral.ts
48339
48630
  function morphoSupplyCollateral(client, request, options) {
48340
- return new APIPromise($do29(client, request, options));
48631
+ return new APIPromise($do30(client, request, options));
48341
48632
  }
48342
- async function $do29(client, request, options) {
48633
+ async function $do30(client, request, options) {
48343
48634
  const parsed = safeParse(request, (value) => MorphoSupplyCollateralRequest$outboundSchema.parse(value), "Input validation failed");
48344
48635
  if (!parsed.ok) {
48345
48636
  return [parsed, { status: "invalid" }];
@@ -48410,12 +48701,12 @@ var init_morphoSupplyCollateral = __esm(() => {
48410
48701
  });
48411
48702
 
48412
48703
  // src/mcp-server/tools/morphoSupplyCollateral.ts
48413
- var args29, tool$morphoSupplyCollateral;
48704
+ var args30, tool$morphoSupplyCollateral;
48414
48705
  var init_morphoSupplyCollateral2 = __esm(() => {
48415
48706
  init_morphoSupplyCollateral();
48416
48707
  init_components();
48417
48708
  init_tools();
48418
- args29 = {
48709
+ args30 = {
48419
48710
  request: MorphoSupplyCollateralRequest$inboundSchema
48420
48711
  };
48421
48712
  tool$morphoSupplyCollateral = {
@@ -48428,9 +48719,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
48428
48719
  loan asset. Each market is isolated (meaning risks are contained within each
48429
48720
  individual market), immutable (cannot be changed after deployment), and will persist
48430
48721
  as long as the blockchain it is deployed on is live.`,
48431
- args: args29,
48432
- tool: async (client, args30, ctx) => {
48433
- const [result, apiCall] = await morphoSupplyCollateral(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48722
+ args: args30,
48723
+ tool: async (client, args31, ctx) => {
48724
+ const [result, apiCall] = await morphoSupplyCollateral(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48434
48725
  if (!result.ok) {
48435
48726
  return {
48436
48727
  content: [{ type: "text", text: result.error.message }],
@@ -48445,9 +48736,9 @@ as long as the blockchain it is deployed on is live.`,
48445
48736
 
48446
48737
  // src/funcs/morphoUserPosition.ts
48447
48738
  function morphoUserPosition(client, request, options) {
48448
- return new APIPromise($do30(client, request, options));
48739
+ return new APIPromise($do31(client, request, options));
48449
48740
  }
48450
- async function $do30(client, request, options) {
48741
+ async function $do31(client, request, options) {
48451
48742
  const parsed = safeParse(request, (value) => MorphoUserPositionRequest$outboundSchema.parse(value), "Input validation failed");
48452
48743
  if (!parsed.ok) {
48453
48744
  return [parsed, { status: "invalid" }];
@@ -48523,12 +48814,12 @@ var init_morphoUserPosition = __esm(() => {
48523
48814
  });
48524
48815
 
48525
48816
  // src/mcp-server/tools/morphoUserPosition.ts
48526
- var args30, tool$morphoUserPosition;
48817
+ var args31, tool$morphoUserPosition;
48527
48818
  var init_morphoUserPosition2 = __esm(() => {
48528
48819
  init_morphoUserPosition();
48529
48820
  init_operations();
48530
48821
  init_tools();
48531
- args30 = {
48822
+ args31 = {
48532
48823
  request: MorphoUserPositionRequest$inboundSchema
48533
48824
  };
48534
48825
  tool$morphoUserPosition = {
@@ -48539,9 +48830,9 @@ Check user's overall position across the entire Morpho ecosystem.
48539
48830
 
48540
48831
  Inlcuding all vault and market position metrics and relavant metadata of said vaults
48541
48832
  and markets.`,
48542
- args: args30,
48543
- tool: async (client, args31, ctx) => {
48544
- const [result, apiCall] = await morphoUserPosition(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48833
+ args: args31,
48834
+ tool: async (client, args32, ctx) => {
48835
+ const [result, apiCall] = await morphoUserPosition(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48545
48836
  if (!result.ok) {
48546
48837
  return {
48547
48838
  content: [{ type: "text", text: result.error.message }],
@@ -48556,9 +48847,9 @@ and markets.`,
48556
48847
 
48557
48848
  // src/funcs/morphoVault.ts
48558
48849
  function morphoVault(client, request, options) {
48559
- return new APIPromise($do31(client, request, options));
48850
+ return new APIPromise($do32(client, request, options));
48560
48851
  }
48561
- async function $do31(client, request, options) {
48852
+ async function $do32(client, request, options) {
48562
48853
  const parsed = safeParse(request, (value) => MorphoVaultRequest$outboundSchema.parse(value), "Input validation failed");
48563
48854
  if (!parsed.ok) {
48564
48855
  return [parsed, { status: "invalid" }];
@@ -48634,12 +48925,12 @@ var init_morphoVault = __esm(() => {
48634
48925
  });
48635
48926
 
48636
48927
  // src/mcp-server/tools/morphoVault.ts
48637
- var args31, tool$morphoVault;
48928
+ var args32, tool$morphoVault;
48638
48929
  var init_morphoVault2 = __esm(() => {
48639
48930
  init_morphoVault();
48640
48931
  init_operations();
48641
48932
  init_tools();
48642
- args31 = {
48933
+ args32 = {
48643
48934
  request: MorphoVaultRequest$inboundSchema
48644
48935
  };
48645
48936
  tool$morphoVault = {
@@ -48654,9 +48945,9 @@ Including:
48654
48945
  - Total liquidity
48655
48946
  - Pertinent metadata
48656
48947
  - Whitelist status`,
48657
- args: args31,
48658
- tool: async (client, args32, ctx) => {
48659
- const [result, apiCall] = await morphoVault(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48948
+ args: args32,
48949
+ tool: async (client, args33, ctx) => {
48950
+ const [result, apiCall] = await morphoVault(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48660
48951
  if (!result.ok) {
48661
48952
  return {
48662
48953
  content: [{ type: "text", text: result.error.message }],
@@ -48671,9 +48962,9 @@ Including:
48671
48962
 
48672
48963
  // src/funcs/morphoVaultPosition.ts
48673
48964
  function morphoVaultPosition(client, request, options) {
48674
- return new APIPromise($do32(client, request, options));
48965
+ return new APIPromise($do33(client, request, options));
48675
48966
  }
48676
- async function $do32(client, request, options) {
48967
+ async function $do33(client, request, options) {
48677
48968
  const parsed = safeParse(request, (value) => MorphoVaultPositionRequest$outboundSchema.parse(value), "Input validation failed");
48678
48969
  if (!parsed.ok) {
48679
48970
  return [parsed, { status: "invalid" }];
@@ -48750,12 +49041,12 @@ var init_morphoVaultPosition = __esm(() => {
48750
49041
  });
48751
49042
 
48752
49043
  // src/mcp-server/tools/morphoVaultPosition.ts
48753
- var args32, tool$morphoVaultPosition;
49044
+ var args33, tool$morphoVaultPosition;
48754
49045
  var init_morphoVaultPosition2 = __esm(() => {
48755
49046
  init_morphoVaultPosition();
48756
49047
  init_operations();
48757
49048
  init_tools();
48758
- args32 = {
49049
+ args33 = {
48759
49050
  request: MorphoVaultPositionRequest$inboundSchema
48760
49051
  };
48761
49052
  tool$morphoVaultPosition = {
@@ -48764,9 +49055,9 @@ var init_morphoVaultPosition2 = __esm(() => {
48764
49055
 
48765
49056
  Check how many shares you own and the equivalent token amount of a given
48766
49057
  vault.`,
48767
- args: args32,
48768
- tool: async (client, args33, ctx) => {
48769
- const [result, apiCall] = await morphoVaultPosition(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49058
+ args: args33,
49059
+ tool: async (client, args34, ctx) => {
49060
+ const [result, apiCall] = await morphoVaultPosition(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48770
49061
  if (!result.ok) {
48771
49062
  return {
48772
49063
  content: [{ type: "text", text: result.error.message }],
@@ -48781,9 +49072,9 @@ vault.`,
48781
49072
 
48782
49073
  // src/funcs/morphoVaults.ts
48783
49074
  function morphoVaults(client, request, options) {
48784
- return new APIPromise($do33(client, request, options));
49075
+ return new APIPromise($do34(client, request, options));
48785
49076
  }
48786
- async function $do33(client, request, options) {
49077
+ async function $do34(client, request, options) {
48787
49078
  const parsed = safeParse(request, (value) => MorphoVaultsRequest$outboundSchema.parse(value), "Input validation failed");
48788
49079
  if (!parsed.ok) {
48789
49080
  return [parsed, { status: "invalid" }];
@@ -48859,12 +49150,12 @@ var init_morphoVaults = __esm(() => {
48859
49150
  });
48860
49151
 
48861
49152
  // src/mcp-server/tools/morphoVaults.ts
48862
- var args33, tool$morphoVaults;
49153
+ var args34, tool$morphoVaults;
48863
49154
  var init_morphoVaults2 = __esm(() => {
48864
49155
  init_morphoVaults();
48865
49156
  init_operations();
48866
49157
  init_tools();
48867
- args33 = {
49158
+ args34 = {
48868
49159
  request: MorphoVaultsRequest$inboundSchema
48869
49160
  };
48870
49161
  tool$morphoVaults = {
@@ -48876,9 +49167,9 @@ Query a list of vaults you can deposit into.
48876
49167
  Each vault has one unique token that can be deposited. In exchange for depositing
48877
49168
  tokens into a vault you receive shares. You earn yield on these shares by their
48878
49169
  exchange value increasing over time.`,
48879
- args: args33,
48880
- tool: async (client, args34, ctx) => {
48881
- const [result, apiCall] = await morphoVaults(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49170
+ args: args34,
49171
+ tool: async (client, args35, ctx) => {
49172
+ const [result, apiCall] = await morphoVaults(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48882
49173
  if (!result.ok) {
48883
49174
  return {
48884
49175
  content: [{ type: "text", text: result.error.message }],
@@ -48893,9 +49184,9 @@ exchange value increasing over time.`,
48893
49184
 
48894
49185
  // src/funcs/morphoWithdraw.ts
48895
49186
  function morphoWithdraw(client, request, options) {
48896
- return new APIPromise($do34(client, request, options));
49187
+ return new APIPromise($do35(client, request, options));
48897
49188
  }
48898
- async function $do34(client, request, options) {
49189
+ async function $do35(client, request, options) {
48899
49190
  const parsed = safeParse(request, (value) => MorphoWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
48900
49191
  if (!parsed.ok) {
48901
49192
  return [parsed, { status: "invalid" }];
@@ -48966,12 +49257,12 @@ var init_morphoWithdraw = __esm(() => {
48966
49257
  });
48967
49258
 
48968
49259
  // src/mcp-server/tools/morphoWithdraw.ts
48969
- var args34, tool$morphoWithdraw;
49260
+ var args35, tool$morphoWithdraw;
48970
49261
  var init_morphoWithdraw2 = __esm(() => {
48971
49262
  init_morphoWithdraw();
48972
49263
  init_components();
48973
49264
  init_tools();
48974
- args34 = {
49265
+ args35 = {
48975
49266
  request: MorphoWithdrawRequest$inboundSchema
48976
49267
  };
48977
49268
  tool$morphoWithdraw = {
@@ -48989,9 +49280,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
48989
49280
  exposure for all deposited assets so users don't need to make these decisions
48990
49281
  themselves. Users maintain full control over their assets, can monitor the vault's
48991
49282
  state at any time, and withdraw their liquidity at their discretion.`,
48992
- args: args34,
48993
- tool: async (client, args35, ctx) => {
48994
- const [result, apiCall] = await morphoWithdraw(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49283
+ args: args35,
49284
+ tool: async (client, args36, ctx) => {
49285
+ const [result, apiCall] = await morphoWithdraw(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48995
49286
  if (!result.ok) {
48996
49287
  return {
48997
49288
  content: [{ type: "text", text: result.error.message }],
@@ -49006,9 +49297,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
49006
49297
 
49007
49298
  // src/funcs/morphoWithdrawCollateral.ts
49008
49299
  function morphoWithdrawCollateral(client, request, options) {
49009
- return new APIPromise($do35(client, request, options));
49300
+ return new APIPromise($do36(client, request, options));
49010
49301
  }
49011
- async function $do35(client, request, options) {
49302
+ async function $do36(client, request, options) {
49012
49303
  const parsed = safeParse(request, (value) => MorphoWithdrawCollateralRequest$outboundSchema.parse(value), "Input validation failed");
49013
49304
  if (!parsed.ok) {
49014
49305
  return [parsed, { status: "invalid" }];
@@ -49079,12 +49370,12 @@ var init_morphoWithdrawCollateral = __esm(() => {
49079
49370
  });
49080
49371
 
49081
49372
  // src/mcp-server/tools/morphoWithdrawCollateral.ts
49082
- var args35, tool$morphoWithdrawCollateral;
49373
+ var args36, tool$morphoWithdrawCollateral;
49083
49374
  var init_morphoWithdrawCollateral2 = __esm(() => {
49084
49375
  init_morphoWithdrawCollateral();
49085
49376
  init_components();
49086
49377
  init_tools();
49087
- args35 = {
49378
+ args36 = {
49088
49379
  request: MorphoWithdrawCollateralRequest$inboundSchema
49089
49380
  };
49090
49381
  tool$morphoWithdrawCollateral = {
@@ -49097,9 +49388,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
49097
49388
  loan asset. Each market is isolated (meaning risks are contained within each
49098
49389
  individual market), immutable (cannot be changed after deployment), and will persist
49099
49390
  as long as the blockchain it is deployed on is live.`,
49100
- args: args35,
49101
- tool: async (client, args36, ctx) => {
49102
- const [result, apiCall] = await morphoWithdrawCollateral(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49391
+ args: args36,
49392
+ tool: async (client, args37, ctx) => {
49393
+ const [result, apiCall] = await morphoWithdrawCollateral(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49103
49394
  if (!result.ok) {
49104
49395
  return {
49105
49396
  content: [{ type: "text", text: result.error.message }],
@@ -49114,9 +49405,9 @@ as long as the blockchain it is deployed on is live.`,
49114
49405
 
49115
49406
  // src/funcs/pendleAddLiquidity.ts
49116
49407
  function pendleAddLiquidity(client, request, options) {
49117
- return new APIPromise($do36(client, request, options));
49408
+ return new APIPromise($do37(client, request, options));
49118
49409
  }
49119
- async function $do36(client, request, options) {
49410
+ async function $do37(client, request, options) {
49120
49411
  const parsed = safeParse(request, (value) => PendleAddLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
49121
49412
  if (!parsed.ok) {
49122
49413
  return [parsed, { status: "invalid" }];
@@ -49187,12 +49478,12 @@ var init_pendleAddLiquidity = __esm(() => {
49187
49478
  });
49188
49479
 
49189
49480
  // src/mcp-server/tools/pendleAddLiquidity.ts
49190
- var args36, tool$pendleAddLiquidity;
49481
+ var args37, tool$pendleAddLiquidity;
49191
49482
  var init_pendleAddLiquidity2 = __esm(() => {
49192
49483
  init_pendleAddLiquidity();
49193
49484
  init_components();
49194
49485
  init_tools();
49195
- args36 = {
49486
+ args37 = {
49196
49487
  request: PendleAddLiquidityRequest$inboundSchema
49197
49488
  };
49198
49489
  tool$pendleAddLiquidity = {
@@ -49203,9 +49494,9 @@ Add liquidity to a Pendle Market to earn yield.
49203
49494
 
49204
49495
  Liquidity is added in the form of the market's Underlying Token. Representation of
49205
49496
  the liquidity received is the market's Liquidity Provider Token (LP).`,
49206
- args: args36,
49207
- tool: async (client, args37, ctx) => {
49208
- const [result, apiCall] = await pendleAddLiquidity(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49497
+ args: args37,
49498
+ tool: async (client, args38, ctx) => {
49499
+ const [result, apiCall] = await pendleAddLiquidity(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49209
49500
  if (!result.ok) {
49210
49501
  return {
49211
49502
  content: [{ type: "text", text: result.error.message }],
@@ -49220,9 +49511,9 @@ the liquidity received is the market's Liquidity Provider Token (LP).`,
49220
49511
 
49221
49512
  // src/funcs/pendleBuyPt.ts
49222
49513
  function pendleBuyPt(client, request, options) {
49223
- return new APIPromise($do37(client, request, options));
49514
+ return new APIPromise($do38(client, request, options));
49224
49515
  }
49225
- async function $do37(client, request, options) {
49516
+ async function $do38(client, request, options) {
49226
49517
  const parsed = safeParse(request, (value) => PendleBuyPtRequest$outboundSchema.parse(value), "Input validation failed");
49227
49518
  if (!parsed.ok) {
49228
49519
  return [parsed, { status: "invalid" }];
@@ -49293,12 +49584,12 @@ var init_pendleBuyPt = __esm(() => {
49293
49584
  });
49294
49585
 
49295
49586
  // src/mcp-server/tools/pendleBuyPt.ts
49296
- var args37, tool$pendleBuyPt;
49587
+ var args38, tool$pendleBuyPt;
49297
49588
  var init_pendleBuyPt2 = __esm(() => {
49298
49589
  init_pendleBuyPt();
49299
49590
  init_components();
49300
49591
  init_tools();
49301
- args37 = {
49592
+ args38 = {
49302
49593
  request: PendleBuyPtRequest$inboundSchema
49303
49594
  };
49304
49595
  tool$pendleBuyPt = {
@@ -49306,9 +49597,9 @@ var init_pendleBuyPt2 = __esm(() => {
49306
49597
  description: `Buy Principal Token (PT)
49307
49598
 
49308
49599
  Buy Principal Token (PT) with market's Underlying Token.`,
49309
- args: args37,
49310
- tool: async (client, args38, ctx) => {
49311
- const [result, apiCall] = await pendleBuyPt(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49600
+ args: args38,
49601
+ tool: async (client, args39, ctx) => {
49602
+ const [result, apiCall] = await pendleBuyPt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49312
49603
  if (!result.ok) {
49313
49604
  return {
49314
49605
  content: [{ type: "text", text: result.error.message }],
@@ -49323,9 +49614,9 @@ Buy Principal Token (PT) with market's Underlying Token.`,
49323
49614
 
49324
49615
  // src/funcs/pendleBuyYt.ts
49325
49616
  function pendleBuyYt(client, request, options) {
49326
- return new APIPromise($do38(client, request, options));
49617
+ return new APIPromise($do39(client, request, options));
49327
49618
  }
49328
- async function $do38(client, request, options) {
49619
+ async function $do39(client, request, options) {
49329
49620
  const parsed = safeParse(request, (value) => PendleBuyYtRequest$outboundSchema.parse(value), "Input validation failed");
49330
49621
  if (!parsed.ok) {
49331
49622
  return [parsed, { status: "invalid" }];
@@ -49396,12 +49687,12 @@ var init_pendleBuyYt = __esm(() => {
49396
49687
  });
49397
49688
 
49398
49689
  // src/mcp-server/tools/pendleBuyYt.ts
49399
- var args38, tool$pendleBuyYt;
49690
+ var args39, tool$pendleBuyYt;
49400
49691
  var init_pendleBuyYt2 = __esm(() => {
49401
49692
  init_pendleBuyYt();
49402
49693
  init_components();
49403
49694
  init_tools();
49404
- args38 = {
49695
+ args39 = {
49405
49696
  request: PendleBuyYtRequest$inboundSchema
49406
49697
  };
49407
49698
  tool$pendleBuyYt = {
@@ -49409,9 +49700,9 @@ var init_pendleBuyYt2 = __esm(() => {
49409
49700
  description: `Buy Yield Token (YT)
49410
49701
 
49411
49702
  Buy Yield Token (YT) with market's Underlying Token.`,
49412
- args: args38,
49413
- tool: async (client, args39, ctx) => {
49414
- const [result, apiCall] = await pendleBuyYt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49703
+ args: args39,
49704
+ tool: async (client, args40, ctx) => {
49705
+ const [result, apiCall] = await pendleBuyYt(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49415
49706
  if (!result.ok) {
49416
49707
  return {
49417
49708
  content: [{ type: "text", text: result.error.message }],
@@ -49426,9 +49717,9 @@ Buy Yield Token (YT) with market's Underlying Token.`,
49426
49717
 
49427
49718
  // src/funcs/pendleMarket.ts
49428
49719
  function pendleMarket(client, request, options) {
49429
- return new APIPromise($do39(client, request, options));
49720
+ return new APIPromise($do40(client, request, options));
49430
49721
  }
49431
- async function $do39(client, request, options) {
49722
+ async function $do40(client, request, options) {
49432
49723
  const parsed = safeParse(request, (value) => PendleMarketRequest$outboundSchema.parse(value), "Input validation failed");
49433
49724
  if (!parsed.ok) {
49434
49725
  return [parsed, { status: "invalid" }];
@@ -49505,12 +49796,12 @@ var init_pendleMarket = __esm(() => {
49505
49796
  });
49506
49797
 
49507
49798
  // src/mcp-server/tools/pendleMarket.ts
49508
- var args39, tool$pendleMarket;
49799
+ var args40, tool$pendleMarket;
49509
49800
  var init_pendleMarket2 = __esm(() => {
49510
49801
  init_pendleMarket();
49511
49802
  init_operations();
49512
49803
  init_tools();
49513
- args39 = {
49804
+ args40 = {
49514
49805
  request: PendleMarketRequest$inboundSchema
49515
49806
  };
49516
49807
  tool$pendleMarket = {
@@ -49518,9 +49809,9 @@ var init_pendleMarket2 = __esm(() => {
49518
49809
  description: `Get Market Data
49519
49810
 
49520
49811
  Get the market's implied APY, maturity date and the associated token data.`,
49521
- args: args39,
49522
- tool: async (client, args40, ctx) => {
49523
- const [result, apiCall] = await pendleMarket(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49812
+ args: args40,
49813
+ tool: async (client, args41, ctx) => {
49814
+ const [result, apiCall] = await pendleMarket(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49524
49815
  if (!result.ok) {
49525
49816
  return {
49526
49817
  content: [{ type: "text", text: result.error.message }],
@@ -49535,9 +49826,9 @@ Get the market's implied APY, maturity date and the associated token data.`,
49535
49826
 
49536
49827
  // src/funcs/pendleMarkets.ts
49537
49828
  function pendleMarkets(client, request, options) {
49538
- return new APIPromise($do40(client, request, options));
49829
+ return new APIPromise($do41(client, request, options));
49539
49830
  }
49540
- async function $do40(client, request, options) {
49831
+ async function $do41(client, request, options) {
49541
49832
  const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
49542
49833
  if (!parsed.ok) {
49543
49834
  return [parsed, { status: "invalid" }];
@@ -49612,12 +49903,12 @@ var init_pendleMarkets = __esm(() => {
49612
49903
  });
49613
49904
 
49614
49905
  // src/mcp-server/tools/pendleMarkets.ts
49615
- var args40, tool$pendleMarkets;
49906
+ var args41, tool$pendleMarkets;
49616
49907
  var init_pendleMarkets2 = __esm(() => {
49617
49908
  init_pendleMarkets();
49618
49909
  init_operations();
49619
49910
  init_tools();
49620
- args40 = {
49911
+ args41 = {
49621
49912
  request: PendleMarketsRequest$inboundSchema
49622
49913
  };
49623
49914
  tool$pendleMarkets = {
@@ -49625,9 +49916,9 @@ var init_pendleMarkets2 = __esm(() => {
49625
49916
  description: `List Market Data
49626
49917
 
49627
49918
  Get a list of active markets.`,
49628
- args: args40,
49629
- tool: async (client, args41, ctx) => {
49630
- const [result, apiCall] = await pendleMarkets(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49919
+ args: args41,
49920
+ tool: async (client, args42, ctx) => {
49921
+ const [result, apiCall] = await pendleMarkets(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49631
49922
  if (!result.ok) {
49632
49923
  return {
49633
49924
  content: [{ type: "text", text: result.error.message }],
@@ -49642,9 +49933,9 @@ Get a list of active markets.`,
49642
49933
 
49643
49934
  // src/funcs/pendlePosition.ts
49644
49935
  function pendlePosition(client, request, options) {
49645
- return new APIPromise($do41(client, request, options));
49936
+ return new APIPromise($do42(client, request, options));
49646
49937
  }
49647
- async function $do41(client, request, options) {
49938
+ async function $do42(client, request, options) {
49648
49939
  const parsed = safeParse(request, (value) => PendlePositionRequest$outboundSchema.parse(value), "Input validation failed");
49649
49940
  if (!parsed.ok) {
49650
49941
  return [parsed, { status: "invalid" }];
@@ -49722,12 +50013,12 @@ var init_pendlePosition = __esm(() => {
49722
50013
  });
49723
50014
 
49724
50015
  // src/mcp-server/tools/pendlePosition.ts
49725
- var args41, tool$pendlePosition;
50016
+ var args42, tool$pendlePosition;
49726
50017
  var init_pendlePosition2 = __esm(() => {
49727
50018
  init_pendlePosition();
49728
50019
  init_operations();
49729
50020
  init_tools();
49730
- args41 = {
50021
+ args42 = {
49731
50022
  request: PendlePositionRequest$inboundSchema
49732
50023
  };
49733
50024
  tool$pendlePosition = {
@@ -49735,9 +50026,9 @@ var init_pendlePosition2 = __esm(() => {
49735
50026
  description: `Check User's Market Position
49736
50027
 
49737
50028
  Check the SY, PT, YT and Underlying Token positions for a given market.`,
49738
- args: args41,
49739
- tool: async (client, args42, ctx) => {
49740
- const [result, apiCall] = await pendlePosition(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50029
+ args: args42,
50030
+ tool: async (client, args43, ctx) => {
50031
+ const [result, apiCall] = await pendlePosition(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49741
50032
  if (!result.ok) {
49742
50033
  return {
49743
50034
  content: [{ type: "text", text: result.error.message }],
@@ -49752,9 +50043,9 @@ Check the SY, PT, YT and Underlying Token positions for a given market.`,
49752
50043
 
49753
50044
  // src/funcs/pendlePositions.ts
49754
50045
  function pendlePositions(client, request, options) {
49755
- return new APIPromise($do42(client, request, options));
50046
+ return new APIPromise($do43(client, request, options));
49756
50047
  }
49757
- async function $do42(client, request, options) {
50048
+ async function $do43(client, request, options) {
49758
50049
  const parsed = safeParse(request, (value) => PendlePositionsRequest$outboundSchema.parse(value), "Input validation failed");
49759
50050
  if (!parsed.ok) {
49760
50051
  return [parsed, { status: "invalid" }];
@@ -49830,12 +50121,12 @@ var init_pendlePositions = __esm(() => {
49830
50121
  });
49831
50122
 
49832
50123
  // src/mcp-server/tools/pendlePositions.ts
49833
- var args42, tool$pendlePositions;
50124
+ var args43, tool$pendlePositions;
49834
50125
  var init_pendlePositions2 = __esm(() => {
49835
50126
  init_pendlePositions();
49836
50127
  init_operations();
49837
50128
  init_tools();
49838
- args42 = {
50129
+ args43 = {
49839
50130
  request: PendlePositionsRequest$inboundSchema
49840
50131
  };
49841
50132
  tool$pendlePositions = {
@@ -49843,9 +50134,9 @@ var init_pendlePositions2 = __esm(() => {
49843
50134
  description: `List User's Market Positions
49844
50135
 
49845
50136
  List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
49846
- args: args42,
49847
- tool: async (client, args43, ctx) => {
49848
- const [result, apiCall] = await pendlePositions(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50137
+ args: args43,
50138
+ tool: async (client, args44, ctx) => {
50139
+ const [result, apiCall] = await pendlePositions(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49849
50140
  if (!result.ok) {
49850
50141
  return {
49851
50142
  content: [{ type: "text", text: result.error.message }],
@@ -49860,9 +50151,9 @@ List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
49860
50151
 
49861
50152
  // src/funcs/pendleRedeemYield.ts
49862
50153
  function pendleRedeemYield(client, request, options) {
49863
- return new APIPromise($do43(client, request, options));
50154
+ return new APIPromise($do44(client, request, options));
49864
50155
  }
49865
- async function $do43(client, request, options) {
50156
+ async function $do44(client, request, options) {
49866
50157
  const parsed = safeParse(request, (value) => PendleRedeemYieldRequest$outboundSchema.parse(value), "Input validation failed");
49867
50158
  if (!parsed.ok) {
49868
50159
  return [parsed, { status: "invalid" }];
@@ -49933,12 +50224,12 @@ var init_pendleRedeemYield = __esm(() => {
49933
50224
  });
49934
50225
 
49935
50226
  // src/mcp-server/tools/pendleRedeemYield.ts
49936
- var args43, tool$pendleRedeemYield;
50227
+ var args44, tool$pendleRedeemYield;
49937
50228
  var init_pendleRedeemYield2 = __esm(() => {
49938
50229
  init_pendleRedeemYield();
49939
50230
  init_components();
49940
50231
  init_tools();
49941
- args43 = {
50232
+ args44 = {
49942
50233
  request: PendleRedeemYieldRequest$inboundSchema
49943
50234
  };
49944
50235
  tool$pendleRedeemYield = {
@@ -49946,9 +50237,9 @@ var init_pendleRedeemYield2 = __esm(() => {
49946
50237
  description: `Redeem Claimable Yield
49947
50238
 
49948
50239
  Redeem claimable yield from the market's associated Yield Token (YT).`,
49949
- args: args43,
49950
- tool: async (client, args44, ctx) => {
49951
- const [result, apiCall] = await pendleRedeemYield(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50240
+ args: args44,
50241
+ tool: async (client, args45, ctx) => {
50242
+ const [result, apiCall] = await pendleRedeemYield(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49952
50243
  if (!result.ok) {
49953
50244
  return {
49954
50245
  content: [{ type: "text", text: result.error.message }],
@@ -49963,9 +50254,9 @@ Redeem claimable yield from the market's associated Yield Token (YT).`,
49963
50254
 
49964
50255
  // src/funcs/pendleRemoveLiquidity.ts
49965
50256
  function pendleRemoveLiquidity(client, request, options) {
49966
- return new APIPromise($do44(client, request, options));
50257
+ return new APIPromise($do45(client, request, options));
49967
50258
  }
49968
- async function $do44(client, request, options) {
50259
+ async function $do45(client, request, options) {
49969
50260
  const parsed = safeParse(request, (value) => PendleRemoveLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
49970
50261
  if (!parsed.ok) {
49971
50262
  return [parsed, { status: "invalid" }];
@@ -50036,12 +50327,12 @@ var init_pendleRemoveLiquidity = __esm(() => {
50036
50327
  });
50037
50328
 
50038
50329
  // src/mcp-server/tools/pendleRemoveLiquidity.ts
50039
- var args44, tool$pendleRemoveLiquidity;
50330
+ var args45, tool$pendleRemoveLiquidity;
50040
50331
  var init_pendleRemoveLiquidity2 = __esm(() => {
50041
50332
  init_pendleRemoveLiquidity();
50042
50333
  init_components();
50043
50334
  init_tools();
50044
- args44 = {
50335
+ args45 = {
50045
50336
  request: PendleRemoveLiquidityRequest$inboundSchema
50046
50337
  };
50047
50338
  tool$pendleRemoveLiquidity = {
@@ -50053,9 +50344,9 @@ Remove liquidity from a Pendle Market.
50053
50344
  Liquidity is removed in the form of the market's Liquidity Provider Token (LP) into
50054
50345
  the market's Underlying Token. An appropriate allowance for the Pendle Router on the
50055
50346
  market contract must be set beforehand`,
50056
- args: args44,
50057
- tool: async (client, args45, ctx) => {
50058
- const [result, apiCall] = await pendleRemoveLiquidity(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50347
+ args: args45,
50348
+ tool: async (client, args46, ctx) => {
50349
+ const [result, apiCall] = await pendleRemoveLiquidity(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50059
50350
  if (!result.ok) {
50060
50351
  return {
50061
50352
  content: [{ type: "text", text: result.error.message }],
@@ -50070,9 +50361,9 @@ market contract must be set beforehand`,
50070
50361
 
50071
50362
  // src/funcs/pendleSellPt.ts
50072
50363
  function pendleSellPt(client, request, options) {
50073
- return new APIPromise($do45(client, request, options));
50364
+ return new APIPromise($do46(client, request, options));
50074
50365
  }
50075
- async function $do45(client, request, options) {
50366
+ async function $do46(client, request, options) {
50076
50367
  const parsed = safeParse(request, (value) => PendleSellPtRequest$outboundSchema.parse(value), "Input validation failed");
50077
50368
  if (!parsed.ok) {
50078
50369
  return [parsed, { status: "invalid" }];
@@ -50143,12 +50434,12 @@ var init_pendleSellPt = __esm(() => {
50143
50434
  });
50144
50435
 
50145
50436
  // src/mcp-server/tools/pendleSellPt.ts
50146
- var args45, tool$pendleSellPt;
50437
+ var args46, tool$pendleSellPt;
50147
50438
  var init_pendleSellPt2 = __esm(() => {
50148
50439
  init_pendleSellPt();
50149
50440
  init_components();
50150
50441
  init_tools();
50151
- args45 = {
50442
+ args46 = {
50152
50443
  request: PendleSellPtRequest$inboundSchema
50153
50444
  };
50154
50445
  tool$pendleSellPt = {
@@ -50156,9 +50447,9 @@ var init_pendleSellPt2 = __esm(() => {
50156
50447
  description: `Sell Principal Token (PT)
50157
50448
 
50158
50449
  Sell Principal Token (PT) for the market's Underlying Token.`,
50159
- args: args45,
50160
- tool: async (client, args46, ctx) => {
50161
- const [result, apiCall] = await pendleSellPt(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50450
+ args: args46,
50451
+ tool: async (client, args47, ctx) => {
50452
+ const [result, apiCall] = await pendleSellPt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50162
50453
  if (!result.ok) {
50163
50454
  return {
50164
50455
  content: [{ type: "text", text: result.error.message }],
@@ -50173,9 +50464,9 @@ Sell Principal Token (PT) for the market's Underlying Token.`,
50173
50464
 
50174
50465
  // src/funcs/pendleSellYt.ts
50175
50466
  function pendleSellYt(client, request, options) {
50176
- return new APIPromise($do46(client, request, options));
50467
+ return new APIPromise($do47(client, request, options));
50177
50468
  }
50178
- async function $do46(client, request, options) {
50469
+ async function $do47(client, request, options) {
50179
50470
  const parsed = safeParse(request, (value) => PendleSellYtRequest$outboundSchema.parse(value), "Input validation failed");
50180
50471
  if (!parsed.ok) {
50181
50472
  return [parsed, { status: "invalid" }];
@@ -50246,12 +50537,12 @@ var init_pendleSellYt = __esm(() => {
50246
50537
  });
50247
50538
 
50248
50539
  // src/mcp-server/tools/pendleSellYt.ts
50249
- var args46, tool$pendleSellYt;
50540
+ var args47, tool$pendleSellYt;
50250
50541
  var init_pendleSellYt2 = __esm(() => {
50251
50542
  init_pendleSellYt();
50252
50543
  init_components();
50253
50544
  init_tools();
50254
- args46 = {
50545
+ args47 = {
50255
50546
  request: PendleSellYtRequest$inboundSchema
50256
50547
  };
50257
50548
  tool$pendleSellYt = {
@@ -50259,9 +50550,9 @@ var init_pendleSellYt2 = __esm(() => {
50259
50550
  description: `Sell Yield Token (YT)
50260
50551
 
50261
50552
  Sell Yield Token (YT) for the market's Underlying Token.`,
50262
- args: args46,
50263
- tool: async (client, args47, ctx) => {
50264
- const [result, apiCall] = await pendleSellYt(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50553
+ args: args47,
50554
+ tool: async (client, args48, ctx) => {
50555
+ const [result, apiCall] = await pendleSellYt(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50265
50556
  if (!result.ok) {
50266
50557
  return {
50267
50558
  content: [{ type: "text", text: result.error.message }],
@@ -50276,9 +50567,9 @@ Sell Yield Token (YT) for the market's Underlying Token.`,
50276
50567
 
50277
50568
  // src/funcs/skyBuy.ts
50278
50569
  function skyBuy(client, request, options) {
50279
- return new APIPromise($do47(client, request, options));
50570
+ return new APIPromise($do48(client, request, options));
50280
50571
  }
50281
- async function $do47(client, request, options) {
50572
+ async function $do48(client, request, options) {
50282
50573
  const parsed = safeParse(request, (value) => SkyBuyRequest$outboundSchema.parse(value), "Input validation failed");
50283
50574
  if (!parsed.ok) {
50284
50575
  return [parsed, { status: "invalid" }];
@@ -50349,12 +50640,12 @@ var init_skyBuy = __esm(() => {
50349
50640
  });
50350
50641
 
50351
50642
  // src/mcp-server/tools/skyBuy.ts
50352
- var args47, tool$skyBuy;
50643
+ var args48, tool$skyBuy;
50353
50644
  var init_skyBuy2 = __esm(() => {
50354
50645
  init_skyBuy();
50355
50646
  init_components();
50356
50647
  init_tools();
50357
- args47 = {
50648
+ args48 = {
50358
50649
  request: SkyBuyRequest$inboundSchema
50359
50650
  };
50360
50651
  tool$skyBuy = {
@@ -50368,9 +50659,9 @@ If buying with DAI, user will need to set an allowance on the DAI contract for t
50368
50659
 
50369
50660
  If buying with USDC, user will need to set an allowance on the USDC contract for the
50370
50661
  'SkyDaiUsdsConverter' contract beforehand.`,
50371
- args: args47,
50372
- tool: async (client, args48, ctx) => {
50373
- const [result, apiCall] = await skyBuy(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50662
+ args: args48,
50663
+ tool: async (client, args49, ctx) => {
50664
+ const [result, apiCall] = await skyBuy(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50374
50665
  if (!result.ok) {
50375
50666
  return {
50376
50667
  content: [{ type: "text", text: result.error.message }],
@@ -50385,9 +50676,9 @@ If buying with USDC, user will need to set an allowance on the USDC contract for
50385
50676
 
50386
50677
  // src/funcs/skyDeposit.ts
50387
50678
  function skyDeposit(client, request, options) {
50388
- return new APIPromise($do48(client, request, options));
50679
+ return new APIPromise($do49(client, request, options));
50389
50680
  }
50390
- async function $do48(client, request, options) {
50681
+ async function $do49(client, request, options) {
50391
50682
  const parsed = safeParse(request, (value) => SkyDepositRequest$outboundSchema.parse(value), "Input validation failed");
50392
50683
  if (!parsed.ok) {
50393
50684
  return [parsed, { status: "invalid" }];
@@ -50458,12 +50749,12 @@ var init_skyDeposit = __esm(() => {
50458
50749
  });
50459
50750
 
50460
50751
  // src/mcp-server/tools/skyDeposit.ts
50461
- var args48, tool$skyDeposit;
50752
+ var args49, tool$skyDeposit;
50462
50753
  var init_skyDeposit2 = __esm(() => {
50463
50754
  init_skyDeposit();
50464
50755
  init_components();
50465
50756
  init_tools();
50466
- args48 = {
50757
+ args49 = {
50467
50758
  request: SkyDepositRequest$inboundSchema
50468
50759
  };
50469
50760
  tool$skyDeposit = {
@@ -50473,9 +50764,9 @@ var init_skyDeposit2 = __esm(() => {
50473
50764
  Deposit USDS for sUSDS to earn yield.
50474
50765
 
50475
50766
  There are no fees.`,
50476
- args: args48,
50477
- tool: async (client, args49, ctx) => {
50478
- const [result, apiCall] = await skyDeposit(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50767
+ args: args49,
50768
+ tool: async (client, args50, ctx) => {
50769
+ const [result, apiCall] = await skyDeposit(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50479
50770
  if (!result.ok) {
50480
50771
  return {
50481
50772
  content: [{ type: "text", text: result.error.message }],
@@ -50490,9 +50781,9 @@ There are no fees.`,
50490
50781
 
50491
50782
  // src/funcs/skyPosition.ts
50492
50783
  function skyPosition(client, request, options) {
50493
- return new APIPromise($do49(client, request, options));
50784
+ return new APIPromise($do50(client, request, options));
50494
50785
  }
50495
- async function $do49(client, request, options) {
50786
+ async function $do50(client, request, options) {
50496
50787
  const parsed = safeParse(request, (value) => SkyPositionRequest$outboundSchema.parse(value), "Input validation failed");
50497
50788
  if (!parsed.ok) {
50498
50789
  return [parsed, { status: "invalid" }];
@@ -50568,12 +50859,12 @@ var init_skyPosition = __esm(() => {
50568
50859
  });
50569
50860
 
50570
50861
  // src/mcp-server/tools/skyPosition.ts
50571
- var args49, tool$skyPosition;
50862
+ var args50, tool$skyPosition;
50572
50863
  var init_skyPosition2 = __esm(() => {
50573
50864
  init_skyPosition();
50574
50865
  init_operations();
50575
50866
  init_tools();
50576
- args49 = {
50867
+ args50 = {
50577
50868
  request: SkyPositionRequest$inboundSchema
50578
50869
  };
50579
50870
  tool$skyPosition = {
@@ -50581,9 +50872,9 @@ var init_skyPosition2 = __esm(() => {
50581
50872
  description: `Check USDS Position
50582
50873
 
50583
50874
  Check the USDS overall position.`,
50584
- args: args49,
50585
- tool: async (client, args50, ctx) => {
50586
- const [result, apiCall] = await skyPosition(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50875
+ args: args50,
50876
+ tool: async (client, args51, ctx) => {
50877
+ const [result, apiCall] = await skyPosition(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50587
50878
  if (!result.ok) {
50588
50879
  return {
50589
50880
  content: [{ type: "text", text: result.error.message }],
@@ -50598,9 +50889,9 @@ Check the USDS overall position.`,
50598
50889
 
50599
50890
  // src/funcs/skySell.ts
50600
50891
  function skySell(client, request, options) {
50601
- return new APIPromise($do50(client, request, options));
50892
+ return new APIPromise($do51(client, request, options));
50602
50893
  }
50603
- async function $do50(client, request, options) {
50894
+ async function $do51(client, request, options) {
50604
50895
  const parsed = safeParse(request, (value) => SkySellRequest$outboundSchema.parse(value), "Input validation failed");
50605
50896
  if (!parsed.ok) {
50606
50897
  return [parsed, { status: "invalid" }];
@@ -50671,12 +50962,12 @@ var init_skySell = __esm(() => {
50671
50962
  });
50672
50963
 
50673
50964
  // src/mcp-server/tools/skySell.ts
50674
- var args50, tool$skySell;
50965
+ var args51, tool$skySell;
50675
50966
  var init_skySell2 = __esm(() => {
50676
50967
  init_skySell();
50677
50968
  init_components();
50678
50969
  init_tools();
50679
- args50 = {
50970
+ args51 = {
50680
50971
  request: SkySellRequest$inboundSchema
50681
50972
  };
50682
50973
  tool$skySell = {
@@ -50690,9 +50981,9 @@ If swapping to DAI, user will need to set an allowance on the USDS contract for
50690
50981
 
50691
50982
  If swapping to USDC, user will need to set an allowance on the USDS contract for the
50692
50983
  'SkyUsdcUsdsConverter' contract beforehand.`,
50693
- args: args50,
50694
- tool: async (client, args51, ctx) => {
50695
- const [result, apiCall] = await skySell(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50984
+ args: args51,
50985
+ tool: async (client, args52, ctx) => {
50986
+ const [result, apiCall] = await skySell(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50696
50987
  if (!result.ok) {
50697
50988
  return {
50698
50989
  content: [{ type: "text", text: result.error.message }],
@@ -50707,9 +50998,9 @@ If swapping to USDC, user will need to set an allowance on the USDS contract for
50707
50998
 
50708
50999
  // src/funcs/skyWithdraw.ts
50709
51000
  function skyWithdraw(client, request, options) {
50710
- return new APIPromise($do51(client, request, options));
51001
+ return new APIPromise($do52(client, request, options));
50711
51002
  }
50712
- async function $do51(client, request, options) {
51003
+ async function $do52(client, request, options) {
50713
51004
  const parsed = safeParse(request, (value) => SkyWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
50714
51005
  if (!parsed.ok) {
50715
51006
  return [parsed, { status: "invalid" }];
@@ -50780,12 +51071,12 @@ var init_skyWithdraw = __esm(() => {
50780
51071
  });
50781
51072
 
50782
51073
  // src/mcp-server/tools/skyWithdraw.ts
50783
- var args51, tool$skyWithdraw;
51074
+ var args52, tool$skyWithdraw;
50784
51075
  var init_skyWithdraw2 = __esm(() => {
50785
51076
  init_skyWithdraw();
50786
51077
  init_components();
50787
51078
  init_tools();
50788
- args51 = {
51079
+ args52 = {
50789
51080
  request: SkyWithdrawRequest$inboundSchema
50790
51081
  };
50791
51082
  tool$skyWithdraw = {
@@ -50793,9 +51084,9 @@ var init_skyWithdraw2 = __esm(() => {
50793
51084
  description: `Withdraw USDS
50794
51085
 
50795
51086
  Withdraw USDS for sUSDS to stop earning yield.`,
50796
- args: args51,
50797
- tool: async (client, args52, ctx) => {
50798
- const [result, apiCall] = await skyWithdraw(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51087
+ args: args52,
51088
+ tool: async (client, args53, ctx) => {
51089
+ const [result, apiCall] = await skyWithdraw(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50799
51090
  if (!result.ok) {
50800
51091
  return {
50801
51092
  content: [{ type: "text", text: result.error.message }],
@@ -50810,9 +51101,9 @@ Withdraw USDS for sUSDS to stop earning yield.`,
50810
51101
 
50811
51102
  // src/funcs/smartAccountAccountBatchedUserOperations.ts
50812
51103
  function smartAccountAccountBatchedUserOperations(client, request, options) {
50813
- return new APIPromise($do52(client, request, options));
51104
+ return new APIPromise($do53(client, request, options));
50814
51105
  }
50815
- async function $do52(client, request, options) {
51106
+ async function $do53(client, request, options) {
50816
51107
  const parsed = safeParse(request, (value) => BatchedUserOperationsRequest$outboundSchema.parse(value), "Input validation failed");
50817
51108
  if (!parsed.ok) {
50818
51109
  return [parsed, { status: "invalid" }];
@@ -50883,12 +51174,12 @@ var init_smartAccountAccountBatchedUserOperations = __esm(() => {
50883
51174
  });
50884
51175
 
50885
51176
  // src/mcp-server/tools/smartAccountAccountBatchedUserOperations.ts
50886
- var args52, tool$smartAccountAccountBatchedUserOperations;
51177
+ var args53, tool$smartAccountAccountBatchedUserOperations;
50887
51178
  var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
50888
51179
  init_smartAccountAccountBatchedUserOperations();
50889
51180
  init_components();
50890
51181
  init_tools();
50891
- args52 = {
51182
+ args53 = {
50892
51183
  request: BatchedUserOperationsRequest$inboundSchema
50893
51184
  };
50894
51185
  tool$smartAccountAccountBatchedUserOperations = {
@@ -50896,9 +51187,9 @@ var init_smartAccountAccountBatchedUserOperations2 = __esm(() => {
50896
51187
  description: `Get Smart Account Batched User Operations
50897
51188
 
50898
51189
  Generate a list of user operations for smart account batching.`,
50899
- args: args52,
50900
- tool: async (client, args53, ctx) => {
50901
- const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51190
+ args: args53,
51191
+ tool: async (client, args54, ctx) => {
51192
+ const [result, apiCall] = await smartAccountAccountBatchedUserOperations(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50902
51193
  if (!result.ok) {
50903
51194
  return {
50904
51195
  content: [{ type: "text", text: result.error.message }],
@@ -50913,9 +51204,9 @@ Generate a list of user operations for smart account batching.`,
50913
51204
 
50914
51205
  // src/funcs/tokenAddress.ts
50915
51206
  function tokenAddress(client, request, options) {
50916
- return new APIPromise($do53(client, request, options));
51207
+ return new APIPromise($do54(client, request, options));
50917
51208
  }
50918
- async function $do53(client, request, options) {
51209
+ async function $do54(client, request, options) {
50919
51210
  const parsed = safeParse(request, (value) => TokenAddressRequest$outboundSchema.parse(value), "Input validation failed");
50920
51211
  if (!parsed.ok) {
50921
51212
  return [parsed, { status: "invalid" }];
@@ -50991,12 +51282,12 @@ var init_tokenAddress = __esm(() => {
50991
51282
  });
50992
51283
 
50993
51284
  // src/mcp-server/tools/tokenAddress.ts
50994
- var args53, tool$tokenAddress;
51285
+ var args54, tool$tokenAddress;
50995
51286
  var init_tokenAddress2 = __esm(() => {
50996
51287
  init_tokenAddress();
50997
51288
  init_operations();
50998
51289
  init_tools();
50999
- args53 = {
51290
+ args54 = {
51000
51291
  request: TokenAddressRequest$inboundSchema
51001
51292
  };
51002
51293
  tool$tokenAddress = {
@@ -51004,9 +51295,9 @@ var init_tokenAddress2 = __esm(() => {
51004
51295
  description: `Token Address
51005
51296
 
51006
51297
  This endpoint retrieves the address for a token supported by us.`,
51007
- args: args53,
51008
- tool: async (client, args54, ctx) => {
51009
- const [result, apiCall] = await tokenAddress(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51298
+ args: args54,
51299
+ tool: async (client, args55, ctx) => {
51300
+ const [result, apiCall] = await tokenAddress(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51010
51301
  if (!result.ok) {
51011
51302
  return {
51012
51303
  content: [{ type: "text", text: result.error.message }],
@@ -51021,9 +51312,9 @@ This endpoint retrieves the address for a token supported by us.`,
51021
51312
 
51022
51313
  // src/funcs/tokenBalance.ts
51023
51314
  function tokenBalance(client, request, options) {
51024
- return new APIPromise($do54(client, request, options));
51315
+ return new APIPromise($do55(client, request, options));
51025
51316
  }
51026
- async function $do54(client, request, options) {
51317
+ async function $do55(client, request, options) {
51027
51318
  const parsed = safeParse(request, (value) => TokenBalanceRequest$outboundSchema.parse(value), "Input validation failed");
51028
51319
  if (!parsed.ok) {
51029
51320
  return [parsed, { status: "invalid" }];
@@ -51100,12 +51391,12 @@ var init_tokenBalance = __esm(() => {
51100
51391
  });
51101
51392
 
51102
51393
  // src/mcp-server/tools/tokenBalance.ts
51103
- var args54, tool$tokenBalance;
51394
+ var args55, tool$tokenBalance;
51104
51395
  var init_tokenBalance2 = __esm(() => {
51105
51396
  init_tokenBalance();
51106
51397
  init_operations();
51107
51398
  init_tools();
51108
- args54 = {
51399
+ args55 = {
51109
51400
  request: TokenBalanceRequest$inboundSchema
51110
51401
  };
51111
51402
  tool$tokenBalance = {
@@ -51113,9 +51404,9 @@ var init_tokenBalance2 = __esm(() => {
51113
51404
  description: `Token Balance
51114
51405
 
51115
51406
  Returns the balance of a specific ERC20 token for a given user address.`,
51116
- args: args54,
51117
- tool: async (client, args55, ctx) => {
51118
- const [result, apiCall] = await tokenBalance(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51407
+ args: args55,
51408
+ tool: async (client, args56, ctx) => {
51409
+ const [result, apiCall] = await tokenBalance(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51119
51410
  if (!result.ok) {
51120
51411
  return {
51121
51412
  content: [{ type: "text", text: result.error.message }],
@@ -51130,9 +51421,9 @@ Returns the balance of a specific ERC20 token for a given user address.`,
51130
51421
 
51131
51422
  // src/funcs/tokenPrice.ts
51132
51423
  function tokenPrice(client, request, options) {
51133
- return new APIPromise($do55(client, request, options));
51424
+ return new APIPromise($do56(client, request, options));
51134
51425
  }
51135
- async function $do55(client, request, options) {
51426
+ async function $do56(client, request, options) {
51136
51427
  const parsed = safeParse(request, (value) => TokenPriceRequest$outboundSchema.parse(value), "Input validation failed");
51137
51428
  if (!parsed.ok) {
51138
51429
  return [parsed, { status: "invalid" }];
@@ -51208,12 +51499,12 @@ var init_tokenPrice = __esm(() => {
51208
51499
  });
51209
51500
 
51210
51501
  // src/mcp-server/tools/tokenPrice.ts
51211
- var args55, tool$tokenPrice;
51502
+ var args56, tool$tokenPrice;
51212
51503
  var init_tokenPrice2 = __esm(() => {
51213
51504
  init_tokenPrice();
51214
51505
  init_operations();
51215
51506
  init_tools();
51216
- args55 = {
51507
+ args56 = {
51217
51508
  request: TokenPriceRequest$inboundSchema
51218
51509
  };
51219
51510
  tool$tokenPrice = {
@@ -51225,9 +51516,9 @@ Retrieves the price of a token in USD using Chainlink's on-chain price feeds.
51225
51516
  Chainlink is a decentralized oracle that aggregates price data from off-chain
51226
51517
  sources. This ensures the price is tamper-resistant but the price might be stale
51227
51518
  with the update frequency of the oracle.`,
51228
- args: args55,
51229
- tool: async (client, args56, ctx) => {
51230
- const [result, apiCall] = await tokenPrice(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51519
+ args: args56,
51520
+ tool: async (client, args57, ctx) => {
51521
+ const [result, apiCall] = await tokenPrice(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51231
51522
  if (!result.ok) {
51232
51523
  return {
51233
51524
  content: [{ type: "text", text: result.error.message }],
@@ -51242,9 +51533,9 @@ with the update frequency of the oracle.`,
51242
51533
 
51243
51534
  // src/funcs/tokenTransfer.ts
51244
51535
  function tokenTransfer(client, request, options) {
51245
- return new APIPromise($do56(client, request, options));
51536
+ return new APIPromise($do57(client, request, options));
51246
51537
  }
51247
- async function $do56(client, request, options) {
51538
+ async function $do57(client, request, options) {
51248
51539
  const parsed = safeParse(request, (value) => TokenTransferRequest$outboundSchema.parse(value), "Input validation failed");
51249
51540
  if (!parsed.ok) {
51250
51541
  return [parsed, { status: "invalid" }];
@@ -51315,12 +51606,12 @@ var init_tokenTransfer = __esm(() => {
51315
51606
  });
51316
51607
 
51317
51608
  // src/mcp-server/tools/tokenTransfer.ts
51318
- var args56, tool$tokenTransfer;
51609
+ var args57, tool$tokenTransfer;
51319
51610
  var init_tokenTransfer2 = __esm(() => {
51320
51611
  init_tokenTransfer();
51321
51612
  init_components();
51322
51613
  init_tools();
51323
- args56 = {
51614
+ args57 = {
51324
51615
  request: TokenTransferRequest$inboundSchema
51325
51616
  };
51326
51617
  tool$tokenTransfer = {
@@ -51328,9 +51619,9 @@ var init_tokenTransfer2 = __esm(() => {
51328
51619
  description: `Transfer ETH or ERC20 Tokens
51329
51620
 
51330
51621
  Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51331
- args: args56,
51332
- tool: async (client, args57, ctx) => {
51333
- const [result, apiCall] = await tokenTransfer(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51622
+ args: args57,
51623
+ tool: async (client, args58, ctx) => {
51624
+ const [result, apiCall] = await tokenTransfer(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51334
51625
  if (!result.ok) {
51335
51626
  return {
51336
51627
  content: [{ type: "text", text: result.error.message }],
@@ -51345,9 +51636,9 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51345
51636
 
51346
51637
  // src/funcs/transactionBundlerBundlerAaveLoop.ts
51347
51638
  function transactionBundlerBundlerAaveLoop(client, request, options) {
51348
- return new APIPromise($do57(client, request, options));
51639
+ return new APIPromise($do58(client, request, options));
51349
51640
  }
51350
- async function $do57(client, request, options) {
51641
+ async function $do58(client, request, options) {
51351
51642
  const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
51352
51643
  if (!parsed.ok) {
51353
51644
  return [parsed, { status: "invalid" }];
@@ -51418,12 +51709,12 @@ var init_transactionBundlerBundlerAaveLoop = __esm(() => {
51418
51709
  });
51419
51710
 
51420
51711
  // src/mcp-server/tools/transactionBundlerBundlerAaveLoop.ts
51421
- var args57, tool$transactionBundlerBundlerAaveLoop;
51712
+ var args58, tool$transactionBundlerBundlerAaveLoop;
51422
51713
  var init_transactionBundlerBundlerAaveLoop2 = __esm(() => {
51423
51714
  init_transactionBundlerBundlerAaveLoop();
51424
51715
  init_components();
51425
51716
  init_tools();
51426
- args57 = {
51717
+ args58 = {
51427
51718
  request: AaveLoopRequest$inboundSchema
51428
51719
  };
51429
51720
  tool$transactionBundlerBundlerAaveLoop = {
@@ -51441,9 +51732,9 @@ This endpoint creates a multicall transaction that performs a series of operatio
51441
51732
  - Supplies the swapped tokens
51442
51733
 
51443
51734
  The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
51444
- args: args57,
51445
- tool: async (client, args58, ctx) => {
51446
- const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51735
+ args: args58,
51736
+ tool: async (client, args59, ctx) => {
51737
+ const [result, apiCall] = await transactionBundlerBundlerAaveLoop(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51447
51738
  if (!result.ok) {
51448
51739
  return {
51449
51740
  content: [{ type: "text", text: result.error.message }],
@@ -51458,9 +51749,9 @@ The transaction must be authorized using the /authorization endpoint to prevent
51458
51749
 
51459
51750
  // src/funcs/transactionBundlerBundlerAuthorization.ts
51460
51751
  function transactionBundlerBundlerAuthorization(client, request, options) {
51461
- return new APIPromise($do58(client, request, options));
51752
+ return new APIPromise($do59(client, request, options));
51462
51753
  }
51463
- async function $do58(client, request, options) {
51754
+ async function $do59(client, request, options) {
51464
51755
  const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
51465
51756
  if (!parsed.ok) {
51466
51757
  return [parsed, { status: "invalid" }];
@@ -51531,12 +51822,12 @@ var init_transactionBundlerBundlerAuthorization = __esm(() => {
51531
51822
  });
51532
51823
 
51533
51824
  // src/mcp-server/tools/transactionBundlerBundlerAuthorization.ts
51534
- var args58, tool$transactionBundlerBundlerAuthorization;
51825
+ var args59, tool$transactionBundlerBundlerAuthorization;
51535
51826
  var init_transactionBundlerBundlerAuthorization2 = __esm(() => {
51536
51827
  init_transactionBundlerBundlerAuthorization();
51537
51828
  init_components();
51538
51829
  init_tools();
51539
- args58 = {
51830
+ args59 = {
51540
51831
  request: MulticallAuthorizationRequest$inboundSchema
51541
51832
  };
51542
51833
  tool$transactionBundlerBundlerAuthorization = {
@@ -51549,9 +51840,9 @@ Currently this is required for every transaction bundle to prevent replay attack
51549
51840
  and ensure transaction ordering when batching multiple actions into a single
51550
51841
  transaction. The authorization includes a nonce and chain ID to guarantee
51551
51842
  transaction uniqueness and proper network targeting.`,
51552
- args: args58,
51553
- tool: async (client, args59, ctx) => {
51554
- const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51843
+ args: args59,
51844
+ tool: async (client, args60, ctx) => {
51845
+ const [result, apiCall] = await transactionBundlerBundlerAuthorization(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51555
51846
  if (!result.ok) {
51556
51847
  return {
51557
51848
  content: [{ type: "text", text: result.error.message }],
@@ -51566,9 +51857,9 @@ transaction uniqueness and proper network targeting.`,
51566
51857
 
51567
51858
  // src/funcs/transactionBundlerBundlerExecute.ts
51568
51859
  function transactionBundlerBundlerExecute(client, request, options) {
51569
- return new APIPromise($do59(client, request, options));
51860
+ return new APIPromise($do60(client, request, options));
51570
51861
  }
51571
- async function $do59(client, request, options) {
51862
+ async function $do60(client, request, options) {
51572
51863
  const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
51573
51864
  if (!parsed.ok) {
51574
51865
  return [parsed, { status: "invalid" }];
@@ -51639,12 +51930,12 @@ var init_transactionBundlerBundlerExecute = __esm(() => {
51639
51930
  });
51640
51931
 
51641
51932
  // src/mcp-server/tools/transactionBundlerBundlerExecute.ts
51642
- var args59, tool$transactionBundlerBundlerExecute;
51933
+ var args60, tool$transactionBundlerBundlerExecute;
51643
51934
  var init_transactionBundlerBundlerExecute2 = __esm(() => {
51644
51935
  init_transactionBundlerBundlerExecute();
51645
51936
  init_components();
51646
51937
  init_tools();
51647
- args59 = {
51938
+ args60 = {
51648
51939
  request: MulticallExecuteRequest$inboundSchema
51649
51940
  };
51650
51941
  tool$transactionBundlerBundlerExecute = {
@@ -51658,9 +51949,9 @@ This endpoint allows bundling multiple contract calls into a single atomic
51658
51949
  transaction, reducing gas costs and ensuring all operations succeed or fail
51659
51950
  together. The transaction must be authorized using the /authorization endpoint to
51660
51951
  prevent replay attacks.`,
51661
- args: args59,
51662
- tool: async (client, args60, ctx) => {
51663
- const [result, apiCall] = await transactionBundlerBundlerExecute(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51952
+ args: args60,
51953
+ tool: async (client, args61, ctx) => {
51954
+ const [result, apiCall] = await transactionBundlerBundlerExecute(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51664
51955
  if (!result.ok) {
51665
51956
  return {
51666
51957
  content: [{ type: "text", text: result.error.message }],
@@ -51675,9 +51966,9 @@ prevent replay attacks.`,
51675
51966
 
51676
51967
  // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
51677
51968
  function uniswapV3LiquidityProvisionIncrease(client, request, options) {
51678
- return new APIPromise($do60(client, request, options));
51969
+ return new APIPromise($do61(client, request, options));
51679
51970
  }
51680
- async function $do60(client, request, options) {
51971
+ async function $do61(client, request, options) {
51681
51972
  const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51682
51973
  if (!parsed.ok) {
51683
51974
  return [parsed, { status: "invalid" }];
@@ -51748,12 +52039,12 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
51748
52039
  });
51749
52040
 
51750
52041
  // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
51751
- var args60, tool$uniswapV3LiquidityProvisionIncrease;
52042
+ var args61, tool$uniswapV3LiquidityProvisionIncrease;
51752
52043
  var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
51753
52044
  init_uniswapV3LiquidityProvisionIncrease();
51754
52045
  init_components();
51755
52046
  init_tools();
51756
- args60 = {
52047
+ args61 = {
51757
52048
  request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
51758
52049
  };
51759
52050
  tool$uniswapV3LiquidityProvisionIncrease = {
@@ -51769,9 +52060,9 @@ beneficial for users who wish to enhance their potential earnings from trading f
51769
52060
  within the pool. The endpoint requires details such as the token pair, additional
51770
52061
  amount to be added, and any other parameters necessary for the liquidity increase
51771
52062
  process.`,
51772
- args: args60,
51773
- tool: async (client, args61, ctx) => {
51774
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52063
+ args: args61,
52064
+ tool: async (client, args62, ctx) => {
52065
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51775
52066
  if (!result.ok) {
51776
52067
  return {
51777
52068
  content: [{ type: "text", text: result.error.message }],
@@ -51786,9 +52077,9 @@ process.`,
51786
52077
 
51787
52078
  // src/funcs/uniswapV3LiquidityProvisionInRange.ts
51788
52079
  function uniswapV3LiquidityProvisionInRange(client, request, options) {
51789
- return new APIPromise($do61(client, request, options));
52080
+ return new APIPromise($do62(client, request, options));
51790
52081
  }
51791
- async function $do61(client, request, options) {
52082
+ async function $do62(client, request, options) {
51792
52083
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
51793
52084
  if (!parsed.ok) {
51794
52085
  return [parsed, { status: "invalid" }];
@@ -51864,12 +52155,12 @@ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
51864
52155
  });
51865
52156
 
51866
52157
  // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
51867
- var args61, tool$uniswapV3LiquidityProvisionInRange;
52158
+ var args62, tool$uniswapV3LiquidityProvisionInRange;
51868
52159
  var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
51869
52160
  init_uniswapV3LiquidityProvisionInRange();
51870
52161
  init_operations();
51871
52162
  init_tools();
51872
- args61 = {
52163
+ args62 = {
51873
52164
  request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
51874
52165
  };
51875
52166
  tool$uniswapV3LiquidityProvisionInRange = {
@@ -51884,9 +52175,9 @@ position is currently within the tick range where trading occurs. this informati
51884
52175
  is essential for users to monitor the status of their lp positions and ensure that
51885
52176
  they are actively participating in the trading activities within the liquidity pool
51886
52177
  and earning trading fees.`,
51887
- args: args61,
51888
- tool: async (client, args62, ctx) => {
51889
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52178
+ args: args62,
52179
+ tool: async (client, args63, ctx) => {
52180
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51890
52181
  if (!result.ok) {
51891
52182
  return {
51892
52183
  content: [{ type: "text", text: result.error.message }],
@@ -51901,9 +52192,9 @@ and earning trading fees.`,
51901
52192
 
51902
52193
  // src/funcs/uniswapV3LiquidityProvisionMint.ts
51903
52194
  function uniswapV3LiquidityProvisionMint(client, request, options) {
51904
- return new APIPromise($do62(client, request, options));
52195
+ return new APIPromise($do63(client, request, options));
51905
52196
  }
51906
- async function $do62(client, request, options) {
52197
+ async function $do63(client, request, options) {
51907
52198
  const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51908
52199
  if (!parsed.ok) {
51909
52200
  return [parsed, { status: "invalid" }];
@@ -51974,12 +52265,12 @@ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
51974
52265
  });
51975
52266
 
51976
52267
  // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
51977
- var args62, tool$uniswapV3LiquidityProvisionMint;
52268
+ var args63, tool$uniswapV3LiquidityProvisionMint;
51978
52269
  var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
51979
52270
  init_uniswapV3LiquidityProvisionMint();
51980
52271
  init_components();
51981
52272
  init_tools();
51982
- args62 = {
52273
+ args63 = {
51983
52274
  request: UniswapMintLiquidityProvisionRequest$inboundSchema
51984
52275
  };
51985
52276
  tool$uniswapV3LiquidityProvisionMint = {
@@ -51995,9 +52286,9 @@ This operation is essential for users looking to participate in liquidity provis
51995
52286
  enabling them to earn fees from trades that occur within the pool. The endpoint
51996
52287
  requires details such as the token pair, amount, and any additional parameters
51997
52288
  needed for the minting process.`,
51998
- args: args62,
51999
- tool: async (client, args63, ctx) => {
52000
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52289
+ args: args63,
52290
+ tool: async (client, args64, ctx) => {
52291
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52001
52292
  if (!result.ok) {
52002
52293
  return {
52003
52294
  content: [{ type: "text", text: result.error.message }],
@@ -52012,9 +52303,9 @@ needed for the minting process.`,
52012
52303
 
52013
52304
  // src/funcs/uniswapV3LiquidityProvisionPositions.ts
52014
52305
  function uniswapV3LiquidityProvisionPositions(client, request, options) {
52015
- return new APIPromise($do63(client, request, options));
52306
+ return new APIPromise($do64(client, request, options));
52016
52307
  }
52017
- async function $do63(client, request, options) {
52308
+ async function $do64(client, request, options) {
52018
52309
  const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
52019
52310
  if (!parsed.ok) {
52020
52311
  return [parsed, { status: "invalid" }];
@@ -52090,12 +52381,12 @@ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
52090
52381
  });
52091
52382
 
52092
52383
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
52093
- var args63, tool$uniswapV3LiquidityProvisionPositions;
52384
+ var args64, tool$uniswapV3LiquidityProvisionPositions;
52094
52385
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
52095
52386
  init_uniswapV3LiquidityProvisionPositions();
52096
52387
  init_operations();
52097
52388
  init_tools();
52098
- args63 = {
52389
+ args64 = {
52099
52390
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
52100
52391
  };
52101
52392
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -52109,9 +52400,9 @@ Users can query this endpoint to obtain detailed information about their LP
52109
52400
  positions, including the total number of positions and relevant metadata. This
52110
52401
  information is crucial for users to manage and analyze their liquidity provision
52111
52402
  activities effectively.`,
52112
- args: args63,
52113
- tool: async (client, args64, ctx) => {
52114
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52403
+ args: args64,
52404
+ tool: async (client, args65, ctx) => {
52405
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52115
52406
  if (!result.ok) {
52116
52407
  return {
52117
52408
  content: [{ type: "text", text: result.error.message }],
@@ -52126,9 +52417,9 @@ activities effectively.`,
52126
52417
 
52127
52418
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
52128
52419
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
52129
- return new APIPromise($do64(client, request, options));
52420
+ return new APIPromise($do65(client, request, options));
52130
52421
  }
52131
- async function $do64(client, request, options) {
52422
+ async function $do65(client, request, options) {
52132
52423
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
52133
52424
  if (!parsed.ok) {
52134
52425
  return [parsed, { status: "invalid" }];
@@ -52199,12 +52490,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
52199
52490
  });
52200
52491
 
52201
52492
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
52202
- var args64, tool$uniswapV3LiquidityProvisionWithdraw;
52493
+ var args65, tool$uniswapV3LiquidityProvisionWithdraw;
52203
52494
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
52204
52495
  init_uniswapV3LiquidityProvisionWithdraw();
52205
52496
  init_components();
52206
52497
  init_tools();
52207
- args64 = {
52498
+ args65 = {
52208
52499
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
52209
52500
  };
52210
52501
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -52221,9 +52512,9 @@ pools or investments. The endpoint requires details such as the token pair, the
52221
52512
  amount to be withdrawn, and any additional parameters needed for the withdrawal
52222
52513
  process. Users should ensure they meet any protocol requirements or conditions
52223
52514
  before initiating a withdrawal to avoid potential issues or penalties.`,
52224
- args: args64,
52225
- tool: async (client, args65, ctx) => {
52226
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52515
+ args: args65,
52516
+ tool: async (client, args66, ctx) => {
52517
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52227
52518
  if (!result.ok) {
52228
52519
  return {
52229
52520
  content: [{ type: "text", text: result.error.message }],
@@ -52238,9 +52529,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
52238
52529
 
52239
52530
  // src/funcs/uniswapV3PoolPrice.ts
52240
52531
  function uniswapV3PoolPrice(client, request, options) {
52241
- return new APIPromise($do65(client, request, options));
52532
+ return new APIPromise($do66(client, request, options));
52242
52533
  }
52243
- async function $do65(client, request, options) {
52534
+ async function $do66(client, request, options) {
52244
52535
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
52245
52536
  if (!parsed.ok) {
52246
52537
  return [parsed, { status: "invalid" }];
@@ -52318,12 +52609,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
52318
52609
  });
52319
52610
 
52320
52611
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
52321
- var args65, tool$uniswapV3PoolPrice;
52612
+ var args66, tool$uniswapV3PoolPrice;
52322
52613
  var init_uniswapV3PoolPrice2 = __esm(() => {
52323
52614
  init_uniswapV3PoolPrice();
52324
52615
  init_operations();
52325
52616
  init_tools();
52326
- args65 = {
52617
+ args66 = {
52327
52618
  request: UniswapPoolPriceRequest$inboundSchema
52328
52619
  };
52329
52620
  tool$uniswapV3PoolPrice = {
@@ -52333,9 +52624,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
52333
52624
  This endpoint calculates the price of a token in a Uniswap pool.
52334
52625
 
52335
52626
  The price is calculated based on the current pool state and the specified fee tier.`,
52336
- args: args65,
52337
- tool: async (client, args66, ctx) => {
52338
- const [result, apiCall] = await uniswapV3PoolPrice(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52627
+ args: args66,
52628
+ tool: async (client, args67, ctx) => {
52629
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52339
52630
  if (!result.ok) {
52340
52631
  return {
52341
52632
  content: [{ type: "text", text: result.error.message }],
@@ -52350,9 +52641,9 @@ The price is calculated based on the current pool state and the specified fee ti
52350
52641
 
52351
52642
  // src/funcs/uniswapV3QuoteBuyExactly.ts
52352
52643
  function uniswapV3QuoteBuyExactly(client, request, options) {
52353
- return new APIPromise($do66(client, request, options));
52644
+ return new APIPromise($do67(client, request, options));
52354
52645
  }
52355
- async function $do66(client, request, options) {
52646
+ async function $do67(client, request, options) {
52356
52647
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52357
52648
  if (!parsed.ok) {
52358
52649
  return [parsed, { status: "invalid" }];
@@ -52431,12 +52722,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
52431
52722
  });
52432
52723
 
52433
52724
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
52434
- var args66, tool$uniswapV3QuoteBuyExactly;
52725
+ var args67, tool$uniswapV3QuoteBuyExactly;
52435
52726
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
52436
52727
  init_uniswapV3QuoteBuyExactly();
52437
52728
  init_operations();
52438
52729
  init_tools();
52439
- args66 = {
52730
+ args67 = {
52440
52731
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
52441
52732
  };
52442
52733
  tool$uniswapV3QuoteBuyExactly = {
@@ -52448,9 +52739,9 @@ specified amount of output tokens from a Uniswap pool.
52448
52739
 
52449
52740
  It also provides the resulting price after the transaction. The calculation takes
52450
52741
  into account the current pool state and the specified fee tier.`,
52451
- args: args66,
52452
- tool: async (client, args67, ctx) => {
52453
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52742
+ args: args67,
52743
+ tool: async (client, args68, ctx) => {
52744
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52454
52745
  if (!result.ok) {
52455
52746
  return {
52456
52747
  content: [{ type: "text", text: result.error.message }],
@@ -52465,9 +52756,9 @@ into account the current pool state and the specified fee tier.`,
52465
52756
 
52466
52757
  // src/funcs/uniswapV3QuoteSellExactly.ts
52467
52758
  function uniswapV3QuoteSellExactly(client, request, options) {
52468
- return new APIPromise($do67(client, request, options));
52759
+ return new APIPromise($do68(client, request, options));
52469
52760
  }
52470
- async function $do67(client, request, options) {
52761
+ async function $do68(client, request, options) {
52471
52762
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52472
52763
  if (!parsed.ok) {
52473
52764
  return [parsed, { status: "invalid" }];
@@ -52546,12 +52837,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
52546
52837
  });
52547
52838
 
52548
52839
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
52549
- var args67, tool$uniswapV3QuoteSellExactly;
52840
+ var args68, tool$uniswapV3QuoteSellExactly;
52550
52841
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
52551
52842
  init_uniswapV3QuoteSellExactly();
52552
52843
  init_operations();
52553
52844
  init_tools();
52554
- args67 = {
52845
+ args68 = {
52555
52846
  request: UniswapQuoteSellExactlyRequest$inboundSchema
52556
52847
  };
52557
52848
  tool$uniswapV3QuoteSellExactly = {
@@ -52563,9 +52854,9 @@ specified amount of output tokens from a Uniswap pool.
52563
52854
 
52564
52855
  It also provides the resulting price after the transaction. The calculation takes
52565
52856
  into account the current pool state and the specified fee tier.`,
52566
- args: args67,
52567
- tool: async (client, args68, ctx) => {
52568
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52857
+ args: args68,
52858
+ tool: async (client, args69, ctx) => {
52859
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52569
52860
  if (!result.ok) {
52570
52861
  return {
52571
52862
  content: [{ type: "text", text: result.error.message }],
@@ -52580,9 +52871,9 @@ into account the current pool state and the specified fee tier.`,
52580
52871
 
52581
52872
  // src/funcs/uniswapV3SwapBuyExactly.ts
52582
52873
  function uniswapV3SwapBuyExactly(client, request, options) {
52583
- return new APIPromise($do68(client, request, options));
52874
+ return new APIPromise($do69(client, request, options));
52584
52875
  }
52585
- async function $do68(client, request, options) {
52876
+ async function $do69(client, request, options) {
52586
52877
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52587
52878
  if (!parsed.ok) {
52588
52879
  return [parsed, { status: "invalid" }];
@@ -52653,12 +52944,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
52653
52944
  });
52654
52945
 
52655
52946
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
52656
- var args68, tool$uniswapV3SwapBuyExactly;
52947
+ var args69, tool$uniswapV3SwapBuyExactly;
52657
52948
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
52658
52949
  init_uniswapV3SwapBuyExactly();
52659
52950
  init_components();
52660
52951
  init_tools();
52661
- args68 = {
52952
+ args69 = {
52662
52953
  request: UniswapBuyExactlyRequest$inboundSchema
52663
52954
  };
52664
52955
  tool$uniswapV3SwapBuyExactly = {
@@ -52672,9 +52963,9 @@ The transaction is executed on the specified blockchain network, and the user mu
52672
52963
  provide the necessary transaction details, including the token to buy, the token to
52673
52964
  pay with, and the exact amount to receive. If the token being paid with is WETH and
52674
52965
  needs to be wrapped, the appropriate amount will be wrapped automatically.`,
52675
- args: args68,
52676
- tool: async (client, args69, ctx) => {
52677
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52966
+ args: args69,
52967
+ tool: async (client, args70, ctx) => {
52968
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52678
52969
  if (!result.ok) {
52679
52970
  return {
52680
52971
  content: [{ type: "text", text: result.error.message }],
@@ -52689,9 +52980,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
52689
52980
 
52690
52981
  // src/funcs/uniswapV3SwapSellExactly.ts
52691
52982
  function uniswapV3SwapSellExactly(client, request, options) {
52692
- return new APIPromise($do69(client, request, options));
52983
+ return new APIPromise($do70(client, request, options));
52693
52984
  }
52694
- async function $do69(client, request, options) {
52985
+ async function $do70(client, request, options) {
52695
52986
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52696
52987
  if (!parsed.ok) {
52697
52988
  return [parsed, { status: "invalid" }];
@@ -52762,12 +53053,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
52762
53053
  });
52763
53054
 
52764
53055
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
52765
- var args69, tool$uniswapV3SwapSellExactly;
53056
+ var args70, tool$uniswapV3SwapSellExactly;
52766
53057
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
52767
53058
  init_uniswapV3SwapSellExactly();
52768
53059
  init_components();
52769
53060
  init_tools();
52770
- args69 = {
53061
+ args70 = {
52771
53062
  request: UniswapSellExactlyRequest$inboundSchema
52772
53063
  };
52773
53064
  tool$uniswapV3SwapSellExactly = {
@@ -52781,9 +53072,9 @@ The transaction is executed on the specified blockchain network, and the user mu
52781
53072
  provide the necessary transaction details, including the token to sell, the token to
52782
53073
  receive, and the amount to sell. If the token being sold is WETH and needs to be
52783
53074
  wrapped, the appropriate amount will be wrapped automatically.`,
52784
- args: args69,
52785
- tool: async (client, args70, ctx) => {
52786
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53075
+ args: args70,
53076
+ tool: async (client, args71, ctx) => {
53077
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52787
53078
  if (!result.ok) {
52788
53079
  return {
52789
53080
  content: [{ type: "text", text: result.error.message }],
@@ -52798,9 +53089,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
52798
53089
 
52799
53090
  // src/funcs/universalAllowance.ts
52800
53091
  function universalAllowance(client, request, options) {
52801
- return new APIPromise($do70(client, request, options));
53092
+ return new APIPromise($do71(client, request, options));
52802
53093
  }
52803
- async function $do70(client, request, options) {
53094
+ async function $do71(client, request, options) {
52804
53095
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
52805
53096
  if (!parsed.ok) {
52806
53097
  return [parsed, { status: "invalid" }];
@@ -52878,12 +53169,12 @@ var init_universalAllowance = __esm(() => {
52878
53169
  });
52879
53170
 
52880
53171
  // src/mcp-server/tools/universalAllowance.ts
52881
- var args70, tool$universalAllowance;
53172
+ var args71, tool$universalAllowance;
52882
53173
  var init_universalAllowance2 = __esm(() => {
52883
53174
  init_universalAllowance();
52884
53175
  init_operations();
52885
53176
  init_tools();
52886
- args70 = {
53177
+ args71 = {
52887
53178
  request: GenericAllowanceRequest$inboundSchema
52888
53179
  };
52889
53180
  tool$universalAllowance = {
@@ -52897,9 +53188,9 @@ tokens on their behalf.
52897
53188
  This is a crucial step before engaging in any transactions or operations within
52898
53189
  these protocols, ensuring that the protocol has the necessary permissions to manage
52899
53190
  the user's tokens securely and efficiently.`,
52900
- args: args70,
52901
- tool: async (client, args71, ctx) => {
52902
- const [result, apiCall] = await universalAllowance(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53191
+ args: args71,
53192
+ tool: async (client, args72, ctx) => {
53193
+ const [result, apiCall] = await universalAllowance(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52903
53194
  if (!result.ok) {
52904
53195
  return {
52905
53196
  content: [{ type: "text", text: result.error.message }],
@@ -52914,9 +53205,9 @@ the user's tokens securely and efficiently.`,
52914
53205
 
52915
53206
  // src/funcs/universalAllowanceSet.ts
52916
53207
  function universalAllowanceSet(client, request, options) {
52917
- return new APIPromise($do71(client, request, options));
53208
+ return new APIPromise($do72(client, request, options));
52918
53209
  }
52919
- async function $do71(client, request, options) {
53210
+ async function $do72(client, request, options) {
52920
53211
  const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
52921
53212
  if (!parsed.ok) {
52922
53213
  return [parsed, { status: "invalid" }];
@@ -52987,12 +53278,12 @@ var init_universalAllowanceSet = __esm(() => {
52987
53278
  });
52988
53279
 
52989
53280
  // src/mcp-server/tools/universalAllowanceSet.ts
52990
- var args71, tool$universalAllowanceSet;
53281
+ var args72, tool$universalAllowanceSet;
52991
53282
  var init_universalAllowanceSet2 = __esm(() => {
52992
53283
  init_universalAllowanceSet();
52993
53284
  init_components();
52994
53285
  init_tools();
52995
- args71 = {
53286
+ args72 = {
52996
53287
  request: SetAllowanceRequest$inboundSchema
52997
53288
  };
52998
53289
  tool$universalAllowanceSet = {
@@ -53007,9 +53298,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
53007
53298
  This operation is crucial for ensuring that the protocol can manage the user's
53008
53299
  tokens securely and efficiently, enabling seamless transactions and operations
53009
53300
  within the DeFi ecosystem.`,
53010
- args: args71,
53011
- tool: async (client, args72, ctx) => {
53012
- const [result, apiCall] = await universalAllowanceSet(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53301
+ args: args72,
53302
+ tool: async (client, args73, ctx) => {
53303
+ const [result, apiCall] = await universalAllowanceSet(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53013
53304
  if (!result.ok) {
53014
53305
  return {
53015
53306
  content: [{ type: "text", text: result.error.message }],
@@ -53024,9 +53315,9 @@ within the DeFi ecosystem.`,
53024
53315
 
53025
53316
  // src/funcs/universalEns.ts
53026
53317
  function universalEns(client, request, options) {
53027
- return new APIPromise($do72(client, request, options));
53318
+ return new APIPromise($do73(client, request, options));
53028
53319
  }
53029
- async function $do72(client, request, options) {
53320
+ async function $do73(client, request, options) {
53030
53321
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
53031
53322
  if (!parsed.ok) {
53032
53323
  return [parsed, { status: "invalid" }];
@@ -53102,12 +53393,12 @@ var init_universalEns = __esm(() => {
53102
53393
  });
53103
53394
 
53104
53395
  // src/mcp-server/tools/universalEns.ts
53105
- var args72, tool$universalEns;
53396
+ var args73, tool$universalEns;
53106
53397
  var init_universalEns2 = __esm(() => {
53107
53398
  init_universalEns();
53108
53399
  init_operations();
53109
53400
  init_tools();
53110
- args72 = {
53401
+ args73 = {
53111
53402
  request: GenericEnsRequest$inboundSchema
53112
53403
  };
53113
53404
  tool$universalEns = {
@@ -53118,9 +53409,9 @@ An ENS name is a string ending in \`.eth\`.
53118
53409
 
53119
53410
  E.g. \`vitalik.eth\`. This endpoint can be used to
53120
53411
  query the actual ethereum wallet address behind the ENS name.`,
53121
- args: args72,
53122
- tool: async (client, args73, ctx) => {
53123
- const [result, apiCall] = await universalEns(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53412
+ args: args73,
53413
+ tool: async (client, args74, ctx) => {
53414
+ const [result, apiCall] = await universalEns(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53124
53415
  if (!result.ok) {
53125
53416
  return {
53126
53417
  content: [{ type: "text", text: result.error.message }],
@@ -53135,9 +53426,9 @@ query the actual ethereum wallet address behind the ENS name.`,
53135
53426
 
53136
53427
  // src/funcs/universalPortfolio.ts
53137
53428
  function universalPortfolio(client, request, options) {
53138
- return new APIPromise($do73(client, request, options));
53429
+ return new APIPromise($do74(client, request, options));
53139
53430
  }
53140
- async function $do73(client, request, options) {
53431
+ async function $do74(client, request, options) {
53141
53432
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
53142
53433
  if (!parsed.ok) {
53143
53434
  return [parsed, { status: "invalid" }];
@@ -53213,12 +53504,12 @@ var init_universalPortfolio = __esm(() => {
53213
53504
  });
53214
53505
 
53215
53506
  // src/mcp-server/tools/universalPortfolio.ts
53216
- var args73, tool$universalPortfolio;
53507
+ var args74, tool$universalPortfolio;
53217
53508
  var init_universalPortfolio2 = __esm(() => {
53218
53509
  init_universalPortfolio();
53219
53510
  init_operations();
53220
53511
  init_tools();
53221
- args73 = {
53512
+ args74 = {
53222
53513
  request: GenericPortfolioRequest$inboundSchema
53223
53514
  };
53224
53515
  tool$universalPortfolio = {
@@ -53229,9 +53520,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
53229
53520
 
53230
53521
  This includes the total value of the portfolio in USD and a breakdown of token
53231
53522
  balances, including their respective values and quantities.`,
53232
- args: args73,
53233
- tool: async (client, args74, ctx) => {
53234
- const [result, apiCall] = await universalPortfolio(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53523
+ args: args74,
53524
+ tool: async (client, args75, ctx) => {
53525
+ const [result, apiCall] = await universalPortfolio(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53235
53526
  if (!result.ok) {
53236
53527
  return {
53237
53528
  content: [{ type: "text", text: result.error.message }],
@@ -53246,9 +53537,9 @@ balances, including their respective values and quantities.`,
53246
53537
 
53247
53538
  // src/funcs/universalSupportedTokens.ts
53248
53539
  function universalSupportedTokens(client, request, options) {
53249
- return new APIPromise($do74(client, request, options));
53540
+ return new APIPromise($do75(client, request, options));
53250
53541
  }
53251
- async function $do74(client, request, options) {
53542
+ async function $do75(client, request, options) {
53252
53543
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
53253
53544
  if (!parsed.ok) {
53254
53545
  return [parsed, { status: "invalid" }];
@@ -53323,12 +53614,12 @@ var init_universalSupportedTokens = __esm(() => {
53323
53614
  });
53324
53615
 
53325
53616
  // src/mcp-server/tools/universalSupportedTokens.ts
53326
- var args74, tool$universalSupportedTokens;
53617
+ var args75, tool$universalSupportedTokens;
53327
53618
  var init_universalSupportedTokens2 = __esm(() => {
53328
53619
  init_universalSupportedTokens();
53329
53620
  init_operations();
53330
53621
  init_tools();
53331
- args74 = {
53622
+ args75 = {
53332
53623
  request: GenericSupportedTokensRequest$inboundSchema
53333
53624
  };
53334
53625
  tool$universalSupportedTokens = {
@@ -53336,9 +53627,9 @@ var init_universalSupportedTokens2 = __esm(() => {
53336
53627
  description: `List Supported Tokens
53337
53628
 
53338
53629
  Get the list of supported tokens on a chain by the Compass API.`,
53339
- args: args74,
53340
- tool: async (client, args75, ctx) => {
53341
- const [result, apiCall] = await universalSupportedTokens(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53630
+ args: args75,
53631
+ tool: async (client, args76, ctx) => {
53632
+ const [result, apiCall] = await universalSupportedTokens(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53342
53633
  if (!result.ok) {
53343
53634
  return {
53344
53635
  content: [{ type: "text", text: result.error.message }],
@@ -53353,9 +53644,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
53353
53644
 
53354
53645
  // src/funcs/universalUnwrapWeth.ts
53355
53646
  function universalUnwrapWeth(client, request, options) {
53356
- return new APIPromise($do75(client, request, options));
53647
+ return new APIPromise($do76(client, request, options));
53357
53648
  }
53358
- async function $do75(client, request, options) {
53649
+ async function $do76(client, request, options) {
53359
53650
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
53360
53651
  if (!parsed.ok) {
53361
53652
  return [parsed, { status: "invalid" }];
@@ -53426,12 +53717,12 @@ var init_universalUnwrapWeth = __esm(() => {
53426
53717
  });
53427
53718
 
53428
53719
  // src/mcp-server/tools/universalUnwrapWeth.ts
53429
- var args75, tool$universalUnwrapWeth;
53720
+ var args76, tool$universalUnwrapWeth;
53430
53721
  var init_universalUnwrapWeth2 = __esm(() => {
53431
53722
  init_universalUnwrapWeth();
53432
53723
  init_components();
53433
53724
  init_tools();
53434
- args75 = {
53725
+ args76 = {
53435
53726
  request: UnwrapWethRequest$inboundSchema
53436
53727
  };
53437
53728
  tool$universalUnwrapWeth = {
@@ -53440,9 +53731,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
53440
53731
 
53441
53732
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
53442
53733
  can be used for gas and other native purposes.`,
53443
- args: args75,
53444
- tool: async (client, args76, ctx) => {
53445
- const [result, apiCall] = await universalUnwrapWeth(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53734
+ args: args76,
53735
+ tool: async (client, args77, ctx) => {
53736
+ const [result, apiCall] = await universalUnwrapWeth(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53446
53737
  if (!result.ok) {
53447
53738
  return {
53448
53739
  content: [{ type: "text", text: result.error.message }],
@@ -53457,9 +53748,9 @@ can be used for gas and other native purposes.`,
53457
53748
 
53458
53749
  // src/funcs/universalVisualizePortfolio.ts
53459
53750
  function universalVisualizePortfolio(client, request, options) {
53460
- return new APIPromise($do76(client, request, options));
53751
+ return new APIPromise($do77(client, request, options));
53461
53752
  }
53462
- async function $do76(client, request, options) {
53753
+ async function $do77(client, request, options) {
53463
53754
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
53464
53755
  if (!parsed.ok) {
53465
53756
  return [parsed, { status: "invalid" }];
@@ -53535,12 +53826,12 @@ var init_universalVisualizePortfolio = __esm(() => {
53535
53826
  });
53536
53827
 
53537
53828
  // src/mcp-server/tools/universalVisualizePortfolio.ts
53538
- var args76, tool$universalVisualizePortfolio;
53829
+ var args77, tool$universalVisualizePortfolio;
53539
53830
  var init_universalVisualizePortfolio2 = __esm(() => {
53540
53831
  init_universalVisualizePortfolio();
53541
53832
  init_operations();
53542
53833
  init_tools();
53543
- args76 = {
53834
+ args77 = {
53544
53835
  request: GenericVisualizePortfolioRequest$inboundSchema
53545
53836
  };
53546
53837
  tool$universalVisualizePortfolio = {
@@ -53552,9 +53843,9 @@ Generate a visual representation of the token portfolio for a wallet address.
53552
53843
  The response is an SVG image of a pie chart depicting the relative distribution of
53553
53844
  tokens held, colored and labeled with token symbols, percentages and token values in
53554
53845
  USD.`,
53555
- args: args76,
53556
- tool: async (client, args77, ctx) => {
53557
- const [result, apiCall] = await universalVisualizePortfolio(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53846
+ args: args77,
53847
+ tool: async (client, args78, ctx) => {
53848
+ const [result, apiCall] = await universalVisualizePortfolio(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53558
53849
  if (!result.ok) {
53559
53850
  return {
53560
53851
  content: [{ type: "text", text: result.error.message }],
@@ -53569,9 +53860,9 @@ USD.`,
53569
53860
 
53570
53861
  // src/funcs/universalWrapEth.ts
53571
53862
  function universalWrapEth(client, request, options) {
53572
- return new APIPromise($do77(client, request, options));
53863
+ return new APIPromise($do78(client, request, options));
53573
53864
  }
53574
- async function $do77(client, request, options) {
53865
+ async function $do78(client, request, options) {
53575
53866
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
53576
53867
  if (!parsed.ok) {
53577
53868
  return [parsed, { status: "invalid" }];
@@ -53642,12 +53933,12 @@ var init_universalWrapEth = __esm(() => {
53642
53933
  });
53643
53934
 
53644
53935
  // src/mcp-server/tools/universalWrapEth.ts
53645
- var args77, tool$universalWrapEth;
53936
+ var args78, tool$universalWrapEth;
53646
53937
  var init_universalWrapEth2 = __esm(() => {
53647
53938
  init_universalWrapEth();
53648
53939
  init_components();
53649
53940
  init_tools();
53650
- args77 = {
53941
+ args78 = {
53651
53942
  request: WrapEthRequest$inboundSchema
53652
53943
  };
53653
53944
  tool$universalWrapEth = {
@@ -53656,9 +53947,9 @@ var init_universalWrapEth2 = __esm(() => {
53656
53947
 
53657
53948
  Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
53658
53949
  it to be traded on DeFi protocols.`,
53659
- args: args77,
53660
- tool: async (client, args78, ctx) => {
53661
- const [result, apiCall] = await universalWrapEth(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53950
+ args: args78,
53951
+ tool: async (client, args79, ctx) => {
53952
+ const [result, apiCall] = await universalWrapEth(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53662
53953
  if (!result.ok) {
53663
53954
  return {
53664
53955
  content: [{ type: "text", text: result.error.message }],
@@ -53675,7 +53966,7 @@ it to be traded on DeFi protocols.`,
53675
53966
  function createMCPServer(deps) {
53676
53967
  const server = new McpServer({
53677
53968
  name: "CompassApiSDK",
53678
- version: "0.5.32"
53969
+ version: "0.5.34"
53679
53970
  });
53680
53971
  const client = new CompassApiSDKCore({
53681
53972
  apiKeyAuth: deps.apiKeyAuth,
@@ -53764,6 +54055,7 @@ function createMCPServer(deps) {
53764
54055
  tool(tool$transactionBundlerBundlerExecute);
53765
54056
  tool(tool$transactionBundlerBundlerAaveLoop);
53766
54057
  tool(tool$smartAccountAccountBatchedUserOperations);
54058
+ tool(tool$erc4626VaultsVault);
53767
54059
  tool(tool$erc4626VaultsDeposit);
53768
54060
  tool(tool$erc4626VaultsWithdraw);
53769
54061
  return server;
@@ -53794,6 +54086,7 @@ var init_server2 = __esm(() => {
53794
54086
  init_aerodromeSlipstreamSlipstreamSwapBuyExactly2();
53795
54087
  init_aerodromeSlipstreamSlipstreamSwapSellExactly2();
53796
54088
  init_erc4626VaultsDeposit2();
54089
+ init_erc4626VaultsVault2();
53797
54090
  init_erc4626VaultsWithdraw2();
53798
54091
  init_morphoBorrow2();
53799
54092
  init_morphoDeposit2();
@@ -55040,7 +55333,7 @@ var routes = an({
55040
55333
  var app = He(routes, {
55041
55334
  name: "mcp",
55042
55335
  versionInfo: {
55043
- currentVersion: "0.5.32"
55336
+ currentVersion: "0.5.34"
55044
55337
  }
55045
55338
  });
55046
55339
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -55048,5 +55341,5 @@ export {
55048
55341
  app
55049
55342
  };
55050
55343
 
55051
- //# debugId=01369E351C8FF2AE64756E2164756E21
55344
+ //# debugId=603B96D71504A84864756E2164756E21
55052
55345
  //# sourceMappingURL=mcp-server.js.map