@compass-labs/api-sdk 0.5.11 → 0.5.13

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 (141) hide show
  1. package/README.md +0 -9
  2. package/bin/mcp-server.js +251 -742
  3. package/bin/mcp-server.js.map +9 -19
  4. package/dist/commonjs/lib/config.d.ts +2 -2
  5. package/dist/commonjs/lib/config.js +2 -2
  6. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  7. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -7
  9. package/dist/commonjs/mcp-server/server.js.map +1 -1
  10. package/dist/commonjs/models/components/index.d.ts +0 -4
  11. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  12. package/dist/commonjs/models/components/index.js +0 -4
  13. package/dist/commonjs/models/components/index.js.map +1 -1
  14. package/dist/commonjs/models/operations/tokenprice.js +4 -4
  15. package/dist/commonjs/sdk/sdk.d.ts +0 -3
  16. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  17. package/dist/commonjs/sdk/sdk.js +0 -4
  18. package/dist/commonjs/sdk/sdk.js.map +1 -1
  19. package/dist/esm/lib/config.d.ts +2 -2
  20. package/dist/esm/lib/config.js +2 -2
  21. package/dist/esm/mcp-server/mcp-server.js +1 -1
  22. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  23. package/dist/esm/mcp-server/server.js +1 -7
  24. package/dist/esm/mcp-server/server.js.map +1 -1
  25. package/dist/esm/models/components/index.d.ts +0 -4
  26. package/dist/esm/models/components/index.d.ts.map +1 -1
  27. package/dist/esm/models/components/index.js +0 -4
  28. package/dist/esm/models/components/index.js.map +1 -1
  29. package/dist/esm/models/operations/tokenprice.js +4 -4
  30. package/dist/esm/sdk/sdk.d.ts +0 -3
  31. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  32. package/dist/esm/sdk/sdk.js +0 -4
  33. package/dist/esm/sdk/sdk.js.map +1 -1
  34. package/jsr.json +1 -1
  35. package/package.json +1 -1
  36. package/src/lib/config.ts +2 -2
  37. package/src/mcp-server/mcp-server.ts +1 -1
  38. package/src/mcp-server/server.ts +1 -7
  39. package/src/models/components/index.ts +0 -4
  40. package/src/models/operations/tokenprice.ts +4 -4
  41. package/src/sdk/sdk.ts +0 -8
  42. package/dist/commonjs/funcs/transactionBatchingAaveLoop.d.ts +0 -28
  43. package/dist/commonjs/funcs/transactionBatchingAaveLoop.d.ts.map +0 -1
  44. package/dist/commonjs/funcs/transactionBatchingAaveLoop.js +0 -128
  45. package/dist/commonjs/funcs/transactionBatchingAaveLoop.js.map +0 -1
  46. package/dist/commonjs/funcs/transactionBatchingAuthorization.d.ts +0 -23
  47. package/dist/commonjs/funcs/transactionBatchingAuthorization.d.ts.map +0 -1
  48. package/dist/commonjs/funcs/transactionBatchingAuthorization.js +0 -123
  49. package/dist/commonjs/funcs/transactionBatchingAuthorization.js.map +0 -1
  50. package/dist/commonjs/funcs/transactionBatchingExecute.d.ts +0 -24
  51. package/dist/commonjs/funcs/transactionBatchingExecute.d.ts.map +0 -1
  52. package/dist/commonjs/funcs/transactionBatchingExecute.js +0 -124
  53. package/dist/commonjs/funcs/transactionBatchingExecute.js.map +0 -1
  54. package/dist/commonjs/mcp-server/tools/transactionBatchingAaveLoop.d.ts +0 -8
  55. package/dist/commonjs/mcp-server/tools/transactionBatchingAaveLoop.d.ts.map +0 -1
  56. package/dist/commonjs/mcp-server/tools/transactionBatchingAaveLoop.js +0 -74
  57. package/dist/commonjs/mcp-server/tools/transactionBatchingAaveLoop.js.map +0 -1
  58. package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.d.ts +0 -8
  59. package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.d.ts.map +0 -1
  60. package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.js +0 -69
  61. package/dist/commonjs/mcp-server/tools/transactionBatchingAuthorization.js.map +0 -1
  62. package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.d.ts +0 -8
  63. package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.d.ts.map +0 -1
  64. package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.js +0 -70
  65. package/dist/commonjs/mcp-server/tools/transactionBatchingExecute.js.map +0 -1
  66. package/dist/commonjs/models/components/aavelooprequest.d.ts +0 -181
  67. package/dist/commonjs/models/components/aavelooprequest.d.ts.map +0 -1
  68. package/dist/commonjs/models/components/aavelooprequest.js +0 -199
  69. package/dist/commonjs/models/components/aavelooprequest.js.map +0 -1
  70. package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts +0 -49
  71. package/dist/commonjs/models/components/multicallauthorizationrequest.d.ts.map +0 -1
  72. package/dist/commonjs/models/components/multicallauthorizationrequest.js +0 -72
  73. package/dist/commonjs/models/components/multicallauthorizationrequest.js.map +0 -1
  74. package/dist/commonjs/models/components/multicallauthorizationresponse.d.ts +0 -45
  75. package/dist/commonjs/models/components/multicallauthorizationresponse.d.ts.map +0 -1
  76. package/dist/commonjs/models/components/multicallauthorizationresponse.js +0 -73
  77. package/dist/commonjs/models/components/multicallauthorizationresponse.js.map +0 -1
  78. package/dist/commonjs/models/components/multicallexecuterequest.d.ts +0 -50
  79. package/dist/commonjs/models/components/multicallexecuterequest.d.ts.map +0 -1
  80. package/dist/commonjs/models/components/multicallexecuterequest.js +0 -87
  81. package/dist/commonjs/models/components/multicallexecuterequest.js.map +0 -1
  82. package/dist/commonjs/sdk/transactionbatching.d.ts +0 -47
  83. package/dist/commonjs/sdk/transactionbatching.d.ts.map +0 -1
  84. package/dist/commonjs/sdk/transactionbatching.js +0 -63
  85. package/dist/commonjs/sdk/transactionbatching.js.map +0 -1
  86. package/dist/esm/funcs/transactionBatchingAaveLoop.d.ts +0 -28
  87. package/dist/esm/funcs/transactionBatchingAaveLoop.d.ts.map +0 -1
  88. package/dist/esm/funcs/transactionBatchingAaveLoop.js +0 -92
  89. package/dist/esm/funcs/transactionBatchingAaveLoop.js.map +0 -1
  90. package/dist/esm/funcs/transactionBatchingAuthorization.d.ts +0 -23
  91. package/dist/esm/funcs/transactionBatchingAuthorization.d.ts.map +0 -1
  92. package/dist/esm/funcs/transactionBatchingAuthorization.js +0 -87
  93. package/dist/esm/funcs/transactionBatchingAuthorization.js.map +0 -1
  94. package/dist/esm/funcs/transactionBatchingExecute.d.ts +0 -24
  95. package/dist/esm/funcs/transactionBatchingExecute.d.ts.map +0 -1
  96. package/dist/esm/funcs/transactionBatchingExecute.js +0 -88
  97. package/dist/esm/funcs/transactionBatchingExecute.js.map +0 -1
  98. package/dist/esm/mcp-server/tools/transactionBatchingAaveLoop.d.ts +0 -8
  99. package/dist/esm/mcp-server/tools/transactionBatchingAaveLoop.d.ts.map +0 -1
  100. package/dist/esm/mcp-server/tools/transactionBatchingAaveLoop.js +0 -38
  101. package/dist/esm/mcp-server/tools/transactionBatchingAaveLoop.js.map +0 -1
  102. package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.d.ts +0 -8
  103. package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.d.ts.map +0 -1
  104. package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.js +0 -33
  105. package/dist/esm/mcp-server/tools/transactionBatchingAuthorization.js.map +0 -1
  106. package/dist/esm/mcp-server/tools/transactionBatchingExecute.d.ts +0 -8
  107. package/dist/esm/mcp-server/tools/transactionBatchingExecute.d.ts.map +0 -1
  108. package/dist/esm/mcp-server/tools/transactionBatchingExecute.js +0 -34
  109. package/dist/esm/mcp-server/tools/transactionBatchingExecute.js.map +0 -1
  110. package/dist/esm/models/components/aavelooprequest.d.ts +0 -181
  111. package/dist/esm/models/components/aavelooprequest.d.ts.map +0 -1
  112. package/dist/esm/models/components/aavelooprequest.js +0 -153
  113. package/dist/esm/models/components/aavelooprequest.js.map +0 -1
  114. package/dist/esm/models/components/multicallauthorizationrequest.d.ts +0 -49
  115. package/dist/esm/models/components/multicallauthorizationrequest.d.ts.map +0 -1
  116. package/dist/esm/models/components/multicallauthorizationrequest.js +0 -34
  117. package/dist/esm/models/components/multicallauthorizationrequest.js.map +0 -1
  118. package/dist/esm/models/components/multicallauthorizationresponse.d.ts +0 -45
  119. package/dist/esm/models/components/multicallauthorizationresponse.d.ts.map +0 -1
  120. package/dist/esm/models/components/multicallauthorizationresponse.js +0 -35
  121. package/dist/esm/models/components/multicallauthorizationresponse.js.map +0 -1
  122. package/dist/esm/models/components/multicallexecuterequest.d.ts +0 -50
  123. package/dist/esm/models/components/multicallexecuterequest.d.ts.map +0 -1
  124. package/dist/esm/models/components/multicallexecuterequest.js +0 -49
  125. package/dist/esm/models/components/multicallexecuterequest.js.map +0 -1
  126. package/dist/esm/sdk/transactionbatching.d.ts +0 -47
  127. package/dist/esm/sdk/transactionbatching.d.ts.map +0 -1
  128. package/dist/esm/sdk/transactionbatching.js +0 -59
  129. package/dist/esm/sdk/transactionbatching.js.map +0 -1
  130. package/docs/sdks/transactionbatching/README.md +0 -318
  131. package/src/funcs/transactionBatchingAaveLoop.ts +0 -179
  132. package/src/funcs/transactionBatchingAuthorization.ts +0 -175
  133. package/src/funcs/transactionBatchingExecute.ts +0 -175
  134. package/src/mcp-server/tools/transactionBatchingAaveLoop.ts +0 -47
  135. package/src/mcp-server/tools/transactionBatchingAuthorization.ts +0 -44
  136. package/src/mcp-server/tools/transactionBatchingExecute.ts +0 -43
  137. package/src/models/components/aavelooprequest.ts +0 -368
  138. package/src/models/components/multicallauthorizationrequest.ts +0 -90
  139. package/src/models/components/multicallauthorizationresponse.ts +0 -88
  140. package/src/models/components/multicallexecuterequest.ts +0 -112
  141. package/src/sdk/transactionbatching.ts +0 -84
package/bin/mcp-server.js CHANGED
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
34205
34205
  SDK_METADATA = {
34206
34206
  language: "typescript",
34207
34207
  openapiDocVersion: "0.0.1",
34208
- sdkVersion: "0.5.11",
34208
+ sdkVersion: "0.5.13",
34209
34209
  genVersion: "2.623.2",
34210
- userAgent: "speakeasy-sdk/typescript 0.5.11 2.623.2 0.0.1 @compass-labs/api-sdk"
34210
+ userAgent: "speakeasy-sdk/typescript 0.5.13 2.623.2 0.0.1 @compass-labs/api-sdk"
34211
34211
  };
34212
34212
  });
34213
34213
 
