@compass-labs/api-sdk 0.5.62 → 0.5.63

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 (124) hide show
  1. package/README.md +4 -4
  2. package/bin/mcp-server.js +46 -17
  3. package/bin/mcp-server.js.map +17 -17
  4. package/dist/commonjs/funcs/pendleAddLiquidity.d.ts +8 -3
  5. package/dist/commonjs/funcs/pendleAddLiquidity.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/pendleAddLiquidity.js +8 -3
  7. package/dist/commonjs/funcs/pendleAddLiquidity.js.map +1 -1
  8. package/dist/commonjs/funcs/pendleBuyPt.d.ts +6 -1
  9. package/dist/commonjs/funcs/pendleBuyPt.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/pendleBuyPt.js +6 -1
  11. package/dist/commonjs/funcs/pendleBuyPt.js.map +1 -1
  12. package/dist/commonjs/funcs/pendleBuyYt.d.ts +6 -1
  13. package/dist/commonjs/funcs/pendleBuyYt.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/pendleBuyYt.js +6 -1
  15. package/dist/commonjs/funcs/pendleBuyYt.js.map +1 -1
  16. package/dist/commonjs/funcs/pendleRemoveLiquidity.d.ts +5 -4
  17. package/dist/commonjs/funcs/pendleRemoveLiquidity.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/pendleRemoveLiquidity.js +5 -4
  19. package/dist/commonjs/funcs/pendleRemoveLiquidity.js.map +1 -1
  20. package/dist/commonjs/funcs/pendleSellPt.d.ts +6 -1
  21. package/dist/commonjs/funcs/pendleSellPt.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/pendleSellPt.js +6 -1
  23. package/dist/commonjs/funcs/pendleSellPt.js.map +1 -1
  24. package/dist/commonjs/funcs/pendleSellYt.d.ts +9 -1
  25. package/dist/commonjs/funcs/pendleSellYt.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/pendleSellYt.js +9 -1
  27. package/dist/commonjs/funcs/pendleSellYt.js.map +1 -1
  28. package/dist/commonjs/lib/config.d.ts +2 -2
  29. package/dist/commonjs/lib/config.js +2 -2
  30. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  31. package/dist/commonjs/mcp-server/server.js +2 -2
  32. package/dist/commonjs/mcp-server/server.js.map +1 -1
  33. package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.d.ts.map +1 -1
  34. package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.js +8 -3
  35. package/dist/commonjs/mcp-server/tools/pendleAddLiquidity.js.map +1 -1
  36. package/dist/commonjs/mcp-server/tools/pendleBuyPt.d.ts.map +1 -1
  37. package/dist/commonjs/mcp-server/tools/pendleBuyPt.js +6 -1
  38. package/dist/commonjs/mcp-server/tools/pendleBuyPt.js.map +1 -1
  39. package/dist/commonjs/mcp-server/tools/pendleBuyYt.d.ts.map +1 -1
  40. package/dist/commonjs/mcp-server/tools/pendleBuyYt.js +6 -1
  41. package/dist/commonjs/mcp-server/tools/pendleBuyYt.js.map +1 -1
  42. package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.d.ts.map +1 -1
  43. package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.js +5 -4
  44. package/dist/commonjs/mcp-server/tools/pendleRemoveLiquidity.js.map +1 -1
  45. package/dist/commonjs/mcp-server/tools/pendleSellPt.d.ts.map +1 -1
  46. package/dist/commonjs/mcp-server/tools/pendleSellPt.js +6 -1
  47. package/dist/commonjs/mcp-server/tools/pendleSellPt.js.map +1 -1
  48. package/dist/commonjs/mcp-server/tools/pendleSellYt.d.ts.map +1 -1
  49. package/dist/commonjs/mcp-server/tools/pendleSellYt.js +9 -1
  50. package/dist/commonjs/mcp-server/tools/pendleSellYt.js.map +1 -1
  51. package/dist/commonjs/sdk/pendle.d.ts +48 -19
  52. package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
  53. package/dist/commonjs/sdk/pendle.js +51 -22
  54. package/dist/commonjs/sdk/pendle.js.map +1 -1
  55. package/dist/esm/funcs/pendleAddLiquidity.d.ts +8 -3
  56. package/dist/esm/funcs/pendleAddLiquidity.d.ts.map +1 -1
  57. package/dist/esm/funcs/pendleAddLiquidity.js +8 -3
  58. package/dist/esm/funcs/pendleAddLiquidity.js.map +1 -1
  59. package/dist/esm/funcs/pendleBuyPt.d.ts +6 -1
  60. package/dist/esm/funcs/pendleBuyPt.d.ts.map +1 -1
  61. package/dist/esm/funcs/pendleBuyPt.js +6 -1
  62. package/dist/esm/funcs/pendleBuyPt.js.map +1 -1
  63. package/dist/esm/funcs/pendleBuyYt.d.ts +6 -1
  64. package/dist/esm/funcs/pendleBuyYt.d.ts.map +1 -1
  65. package/dist/esm/funcs/pendleBuyYt.js +6 -1
  66. package/dist/esm/funcs/pendleBuyYt.js.map +1 -1
  67. package/dist/esm/funcs/pendleRemoveLiquidity.d.ts +5 -4
  68. package/dist/esm/funcs/pendleRemoveLiquidity.d.ts.map +1 -1
  69. package/dist/esm/funcs/pendleRemoveLiquidity.js +5 -4
  70. package/dist/esm/funcs/pendleRemoveLiquidity.js.map +1 -1
  71. package/dist/esm/funcs/pendleSellPt.d.ts +6 -1
  72. package/dist/esm/funcs/pendleSellPt.d.ts.map +1 -1
  73. package/dist/esm/funcs/pendleSellPt.js +6 -1
  74. package/dist/esm/funcs/pendleSellPt.js.map +1 -1
  75. package/dist/esm/funcs/pendleSellYt.d.ts +9 -1
  76. package/dist/esm/funcs/pendleSellYt.d.ts.map +1 -1
  77. package/dist/esm/funcs/pendleSellYt.js +9 -1
  78. package/dist/esm/funcs/pendleSellYt.js.map +1 -1
  79. package/dist/esm/lib/config.d.ts +2 -2
  80. package/dist/esm/lib/config.js +2 -2
  81. package/dist/esm/mcp-server/mcp-server.js +1 -1
  82. package/dist/esm/mcp-server/server.js +2 -2
  83. package/dist/esm/mcp-server/server.js.map +1 -1
  84. package/dist/esm/mcp-server/tools/pendleAddLiquidity.d.ts.map +1 -1
  85. package/dist/esm/mcp-server/tools/pendleAddLiquidity.js +8 -3
  86. package/dist/esm/mcp-server/tools/pendleAddLiquidity.js.map +1 -1
  87. package/dist/esm/mcp-server/tools/pendleBuyPt.d.ts.map +1 -1
  88. package/dist/esm/mcp-server/tools/pendleBuyPt.js +6 -1
  89. package/dist/esm/mcp-server/tools/pendleBuyPt.js.map +1 -1
  90. package/dist/esm/mcp-server/tools/pendleBuyYt.d.ts.map +1 -1
  91. package/dist/esm/mcp-server/tools/pendleBuyYt.js +6 -1
  92. package/dist/esm/mcp-server/tools/pendleBuyYt.js.map +1 -1
  93. package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.d.ts.map +1 -1
  94. package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.js +5 -4
  95. package/dist/esm/mcp-server/tools/pendleRemoveLiquidity.js.map +1 -1
  96. package/dist/esm/mcp-server/tools/pendleSellPt.d.ts.map +1 -1
  97. package/dist/esm/mcp-server/tools/pendleSellPt.js +6 -1
  98. package/dist/esm/mcp-server/tools/pendleSellPt.js.map +1 -1
  99. package/dist/esm/mcp-server/tools/pendleSellYt.d.ts.map +1 -1
  100. package/dist/esm/mcp-server/tools/pendleSellYt.js +9 -1
  101. package/dist/esm/mcp-server/tools/pendleSellYt.js.map +1 -1
  102. package/dist/esm/sdk/pendle.d.ts +48 -19
  103. package/dist/esm/sdk/pendle.d.ts.map +1 -1
  104. package/dist/esm/sdk/pendle.js +51 -22
  105. package/dist/esm/sdk/pendle.js.map +1 -1
  106. package/docs/sdks/pendle/README.md +73 -44
  107. package/jsr.json +1 -1
  108. package/package.json +1 -1
  109. package/src/funcs/pendleAddLiquidity.ts +8 -3
  110. package/src/funcs/pendleBuyPt.ts +6 -1
  111. package/src/funcs/pendleBuyYt.ts +6 -1
  112. package/src/funcs/pendleRemoveLiquidity.ts +5 -4
  113. package/src/funcs/pendleSellPt.ts +6 -1
  114. package/src/funcs/pendleSellYt.ts +9 -1
  115. package/src/lib/config.ts +2 -2
  116. package/src/mcp-server/mcp-server.ts +1 -1
  117. package/src/mcp-server/server.ts +2 -2
  118. package/src/mcp-server/tools/pendleAddLiquidity.ts +8 -3
  119. package/src/mcp-server/tools/pendleBuyPt.ts +6 -1
  120. package/src/mcp-server/tools/pendleBuyYt.ts +6 -1
  121. package/src/mcp-server/tools/pendleRemoveLiquidity.ts +5 -4
  122. package/src/mcp-server/tools/pendleSellPt.ts +6 -1
  123. package/src/mcp-server/tools/pendleSellYt.ts +9 -1
  124. package/src/sdk/pendle.ts +54 -25