@@ -36248,128 +36248,6 @@ var init_aaveliquiditychangeresponse = __esm(() => {
36248
36248
  })(AaveLiquidityChangeResponse$ ||= {});
36249
36249
  });
36250
36250
 
36251
- // src/models/components/signedauthorization.ts
36252
- var R$inboundSchema, R$outboundSchema, R$, S$inboundSchema, S$outboundSchema, S$, SignedAuthorization$inboundSchema, SignedAuthorization$outboundSchema, SignedAuthorization$;
36253
- var init_signedauthorization = __esm(() => {
36254
- init_esm();
36255
- R$inboundSchema = unionType([
36256
- numberType().int(),
36257
- stringType()
36258
- ]);
36259
- R$outboundSchema = unionType([numberType().int(), stringType()]);
36260
- ((R$) => {
36261
- R$.inboundSchema = R$inboundSchema;
36262
- R$.outboundSchema = R$outboundSchema;
36263
- })(R$ ||= {});
36264
- S$inboundSchema = unionType([
36265
- numberType().int(),
36266
- stringType()
36267
- ]);
36268
- S$outboundSchema = unionType([numberType().int(), stringType()]);
36269
- ((S$) => {
36270
- S$.inboundSchema = S$inboundSchema;
36271
- S$.outboundSchema = S$outboundSchema;
36272
- })(S$ ||= {});
36273
- SignedAuthorization$inboundSchema = objectType({
36274
- nonce: numberType().int(),
36275
- address: stringType(),
36276
- chainId: numberType().int(),
36277
- r: unionType([numberType().int(), stringType()]),
36278
- s: unionType([numberType().int(), stringType()]),
36279
- yParity: numberType().int()
36280
- });
36281
- SignedAuthorization$outboundSchema = objectType({
36282
- nonce: numberType().int(),
36283
- address: stringType(),
36284
- chainId: numberType().int(),
36285
- r: unionType([numberType().int(), stringType()]),
36286
- s: unionType([numberType().int(), stringType()]),
36287
- yParity: numberType().int()
36288
- });
36289
- ((SignedAuthorization$) => {
36290
- SignedAuthorization$.inboundSchema = SignedAuthorization$inboundSchema;
36291
- SignedAuthorization$.outboundSchema = SignedAuthorization$outboundSchema;
36292
- })(SignedAuthorization$ ||= {});
36293
- });
36294
-
36295
- // src/models/components/aavelooprequest.ts
36296
- var InitialCollateralAmount$inboundSchema, InitialCollateralAmount$outboundSchema, InitialCollateralAmount$, Multiplier$inboundSchema, Multiplier$outboundSchema, Multiplier$, MaxSlippagePercent$inboundSchema, MaxSlippagePercent$outboundSchema, MaxSlippagePercent$, LoanToValue$inboundSchema, LoanToValue$outboundSchema, LoanToValue$, AaveLoopRequest$inboundSchema, AaveLoopRequest$outboundSchema, AaveLoopRequest$;
36297
- var init_aavelooprequest = __esm(() => {
36298
- init_esm();
36299
- init_primitives();
36300
- init_chain();
36301
- init_signedauthorization();
36302
- init_tokenenum();
36303
- InitialCollateralAmount$inboundSchema = unionType([numberType(), stringType()]);
36304
- InitialCollateralAmount$outboundSchema = unionType([numberType(), stringType()]);
36305
- ((InitialCollateralAmount$) => {
36306
- InitialCollateralAmount$.inboundSchema = InitialCollateralAmount$inboundSchema;
36307
- InitialCollateralAmount$.outboundSchema = InitialCollateralAmount$outboundSchema;
36308
- })(InitialCollateralAmount$ ||= {});
36309
- Multiplier$inboundSchema = unionType([numberType(), stringType()]);
36310
- Multiplier$outboundSchema = unionType([numberType(), stringType()]);
36311
- ((Multiplier$) => {
36312
- Multiplier$.inboundSchema = Multiplier$inboundSchema;
36313
- Multiplier$.outboundSchema = Multiplier$outboundSchema;
36314
- })(Multiplier$ ||= {});
36315
- MaxSlippagePercent$inboundSchema = unionType([numberType(), stringType()]);
36316
- MaxSlippagePercent$outboundSchema = unionType([numberType(), stringType()]);
36317
- ((MaxSlippagePercent$) => {
36318
- MaxSlippagePercent$.inboundSchema = MaxSlippagePercent$inboundSchema;
36319
- MaxSlippagePercent$.outboundSchema = MaxSlippagePercent$outboundSchema;
36320
- })(MaxSlippagePercent$ ||= {});
36321
- LoanToValue$inboundSchema = unionType([numberType(), stringType()]);
36322
- LoanToValue$outboundSchema = unionType([numberType(), stringType()]);
36323
- ((LoanToValue$) => {
36324
- LoanToValue$.inboundSchema = LoanToValue$inboundSchema;
36325
- LoanToValue$.outboundSchema = LoanToValue$outboundSchema;
36326
- })(LoanToValue$ ||= {});
36327
- AaveLoopRequest$inboundSchema = objectType({
36328
- chain: Chain$inboundSchema,
36329
- sender: stringType(),
36330
- signed_authorization: SignedAuthorization$inboundSchema,
36331
- collateral_token: TokenEnum$inboundSchema,
36332
- borrow_token: TokenEnum$inboundSchema,
36333
- initial_collateral_amount: unionType([numberType(), stringType()]),
36334
- multiplier: unionType([numberType(), stringType()]),
36335
- max_slippage_percent: unionType([numberType(), stringType()]),
36336
- loan_to_value: unionType([numberType(), stringType()])
36337
- }).transform((v2) => {
36338
- return remap(v2, {
36339
- signed_authorization: "signedAuthorization",
36340
- collateral_token: "collateralToken",
36341
- borrow_token: "borrowToken",
36342
- initial_collateral_amount: "initialCollateralAmount",
36343
- max_slippage_percent: "maxSlippagePercent",
36344
- loan_to_value: "loanToValue"
36345
- });
36346
- });
36347
- AaveLoopRequest$outboundSchema = objectType({
36348
- chain: Chain$outboundSchema,
36349
- sender: stringType(),
36350
- signedAuthorization: SignedAuthorization$outboundSchema,
36351
- collateralToken: TokenEnum$outboundSchema,
36352
- borrowToken: TokenEnum$outboundSchema,
36353
- initialCollateralAmount: unionType([numberType(), stringType()]),
36354
- multiplier: unionType([numberType(), stringType()]),
36355
- maxSlippagePercent: unionType([numberType(), stringType()]),
36356
- loanToValue: unionType([numberType(), stringType()])
36357
- }).transform((v2) => {
36358
- return remap(v2, {
36359
- signedAuthorization: "signed_authorization",
36360
- collateralToken: "collateral_token",
36361
- borrowToken: "borrow_token",
36362
- initialCollateralAmount: "initial_collateral_amount",
36363
- maxSlippagePercent: "max_slippage_percent",
36364
- loanToValue: "loan_to_value"
36365
- });
36366
- });
36367
- ((AaveLoopRequest$) => {
36368
- AaveLoopRequest$.inboundSchema = AaveLoopRequest$inboundSchema;
36369
- AaveLoopRequest$.outboundSchema = AaveLoopRequest$outboundSchema;
36370
- })(AaveLoopRequest$ ||= {});
36371
- });
36372
-
36373
36251
  // src/models/components/aaverateresponse.ts
36374
36252
  var AaveRateResponse$inboundSchema, AaveRateResponse$outboundSchema, AaveRateResponse$;
36375
36253
  var init_aaverateresponse = __esm(() => {
@@ -40771,79 +40649,6 @@ var init_morphowithdrawrequest = __esm(() => {
40771
40649
  })(MorphoWithdrawRequest$ ||= {});
40772
40650
  });
40773
40651
 
40774
- // src/models/components/multicallauthorizationrequest.ts
40775
- var MulticallAuthorizationRequest$inboundSchema, MulticallAuthorizationRequest$outboundSchema, MulticallAuthorizationRequest$;
40776
- var init_multicallauthorizationrequest = __esm(() => {
40777
- init_esm();
40778
- init_chain();
40779
- MulticallAuthorizationRequest$inboundSchema = objectType({
40780
- chain: Chain$inboundSchema,
40781
- sender: stringType()
40782
- });
40783
- MulticallAuthorizationRequest$outboundSchema = objectType({
40784
- chain: Chain$outboundSchema,
40785
- sender: stringType()
40786
- });
40787
- ((MulticallAuthorizationRequest$) => {
40788
- MulticallAuthorizationRequest$.inboundSchema = MulticallAuthorizationRequest$inboundSchema;
40789
- MulticallAuthorizationRequest$.outboundSchema = MulticallAuthorizationRequest$outboundSchema;
40790
- })(MulticallAuthorizationRequest$ ||= {});
40791
- });
40792
-
40793
- // src/models/components/multicallauthorizationresponse.ts
40794
- var MulticallAuthorizationResponse$inboundSchema, MulticallAuthorizationResponse$outboundSchema, MulticallAuthorizationResponse$;
40795
- var init_multicallauthorizationresponse = __esm(() => {
40796
- init_esm();
40797
- MulticallAuthorizationResponse$inboundSchema = objectType({
40798
- nonce: numberType().int(),
40799
- address: stringType(),
40800
- chainId: numberType().int()
40801
- });
40802
- MulticallAuthorizationResponse$outboundSchema = objectType({
40803
- nonce: numberType().int(),
40804
- address: stringType(),
40805
- chainId: numberType().int()
40806
- });
40807
- ((MulticallAuthorizationResponse$) => {
40808
- MulticallAuthorizationResponse$.inboundSchema = MulticallAuthorizationResponse$inboundSchema;
40809
- MulticallAuthorizationResponse$.outboundSchema = MulticallAuthorizationResponse$outboundSchema;
40810
- })(MulticallAuthorizationResponse$ ||= {});
40811
- });
40812
-
40813
- // src/models/components/multicallexecuterequest.ts
40814
- var MulticallExecuteRequest$inboundSchema, MulticallExecuteRequest$outboundSchema, MulticallExecuteRequest$;
40815
- var init_multicallexecuterequest = __esm(() => {
40816
- init_esm();
40817
- init_primitives();
40818
- init_chain();
40819
- init_signedauthorization();
40820
- init_useroperation();
40821
- MulticallExecuteRequest$inboundSchema = objectType({
40822
- chain: Chain$inboundSchema,
40823
- sender: stringType(),
40824
- signed_authorization: SignedAuthorization$inboundSchema,
40825
- actions: arrayType(UserOperation$inboundSchema)
40826
- }).transform((v2) => {
40827
- return remap(v2, {
40828
- signed_authorization: "signedAuthorization"
40829
- });
40830
- });
40831
- MulticallExecuteRequest$outboundSchema = objectType({
40832
- chain: Chain$outboundSchema,
40833
- sender: stringType(),
40834
- signedAuthorization: SignedAuthorization$outboundSchema,
40835
- actions: arrayType(UserOperation$outboundSchema)
40836
- }).transform((v2) => {
40837
- return remap(v2, {
40838
- signedAuthorization: "signed_authorization"
40839
- });
40840
- });
40841
- ((MulticallExecuteRequest$) => {
40842
- MulticallExecuteRequest$.inboundSchema = MulticallExecuteRequest$inboundSchema;
40843
- MulticallExecuteRequest$.outboundSchema = MulticallExecuteRequest$outboundSchema;
40844
- })(MulticallExecuteRequest$ ||= {});
40845
- });
40846
-
40847
40652
  // src/models/components/openposition.ts
40848
40653
  var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
40849
40654
  var init_openposition = __esm(() => {
@@ -41431,6 +41236,50 @@ var init_security2 = __esm(() => {
41431
41236
  })(Security$ ||= {});
41432
41237
  });
41433
41238
 
41239
+ // src/models/components/signedauthorization.ts
41240
+ var R$inboundSchema, R$outboundSchema, R$, S$inboundSchema, S$outboundSchema, S$, SignedAuthorization$inboundSchema, SignedAuthorization$outboundSchema, SignedAuthorization$;
41241
+ var init_signedauthorization = __esm(() => {
41242
+ init_esm();
41243
+ R$inboundSchema = unionType([
41244
+ numberType().int(),
41245
+ stringType()
41246
+ ]);
41247
+ R$outboundSchema = unionType([numberType().int(), stringType()]);
41248
+ ((R$) => {
41249
+ R$.inboundSchema = R$inboundSchema;
41250
+ R$.outboundSchema = R$outboundSchema;
41251
+ })(R$ ||= {});
41252
+ S$inboundSchema = unionType([
41253
+ numberType().int(),
41254
+ stringType()
41255
+ ]);
41256
+ S$outboundSchema = unionType([numberType().int(), stringType()]);
41257
+ ((S$) => {
41258
+ S$.inboundSchema = S$inboundSchema;
41259
+ S$.outboundSchema = S$outboundSchema;
41260
+ })(S$ ||= {});
41261
+ SignedAuthorization$inboundSchema = objectType({
41262
+ nonce: numberType().int(),
41263
+ address: stringType(),
41264
+ chainId: numberType().int(),
41265
+ r: unionType([numberType().int(), stringType()]),
41266
+ s: unionType([numberType().int(), stringType()]),
41267
+ yParity: numberType().int()
41268
+ });
41269
+ SignedAuthorization$outboundSchema = objectType({
41270
+ nonce: numberType().int(),
41271
+ address: stringType(),
41272
+ chainId: numberType().int(),
41273
+ r: unionType([numberType().int(), stringType()]),
41274
+ s: unionType([numberType().int(), stringType()]),
41275
+ yParity: numberType().int()
41276
+ });
41277
+ ((SignedAuthorization$) => {
41278
+ SignedAuthorization$.inboundSchema = SignedAuthorization$inboundSchema;
41279
+ SignedAuthorization$.outboundSchema = SignedAuthorization$outboundSchema;
41280
+ })(SignedAuthorization$ ||= {});
41281
+ });
41282
+
41434
41283
  // src/models/components/skybuyrequest.ts
41435
41284
  var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestTokenIn$outboundSchema, SkyBuyRequestTokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