@@ -62,7 +62,12 @@ export class Pendle extends ClientSDK {
62
62
  * Buy Principal Token (PT)
63
63
  *
64
64
  * @remarks
65
- * Buy Principal Token (PT) with market's Underlying Token.
65
+ * Buy market's Principal Token (PT) for fixed yield.
66
+ *
67
+ * PT is bought with a token of the user's choice.
68
+ *
69
+ * An appropriate allowance for the Pendle Router on the token_in contract must be set
70
+ * beforehand.
66
71
  * <Info>
67
72
  * **Required Allowances**
68
73
  *
@@ -78,7 +83,12 @@ export class Pendle extends ClientSDK {
78
83
  * Sell Principal Token (PT)
79
84
  *
80
85
  * @remarks
81
- * Sell Principal Token (PT) for the market's Underlying Token.
86
+ * Sell Principal Token (PT) to redeem the fixed yield you have earned thus far.
87
+ *
88
+ * PT is sold for a token of the user's choice.
89
+ *
90
+ * An appropriate allowance for the Pendle Router on the market's PT token contract
91
+ * must be set beforehand.
82
92
  * <Info>
83
93
  * **Required Allowances**
84
94
  *
@@ -94,7 +104,12 @@ export class Pendle extends ClientSDK {
94
104
  * Buy Yield Token (YT)
95
105
  *
96
106
  * @remarks
97
- * Buy Yield Token (YT) with market's Underlying Token.
107
+ * Buy Yield Token (YT) to go long yield and earn variable yield.
108
+ *
109
+ * YT is bought with a token of the user's choice.
110
+ *
111
+ * An appropriate allowance for the Pendle Router on the token_in contract must be set
112
+ * beforehand.
98
113
  * <Info>
99
114
  * **Required Allowances**
100
115
  *
@@ -110,7 +125,15 @@ export class Pendle extends ClientSDK {
110
125
  * Sell Yield Token (YT)
111
126
  *
112
127
  * @remarks
113
- * Sell Yield Token (YT) for the market's Underlying Token.
128
+ * Sell Yield Token (YT) to stop earning variable yield.
129
+ *
130
+ * YT is sold for a token of the user's choice.
131
+ *
132
+ * An appropriate allowance for the Pendle Router on the market's YT token contract
133
+ * must be set beforehand.
134
+ *
135
+ * Make sure to redeem yield earned thus far by calling the 'Redeem Claimable Yield'
136
+ * before selling YT.
114
137
  * <Info>
115
138
  * **Required Allowances**
116
139
  *
@@ -123,10 +146,18 @@ export class Pendle extends ClientSDK {
123
146
  return unwrapAsync(pendleSellYt(this, request, options));
124
147
  }
125
148
  /**
126
- * Redeem Claimable Yield
149
+ * Add Liquidity (LP)
127
150
  *
128
151
  * @remarks
129
- * Redeem claimable yield from the market's associated Yield Token (YT).
152
+ * Add liquidity to a Pendle Market to earn yield.
153
+ *
154
+ * Liquidity is added to the market with a token of the user's choice.
155
+ *
156
+ * Representation of the liquidity provided is in the form of market's Liquidity
157
+ * Provider Token (LP) received by the user.
158
+ *
159
+ * An appropriate allowance for the Pendle Router on the token_in contract must be set
160
+ * beforehand.
130
161
  * <Info>
131
162
  * **Required Allowances**
132
163
  *
@@ -135,17 +166,19 @@ export class Pendle extends ClientSDK {
135
166
  * - `PendleRouter`
136
167
  * </Info>
137
168
  */
138
- async redeemYield(request, options) {
139
- return unwrapAsync(pendleRedeemYield(this, request, options));
169
+ async addLiquidity(request, options) {
170
+ return unwrapAsync(pendleAddLiquidity(this, request, options));
140
171
  }
141
172
  /**
142
- * Add Liquidity
173
+ * Remove Liquidity (LP)
143
174
  *
144
175
  * @remarks
145
- * Add liquidity to a Pendle Market to earn yield.
176
+ * Remove liquidity from a Pendle Market.
177
+ *
178
+ * Liquidity is removed from the market into a token of the user's choice.
146
179
  *
147
- * Liquidity is added in the form of the market's Underlying Token. Representation of
148
- * the liquidity received is the market's Liquidity Provider Token (LP).
180
+ * An appropriate allowance for the Pendle Router on the market contract (LP) must be
181
+ * set beforehand.
149
182
  * <Info>
150
183
  * **Required Allowances**
151
184
  *
@@ -154,18 +187,14 @@ export class Pendle extends ClientSDK {
154
187
  * - `PendleRouter`
155
188
  * </Info>
156
189
  */
157
- async addLiquidity(request, options) {
158
- return unwrapAsync(pendleAddLiquidity(this, request, options));
190
+ async removeLiquidity(request, options) {
191
+ return unwrapAsync(pendleRemoveLiquidity(this, request, options));
159
192
  }
160
193
  /**
161
- * Remove Liquidity
194
+ * Redeem Claimable Yield
162
195
  *
163
196
  * @remarks
164
- * Remove liquidity from a Pendle Market.
165
- *
166
- * Liquidity is removed in the form of the market's Liquidity Provider Token (LP) into
167
- * the market's Underlying Token. An appropriate allowance for the Pendle Router on the
168
- * market contract must be set beforehand
197
+ * Redeem claimable yield from the market's associated Yield Token (YT).
169
198
  * <Info>
170
199
  * **Required Allowances**
171
200
  *
@@ -174,8 +203,8 @@ export class Pendle extends ClientSDK {
174
203
  * - `PendleRouter`
175
204
  * </Info>
176
205
  */
177
- async removeLiquidity(request, options) {
178
- return unwrapAsync(pendleRemoveLiquidity(this, request, options));
206
+ async redeemYield(request, options) {
207
+ return unwrapAsync(pendleRedeemYield(this, request, options));
179
208
  }
180
209
  }
181
210
  //# sourceMappingURL=pendle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pendle.js","sourceRoot":"","sources":["../../../src/sdk/pendle.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EA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CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,KAAK,CACT,OAAsC,EACtC,OAAwB;QAExB,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB;QAExB,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,YAAY,CAChB,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,kBAAkB,CACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,eAAe,CACnB,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,WAAW,CACf,OAA4C,EAC5C,OAAwB;QAExB,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -13,9 +13,9 @@
13
13
  * [sellPt](#sellpt) - Sell Principal Token (PT)
14
14
  * [buyYt](#buyyt) - Buy Yield Token (YT)
15
15
  * [sellYt](#sellyt) - Sell Yield Token (YT)
16
+ * [addLiquidity](#addliquidity) - Add Liquidity (LP)
17
+ * [removeLiquidity](#removeliquidity) - Remove Liquidity (LP)
16
18
  * [redeemYield](#redeemyield) - Redeem Claimable Yield
17
- * [addLiquidity](#addliquidity) - Add Liquidity
18
- * [removeLiquidity](#removeliquidity) - Remove Liquidity
19
19
 
20
20
  ## market
21
21
 
@@ -314,7 +314,12 @@ run();
314
314
 
315
315
  ## buyPt
316
316
 
317
- Buy Principal Token (PT) with market's Underlying Token.
317
+ Buy market's Principal Token (PT) for fixed yield.
318
+
319
+ PT is bought with a token of the user's choice.
320
+
321
+ An appropriate allowance for the Pendle Router on the token_in contract must be set
322
+ beforehand.
318
323
  <Info>
319
324
  **Required Allowances**
320
325
 
@@ -406,7 +411,12 @@ run();
406
411
 
407
412
  ## sellPt
408
413
 
409
- Sell Principal Token (PT) for the market's Underlying Token.
414
+ Sell Principal Token (PT) to redeem the fixed yield you have earned thus far.
415
+
416
+ PT is sold for a token of the user's choice.
417
+
418
+ An appropriate allowance for the Pendle Router on the market's PT token contract
419
+ must be set beforehand.
410
420
  <Info>
411
421
  **Required Allowances**
412
422
 
@@ -498,7 +508,12 @@ run();
498
508
 
499
509
  ## buyYt
500
510
 
501
- Buy Yield Token (YT) with market's Underlying Token.
511
+ Buy Yield Token (YT) to go long yield and earn variable yield.
512
+
513
+ YT is bought with a token of the user's choice.
514
+
515
+ An appropriate allowance for the Pendle Router on the token_in contract must be set
516
+ beforehand.
502
517
  <Info>
503
518
  **Required Allowances**
504
519
 
@@ -590,7 +605,15 @@ run();
590
605
 
591
606
  ## sellYt
592
607
 
593
- Sell Yield Token (YT) for the market's Underlying Token.
608
+ Sell Yield Token (YT) to stop earning variable yield.
609
+
610
+ YT is sold for a token of the user's choice.
611
+
612
+ An appropriate allowance for the Pendle Router on the market's YT token contract
613
+ must be set beforehand.
614
+
615
+ Make sure to redeem yield earned thus far by calling the 'Redeem Claimable Yield'
616
+ before selling YT.
594
617
  <Info>
595
618
  **Required Allowances**
596
619
 
@@ -680,9 +703,17 @@ run();
680
703
  | errors.HTTPValidationError | 422 | application/json |
681
704
  | errors.APIError | 4XX, 5XX | \*/\* |
682
705
 
683
- ## redeemYield
706
+ ## addLiquidity
684
707
 
685
- Redeem claimable yield from the market's associated Yield Token (YT).
708
+ Add liquidity to a Pendle Market to earn yield.
709
+
710
+ Liquidity is added to the market with a token of the user's choice.
711
+
712
+ Representation of the liquidity provided is in the form of market's Liquidity
713
+ Provider Token (LP) received by the user.
714
+
715
+ An appropriate allowance for the Pendle Router on the token_in contract must be set
716
+ beforehand.
686
717
  <Info>
687
718
  **Required Allowances**
688
719
 
@@ -694,7 +725,7 @@ Redeem claimable yield from the market's associated Yield Token (YT).
694
725
 
695
726
  ### Example Usage
696
727
 
697
- <!-- UsageSnippet language="typescript" operationID="pendle_redeem_yield" method="post" path="/v0/pendle/redeem_yield" -->
728
+ <!-- UsageSnippet language="typescript" operationID="pendle_add_liquidity" method="post" path="/v0/pendle/add_liquidity" -->
698
729
  ```typescript
699
730
  import { CompassApiSDK } from "@compass-labs/api-sdk";
700
731
 
@@ -703,8 +734,11 @@ const compassApiSDK = new CompassApiSDK({
703
734
  });
704
735
 
705
736
  async function run() {
706
- const result = await compassApiSDK.pendle.redeemYield({
737
+ const result = await compassApiSDK.pendle.addLiquidity({
707
738
  marketAddress: "0x08a152834de126d2ef83d612ff36e4523fd0017f",
739
+ tokenIn: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
740
+ amountIn: 1.5,
741
+ maxSlippagePercent: 0.5,
708
742
  chain: "ethereum:mainnet",
709
743
  sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
710
744
  });
@@ -721,7 +755,7 @@ The standalone function version of this method:
721
755
 
722
756
  ```typescript
723
757
  import { CompassApiSDKCore } from "@compass-labs/api-sdk/core.js";
724
- import { pendleRedeemYield } from "@compass-labs/api-sdk/funcs/pendleRedeemYield.js";
758
+ import { pendleAddLiquidity } from "@compass-labs/api-sdk/funcs/pendleAddLiquidity.js";
725
759
 
726
760
  // Use `CompassApiSDKCore` for best tree-shaking performance.
727
761
  // You can create one instance of it to use across an application.
@@ -730,8 +764,11 @@ const compassApiSDK = new CompassApiSDKCore({
730
764
  });
731
765
 
732
766
  async function run() {
733
- const res = await pendleRedeemYield(compassApiSDK, {
767
+ const res = await pendleAddLiquidity(compassApiSDK, {
734
768
  marketAddress: "0x08a152834de126d2ef83d612ff36e4523fd0017f",
769
+ tokenIn: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
770
+ amountIn: 1.5,
771
+ maxSlippagePercent: 0.5,
735
772
  chain: "ethereum:mainnet",
736
773
  sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
737
774
  });
@@ -739,7 +776,7 @@ async function run() {
739
776
  const { value: result } = res;
740
777
  console.log(result);
741
778
  } else {
742
- console.log("pendleRedeemYield failed:", res.error);
779
+ console.log("pendleAddLiquidity failed:", res.error);
743
780
  }
744
781
  }
745
782
 
@@ -750,7 +787,7 @@ run();
750
787
 
751
788
  | Parameter | Type | Required | Description |
752
789
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
753
- | `request` | [components.PendleRedeemYieldRequest](../../models/components/pendleredeemyieldrequest.md) | :heavy_check_mark: | The request object to use for the request. |
790
+ | `request` | [components.PendleAddLiquidityRequest](../../models/components/pendleaddliquidityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
754
791
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
755
792
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
756
793
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -766,12 +803,14 @@ run();
766
803
  | errors.HTTPValidationError | 422 | application/json |
767
804
  | errors.APIError | 4XX, 5XX | \*/\* |
768
805
 
769
- ## addLiquidity
806
+ ## removeLiquidity
770
807
 
771
- Add liquidity to a Pendle Market to earn yield.
808
+ Remove liquidity from a Pendle Market.
809
+
810
+ Liquidity is removed from the market into a token of the user's choice.
772
811
 
773
- Liquidity is added in the form of the market's Underlying Token. Representation of
774
- the liquidity received is the market's Liquidity Provider Token (LP).
812
+ An appropriate allowance for the Pendle Router on the market contract (LP) must be
813
+ set beforehand.
775
814
  <Info>
776
815
  **Required Allowances**
777
816
 
@@ -783,7 +822,7 @@ the liquidity received is the market's Liquidity Provider Token (LP).
783
822
 
784
823
  ### Example Usage
785
824
 
786
- <!-- UsageSnippet language="typescript" operationID="pendle_add_liquidity" method="post" path="/v0/pendle/add_liquidity" -->
825
+ <!-- UsageSnippet language="typescript" operationID="pendle_remove_liquidity" method="post" path="/v0/pendle/remove_liquidity" -->
787
826
  ```typescript
788
827
  import { CompassApiSDK } from "@compass-labs/api-sdk";
789
828
 
@@ -792,9 +831,9 @@ const compassApiSDK = new CompassApiSDK({
792
831
  });
793
832
 
794
833
  async function run() {
795
- const result = await compassApiSDK.pendle.addLiquidity({
834
+ const result = await compassApiSDK.pendle.removeLiquidity({
796
835
  marketAddress: "0x08a152834de126d2ef83d612ff36e4523fd0017f",
797
- tokenIn: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
836
+ tokenOut: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
798
837
  amountIn: 1.5,
799
838
  maxSlippagePercent: 0.5,
800
839
  chain: "ethereum:mainnet",
@@ -813,7 +852,7 @@ The standalone function version of this method:
813
852
 
814
853
  ```typescript
815
854
  import { CompassApiSDKCore } from "@compass-labs/api-sdk/core.js";
816
- import { pendleAddLiquidity } from "@compass-labs/api-sdk/funcs/pendleAddLiquidity.js";
855
+ import { pendleRemoveLiquidity } from "@compass-labs/api-sdk/funcs/pendleRemoveLiquidity.js";
817
856
 
818
857
  // Use `CompassApiSDKCore` for best tree-shaking performance.
819
858
  // You can create one instance of it to use across an application.
@@ -822,9 +861,9 @@ const compassApiSDK = new CompassApiSDKCore({
822
861
  });
823
862
 
824
863
  async function run() {
825
- const res = await pendleAddLiquidity(compassApiSDK, {
864
+ const res = await pendleRemoveLiquidity(compassApiSDK, {
826
865
  marketAddress: "0x08a152834de126d2ef83d612ff36e4523fd0017f",
827
- tokenIn: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
866
+ tokenOut: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
828
867
  amountIn: 1.5,
829
868
  maxSlippagePercent: 0.5,
830
869
  chain: "ethereum:mainnet",
@@ -834,7 +873,7 @@ async function run() {
834
873
  const { value: result } = res;
835
874
  console.log(result);
836
875
  } else {
837
- console.log("pendleAddLiquidity failed:", res.error);
876
+ console.log("pendleRemoveLiquidity failed:", res.error);
838
877
  }
839
878
  }
840
879
 
@@ -845,7 +884,7 @@ run();
845
884
 
846
885
  | Parameter | Type | Required | Description |
847
886
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
848
- | `request` | [components.PendleAddLiquidityRequest](../../models/components/pendleaddliquidityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
887
+ | `request` | [components.PendleRemoveLiquidityRequest](../../models/components/pendleremoveliquidityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
849
888
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
850
889
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
851
890
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
@@ -861,13 +900,9 @@ run();
861
900
  | errors.HTTPValidationError | 422 | application/json |
862
901
  | errors.APIError | 4XX, 5XX | \*/\* |
863
902
 
864
- ## removeLiquidity
865
-
866
- Remove liquidity from a Pendle Market.
903
+ ## redeemYield
867
904
 
868
- Liquidity is removed in the form of the market's Liquidity Provider Token (LP) into
869
- the market's Underlying Token. An appropriate allowance for the Pendle Router on the
870
- market contract must be set beforehand
905
+ Redeem claimable yield from the market's associated Yield Token (YT).
871
906
  <Info>
872
907
  **Required Allowances**
873
908
 
@@ -879,7 +914,7 @@ market contract must be set beforehand
879
914
 
880
915
  ### Example Usage
881
916
 
882
- <!-- UsageSnippet language="typescript" operationID="pendle_remove_liquidity" method="post" path="/v0/pendle/remove_liquidity" -->
917
+ <!-- UsageSnippet language="typescript" operationID="pendle_redeem_yield" method="post" path="/v0/pendle/redeem_yield" -->
883
918
  ```typescript
884
919
  import { CompassApiSDK } from "@compass-labs/api-sdk";
885
920
 
@@ -888,11 +923,8 @@ const compassApiSDK = new CompassApiSDK({
888
923
  });
889
924
 
890
925
  async function run() {
891
- const result = await compassApiSDK.pendle.removeLiquidity({
926
+ const result = await compassApiSDK.pendle.redeemYield({
892
927
  marketAddress: "0x08a152834de126d2ef83d612ff36e4523fd0017f",
893
- tokenOut: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
894
- amountIn: 1.5,
895
- maxSlippagePercent: 0.5,
896
928
  chain: "ethereum:mainnet",
897
929
  sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
898
930
  });
@@ -909,7 +941,7 @@ The standalone function version of this method:
909
941
 
910
942
  ```typescript
911
943
  import { CompassApiSDKCore } from "@compass-labs/api-sdk/core.js";
912
- import { pendleRemoveLiquidity } from "@compass-labs/api-sdk/funcs/pendleRemoveLiquidity.js";
944
+ import { pendleRedeemYield } from "@compass-labs/api-sdk/funcs/pendleRedeemYield.js";
913
945
 
914
946
  // Use `CompassApiSDKCore` for best tree-shaking performance.
915
947
  // You can create one instance of it to use across an application.
@@ -918,11 +950,8 @@ const compassApiSDK = new CompassApiSDKCore({
918
950
  });
919
951
 
920
952
  async function run() {
921
- const res = await pendleRemoveLiquidity(compassApiSDK, {
953
+ const res = await pendleRedeemYield(compassApiSDK, {
922
954
  marketAddress: "0x08a152834de126d2ef83d612ff36e4523fd0017f",
923
- tokenOut: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
924
- amountIn: 1.5,
925
- maxSlippagePercent: 0.5,
926
955
  chain: "ethereum:mainnet",
927
956
  sender: "0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B",
928
957
  });
@@ -930,7 +959,7 @@ async function run() {
930
959
  const { value: result } = res;
931
960
  console.log(result);
932
961
  } else {
933
- console.log("pendleRemoveLiquidity failed:", res.error);
962
+ console.log("pendleRedeemYield failed:", res.error);
934
963
  }
935
964
  }
936
965
 
@@ -941,7 +970,7 @@ run();
941
970
 
942
971
  | Parameter | Type | Required | Description |
943
972
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
944
- | `request` | [components.PendleRemoveLiquidityRequest](../../models/components/pendleremoveliquidityrequest.md) | :heavy_check_mark: | The request object to use for the request. |
973
+ | `request` | [components.PendleRedeemYieldRequest](../../models/components/pendleredeemyieldrequest.md) | :heavy_check_mark: | The request object to use for the request. |
945
974
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
946
975
  | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
947
976
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@compass-labs/api-sdk",
5
- "version": "0.5.62",
5
+ "version": "0.5.63",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-labs/api-sdk",
3
- "version": "0.5.62",
3
+ "version": "0.5.63",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,13 +26,18 @@ import { APICall, APIPromise } from "../types/async.js";
26
26
  import { Result } from "../types/fp.js";
27
27
 
28
28
  /**
29
- * Add Liquidity
29
+ * Add Liquidity (LP)
30
30
  *
31
31
  * @remarks
32
32
  * Add liquidity to a Pendle Market to earn yield.
33
33
  *
34
- * Liquidity is added in the form of the market's Underlying Token. Representation of
35
- * the liquidity received is the market's Liquidity Provider Token (LP).
34
+ * Liquidity is added to the market with a token of the user's choice.
35
+ *
36
+ * Representation of the liquidity provided is in the form of market's Liquidity
37
+ * Provider Token (LP) received by the user.
38
+ *
39
+ * An appropriate allowance for the Pendle Router on the token_in contract must be set
40
+ * beforehand.
36
41
  * <Info>
37
42
  * **Required Allowances**
38
43
  *
@@ -29,7 +29,12 @@ import { Result } from "../types/fp.js";
29
29
  * Buy Principal Token (PT)
30
30
  *
31
31
  * @remarks
32
- * Buy Principal Token (PT) with market's Underlying Token.
32
+ * Buy market's Principal Token (PT) for fixed yield.
33
+ *
34
+ * PT is bought with a token of the user's choice.
35
+ *
36
+ * An appropriate allowance for the Pendle Router on the token_in contract must be set
37
+ * beforehand.
33
38
  * <Info>
34
39
  * **Required Allowances**
35
40
  *
@@ -29,7 +29,12 @@ import { Result } from "../types/fp.js";
29
29
  * Buy Yield Token (YT)
30
30
  *
31
31
  * @remarks
32
- * Buy Yield Token (YT) with market's Underlying Token.
32
+ * Buy Yield Token (YT) to go long yield and earn variable yield.
33
+ *
34
+ * YT is bought with a token of the user's choice.
35
+ *
36
+ * An appropriate allowance for the Pendle Router on the token_in contract must be set
37
+ * beforehand.
33
38
  * <Info>
34
39
  * **Required Allowances**
35
40
  *
@@ -26,14 +26,15 @@ import { APICall, APIPromise } from "../types/async.js";
26
26
  import { Result } from "../types/fp.js";
27
27
 
28
28
  /**
29
- * Remove Liquidity
29
+ * Remove Liquidity (LP)
30
30
  *
31
31
  * @remarks
32
32
  * Remove liquidity from a Pendle Market.
33
33
  *
34
- * Liquidity is removed in the form of the market's Liquidity Provider Token (LP) into
35
- * the market's Underlying Token. An appropriate allowance for the Pendle Router on the
36
- * market contract must be set beforehand
34
+ * Liquidity is removed from the market into a token of the user's choice.
35
+ *
36
+ * An appropriate allowance for the Pendle Router on the market contract (LP) must be
37
+ * set beforehand.
37
38
  * <Info>
38
39
  * **Required Allowances**
39
40
  *
@@ -29,7 +29,12 @@ import { Result } from "../types/fp.js";
29
29
  * Sell Principal Token (PT)
30
30
  *
31
31
  * @remarks
32
- * Sell Principal Token (PT) for the market's Underlying Token.
32
+ * Sell Principal Token (PT) to redeem the fixed yield you have earned thus far.
33
+ *
34
+ * PT is sold for a token of the user's choice.
35
+ *
36
+ * An appropriate allowance for the Pendle Router on the market's PT token contract
37
+ * must be set beforehand.
33
38
  * <Info>
34
39
  * **Required Allowances**
35
40
  *
@@ -29,7 +29,15 @@ import { Result } from "../types/fp.js";
29
29
  * Sell Yield Token (YT)
30
30
  *
31
31
  * @remarks
32
- * Sell Yield Token (YT) for the market's Underlying Token.
32
+ * Sell Yield Token (YT) to stop earning variable yield.
33
+ *
34
+ * YT is sold for a token of the user's choice.
35
+ *
36
+ * An appropriate allowance for the Pendle Router on the market's YT token contract
37
+ * must be set beforehand.
38
+ *
39
+ * Make sure to redeem yield earned thus far by calling the 'Redeem Claimable Yield'
40
+ * before selling YT.
33
41
  * <Info>
34
42
  * **Required Allowances**
35
43
  *
package/src/lib/config.ts CHANGED
@@ -61,8 +61,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
63
  openapiDocVersion: "0.0.1",
64
- sdkVersion: "0.5.62",
64
+ sdkVersion: "0.5.63",
65
65
  genVersion: "2.667.0",
66
66
  userAgent:
67
- "speakeasy-sdk/typescript 0.5.62 2.667.0 0.0.1 @compass-labs/api-sdk",
67
+ "speakeasy-sdk/typescript 0.5.63 2.667.0 0.0.1 @compass-labs/api-sdk",
68
68
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.5.62",
22
+ currentVersion: "0.5.63",
23
23
  },
24
24
  });
25
25
 
@@ -104,7 +104,7 @@ export function createMCPServer(deps: {
104
104
  }) {
105
105
  const server = new McpServer({
106
106
  name: "CompassApiSDK",
107
- version: "0.5.62",
107
+ version: "0.5.63",
108
108
  });
109
109
 
110
110
  const client = new CompassApiSDKCore({
@@ -203,9 +203,9 @@ export function createMCPServer(deps: {
203
203
  tool(tool$pendleSellPt);
204
204
  tool(tool$pendleBuyYt);
205
205
  tool(tool$pendleSellYt);
206
- tool(tool$pendleRedeemYield);
207
206
  tool(tool$pendleAddLiquidity);
208
207
  tool(tool$pendleRemoveLiquidity);
208
+ tool(tool$pendleRedeemYield);
209
209
  tool(tool$swapOdos);
210
210
  tool(tool$transactionBundlerBundlerAuthorization);
211
211
  tool(tool$transactionBundlerBundlerExecute);