41436
41285
  var init_skybuyrequest = __esm(() => {
@@ -42482,7 +42331,6 @@ var init_components = __esm(() => {
42482
42331
  init_aaveborrowrequest();
42483
42332
  init_aavehistoricaltransactionsresponse();
42484
42333
  init_aaveliquiditychangeresponse();
42485
- init_aavelooprequest();
42486
42334
  init_aaverateresponse();
42487
42335
  init_aaverepayparams();
42488
42336
  init_aaverepayrequest();
@@ -42568,9 +42416,6 @@ var init_components = __esm(() => {
42568
42416
  init_morphowithdrawparams();
42569
42417
  init_morphowithdrawrequest();
42570
42418
  init_movement10percent();
42571
- init_multicallauthorizationrequest();
42572
- init_multicallauthorizationresponse();
42573
- init_multicallexecuterequest();
42574
42419
  init_openposition();
42575
42420
  init_pendleaddliquidityparams();
42576
42421
  init_pendleaddliquidityrequest();
@@ -44417,12 +44262,12 @@ var init_tokenprice = __esm(() => {
44417
44262
  TokenPriceToken$.outboundSchema = TokenPriceToken$outboundSchema;
44418
44263
  })(TokenPriceToken$ ||= {});
44419
44264
  TokenPriceRequest$inboundSchema = objectType({
44420
- chain: TokenPriceChain$inboundSchema.default("arbitrum:mainnet"),
44421
- token: TokenPriceToken$inboundSchema.default("WBTC")
44265
+ chain: TokenPriceChain$inboundSchema.default("ethereum:mainnet"),
44266
+ token: TokenPriceToken$inboundSchema.default("AAVE")
44422
44267
  });
44423
44268
  TokenPriceRequest$outboundSchema = objectType({
44424
- chain: TokenPriceChain$outboundSchema.default("arbitrum:mainnet"),
44425
- token: TokenPriceToken$outboundSchema.default("WBTC")
44269
+ chain: TokenPriceChain$outboundSchema.default("ethereum:mainnet"),
44270
+ token: TokenPriceToken$outboundSchema.default("AAVE")
44426
44271
  });
44427
44272
  ((TokenPriceRequest$) => {
44428
44273
  TokenPriceRequest$.inboundSchema = TokenPriceRequest$inboundSchema;
@@ -51118,18 +50963,18 @@ Sends native ETH or ERC20 tokens from the sender's address to another address.`,
51118
50963
  };
51119
50964
  });
51120
50965
 
51121
- // src/funcs/transactionBatchingAaveLoop.ts
51122
- function transactionBatchingAaveLoop(client, request, options) {
50966
+ // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
50967
+ function uniswapV3LiquidityProvisionIncrease(client, request, options) {
51123
50968
  return new APIPromise($do56(client, request, options));
51124
50969
  }
51125
50970
  async function $do56(client, request, options) {
51126
- const parsed = safeParse(request, (value) => AaveLoopRequest$outboundSchema.parse(value), "Input validation failed");
50971
+ const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51127
50972
  if (!parsed.ok) {
51128
50973
  return [parsed, { status: "invalid" }];
51129
50974
  }
51130
50975
  const payload = parsed.value;
51131
50976
  const body = encodeJSON("body", payload, { explode: true });
51132
- const path = pathToFunc("/v0/multicall/aave/loop")();
50977
+ const path = pathToFunc("/v0/uniswap/liquidity_provision/increase")();
51133
50978
  const headers = new Headers(compactMap({
51134
50979
  "Content-Type": "application/json",
51135
50980
  Accept: "application/json"
@@ -51140,7 +50985,7 @@ async function $do56(client, request, options) {
51140
50985
  const context = {
51141
50986
  options: client._options,
51142
50987
  baseURL: options?.serverURL ?? client._baseURL ?? "",
51143
- operationID: "multicall_aave_loop",
50988
+ operationID: "uniswap_liquidity_provision_increase",
51144
50989
  oAuth2Scopes: [],
51145
50990
  resolvedSecurity: requestSecurity,
51146
50991
  securitySource: client._options.apiKeyAuth,
@@ -51174,13 +51019,13 @@ async function $do56(client, request, options) {
51174
51019
  const responseFields = {
51175
51020
  HttpMeta: { Response: response, Request: req }
51176
51021
  };
51177
- const [result] = await match(json(200, UnsignedMulticallTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51022
+ const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51178
51023
  if (!result.ok) {
51179
51024
  return [result, { status: "complete", request: req, response }];
51180
51025
  }
51181
51026
  return [result, { status: "complete", request: req, response }];
51182
51027
  }
51183
- var init_transactionBatchingAaveLoop = __esm(() => {
51028
+ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
51184
51029
  init_encodings();
51185
51030
  init_matchers();
51186
51031
  init_primitives();
@@ -51192,33 +51037,31 @@ var init_transactionBatchingAaveLoop = __esm(() => {
51192
51037
  init_async();
51193
51038
  });
51194
51039
 
51195
- // src/mcp-server/tools/transactionBatchingAaveLoop.ts
51196
- var args56, tool$transactionBatchingAaveLoop;
51197
- var init_transactionBatchingAaveLoop2 = __esm(() => {
51198
- init_transactionBatchingAaveLoop();
51040
+ // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
51041
+ var args56, tool$uniswapV3LiquidityProvisionIncrease;
51042
+ var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
51043
+ init_uniswapV3LiquidityProvisionIncrease();
51199
51044
  init_components();
51200
51045
  init_tools();
51201
51046
  args56 = {
51202
- request: AaveLoopRequest$inboundSchema
51047
+ request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
51203
51048
  };
51204
- tool$transactionBatchingAaveLoop = {
51205
- name: "transaction-batching-aave-loop",
51206
- description: `AAVE leverage long/short
51207
-
51208
- Execute an Aave looping strategy that involves repeated supply and borrow
51209
- operations.
51049
+ tool$uniswapV3LiquidityProvisionIncrease = {
51050
+ name: "uniswap-v3-liquidity-provision-increase",
51051
+ description: `Increase an LP position
51210
51052
 
51211
- This endpoint creates a multicall transaction that performs a series of operations:
51212
- 1. Approves and supplies initial token
51213
- 2. For each loop:
51214
- - Borrows another token
51215
- - Swaps borrowed token back to supply token
51216
- - Supplies the swapped tokens
51053
+ This endpoint allows users to increase their existing Liquidity Provider (LP)
51054
+ positions on the Uniswap platform.
51217
51055
 
51218
- The transaction must be authorized using the /authorization endpoint to prevent replay attacks.`,
51056
+ By providing the necessary parameters, users can add more liquidity to their current
51057
+ positions, thereby increasing their stake in the liquidity pool. This operation is
51058
+ beneficial for users who wish to enhance their potential earnings from trading fees
51059
+ within the pool. The endpoint requires details such as the token pair, additional
51060
+ amount to be added, and any other parameters necessary for the liquidity increase
51061
+ process.`,
51219
51062
  args: args56,
51220
51063
  tool: async (client, args57, ctx) => {
51221
- const [result, apiCall] = await transactionBatchingAaveLoop(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51064
+ const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51222
51065
  if (!result.ok) {
51223
51066
  return {
51224
51067
  content: [{ type: "text", text: result.error.message }],
@@ -51231,20 +51074,23 @@ The transaction must be authorized using the /authorization endpoint to prevent
51231
51074
  };
51232
51075
  });
51233
51076
 
51234
- // src/funcs/transactionBatchingAuthorization.ts
51235
- function transactionBatchingAuthorization(client, request, options) {
51077
+ // src/funcs/uniswapV3LiquidityProvisionInRange.ts
51078
+ function uniswapV3LiquidityProvisionInRange(client, request, options) {
51236
51079
  return new APIPromise($do57(client, request, options));
51237
51080
  }
51238
51081
  async function $do57(client, request, options) {
51239
- const parsed = safeParse(request, (value) => MulticallAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
51082
+ const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
51240
51083
  if (!parsed.ok) {
51241
51084
  return [parsed, { status: "invalid" }];
51242
51085
  }
51243
51086
  const payload = parsed.value;
51244
- const body = encodeJSON("body", payload, { explode: true });
51245
- const path = pathToFunc("/v0/multicall/authorization")();
51087
+ const body = null;
51088
+ const path = pathToFunc("/v0/uniswap/liquidity_provision/in_range/get")();
51089
+ const query = encodeFormQuery({
51090
+ chain: payload.chain,
51091
+ token_id: payload.token_id
51092
+ });
51246
51093
  const headers = new Headers(compactMap({
51247
- "Content-Type": "application/json",
51248
51094
  Accept: "application/json"
51249
51095
  }));
51250
51096
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -51253,7 +51099,7 @@ async function $do57(client, request, options) {
51253
51099
  const context = {
51254
51100
  options: client._options,
51255
51101
  baseURL: options?.serverURL ?? client._baseURL ?? "",
51256
- operationID: "multicall_authorization",
51102
+ operationID: "uniswap_liquidity_provision_in_range",
51257
51103
  oAuth2Scopes: [],
51258
51104
  resolvedSecurity: requestSecurity,
51259
51105
  securitySource: client._options.apiKeyAuth,
@@ -51262,10 +51108,11 @@ async function $do57(client, request, options) {
51262
51108
  };
51263
51109
  const requestRes = client._createRequest(context, {
51264
51110
  security: requestSecurity,
51265
- method: "POST",
51111
+ method: "GET",
51266
51112
  baseURL: options?.serverURL,
51267
51113
  path,
51268
51114
  headers,
51115
+ query,
51269
51116
  body,
51270
51117
  userAgent: client._options.userAgent,
51271
51118
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -51287,13 +51134,13 @@ async function $do57(client, request, options) {
51287
51134
  const responseFields = {
51288
51135
  HttpMeta: { Response: response, Request: req }
51289
51136
  };
51290
- const [result] = await match(json(200, MulticallAuthorizationResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51137
+ const [result] = await match(json(200, UniswapCheckInRangeResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51291
51138
  if (!result.ok) {
51292
51139
  return [result, { status: "complete", request: req, response }];
51293
51140
  }
51294
51141
  return [result, { status: "complete", request: req, response }];
51295
51142
  }
51296
- var init_transactionBatchingAuthorization = __esm(() => {
51143
+ var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
51297
51144
  init_encodings();
51298
51145
  init_matchers();
51299
51146
  init_primitives();
@@ -51302,31 +51149,34 @@ var init_transactionBatchingAuthorization = __esm(() => {
51302
51149
  init_url();
51303
51150
  init_components();
51304
51151
  init_errors2();
51152
+ init_operations();
51305
51153
  init_async();
51306
51154
  });
51307
51155
 
51308
- // src/mcp-server/tools/transactionBatchingAuthorization.ts
51309
- var args57, tool$transactionBatchingAuthorization;
51310
- var init_transactionBatchingAuthorization2 = __esm(() => {
51311
- init_transactionBatchingAuthorization();
51312
- init_components();
51156
+ // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
51157
+ var args57, tool$uniswapV3LiquidityProvisionInRange;
51158
+ var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
51159
+ init_uniswapV3LiquidityProvisionInRange();
51160
+ init_operations();
51313
51161
  init_tools();
51314
51162
  args57 = {
51315
- request: MulticallAuthorizationRequest$inboundSchema
51163
+ request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
51316
51164
  };
51317
- tool$transactionBatchingAuthorization = {
51318
- name: "transaction-batching-authorization",
51319
- description: `Enable transaction bundling.
51165
+ tool$uniswapV3LiquidityProvisionInRange = {
51166
+ name: "uniswap-v3-liquidity-provision-in-range",
51167
+ description: `Check if LP is active.
51320
51168
 
51321
- Get authorization for bundling transactions.
51169
+ This endpoint allows users to check whether a specific liquidity provider ()
51170
+ position is within the active tick range on the uniswap platform.
51322
51171
 
51323
- Currently this is required for every transaction bundle to prevent replay attacks
51324
- and ensure transaction ordering when batching multiple actions into a single
51325
- transaction. The authorization includes a nonce and chain ID to guarantee
51326
- transaction uniqueness and proper network targeting.`,
51172
+ by providing the token id associated with the position, users can verify if the
51173
+ position is currently within the tick range where trading occurs. this information
51174
+ is essential for users to monitor the status of their lp positions and ensure that
51175
+ they are actively participating in the trading activities within the liquidity pool
51176
+ and earning trading fees.`,
51327
51177
  args: args57,
51328
51178
  tool: async (client, args58, ctx) => {
51329
- const [result, apiCall] = await transactionBatchingAuthorization(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51179
+ const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51330
51180
  if (!result.ok) {
51331
51181
  return {
51332
51182
  content: [{ type: "text", text: result.error.message }],
@@ -51339,18 +51189,18 @@ transaction uniqueness and proper network targeting.`,
51339
51189
  };
51340
51190
  });
51341
51191
 
51342
- // src/funcs/transactionBatchingExecute.ts
51343
- function transactionBatchingExecute(client, request, options) {
51192
+ // src/funcs/uniswapV3LiquidityProvisionMint.ts
51193
+ function uniswapV3LiquidityProvisionMint(client, request, options) {
51344
51194
  return new APIPromise($do58(client, request, options));
51345
51195
  }
51346
51196
  async function $do58(client, request, options) {
51347
- const parsed = safeParse(request, (value) => MulticallExecuteRequest$outboundSchema.parse(value), "Input validation failed");
51197
+ const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51348
51198
  if (!parsed.ok) {
51349
51199
  return [parsed, { status: "invalid" }];
51350
51200
  }
51351
51201
  const payload = parsed.value;
51352
51202
  const body = encodeJSON("body", payload, { explode: true });
51353
- const path = pathToFunc("/v0/multicall/execute")();
51203
+ const path = pathToFunc("/v0/uniswap/liquidity_provision/mint")();
51354
51204
  const headers = new Headers(compactMap({
51355
51205
  "Content-Type": "application/json",
51356
51206
  Accept: "application/json"
@@ -51361,7 +51211,7 @@ async function $do58(client, request, options) {
51361
51211
  const context = {
51362
51212
  options: client._options,
51363
51213
  baseURL: options?.serverURL ?? client._baseURL ?? "",
51364
- operationID: "multicall_execute",
51214
+ operationID: "uniswap_liquidity_provision_mint",
51365
51215
  oAuth2Scopes: [],
51366
51216
  resolvedSecurity: requestSecurity,
51367
51217
  securitySource: client._options.apiKeyAuth,
@@ -51395,13 +51245,13 @@ async function $do58(client, request, options) {
51395
51245
  const responseFields = {
51396
51246
  HttpMeta: { Response: response, Request: req }
51397
51247
  };
51398
- const [result] = await match(json(200, UnsignedMulticallTransaction$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51248
+ const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51399
51249
  if (!result.ok) {
51400
51250
  return [result, { status: "complete", request: req, response }];
51401
51251
  }
51402
51252
  return [result, { status: "complete", request: req, response }];
51403
51253
  }
51404
- var init_transactionBatchingExecute = __esm(() => {
51254
+ var init_uniswapV3LiquidityProvisionMint = __esm(() => {
51405
51255
  init_encodings();
51406
51256
  init_matchers();
51407
51257
  init_primitives();
@@ -51413,29 +51263,31 @@ var init_transactionBatchingExecute = __esm(() => {
51413
51263
  init_async();
51414
51264
  });
51415
51265
 
51416
- // src/mcp-server/tools/transactionBatchingExecute.ts
51417
- var args58, tool$transactionBatchingExecute;
51418
- var init_transactionBatchingExecute2 = __esm(() => {
51419
- init_transactionBatchingExecute();
51266
+ // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
51267
+ var args58, tool$uniswapV3LiquidityProvisionMint;
51268
+ var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
51269
+ init_uniswapV3LiquidityProvisionMint();
51420
51270
  init_components();
51421
51271
  init_tools();
51422
51272
  args58 = {
51423
- request: MulticallExecuteRequest$inboundSchema
51273
+ request: UniswapMintLiquidityProvisionRequest$inboundSchema
51424
51274
  };
51425
- tool$transactionBatchingExecute = {
51426
- name: "transaction-batching-execute",
51427
- description: `Construct Bundled Transaction
51275
+ tool$uniswapV3LiquidityProvisionMint = {
51276
+ name: "uniswap-v3-liquidity-provision-mint",
51277
+ description: `Open a new LP position
51428
51278
 
51429
- Bundle arbitrary transactions together into a single multicall transaction using
51430
- EIP-7702.
51279
+ This endpoint allows users to open a new Liquidity Provider (LP) position on the
51280
+ Uniswap platform.
51431
51281
 
51432
- This endpoint allows bundling multiple contract calls into a single atomic
51433
- transaction, reducing gas costs and ensuring all operations succeed or fail
51434
- together. The transaction must be authorized using the /authorization endpoint to
51435
- prevent replay attacks.`,
51282
+ By providing the necessary parameters, users can initiate a minting process to
51283
+ create a new LP token, which represents their stake in a specific liquidity pool.
51284
+ This operation is essential for users looking to participate in liquidity provision,
51285
+ enabling them to earn fees from trades that occur within the pool. The endpoint
51286
+ requires details such as the token pair, amount, and any additional parameters
51287
+ needed for the minting process.`,
51436
51288
  args: args58,
51437
51289
  tool: async (client, args59, ctx) => {
51438
- const [result, apiCall] = await transactionBatchingExecute(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51290
+ const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51439
51291
  if (!result.ok) {
51440
51292
  return {
51441
51293
  content: [{ type: "text", text: result.error.message }],
@@ -51448,20 +51300,23 @@ prevent replay attacks.`,
51448
51300
  };
51449
51301
  });
51450
51302
 
51451
- // src/funcs/uniswapV3LiquidityProvisionIncrease.ts
51452
- function uniswapV3LiquidityProvisionIncrease(client, request, options) {
51303
+ // src/funcs/uniswapV3LiquidityProvisionPositions.ts
51304
+ function uniswapV3LiquidityProvisionPositions(client, request, options) {
51453
51305
  return new APIPromise($do59(client, request, options));
51454
51306
  }
51455
51307
  async function $do59(client, request, options) {
51456
- const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51308
+ const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
51457
51309
  if (!parsed.ok) {
51458
51310
  return [parsed, { status: "invalid" }];
51459
51311
  }
51460
51312
  const payload = parsed.value;
51461
- const body = encodeJSON("body", payload, { explode: true });
51462
- const path = pathToFunc("/v0/uniswap/liquidity_provision/increase")();
51313
+ const body = null;
51314
+ const path = pathToFunc("/v0/uniswap/liquidity_provision/positions/get")();
51315
+ const query = encodeFormQuery({
51316
+ chain: payload.chain,
51317
+ user: payload.user
51318
+ });
51463
51319
  const headers = new Headers(compactMap({
51464
- "Content-Type": "application/json",
51465
51320
  Accept: "application/json"
51466
51321
  }));
51467
51322
  const secConfig = await extractSecurity(client._options.apiKeyAuth);
@@ -51470,7 +51325,7 @@ async function $do59(client, request, options) {
51470
51325
  const context = {
51471
51326
  options: client._options,
51472
51327
  baseURL: options?.serverURL ?? client._baseURL ?? "",
51473
- operationID: "uniswap_liquidity_provision_increase",
51328
+ operationID: "uniswap_liquidity_provision_positions",
51474
51329
  oAuth2Scopes: [],
51475
51330
  resolvedSecurity: requestSecurity,
51476
51331
  securitySource: client._options.apiKeyAuth,
@@ -51479,10 +51334,11 @@ async function $do59(client, request, options) {
51479
51334
  };
51480
51335
  const requestRes = client._createRequest(context, {
51481
51336
  security: requestSecurity,
51482
- method: "POST",
51337
+ method: "GET",
51483
51338
  baseURL: options?.serverURL,
51484
51339
  path,
51485
51340
  headers,
51341
+ query,
51486
51342
  body,
51487
51343
  userAgent: client._options.userAgent,
51488
51344
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -51504,13 +51360,13 @@ async function $do59(client, request, options) {
51504
51360
  const responseFields = {
51505
51361
  HttpMeta: { Response: response, Request: req }
51506
51362
  };
51507
- const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51363
+ const [result] = await match(json(200, UniswapLPPositionsInfoResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51508
51364
  if (!result.ok) {
51509
51365
  return [result, { status: "complete", request: req, response }];
51510
51366
  }
51511
51367
  return [result, { status: "complete", request: req, response }];
51512
51368
  }
51513
- var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
51369
+ var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
51514
51370
  init_encodings();
51515
51371
  init_matchers();
51516
51372
  init_primitives();
@@ -51519,358 +51375,17 @@ var init_uniswapV3LiquidityProvisionIncrease = __esm(() => {
51519
51375
  init_url();
51520
51376
  init_components();
51521
51377
  init_errors2();
51522
- init_async();
51523
- });
51524
-
51525
- // src/mcp-server/tools/uniswapV3LiquidityProvisionIncrease.ts
51526
- var args59, tool$uniswapV3LiquidityProvisionIncrease;
51527
- var init_uniswapV3LiquidityProvisionIncrease2 = __esm(() => {
51528
- init_uniswapV3LiquidityProvisionIncrease();
51529
- init_components();
51530
- init_tools();
51531
- args59 = {
51532
- request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
51533
- };
51534
- tool$uniswapV3LiquidityProvisionIncrease = {
51535
- name: "uniswap-v3-liquidity-provision-increase",
51536
- description: `Increase an LP position
51537
-
51538
- This endpoint allows users to increase their existing Liquidity Provider (LP)
51539
- positions on the Uniswap platform.
51540
-
51541
- By providing the necessary parameters, users can add more liquidity to their current
51542
- positions, thereby increasing their stake in the liquidity pool. This operation is
51543
- beneficial for users who wish to enhance their potential earnings from trading fees
51544
- within the pool. The endpoint requires details such as the token pair, additional
51545
- amount to be added, and any other parameters necessary for the liquidity increase
51546
- process.`,
51547
- args: args59,
51548
- tool: async (client, args60, ctx) => {
51549
- const [result, apiCall] = await uniswapV3LiquidityProvisionIncrease(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51550
- if (!result.ok) {
51551
- return {
51552
- content: [{ type: "text", text: result.error.message }],
51553
- isError: true
51554
- };
51555
- }
51556
- const value = result.value;
51557
- return formatResult(value, apiCall);
51558
- }
51559
- };
51560
- });
51561
-
51562
- // src/funcs/uniswapV3LiquidityProvisionInRange.ts
51563
- function uniswapV3LiquidityProvisionInRange(client, request, options) {
51564
- return new APIPromise($do60(client, request, options));
51565
- }
51566
- async function $do60(client, request, options) {
51567
- const parsed = safeParse(request, (value) => UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
51568
- if (!parsed.ok) {
51569
- return [parsed, { status: "invalid" }];
51570
- }
51571
- const payload = parsed.value;
51572
- const body = null;
51573
- const path = pathToFunc("/v0/uniswap/liquidity_provision/in_range/get")();
51574
- const query = encodeFormQuery({
51575
- chain: payload.chain,
51576
- token_id: payload.token_id
51577
- });
51578
- const headers = new Headers(compactMap({
51579
- Accept: "application/json"
51580
- }));
51581
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
51582
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
51583
- const requestSecurity = resolveGlobalSecurity(securityInput);
51584
- const context = {
51585
- options: client._options,
51586
- baseURL: options?.serverURL ?? client._baseURL ?? "",
51587
- operationID: "uniswap_liquidity_provision_in_range",
51588
- oAuth2Scopes: [],
51589
- resolvedSecurity: requestSecurity,
51590
- securitySource: client._options.apiKeyAuth,
51591
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
51592
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
51593
- };
51594
- const requestRes = client._createRequest(context, {
51595
- security: requestSecurity,
51596
- method: "GET",
51597
- baseURL: options?.serverURL,
51598
- path,
51599
- headers,
51600
- query,
51601
- body,
51602
- userAgent: client._options.userAgent,
51603
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
51604
- }, options);
51605
- if (!requestRes.ok) {
51606
- return [requestRes, { status: "invalid" }];
51607
- }
51608
- const req = requestRes.value;
51609
- const doResult = await client._do(req, {
51610
- context,
51611
- errorCodes: ["422", "4XX", "5XX"],
51612
- retryConfig: context.retryConfig,
51613
- retryCodes: context.retryCodes
51614
- });
51615
- if (!doResult.ok) {
51616
- return [doResult, { status: "request-error", request: req }];
51617
- }
51618
- const response = doResult.value;
51619
- const responseFields = {
51620
- HttpMeta: { Response: response, Request: req }
51621
- };
51622
- const [result] = await match(json(200, UniswapCheckInRangeResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51623
- if (!result.ok) {
51624
- return [result, { status: "complete", request: req, response }];
51625
- }
51626
- return [result, { status: "complete", request: req, response }];
51627
- }
51628
- var init_uniswapV3LiquidityProvisionInRange = __esm(() => {
51629
- init_encodings();
51630
- init_matchers();
51631
- init_primitives();
51632
- init_schemas();
51633
- init_security();
51634
- init_url();
51635
- init_components();
51636
- init_errors2();
51637
- init_operations();
51638
- init_async();
51639
- });
51640
-
51641
- // src/mcp-server/tools/uniswapV3LiquidityProvisionInRange.ts
51642
- var args60, tool$uniswapV3LiquidityProvisionInRange;
51643
- var init_uniswapV3LiquidityProvisionInRange2 = __esm(() => {
51644
- init_uniswapV3LiquidityProvisionInRange();
51645
- init_operations();
51646
- init_tools();
51647
- args60 = {
51648
- request: UniswapLiquidityProvisionInRangeRequest$inboundSchema
51649
- };
51650
- tool$uniswapV3LiquidityProvisionInRange = {
51651
- name: "uniswap-v3-liquidity-provision-in-range",
51652
- description: `Check if LP is active.
51653
-
51654
- This endpoint allows users to check whether a specific liquidity provider ()
51655
- position is within the active tick range on the uniswap platform.
51656
-
51657
- by providing the token id associated with the position, users can verify if the
51658
- position is currently within the tick range where trading occurs. this information
51659
- is essential for users to monitor the status of their lp positions and ensure that
51660
- they are actively participating in the trading activities within the liquidity pool
51661
- and earning trading fees.`,
51662
- args: args60,
51663
- tool: async (client, args61, ctx) => {
51664
- const [result, apiCall] = await uniswapV3LiquidityProvisionInRange(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51665
- if (!result.ok) {
51666
- return {
51667
- content: [{ type: "text", text: result.error.message }],
51668
- isError: true
51669
- };
51670
- }
51671
- const value = result.value;
51672
- return formatResult(value, apiCall);
51673
- }
51674
- };
51675
- });
51676
-
51677
- // src/funcs/uniswapV3LiquidityProvisionMint.ts
51678
- function uniswapV3LiquidityProvisionMint(client, request, options) {
51679
- return new APIPromise($do61(client, request, options));
51680
- }
51681
- async function $do61(client, request, options) {
51682
- const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51683
- if (!parsed.ok) {
51684
- return [parsed, { status: "invalid" }];
51685
- }
51686
- const payload = parsed.value;
51687
- const body = encodeJSON("body", payload, { explode: true });
51688
- const path = pathToFunc("/v0/uniswap/liquidity_provision/mint")();
51689
- const headers = new Headers(compactMap({
51690
- "Content-Type": "application/json",
51691
- Accept: "application/json"
51692
- }));
51693
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
51694
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
51695
- const requestSecurity = resolveGlobalSecurity(securityInput);
51696
- const context = {
51697
- options: client._options,
51698
- baseURL: options?.serverURL ?? client._baseURL ?? "",
51699
- operationID: "uniswap_liquidity_provision_mint",
51700
- oAuth2Scopes: [],
51701
- resolvedSecurity: requestSecurity,
51702
- securitySource: client._options.apiKeyAuth,
51703
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
51704
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
51705
- };
51706
- const requestRes = client._createRequest(context, {
51707
- security: requestSecurity,
51708
- method: "POST",
51709
- baseURL: options?.serverURL,
51710
- path,
51711
- headers,
51712
- body,
51713
- userAgent: client._options.userAgent,
51714
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
51715
- }, options);
51716
- if (!requestRes.ok) {
51717
- return [requestRes, { status: "invalid" }];
51718
- }
51719
- const req = requestRes.value;
51720
- const doResult = await client._do(req, {
51721
- context,
51722
- errorCodes: ["422", "4XX", "5XX"],
51723
- retryConfig: context.retryConfig,
51724
- retryCodes: context.retryCodes
51725
- });
51726
- if (!doResult.ok) {
51727
- return [doResult, { status: "request-error", request: req }];
51728
- }
51729
- const response = doResult.value;
51730
- const responseFields = {
51731
- HttpMeta: { Response: response, Request: req }
51732
- };
51733
- const [result] = await match(json(200, TxResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51734
- if (!result.ok) {
51735
- return [result, { status: "complete", request: req, response }];
51736
- }
51737
- return [result, { status: "complete", request: req, response }];
51738
- }
51739
- var init_uniswapV3LiquidityProvisionMint = __esm(() => {
51740
- init_encodings();
51741
- init_matchers();
51742
- init_primitives();
51743
- init_schemas();
51744
- init_security();
51745
- init_url();
51746
- init_components();
51747
- init_errors2();
51748
- init_async();
51749
- });
51750
-
51751
- // src/mcp-server/tools/uniswapV3LiquidityProvisionMint.ts
51752
- var args61, tool$uniswapV3LiquidityProvisionMint;
51753
- var init_uniswapV3LiquidityProvisionMint2 = __esm(() => {
51754
- init_uniswapV3LiquidityProvisionMint();
51755
- init_components();
51756
- init_tools();
51757
- args61 = {
51758
- request: UniswapMintLiquidityProvisionRequest$inboundSchema
51759
- };
51760
- tool$uniswapV3LiquidityProvisionMint = {
51761
- name: "uniswap-v3-liquidity-provision-mint",
51762
- description: `Open a new LP position
51763
-
51764
- This endpoint allows users to open a new Liquidity Provider (LP) position on the
51765
- Uniswap platform.
51766
-
51767
- By providing the necessary parameters, users can initiate a minting process to
51768
- create a new LP token, which represents their stake in a specific liquidity pool.
51769
- This operation is essential for users looking to participate in liquidity provision,
51770
- enabling them to earn fees from trades that occur within the pool. The endpoint
51771
- requires details such as the token pair, amount, and any additional parameters
51772
- needed for the minting process.`,
51773
- args: args61,
51774
- tool: async (client, args62, ctx) => {
51775
- const [result, apiCall] = await uniswapV3LiquidityProvisionMint(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51776
- if (!result.ok) {
51777
- return {
51778
- content: [{ type: "text", text: result.error.message }],
51779
- isError: true
51780
- };
51781
- }
51782
- const value = result.value;
51783
- return formatResult(value, apiCall);
51784
- }
51785
- };
51786
- });
51787
-
51788
- // src/funcs/uniswapV3LiquidityProvisionPositions.ts
51789
- function uniswapV3LiquidityProvisionPositions(client, request, options) {
51790
- return new APIPromise($do62(client, request, options));
51791
- }
51792
- async function $do62(client, request, options) {
51793
- const parsed = safeParse(request, (value) => UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
51794
- if (!parsed.ok) {
51795
- return [parsed, { status: "invalid" }];
51796
- }
51797
- const payload = parsed.value;
51798
- const body = null;
51799
- const path = pathToFunc("/v0/uniswap/liquidity_provision/positions/get")();
51800
- const query = encodeFormQuery({
51801
- chain: payload.chain,
51802
- user: payload.user
51803
- });
51804
- const headers = new Headers(compactMap({
51805
- Accept: "application/json"
51806
- }));
51807
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
51808
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
51809
- const requestSecurity = resolveGlobalSecurity(securityInput);
51810
- const context = {
51811
- options: client._options,
51812
- baseURL: options?.serverURL ?? client._baseURL ?? "",
51813
- operationID: "uniswap_liquidity_provision_positions",
51814
- oAuth2Scopes: [],
51815
- resolvedSecurity: requestSecurity,
51816
- securitySource: client._options.apiKeyAuth,
51817
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
51818
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
51819
- };
51820
- const requestRes = client._createRequest(context, {
51821
- security: requestSecurity,
51822
- method: "GET",
51823
- baseURL: options?.serverURL,
51824
- path,
51825
- headers,
51826
- query,
51827
- body,
51828
- userAgent: client._options.userAgent,
51829
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
51830
- }, options);
51831
- if (!requestRes.ok) {
51832
- return [requestRes, { status: "invalid" }];
51833
- }
51834
- const req = requestRes.value;
51835
- const doResult = await client._do(req, {
51836
- context,
51837
- errorCodes: ["422", "4XX", "5XX"],
51838
- retryConfig: context.retryConfig,
51839
- retryCodes: context.retryCodes
51840
- });
51841
- if (!doResult.ok) {
51842
- return [doResult, { status: "request-error", request: req }];
51843
- }
51844
- const response = doResult.value;
51845
- const responseFields = {
51846
- HttpMeta: { Response: response, Request: req }
51847
- };
51848
- const [result] = await match(json(200, UniswapLPPositionsInfoResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
51849
- if (!result.ok) {
51850
- return [result, { status: "complete", request: req, response }];
51851
- }
51852
- return [result, { status: "complete", request: req, response }];
51853
- }
51854
- var init_uniswapV3LiquidityProvisionPositions = __esm(() => {
51855
- init_encodings();
51856
- init_matchers();
51857
- init_primitives();
51858
- init_schemas();
51859
- init_security();
51860
- init_url();
51861
- init_components();
51862
- init_errors2();
51863
- init_operations();
51378
+ init_operations();
51864
51379
  init_async();
51865
51380
  });
51866
51381
 
51867
51382
  // src/mcp-server/tools/uniswapV3LiquidityProvisionPositions.ts
51868
- var args62, tool$uniswapV3LiquidityProvisionPositions;
51383
+ var args59, tool$uniswapV3LiquidityProvisionPositions;
51869
51384
  var init_uniswapV3LiquidityProvisionPositions2 = __esm(() => {
51870
51385
  init_uniswapV3LiquidityProvisionPositions();
51871
51386
  init_operations();
51872
51387
  init_tools();
51873
- args62 = {
51388
+ args59 = {
51874
51389
  request: UniswapLiquidityProvisionPositionsRequest$inboundSchema
51875
51390
  };
51876
51391
  tool$uniswapV3LiquidityProvisionPositions = {
@@ -51884,9 +51399,9 @@ Users can query this endpoint to obtain detailed information about their LP
51884
51399
  positions, including the total number of positions and relevant metadata. This
51885
51400
  information is crucial for users to manage and analyze their liquidity provision
51886
51401
  activities effectively.`,
51887
- args: args62,
51888
- tool: async (client, args63, ctx) => {
51889
- const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51402
+ args: args59,
51403
+ tool: async (client, args60, ctx) => {
51404
+ const [result, apiCall] = await uniswapV3LiquidityProvisionPositions(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51890
51405
  if (!result.ok) {
51891
51406
  return {
51892
51407
  content: [{ type: "text", text: result.error.message }],
@@ -51901,9 +51416,9 @@ activities effectively.`,
51901
51416
 
51902
51417
  // src/funcs/uniswapV3LiquidityProvisionWithdraw.ts
51903
51418
  function uniswapV3LiquidityProvisionWithdraw(client, request, options) {
51904
- return new APIPromise($do63(client, request, options));
51419
+ return new APIPromise($do60(client, request, options));
51905
51420
  }
51906
- async function $do63(client, request, options) {
51421
+ async function $do60(client, request, options) {
51907
51422
  const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
51908
51423
  if (!parsed.ok) {
51909
51424
  return [parsed, { status: "invalid" }];
@@ -51974,12 +51489,12 @@ var init_uniswapV3LiquidityProvisionWithdraw = __esm(() => {
51974
51489
  });
51975
51490
 
51976
51491
  // src/mcp-server/tools/uniswapV3LiquidityProvisionWithdraw.ts
51977
- var args63, tool$uniswapV3LiquidityProvisionWithdraw;
51492
+ var args60, tool$uniswapV3LiquidityProvisionWithdraw;
51978
51493
  var init_uniswapV3LiquidityProvisionWithdraw2 = __esm(() => {
51979
51494
  init_uniswapV3LiquidityProvisionWithdraw();
51980
51495
  init_components();
51981
51496
  init_tools();
51982
- args63 = {
51497
+ args60 = {
51983
51498
  request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
51984
51499
  };
51985
51500
  tool$uniswapV3LiquidityProvisionWithdraw = {
@@ -51996,9 +51511,9 @@ pools or investments. The endpoint requires details such as the token pair, the
51996
51511
  amount to be withdrawn, and any additional parameters needed for the withdrawal
51997
51512
  process. Users should ensure they meet any protocol requirements or conditions
51998
51513
  before initiating a withdrawal to avoid potential issues or penalties.`,
51999
- args: args63,
52000
- tool: async (client, args64, ctx) => {
52001
- const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51514
+ args: args60,
51515
+ tool: async (client, args61, ctx) => {
51516
+ const [result, apiCall] = await uniswapV3LiquidityProvisionWithdraw(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52002
51517
  if (!result.ok) {
52003
51518
  return {
52004
51519
  content: [{ type: "text", text: result.error.message }],
@@ -52013,9 +51528,9 @@ before initiating a withdrawal to avoid potential issues or penalties.`,
52013
51528
 
52014
51529
  // src/funcs/uniswapV3PoolPrice.ts
52015
51530
  function uniswapV3PoolPrice(client, request, options) {
52016
- return new APIPromise($do64(client, request, options));
51531
+ return new APIPromise($do61(client, request, options));
52017
51532
  }
52018
- async function $do64(client, request, options) {
51533
+ async function $do61(client, request, options) {
52019
51534
  const parsed = safeParse(request, (value) => UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
52020
51535
  if (!parsed.ok) {
52021
51536
  return [parsed, { status: "invalid" }];
@@ -52093,12 +51608,12 @@ var init_uniswapV3PoolPrice = __esm(() => {
52093
51608
  });
52094
51609
 
52095
51610
  // src/mcp-server/tools/uniswapV3PoolPrice.ts
52096
- var args64, tool$uniswapV3PoolPrice;
51611
+ var args61, tool$uniswapV3PoolPrice;
52097
51612
  var init_uniswapV3PoolPrice2 = __esm(() => {
52098
51613
  init_uniswapV3PoolPrice();
52099
51614
  init_operations();
52100
51615
  init_tools();
52101
- args64 = {
51616
+ args61 = {
52102
51617
  request: UniswapPoolPriceRequest$inboundSchema
52103
51618
  };
52104
51619
  tool$uniswapV3PoolPrice = {
@@ -52108,9 +51623,9 @@ var init_uniswapV3PoolPrice2 = __esm(() => {
52108
51623
  This endpoint calculates the price of a token in a Uniswap pool.
52109
51624
 
52110
51625
  The price is calculated based on the current pool state and the specified fee tier.`,
52111
- args: args64,
52112
- tool: async (client, args65, ctx) => {
52113
- const [result, apiCall] = await uniswapV3PoolPrice(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51626
+ args: args61,
51627
+ tool: async (client, args62, ctx) => {
51628
+ const [result, apiCall] = await uniswapV3PoolPrice(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52114
51629
  if (!result.ok) {
52115
51630
  return {
52116
51631
  content: [{ type: "text", text: result.error.message }],
@@ -52125,9 +51640,9 @@ The price is calculated based on the current pool state and the specified fee ti
52125
51640
 
52126
51641
  // src/funcs/uniswapV3QuoteBuyExactly.ts
52127
51642
  function uniswapV3QuoteBuyExactly(client, request, options) {
52128
- return new APIPromise($do65(client, request, options));
51643
+ return new APIPromise($do62(client, request, options));
52129
51644
  }
52130
- async function $do65(client, request, options) {
51645
+ async function $do62(client, request, options) {
52131
51646
  const parsed = safeParse(request, (value) => UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52132
51647
  if (!parsed.ok) {
52133
51648
  return [parsed, { status: "invalid" }];
@@ -52206,12 +51721,12 @@ var init_uniswapV3QuoteBuyExactly = __esm(() => {
52206
51721
  });
52207
51722
 
52208
51723
  // src/mcp-server/tools/uniswapV3QuoteBuyExactly.ts
52209
- var args65, tool$uniswapV3QuoteBuyExactly;
51724
+ var args62, tool$uniswapV3QuoteBuyExactly;
52210
51725
  var init_uniswapV3QuoteBuyExactly2 = __esm(() => {
52211
51726
  init_uniswapV3QuoteBuyExactly();
52212
51727
  init_operations();
52213
51728
  init_tools();
52214
- args65 = {
51729
+ args62 = {
52215
51730
  request: UniswapQuoteBuyExactlyRequest$inboundSchema
52216
51731
  };
52217
51732
  tool$uniswapV3QuoteBuyExactly = {
@@ -52223,9 +51738,9 @@ specified amount of output tokens from a Uniswap pool.
52223
51738
 
52224
51739
  It also provides the resulting price after the transaction. The calculation takes
52225
51740
  into account the current pool state and the specified fee tier.`,
52226
- args: args65,
52227
- tool: async (client, args66, ctx) => {
52228
- const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51741
+ args: args62,
51742
+ tool: async (client, args63, ctx) => {
51743
+ const [result, apiCall] = await uniswapV3QuoteBuyExactly(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52229
51744
  if (!result.ok) {
52230
51745
  return {
52231
51746
  content: [{ type: "text", text: result.error.message }],
@@ -52240,9 +51755,9 @@ into account the current pool state and the specified fee tier.`,
52240
51755
 
52241
51756
  // src/funcs/uniswapV3QuoteSellExactly.ts
52242
51757
  function uniswapV3QuoteSellExactly(client, request, options) {
52243
- return new APIPromise($do66(client, request, options));
51758
+ return new APIPromise($do63(client, request, options));
52244
51759
  }
52245
- async function $do66(client, request, options) {
51760
+ async function $do63(client, request, options) {
52246
51761
  const parsed = safeParse(request, (value) => UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52247
51762
  if (!parsed.ok) {
52248
51763
  return [parsed, { status: "invalid" }];
@@ -52321,12 +51836,12 @@ var init_uniswapV3QuoteSellExactly = __esm(() => {
52321
51836
  });
52322
51837
 
52323
51838
  // src/mcp-server/tools/uniswapV3QuoteSellExactly.ts
52324
- var args66, tool$uniswapV3QuoteSellExactly;
51839
+ var args63, tool$uniswapV3QuoteSellExactly;
52325
51840
  var init_uniswapV3QuoteSellExactly2 = __esm(() => {
52326
51841
  init_uniswapV3QuoteSellExactly();
52327
51842
  init_operations();
52328
51843
  init_tools();
52329
- args66 = {
51844
+ args63 = {
52330
51845
  request: UniswapQuoteSellExactlyRequest$inboundSchema
52331
51846
  };
52332
51847
  tool$uniswapV3QuoteSellExactly = {
@@ -52338,9 +51853,9 @@ specified amount of output tokens from a Uniswap pool.
52338
51853
 
52339
51854
  It also provides the resulting price after the transaction. The calculation takes
52340
51855
  into account the current pool state and the specified fee tier.`,
52341
- args: args66,
52342
- tool: async (client, args67, ctx) => {
52343
- const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51856
+ args: args63,
51857
+ tool: async (client, args64, ctx) => {
51858
+ const [result, apiCall] = await uniswapV3QuoteSellExactly(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52344
51859
  if (!result.ok) {
52345
51860
  return {
52346
51861
  content: [{ type: "text", text: result.error.message }],
@@ -52355,9 +51870,9 @@ into account the current pool state and the specified fee tier.`,
52355
51870
 
52356
51871
  // src/funcs/uniswapV3SwapBuyExactly.ts
52357
51872
  function uniswapV3SwapBuyExactly(client, request, options) {
52358
- return new APIPromise($do67(client, request, options));
51873
+ return new APIPromise($do64(client, request, options));
52359
51874
  }
52360
- async function $do67(client, request, options) {
51875
+ async function $do64(client, request, options) {
52361
51876
  const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52362
51877
  if (!parsed.ok) {
52363
51878
  return [parsed, { status: "invalid" }];
@@ -52428,12 +51943,12 @@ var init_uniswapV3SwapBuyExactly = __esm(() => {
52428
51943
  });
52429
51944
 
52430
51945
  // src/mcp-server/tools/uniswapV3SwapBuyExactly.ts
52431
- var args67, tool$uniswapV3SwapBuyExactly;
51946
+ var args64, tool$uniswapV3SwapBuyExactly;
52432
51947
  var init_uniswapV3SwapBuyExactly2 = __esm(() => {
52433
51948
  init_uniswapV3SwapBuyExactly();
52434
51949
  init_components();
52435
51950
  init_tools();
52436
- args67 = {
51951
+ args64 = {
52437
51952
  request: UniswapBuyExactlyRequest$inboundSchema
52438
51953
  };
52439
51954
  tool$uniswapV3SwapBuyExactly = {
@@ -52447,9 +51962,9 @@ The transaction is executed on the specified blockchain network, and the user mu
52447
51962
  provide the necessary transaction details, including the token to buy, the token to
52448
51963
  pay with, and the exact amount to receive. If the token being paid with is WETH and
52449
51964
  needs to be wrapped, the appropriate amount will be wrapped automatically.`,
52450
- args: args67,
52451
- tool: async (client, args68, ctx) => {
52452
- const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51965
+ args: args64,
51966
+ tool: async (client, args65, ctx) => {
51967
+ const [result, apiCall] = await uniswapV3SwapBuyExactly(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52453
51968
  if (!result.ok) {
52454
51969
  return {
52455
51970
  content: [{ type: "text", text: result.error.message }],
@@ -52464,9 +51979,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.`,
52464
51979
 
52465
51980
  // src/funcs/uniswapV3SwapSellExactly.ts
52466
51981
  function uniswapV3SwapSellExactly(client, request, options) {
52467
- return new APIPromise($do68(client, request, options));
51982
+ return new APIPromise($do65(client, request, options));
52468
51983
  }
52469
- async function $do68(client, request, options) {
51984
+ async function $do65(client, request, options) {
52470
51985
  const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
52471
51986
  if (!parsed.ok) {
52472
51987
  return [parsed, { status: "invalid" }];
@@ -52537,12 +52052,12 @@ var init_uniswapV3SwapSellExactly = __esm(() => {
52537
52052
  });
52538
52053
 
52539
52054
  // src/mcp-server/tools/uniswapV3SwapSellExactly.ts
52540
- var args68, tool$uniswapV3SwapSellExactly;
52055
+ var args65, tool$uniswapV3SwapSellExactly;
52541
52056
  var init_uniswapV3SwapSellExactly2 = __esm(() => {
52542
52057
  init_uniswapV3SwapSellExactly();
52543
52058
  init_components();
52544
52059
  init_tools();
52545
- args68 = {
52060
+ args65 = {
52546
52061
  request: UniswapSellExactlyRequest$inboundSchema
52547
52062
  };
52548
52063
  tool$uniswapV3SwapSellExactly = {
@@ -52556,9 +52071,9 @@ The transaction is executed on the specified blockchain network, and the user mu
52556
52071
  provide the necessary transaction details, including the token to sell, the token to
52557
52072
  receive, and the amount to sell. If the token being sold is WETH and needs to be
52558
52073
  wrapped, the appropriate amount will be wrapped automatically.`,
52559
- args: args68,
52560
- tool: async (client, args69, ctx) => {
52561
- const [result, apiCall] = await uniswapV3SwapSellExactly(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52074
+ args: args65,
52075
+ tool: async (client, args66, ctx) => {
52076
+ const [result, apiCall] = await uniswapV3SwapSellExactly(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52562
52077
  if (!result.ok) {
52563
52078
  return {
52564
52079
  content: [{ type: "text", text: result.error.message }],
@@ -52573,9 +52088,9 @@ wrapped, the appropriate amount will be wrapped automatically.`,
52573
52088
 
52574
52089
  // src/funcs/universalAllowance.ts
52575
52090
  function universalAllowance(client, request, options) {
52576
- return new APIPromise($do69(client, request, options));
52091
+ return new APIPromise($do66(client, request, options));
52577
52092
  }
52578
- async function $do69(client, request, options) {
52093
+ async function $do66(client, request, options) {
52579
52094
  const parsed = safeParse(request, (value) => GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
52580
52095
  if (!parsed.ok) {
52581
52096
  return [parsed, { status: "invalid" }];
@@ -52653,12 +52168,12 @@ var init_universalAllowance = __esm(() => {
52653
52168
  });
52654
52169
 
52655
52170
  // src/mcp-server/tools/universalAllowance.ts
52656
- var args69, tool$universalAllowance;
52171
+ var args66, tool$universalAllowance;
52657
52172
  var init_universalAllowance2 = __esm(() => {
52658
52173
  init_universalAllowance();
52659
52174
  init_operations();
52660
52175
  init_tools();
52661
- args69 = {
52176
+ args66 = {
52662
52177
  request: GenericAllowanceRequest$inboundSchema
52663
52178
  };
52664
52179
  tool$universalAllowance = {
@@ -52672,9 +52187,9 @@ tokens on their behalf.
52672
52187
  This is a crucial step before engaging in any transactions or operations within
52673
52188
  these protocols, ensuring that the protocol has the necessary permissions to manage
52674
52189
  the user's tokens securely and efficiently.`,
52675
- args: args69,
52676
- tool: async (client, args70, ctx) => {
52677
- const [result, apiCall] = await universalAllowance(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52190
+ args: args66,
52191
+ tool: async (client, args67, ctx) => {
52192
+ const [result, apiCall] = await universalAllowance(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52678
52193
  if (!result.ok) {
52679
52194
  return {
52680
52195
  content: [{ type: "text", text: result.error.message }],
@@ -52689,9 +52204,9 @@ the user's tokens securely and efficiently.`,
52689
52204
 
52690
52205
  // src/funcs/universalAllowanceSet.ts
52691
52206
  function universalAllowanceSet(client, request, options) {
52692
- return new APIPromise($do70(client, request, options));
52207
+ return new APIPromise($do67(client, request, options));
52693
52208
  }
52694
- async function $do70(client, request, options) {
52209
+ async function $do67(client, request, options) {
52695
52210
  const parsed = safeParse(request, (value) => IncreaseAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
52696
52211
  if (!parsed.ok) {
52697
52212
  return [parsed, { status: "invalid" }];
@@ -52762,12 +52277,12 @@ var init_universalAllowanceSet = __esm(() => {
52762
52277
  });
52763
52278
 
52764
52279
  // src/mcp-server/tools/universalAllowanceSet.ts
52765
- var args70, tool$universalAllowanceSet;
52280
+ var args67, tool$universalAllowanceSet;
52766
52281
  var init_universalAllowanceSet2 = __esm(() => {
52767
52282
  init_universalAllowanceSet();
52768
52283
  init_components();
52769
52284
  init_tools();
52770
- args70 = {
52285
+ args67 = {
52771
52286
  request: IncreaseAllowanceRequest$inboundSchema
52772
52287
  };
52773
52288
  tool$universalAllowanceSet = {
@@ -52782,9 +52297,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
52782
52297
  This operation is crucial for ensuring that the protocol can manage the user's
52783
52298
  tokens securely and efficiently, enabling seamless transactions and operations
52784
52299
  within the DeFi ecosystem.`,
52785
- args: args70,
52786
- tool: async (client, args71, ctx) => {
52787
- const [result, apiCall] = await universalAllowanceSet(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52300
+ args: args67,
52301
+ tool: async (client, args68, ctx) => {
52302
+ const [result, apiCall] = await universalAllowanceSet(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52788
52303
  if (!result.ok) {
52789
52304
  return {
52790
52305
  content: [{ type: "text", text: result.error.message }],
@@ -52799,9 +52314,9 @@ within the DeFi ecosystem.`,
52799
52314
 
52800
52315
  // src/funcs/universalEns.ts
52801
52316
  function universalEns(client, request, options) {
52802
- return new APIPromise($do71(client, request, options));
52317
+ return new APIPromise($do68(client, request, options));
52803
52318
  }
52804
- async function $do71(client, request, options) {
52319
+ async function $do68(client, request, options) {
52805
52320
  const parsed = safeParse(request, (value) => GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
52806
52321
  if (!parsed.ok) {
52807
52322
  return [parsed, { status: "invalid" }];
@@ -52877,12 +52392,12 @@ var init_universalEns = __esm(() => {
52877
52392
  });
52878
52393
 
52879
52394
  // src/mcp-server/tools/universalEns.ts
52880
- var args71, tool$universalEns;
52395
+ var args68, tool$universalEns;
52881
52396
  var init_universalEns2 = __esm(() => {
52882
52397
  init_universalEns();
52883
52398
  init_operations();
52884
52399
  init_tools();
52885
- args71 = {
52400
+ args68 = {
52886
52401
  request: GenericEnsRequest$inboundSchema
52887
52402
  };
52888
52403
  tool$universalEns = {
@@ -52893,9 +52408,9 @@ An ENS name is a string ending in \`.eth\`.
52893
52408
 
52894
52409
  E.g. \`vitalik.eth\`. This endpoint can be used to
52895
52410
  query the actual ethereum wallet address behind the ENS name.`,
52896
- args: args71,
52897
- tool: async (client, args72, ctx) => {
52898
- const [result, apiCall] = await universalEns(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52411
+ args: args68,
52412
+ tool: async (client, args69, ctx) => {
52413
+ const [result, apiCall] = await universalEns(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52899
52414
  if (!result.ok) {
52900
52415
  return {
52901
52416
  content: [{ type: "text", text: result.error.message }],
@@ -52910,9 +52425,9 @@ query the actual ethereum wallet address behind the ENS name.`,
52910
52425
 
52911
52426
  // src/funcs/universalPortfolio.ts
52912
52427
  function universalPortfolio(client, request, options) {
52913
- return new APIPromise($do72(client, request, options));
52428
+ return new APIPromise($do69(client, request, options));
52914
52429
  }
52915
- async function $do72(client, request, options) {
52430
+ async function $do69(client, request, options) {
52916
52431
  const parsed = safeParse(request, (value) => GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
52917
52432
  if (!parsed.ok) {
52918
52433
  return [parsed, { status: "invalid" }];
@@ -52988,12 +52503,12 @@ var init_universalPortfolio = __esm(() => {
52988
52503
  });
52989
52504
 
52990
52505
  // src/mcp-server/tools/universalPortfolio.ts
52991
- var args72, tool$universalPortfolio;
52506
+ var args69, tool$universalPortfolio;
52992
52507
  var init_universalPortfolio2 = __esm(() => {
52993
52508
  init_universalPortfolio();
52994
52509
  init_operations();
52995
52510
  init_tools();
52996
- args72 = {
52511
+ args69 = {
52997
52512
  request: GenericPortfolioRequest$inboundSchema
52998
52513
  };
52999
52514
  tool$universalPortfolio = {
@@ -53004,9 +52519,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
53004
52519
 
53005
52520
  This includes the total value of the portfolio in USD and a breakdown of token
53006
52521
  balances, including their respective values and quantities.`,
53007
- args: args72,
53008
- tool: async (client, args73, ctx) => {
53009
- const [result, apiCall] = await universalPortfolio(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52522
+ args: args69,
52523
+ tool: async (client, args70, ctx) => {
52524
+ const [result, apiCall] = await universalPortfolio(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53010
52525
  if (!result.ok) {
53011
52526
  return {
53012
52527
  content: [{ type: "text", text: result.error.message }],
@@ -53021,9 +52536,9 @@ balances, including their respective values and quantities.`,
53021
52536
 
53022
52537
  // src/funcs/universalSupportedTokens.ts
53023
52538
  function universalSupportedTokens(client, request, options) {
53024
- return new APIPromise($do73(client, request, options));
52539
+ return new APIPromise($do70(client, request, options));
53025
52540
  }
53026
- async function $do73(client, request, options) {
52541
+ async function $do70(client, request, options) {
53027
52542
  const parsed = safeParse(request, (value) => GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
53028
52543
  if (!parsed.ok) {
53029
52544
  return [parsed, { status: "invalid" }];
@@ -53098,12 +52613,12 @@ var init_universalSupportedTokens = __esm(() => {
53098
52613
  });
53099
52614
 
53100
52615
  // src/mcp-server/tools/universalSupportedTokens.ts
53101
- var args73, tool$universalSupportedTokens;
52616
+ var args70, tool$universalSupportedTokens;
53102
52617
  var init_universalSupportedTokens2 = __esm(() => {
53103
52618
  init_universalSupportedTokens();
53104
52619
  init_operations();
53105
52620
  init_tools();
53106
- args73 = {
52621
+ args70 = {
53107
52622
  request: GenericSupportedTokensRequest$inboundSchema
53108
52623
  };
53109
52624
  tool$universalSupportedTokens = {
@@ -53111,9 +52626,9 @@ var init_universalSupportedTokens2 = __esm(() => {
53111
52626
  description: `List supported tokens
53112
52627
 
53113
52628
  Get the list of supported tokens on a chain by the Compass API.`,
53114
- args: args73,
53115
- tool: async (client, args74, ctx) => {
53116
- const [result, apiCall] = await universalSupportedTokens(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52629
+ args: args70,
52630
+ tool: async (client, args71, ctx) => {
52631
+ const [result, apiCall] = await universalSupportedTokens(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53117
52632
  if (!result.ok) {
53118
52633
  return {
53119
52634
  content: [{ type: "text", text: result.error.message }],
@@ -53128,9 +52643,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
53128
52643
 
53129
52644
  // src/funcs/universalUnwrapWeth.ts
53130
52645
  function universalUnwrapWeth(client, request, options) {
53131
- return new APIPromise($do74(client, request, options));
52646
+ return new APIPromise($do71(client, request, options));
53132
52647
  }
53133
- async function $do74(client, request, options) {
52648
+ async function $do71(client, request, options) {
53134
52649
  const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
53135
52650
  if (!parsed.ok) {
53136
52651
  return [parsed, { status: "invalid" }];
@@ -53201,12 +52716,12 @@ var init_universalUnwrapWeth = __esm(() => {
53201
52716
  });
53202
52717
 
53203
52718
  // src/mcp-server/tools/universalUnwrapWeth.ts
53204
- var args74, tool$universalUnwrapWeth;
52719
+ var args71, tool$universalUnwrapWeth;
53205
52720
  var init_universalUnwrapWeth2 = __esm(() => {
53206
52721
  init_universalUnwrapWeth();
53207
52722
  init_components();
53208
52723
  init_tools();
53209
- args74 = {
52724
+ args71 = {
53210
52725
  request: UnwrapWethRequest$inboundSchema
53211
52726
  };
53212
52727
  tool$universalUnwrapWeth = {
@@ -53215,9 +52730,9 @@ var init_universalUnwrapWeth2 = __esm(() => {
53215
52730
 
53216
52731
  Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
53217
52732
  can be used for gas and other native purposes.`,
53218
- args: args74,
53219
- tool: async (client, args75, ctx) => {
53220
- const [result, apiCall] = await universalUnwrapWeth(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52733
+ args: args71,
52734
+ tool: async (client, args72, ctx) => {
52735
+ const [result, apiCall] = await universalUnwrapWeth(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53221
52736
  if (!result.ok) {
53222
52737
  return {
53223
52738
  content: [{ type: "text", text: result.error.message }],
@@ -53232,9 +52747,9 @@ can be used for gas and other native purposes.`,
53232
52747
 
53233
52748
  // src/funcs/universalVisualizePortfolio.ts
53234
52749
  function universalVisualizePortfolio(client, request, options) {
53235
- return new APIPromise($do75(client, request, options));
52750
+ return new APIPromise($do72(client, request, options));
53236
52751
  }
53237
- async function $do75(client, request, options) {
52752
+ async function $do72(client, request, options) {
53238
52753
  const parsed = safeParse(request, (value) => GenericVisualizePortfolioRequest$outboundSchema.parse(value), "Input validation failed");
53239
52754
  if (!parsed.ok) {
53240
52755
  return [parsed, { status: "invalid" }];
@@ -53310,12 +52825,12 @@ var init_universalVisualizePortfolio = __esm(() => {
53310
52825
  });
53311
52826
 
53312
52827
  // src/mcp-server/tools/universalVisualizePortfolio.ts
53313
- var args75, tool$universalVisualizePortfolio;
52828
+ var args72, tool$universalVisualizePortfolio;
53314
52829
  var init_universalVisualizePortfolio2 = __esm(() => {
53315
52830
  init_universalVisualizePortfolio();
53316
52831
  init_operations();
53317
52832
  init_tools();
53318
- args75 = {
52833
+ args72 = {
53319
52834
  request: GenericVisualizePortfolioRequest$inboundSchema
53320
52835
  };
53321
52836
  tool$universalVisualizePortfolio = {
@@ -53327,9 +52842,9 @@ Generate a visual representation of the token portfolio for a wallet address.
53327
52842
  The response is an SVG image of a pie chart depicting the relative distribution of
53328
52843
  tokens held, colored and labeled with token symbols, percentages and token values in
53329
52844
  USD.`,
53330
- args: args75,
53331
- tool: async (client, args76, ctx) => {
53332
- const [result, apiCall] = await universalVisualizePortfolio(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52845
+ args: args72,
52846
+ tool: async (client, args73, ctx) => {
52847
+ const [result, apiCall] = await universalVisualizePortfolio(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53333
52848
  if (!result.ok) {
53334
52849
  return {
53335
52850
  content: [{ type: "text", text: result.error.message }],
@@ -53344,9 +52859,9 @@ USD.`,
53344
52859
 
53345
52860
  // src/funcs/universalWrapEth.ts
53346
52861
  function universalWrapEth(client, request, options) {
53347
- return new APIPromise($do76(client, request, options));
52862
+ return new APIPromise($do73(client, request, options));
53348
52863
  }
53349
- async function $do76(client, request, options) {
52864
+ async function $do73(client, request, options) {
53350
52865
  const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
53351
52866
  if (!parsed.ok) {
53352
52867
  return [parsed, { status: "invalid" }];
@@ -53417,12 +52932,12 @@ var init_universalWrapEth = __esm(() => {
53417
52932
  });
53418
52933
 
53419
52934
  // src/mcp-server/tools/universalWrapEth.ts
53420
- var args76, tool$universalWrapEth;
52935
+ var args73, tool$universalWrapEth;
53421
52936
  var init_universalWrapEth2 = __esm(() => {
53422
52937
  init_universalWrapEth();
53423
52938
  init_components();
53424
52939
  init_tools();
53425
- args76 = {
52940
+ args73 = {
53426
52941
  request: WrapEthRequest$inboundSchema
53427
52942
  };
53428
52943
  tool$universalWrapEth = {
@@ -53431,9 +52946,9 @@ var init_universalWrapEth2 = __esm(() => {
53431
52946
 
53432
52947
  Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
53433
52948
  it to be traded on DeFi protocols.`,
53434
- args: args76,
53435
- tool: async (client, args77, ctx) => {
53436
- const [result, apiCall] = await universalWrapEth(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
52949
+ args: args73,
52950
+ tool: async (client, args74, ctx) => {
52951
+ const [result, apiCall] = await universalWrapEth(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53437
52952
  if (!result.ok) {
53438
52953
  return {
53439
52954
  content: [{ type: "text", text: result.error.message }],
@@ -53450,7 +52965,7 @@ it to be traded on DeFi protocols.`,
53450
52965
  function createMCPServer(deps) {
53451
52966
  const server = new McpServer({
53452
52967
  name: "CompassApiSDK",
53453
- version: "0.5.11"
52968
+ version: "0.5.13"
53454
52969
  });
53455
52970
  const client = new CompassApiSDKCore({
53456
52971
  apiKeyAuth: deps.apiKeyAuth,
@@ -53536,9 +53051,6 @@ function createMCPServer(deps) {
53536
53051
  tool(tool$pendleRedeemYield);
53537
53052
  tool(tool$pendleAddLiquidity);
53538
53053
  tool(tool$pendleRemoveLiquidity);
53539
- tool(tool$transactionBatchingAuthorization);
53540
- tool(tool$transactionBatchingExecute);
53541
- tool(tool$transactionBatchingAaveLoop);
53542
53054
  tool(tool$smartAccountAccountBatchedUserOperations);
53543
53055
  return server;
53544
53056
  }
@@ -53602,9 +53114,6 @@ var init_server2 = __esm(() => {
53602
53114
  init_tokenBalance2();
53603
53115
  init_tokenPrice2();
53604
53116
  init_tokenTransfer2();
53605
- init_transactionBatchingAaveLoop2();
53606
- init_transactionBatchingAuthorization2();
53607
- init_transactionBatchingExecute2();
53608
53117
  init_uniswapV3LiquidityProvisionIncrease2();
53609
53118
  init_uniswapV3LiquidityProvisionInRange2();
53610
53119
  init_uniswapV3LiquidityProvisionMint2();
@@ -54813,7 +54322,7 @@ var routes = an({
54813
54322
  var app = He(routes, {
54814
54323
  name: "mcp",
54815
54324
  versionInfo: {
54816
- currentVersion: "0.5.11"
54325
+ currentVersion: "0.5.13"
54817
54326
  }
54818
54327
  });
54819
54328
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -54821,5 +54330,5 @@ export {
54821
54330
  app
54822
54331
  };
54823
54332
 
54824
- //# debugId=BF5C94474A0B381164756E2164756E21
54333
+ //# debugId=A09AEF55DB6A972464756E2164756E21
54825
54334
  //# sourceMappingURL=mcp-server.js.map