@compass-labs/api-sdk 0.5.14 → 0.5.16
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.
- package/bin/mcp-server.js +145 -97
- package/bin/mcp-server.js.map +18 -18
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityparams.d.ts +5 -0
- package/dist/commonjs/models/components/pendleaddliquidityparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityparams.js +4 -0
- package/dist/commonjs/models/components/pendleaddliquidityparams.js.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts +5 -0
- package/dist/commonjs/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleaddliquidityrequest.js +4 -0
- package/dist/commonjs/models/components/pendleaddliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptparams.d.ts +5 -0
- package/dist/commonjs/models/components/pendlebuyptparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptparams.js +4 -0
- package/dist/commonjs/models/components/pendlebuyptparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts +5 -0
- package/dist/commonjs/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyptrequest.js +4 -0
- package/dist/commonjs/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytparams.d.ts +5 -0
- package/dist/commonjs/models/components/pendlebuyytparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytparams.js +4 -0
- package/dist/commonjs/models/components/pendlebuyytparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts +5 -0
- package/dist/commonjs/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlebuyytrequest.js +4 -0
- package/dist/commonjs/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityparams.d.ts +5 -0
- package/dist/commonjs/models/components/pendleremoveliquidityparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityparams.js +4 -0
- package/dist/commonjs/models/components/pendleremoveliquidityparams.js.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts +5 -0
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.js +4 -0
- package/dist/commonjs/models/components/pendleremoveliquidityrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellptparams.d.ts +5 -0
- package/dist/commonjs/models/components/pendlesellptparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellptparams.js +4 -0
- package/dist/commonjs/models/components/pendlesellptparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts +5 -0
- package/dist/commonjs/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellptrequest.js +4 -0
- package/dist/commonjs/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellytparams.d.ts +5 -0
- package/dist/commonjs/models/components/pendlesellytparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellytparams.js +4 -0
- package/dist/commonjs/models/components/pendlesellytparams.js.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts +5 -0
- package/dist/commonjs/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendlesellytrequest.js +4 -0
- package/dist/commonjs/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +48 -48
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +56 -56
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/pendleaddliquidityparams.d.ts +5 -0
- package/dist/esm/models/components/pendleaddliquidityparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityparams.js +4 -0
- package/dist/esm/models/components/pendleaddliquidityparams.js.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityrequest.d.ts +5 -0
- package/dist/esm/models/components/pendleaddliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleaddliquidityrequest.js +4 -0
- package/dist/esm/models/components/pendleaddliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptparams.d.ts +5 -0
- package/dist/esm/models/components/pendlebuyptparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptparams.js +4 -0
- package/dist/esm/models/components/pendlebuyptparams.js.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.d.ts +5 -0
- package/dist/esm/models/components/pendlebuyptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyptrequest.js +4 -0
- package/dist/esm/models/components/pendlebuyptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytparams.d.ts +5 -0
- package/dist/esm/models/components/pendlebuyytparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytparams.js +4 -0
- package/dist/esm/models/components/pendlebuyytparams.js.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.d.ts +5 -0
- package/dist/esm/models/components/pendlebuyytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlebuyytrequest.js +4 -0
- package/dist/esm/models/components/pendlebuyytrequest.js.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityparams.d.ts +5 -0
- package/dist/esm/models/components/pendleremoveliquidityparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityparams.js +4 -0
- package/dist/esm/models/components/pendleremoveliquidityparams.js.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts +5 -0
- package/dist/esm/models/components/pendleremoveliquidityrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendleremoveliquidityrequest.js +4 -0
- package/dist/esm/models/components/pendleremoveliquidityrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellptparams.d.ts +5 -0
- package/dist/esm/models/components/pendlesellptparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellptparams.js +4 -0
- package/dist/esm/models/components/pendlesellptparams.js.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.d.ts +5 -0
- package/dist/esm/models/components/pendlesellptrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellptrequest.js +4 -0
- package/dist/esm/models/components/pendlesellptrequest.js.map +1 -1
- package/dist/esm/models/components/pendlesellytparams.d.ts +5 -0
- package/dist/esm/models/components/pendlesellytparams.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellytparams.js +4 -0
- package/dist/esm/models/components/pendlesellytparams.js.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.d.ts +5 -0
- package/dist/esm/models/components/pendlesellytrequest.d.ts.map +1 -1
- package/dist/esm/models/components/pendlesellytrequest.js +4 -0
- package/dist/esm/models/components/pendlesellytrequest.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +48 -48
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +56 -56
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/docs/sdks/pendle/README.md +12 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/pendleaddliquidityparams.ts +9 -0
- package/src/models/components/pendleaddliquidityrequest.ts +9 -0
- package/src/models/components/pendlebuyptparams.ts +9 -0
- package/src/models/components/pendlebuyptrequest.ts +9 -0
- package/src/models/components/pendlebuyytparams.ts +9 -0
- package/src/models/components/pendlebuyytrequest.ts +9 -0
- package/src/models/components/pendleremoveliquidityparams.ts +9 -0
- package/src/models/components/pendleremoveliquidityrequest.ts +9 -0
- package/src/models/components/pendlesellptparams.ts +9 -0
- package/src/models/components/pendlesellptrequest.ts +9 -0
- package/src/models/components/pendlesellytparams.ts +9 -0
- package/src/models/components/pendlesellytrequest.ts +9 -0
- package/src/models/components/useroperation.ts +152 -152
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.
|
|
34208
|
+
sdkVersion: "0.5.16",
|
|
34209
34209
|
genVersion: "2.628.0",
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.5.16 2.628.0 0.0.1 @compass-labs/api-sdk"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -38024,21 +38024,25 @@ var init_pendleaddliquidityparams = __esm(() => {
|
|
|
38024
38024
|
PendleAddLiquidityParams$inboundSchema = objectType({
|
|
38025
38025
|
action_type: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
|
|
38026
38026
|
market_address: stringType(),
|
|
38027
|
-
amount: unionType([numberType(), stringType()])
|
|
38027
|
+
amount: unionType([numberType(), stringType()]),
|
|
38028
|
+
max_slippage_percent: numberType()
|
|
38028
38029
|
}).transform((v2) => {
|
|
38029
38030
|
return remap(v2, {
|
|
38030
38031
|
action_type: "actionType",
|
|
38031
|
-
market_address: "marketAddress"
|
|
38032
|
+
market_address: "marketAddress",
|
|
38033
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38032
38034
|
});
|
|
38033
38035
|
});
|
|
38034
38036
|
PendleAddLiquidityParams$outboundSchema = objectType({
|
|
38035
38037
|
actionType: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
|
|
38036
38038
|
marketAddress: stringType(),
|
|
38037
|
-
amount: unionType([numberType(), stringType()])
|
|
38039
|
+
amount: unionType([numberType(), stringType()]),
|
|
38040
|
+
maxSlippagePercent: numberType()
|
|
38038
38041
|
}).transform((v2) => {
|
|
38039
38042
|
return remap(v2, {
|
|
38040
38043
|
actionType: "action_type",
|
|
38041
|
-
marketAddress: "market_address"
|
|
38044
|
+
marketAddress: "market_address",
|
|
38045
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38042
38046
|
});
|
|
38043
38047
|
});
|
|
38044
38048
|
((PendleAddLiquidityParams$) => {
|
|
@@ -38061,21 +38065,25 @@ var init_pendlebuyptparams = __esm(() => {
|
|
|
38061
38065
|
PendleBuyPtParams$inboundSchema = objectType({
|
|
38062
38066
|
action_type: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
38063
38067
|
market_address: stringType(),
|
|
38064
|
-
amount: unionType([numberType(), stringType()])
|
|
38068
|
+
amount: unionType([numberType(), stringType()]),
|
|
38069
|
+
max_slippage_percent: numberType()
|
|
38065
38070
|
}).transform((v2) => {
|
|
38066
38071
|
return remap(v2, {
|
|
38067
38072
|
action_type: "actionType",
|
|
38068
|
-
market_address: "marketAddress"
|
|
38073
|
+
market_address: "marketAddress",
|
|
38074
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38069
38075
|
});
|
|
38070
38076
|
});
|
|
38071
38077
|
PendleBuyPtParams$outboundSchema = objectType({
|
|
38072
38078
|
actionType: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
38073
38079
|
marketAddress: stringType(),
|
|
38074
|
-
amount: unionType([numberType(), stringType()])
|
|
38080
|
+
amount: unionType([numberType(), stringType()]),
|
|
38081
|
+
maxSlippagePercent: numberType()
|
|
38075
38082
|
}).transform((v2) => {
|
|
38076
38083
|
return remap(v2, {
|
|
38077
38084
|
actionType: "action_type",
|
|
38078
|
-
marketAddress: "market_address"
|
|
38085
|
+
marketAddress: "market_address",
|
|
38086
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38079
38087
|
});
|
|
38080
38088
|
});
|
|
38081
38089
|
((PendleBuyPtParams$) => {
|
|
@@ -38098,21 +38106,25 @@ var init_pendlebuyytparams = __esm(() => {
|
|
|
38098
38106
|
PendleBuyYtParams$inboundSchema = objectType({
|
|
38099
38107
|
action_type: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
38100
38108
|
market_address: stringType(),
|
|
38101
|
-
amount: unionType([numberType(), stringType()])
|
|
38109
|
+
amount: unionType([numberType(), stringType()]),
|
|
38110
|
+
max_slippage_percent: numberType()
|
|
38102
38111
|
}).transform((v2) => {
|
|
38103
38112
|
return remap(v2, {
|
|
38104
38113
|
action_type: "actionType",
|
|
38105
|
-
market_address: "marketAddress"
|
|
38114
|
+
market_address: "marketAddress",
|
|
38115
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38106
38116
|
});
|
|
38107
38117
|
});
|
|
38108
38118
|
PendleBuyYtParams$outboundSchema = objectType({
|
|
38109
38119
|
actionType: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
38110
38120
|
marketAddress: stringType(),
|
|
38111
|
-
amount: unionType([numberType(), stringType()])
|
|
38121
|
+
amount: unionType([numberType(), stringType()]),
|
|
38122
|
+
maxSlippagePercent: numberType()
|
|
38112
38123
|
}).transform((v2) => {
|
|
38113
38124
|
return remap(v2, {
|
|
38114
38125
|
actionType: "action_type",
|
|
38115
|
-
marketAddress: "market_address"
|
|
38126
|
+
marketAddress: "market_address",
|
|
38127
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38116
38128
|
});
|
|
38117
38129
|
});
|
|
38118
38130
|
((PendleBuyYtParams$) => {
|
|
@@ -38164,21 +38176,25 @@ var init_pendleremoveliquidityparams = __esm(() => {
|
|
|
38164
38176
|
PendleRemoveLiquidityParams$inboundSchema = objectType({
|
|
38165
38177
|
action_type: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
|
|
38166
38178
|
market_address: stringType(),
|
|
38167
|
-
amount: unionType([numberType(), stringType()])
|
|
38179
|
+
amount: unionType([numberType(), stringType()]),
|
|
38180
|
+
max_slippage_percent: numberType()
|
|
38168
38181
|
}).transform((v2) => {
|
|
38169
38182
|
return remap(v2, {
|
|
38170
38183
|
action_type: "actionType",
|
|
38171
|
-
market_address: "marketAddress"
|
|
38184
|
+
market_address: "marketAddress",
|
|
38185
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38172
38186
|
});
|
|
38173
38187
|
});
|
|
38174
38188
|
PendleRemoveLiquidityParams$outboundSchema = objectType({
|
|
38175
38189
|
actionType: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
|
|
38176
38190
|
marketAddress: stringType(),
|
|
38177
|
-
amount: unionType([numberType(), stringType()])
|
|
38191
|
+
amount: unionType([numberType(), stringType()]),
|
|
38192
|
+
maxSlippagePercent: numberType()
|
|
38178
38193
|
}).transform((v2) => {
|
|
38179
38194
|
return remap(v2, {
|
|
38180
38195
|
actionType: "action_type",
|
|
38181
|
-
marketAddress: "market_address"
|
|
38196
|
+
marketAddress: "market_address",
|
|
38197
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38182
38198
|
});
|
|
38183
38199
|
});
|
|
38184
38200
|
((PendleRemoveLiquidityParams$) => {
|
|
@@ -38201,21 +38217,25 @@ var init_pendlesellptparams = __esm(() => {
|
|
|
38201
38217
|
PendleSellPtParams$inboundSchema = objectType({
|
|
38202
38218
|
action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
|
|
38203
38219
|
market_address: stringType(),
|
|
38204
|
-
amount: unionType([numberType(), stringType()])
|
|
38220
|
+
amount: unionType([numberType(), stringType()]),
|
|
38221
|
+
max_slippage_percent: numberType()
|
|
38205
38222
|
}).transform((v2) => {
|
|
38206
38223
|
return remap(v2, {
|
|
38207
38224
|
action_type: "actionType",
|
|
38208
|
-
market_address: "marketAddress"
|
|
38225
|
+
market_address: "marketAddress",
|
|
38226
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38209
38227
|
});
|
|
38210
38228
|
});
|
|
38211
38229
|
PendleSellPtParams$outboundSchema = objectType({
|
|
38212
38230
|
actionType: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
|
|
38213
38231
|
marketAddress: stringType(),
|
|
38214
|
-
amount: unionType([numberType(), stringType()])
|
|
38232
|
+
amount: unionType([numberType(), stringType()]),
|
|
38233
|
+
maxSlippagePercent: numberType()
|
|
38215
38234
|
}).transform((v2) => {
|
|
38216
38235
|
return remap(v2, {
|
|
38217
38236
|
actionType: "action_type",
|
|
38218
|
-
marketAddress: "market_address"
|
|
38237
|
+
marketAddress: "market_address",
|
|
38238
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38219
38239
|
});
|
|
38220
38240
|
});
|
|
38221
38241
|
((PendleSellPtParams$) => {
|
|
@@ -38238,21 +38258,25 @@ var init_pendlesellytparams = __esm(() => {
|
|
|
38238
38258
|
PendleSellYtParams$inboundSchema = objectType({
|
|
38239
38259
|
action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
|
|
38240
38260
|
market_address: stringType(),
|
|
38241
|
-
amount: unionType([numberType(), stringType()])
|
|
38261
|
+
amount: unionType([numberType(), stringType()]),
|
|
38262
|
+
max_slippage_percent: numberType()
|
|
38242
38263
|
}).transform((v2) => {
|
|
38243
38264
|
return remap(v2, {
|
|
38244
38265
|
action_type: "actionType",
|
|
38245
|
-
market_address: "marketAddress"
|
|
38266
|
+
market_address: "marketAddress",
|
|
38267
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
38246
38268
|
});
|
|
38247
38269
|
});
|
|
38248
38270
|
PendleSellYtParams$outboundSchema = objectType({
|
|
38249
38271
|
actionType: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
|
|
38250
38272
|
marketAddress: stringType(),
|
|
38251
|
-
amount: unionType([numberType(), stringType()])
|
|
38273
|
+
amount: unionType([numberType(), stringType()]),
|
|
38274
|
+
maxSlippagePercent: numberType()
|
|
38252
38275
|
}).transform((v2) => {
|
|
38253
38276
|
return remap(v2, {
|
|
38254
38277
|
actionType: "action_type",
|
|
38255
|
-
marketAddress: "market_address"
|
|
38278
|
+
marketAddress: "market_address",
|
|
38279
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
38256
38280
|
});
|
|
38257
38281
|
});
|
|
38258
38282
|
((PendleSellYtParams$) => {
|
|
@@ -38890,20 +38914,6 @@ var init_useroperation = __esm(() => {
|
|
|
38890
38914
|
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
38891
38915
|
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38892
38916
|
MorphoSetVaultAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38893
|
-
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38894
|
-
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
38895
|
-
actionType: v2.action_type
|
|
38896
|
-
}))),
|
|
38897
|
-
PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
38898
|
-
actionType: v2.action_type
|
|
38899
|
-
}))),
|
|
38900
|
-
PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38901
|
-
PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
38902
|
-
actionType: v2.action_type
|
|
38903
|
-
}))),
|
|
38904
|
-
PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
38905
|
-
actionType: v2.action_type
|
|
38906
|
-
}))),
|
|
38907
38917
|
SkyBuyParams$inboundSchema.and(objectType({ action_type: literalType("SKY_BUY") }).transform((v2) => ({
|
|
38908
38918
|
actionType: v2.action_type
|
|
38909
38919
|
}))),
|
|
@@ -38930,6 +38940,20 @@ var init_useroperation = __esm(() => {
|
|
|
38930
38940
|
actionType: v2.action_type
|
|
38931
38941
|
}))),
|
|
38932
38942
|
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38943
|
+
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38944
|
+
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
38945
|
+
actionType: v2.action_type
|
|
38946
|
+
}))),
|
|
38947
|
+
PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
38948
|
+
actionType: v2.action_type
|
|
38949
|
+
}))),
|
|
38950
|
+
PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38951
|
+
PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
38952
|
+
actionType: v2.action_type
|
|
38953
|
+
}))),
|
|
38954
|
+
PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
38955
|
+
actionType: v2.action_type
|
|
38956
|
+
}))),
|
|
38933
38957
|
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
38934
38958
|
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
38935
38959
|
actionType: v2.action_type
|
|
@@ -38970,20 +38994,6 @@ var init_useroperation = __esm(() => {
|
|
|
38970
38994
|
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
38971
38995
|
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38972
38996
|
MorphoSetVaultAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38973
|
-
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38974
|
-
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
38975
|
-
action_type: v2.actionType
|
|
38976
|
-
}))),
|
|
38977
|
-
PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
38978
|
-
action_type: v2.actionType
|
|
38979
|
-
}))),
|
|
38980
|
-
PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
38981
|
-
PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
38982
|
-
action_type: v2.actionType
|
|
38983
|
-
}))),
|
|
38984
|
-
PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
38985
|
-
action_type: v2.actionType
|
|
38986
|
-
}))),
|
|
38987
38997
|
SkyBuyParams$outboundSchema.and(objectType({ actionType: literalType("SKY_BUY") }).transform((v2) => ({
|
|
38988
38998
|
action_type: v2.actionType
|
|
38989
38999
|
}))),
|
|
@@ -39012,6 +39022,20 @@ var init_useroperation = __esm(() => {
|
|
|
39012
39022
|
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
39013
39023
|
action_type: v2.actionType
|
|
39014
39024
|
}))),
|
|
39025
|
+
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39026
|
+
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39027
|
+
action_type: v2.actionType
|
|
39028
|
+
}))),
|
|
39029
|
+
PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39030
|
+
action_type: v2.actionType
|
|
39031
|
+
}))),
|
|
39032
|
+
PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39033
|
+
PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39034
|
+
action_type: v2.actionType
|
|
39035
|
+
}))),
|
|
39036
|
+
PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
39037
|
+
action_type: v2.actionType
|
|
39038
|
+
}))),
|
|
39015
39039
|
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39016
39040
|
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39017
39041
|
action_type: v2.actionType
|
|
@@ -39057,20 +39081,6 @@ var init_useroperation = __esm(() => {
|
|
|
39057
39081
|
action_type: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39058
39082
|
}).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39059
39083
|
MorphoSetVaultAllowanceParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39060
|
-
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39061
|
-
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39062
|
-
actionType: v2.action_type
|
|
39063
|
-
}))),
|
|
39064
|
-
PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39065
|
-
actionType: v2.action_type
|
|
39066
|
-
}))),
|
|
39067
|
-
PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39068
|
-
PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39069
|
-
actionType: v2.action_type
|
|
39070
|
-
}))),
|
|
39071
|
-
PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
39072
|
-
actionType: v2.action_type
|
|
39073
|
-
}))),
|
|
39074
39084
|
SkyBuyParams$inboundSchema.and(objectType({ action_type: literalType("SKY_BUY") }).transform((v2) => ({
|
|
39075
39085
|
actionType: v2.action_type
|
|
39076
39086
|
}))),
|
|
@@ -39097,6 +39107,20 @@ var init_useroperation = __esm(() => {
|
|
|
39097
39107
|
actionType: v2.action_type
|
|
39098
39108
|
}))),
|
|
39099
39109
|
MorphoWithdrawParams$inboundSchema.and(objectType({ action_type: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39110
|
+
PendleAddLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39111
|
+
PendleBuyPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39112
|
+
actionType: v2.action_type
|
|
39113
|
+
}))),
|
|
39114
|
+
PendleBuyYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39115
|
+
actionType: v2.action_type
|
|
39116
|
+
}))),
|
|
39117
|
+
PendleRemoveLiquidityParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39118
|
+
PendleSellPtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39119
|
+
actionType: v2.action_type
|
|
39120
|
+
}))),
|
|
39121
|
+
PendleSellYtParams$inboundSchema.and(objectType({ action_type: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
39122
|
+
actionType: v2.action_type
|
|
39123
|
+
}))),
|
|
39100
39124
|
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39101
39125
|
AaveBorrowParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39102
39126
|
actionType: v2.action_type
|
|
@@ -39139,20 +39163,6 @@ var init_useroperation = __esm(() => {
|
|
|
39139
39163
|
actionType: literalType("AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY_PROVISION")
|
|
39140
39164
|
}).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39141
39165
|
MorphoSetVaultAllowanceParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_SET_VAULT_ALLOWANCE") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39142
|
-
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39143
|
-
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39144
|
-
action_type: v2.actionType
|
|
39145
|
-
}))),
|
|
39146
|
-
PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39147
|
-
action_type: v2.actionType
|
|
39148
|
-
}))),
|
|
39149
|
-
PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39150
|
-
PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39151
|
-
action_type: v2.actionType
|
|
39152
|
-
}))),
|
|
39153
|
-
PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
39154
|
-
action_type: v2.actionType
|
|
39155
|
-
}))),
|
|
39156
39166
|
SkyBuyParams$outboundSchema.and(objectType({ actionType: literalType("SKY_BUY") }).transform((v2) => ({
|
|
39157
39167
|
action_type: v2.actionType
|
|
39158
39168
|
}))),
|
|
@@ -39181,6 +39191,20 @@ var init_useroperation = __esm(() => {
|
|
|
39181
39191
|
MorphoWithdrawParams$outboundSchema.and(objectType({ actionType: literalType("MORPHO_WITHDRAW") }).transform((v2) => ({
|
|
39182
39192
|
action_type: v2.actionType
|
|
39183
39193
|
}))),
|
|
39194
|
+
PendleAddLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_ADD_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39195
|
+
PendleBuyPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_PT") }).transform((v2) => ({
|
|
39196
|
+
action_type: v2.actionType
|
|
39197
|
+
}))),
|
|
39198
|
+
PendleBuyYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_BUY_YT") }).transform((v2) => ({
|
|
39199
|
+
action_type: v2.actionType
|
|
39200
|
+
}))),
|
|
39201
|
+
PendleRemoveLiquidityParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_REMOVE_LIQUIDITY") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39202
|
+
PendleSellPtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_PT") }).transform((v2) => ({
|
|
39203
|
+
action_type: v2.actionType
|
|
39204
|
+
}))),
|
|
39205
|
+
PendleSellYtParams$outboundSchema.and(objectType({ actionType: literalType("PENDLE_SELL_YT") }).transform((v2) => ({
|
|
39206
|
+
action_type: v2.actionType
|
|
39207
|
+
}))),
|
|
39184
39208
|
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39185
39209
|
AaveBorrowParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_BORROW") }).transform((v2) => ({
|
|
39186
39210
|
action_type: v2.actionType
|
|
@@ -40880,24 +40904,28 @@ var init_pendleaddliquidityrequest = __esm(() => {
|
|
|
40880
40904
|
action_type: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
|
|
40881
40905
|
market_address: stringType(),
|
|
40882
40906
|
amount: unionType([numberType(), stringType()]),
|
|
40907
|
+
max_slippage_percent: numberType(),
|
|
40883
40908
|
chain: Chain$inboundSchema,
|
|
40884
40909
|
sender: stringType()
|
|
40885
40910
|
}).transform((v2) => {
|
|
40886
40911
|
return remap(v2, {
|
|
40887
40912
|
action_type: "actionType",
|
|
40888
|
-
market_address: "marketAddress"
|
|
40913
|
+
market_address: "marketAddress",
|
|
40914
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
40889
40915
|
});
|
|
40890
40916
|
});
|
|
40891
40917
|
PendleAddLiquidityRequest$outboundSchema = objectType({
|
|
40892
40918
|
actionType: literalType("PENDLE_ADD_LIQUIDITY").default("PENDLE_ADD_LIQUIDITY"),
|
|
40893
40919
|
marketAddress: stringType(),
|
|
40894
40920
|
amount: unionType([numberType(), stringType()]),
|
|
40921
|
+
maxSlippagePercent: numberType(),
|
|
40895
40922
|
chain: Chain$outboundSchema,
|
|
40896
40923
|
sender: stringType()
|
|
40897
40924
|
}).transform((v2) => {
|
|
40898
40925
|
return remap(v2, {
|
|
40899
40926
|
actionType: "action_type",
|
|
40900
|
-
marketAddress: "market_address"
|
|
40927
|
+
marketAddress: "market_address",
|
|
40928
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
40901
40929
|
});
|
|
40902
40930
|
});
|
|
40903
40931
|
((PendleAddLiquidityRequest$) => {
|
|
@@ -40922,24 +40950,28 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
40922
40950
|
action_type: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
40923
40951
|
market_address: stringType(),
|
|
40924
40952
|
amount: unionType([numberType(), stringType()]),
|
|
40953
|
+
max_slippage_percent: numberType(),
|
|
40925
40954
|
chain: Chain$inboundSchema,
|
|
40926
40955
|
sender: stringType()
|
|
40927
40956
|
}).transform((v2) => {
|
|
40928
40957
|
return remap(v2, {
|
|
40929
40958
|
action_type: "actionType",
|
|
40930
|
-
market_address: "marketAddress"
|
|
40959
|
+
market_address: "marketAddress",
|
|
40960
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
40931
40961
|
});
|
|
40932
40962
|
});
|
|
40933
40963
|
PendleBuyPtRequest$outboundSchema = objectType({
|
|
40934
40964
|
actionType: literalType("PENDLE_BUY_PT").default("PENDLE_BUY_PT"),
|
|
40935
40965
|
marketAddress: stringType(),
|
|
40936
40966
|
amount: unionType([numberType(), stringType()]),
|
|
40967
|
+
maxSlippagePercent: numberType(),
|
|
40937
40968
|
chain: Chain$outboundSchema,
|
|
40938
40969
|
sender: stringType()
|
|
40939
40970
|
}).transform((v2) => {
|
|
40940
40971
|
return remap(v2, {
|
|
40941
40972
|
actionType: "action_type",
|
|
40942
|
-
marketAddress: "market_address"
|
|
40973
|
+
marketAddress: "market_address",
|
|
40974
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
40943
40975
|
});
|
|
40944
40976
|
});
|
|
40945
40977
|
((PendleBuyPtRequest$) => {
|
|
@@ -40964,24 +40996,28 @@ var init_pendlebuyytrequest = __esm(() => {
|
|
|
40964
40996
|
action_type: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
40965
40997
|
market_address: stringType(),
|
|
40966
40998
|
amount: unionType([numberType(), stringType()]),
|
|
40999
|
+
max_slippage_percent: numberType(),
|
|
40967
41000
|
chain: Chain$inboundSchema,
|
|
40968
41001
|
sender: stringType()
|
|
40969
41002
|
}).transform((v2) => {
|
|
40970
41003
|
return remap(v2, {
|
|
40971
41004
|
action_type: "actionType",
|
|
40972
|
-
market_address: "marketAddress"
|
|
41005
|
+
market_address: "marketAddress",
|
|
41006
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
40973
41007
|
});
|
|
40974
41008
|
});
|
|
40975
41009
|
PendleBuyYtRequest$outboundSchema = objectType({
|
|
40976
41010
|
actionType: literalType("PENDLE_BUY_YT").default("PENDLE_BUY_YT"),
|
|
40977
41011
|
marketAddress: stringType(),
|
|
40978
41012
|
amount: unionType([numberType(), stringType()]),
|
|
41013
|
+
maxSlippagePercent: numberType(),
|
|
40979
41014
|
chain: Chain$outboundSchema,
|
|
40980
41015
|
sender: stringType()
|
|
40981
41016
|
}).transform((v2) => {
|
|
40982
41017
|
return remap(v2, {
|
|
40983
41018
|
actionType: "action_type",
|
|
40984
|
-
marketAddress: "market_address"
|
|
41019
|
+
marketAddress: "market_address",
|
|
41020
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
40985
41021
|
});
|
|
40986
41022
|
});
|
|
40987
41023
|
((PendleBuyYtRequest$) => {
|
|
@@ -41262,24 +41298,28 @@ var init_pendleremoveliquidityrequest = __esm(() => {
|
|
|
41262
41298
|
action_type: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
|
|
41263
41299
|
market_address: stringType(),
|
|
41264
41300
|
amount: unionType([numberType(), stringType()]),
|
|
41301
|
+
max_slippage_percent: numberType(),
|
|
41265
41302
|
chain: Chain$inboundSchema,
|
|
41266
41303
|
sender: stringType()
|
|
41267
41304
|
}).transform((v2) => {
|
|
41268
41305
|
return remap(v2, {
|
|
41269
41306
|
action_type: "actionType",
|
|
41270
|
-
market_address: "marketAddress"
|
|
41307
|
+
market_address: "marketAddress",
|
|
41308
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
41271
41309
|
});
|
|
41272
41310
|
});
|
|
41273
41311
|
PendleRemoveLiquidityRequest$outboundSchema = objectType({
|
|
41274
41312
|
actionType: literalType("PENDLE_REMOVE_LIQUIDITY").default("PENDLE_REMOVE_LIQUIDITY"),
|
|
41275
41313
|
marketAddress: stringType(),
|
|
41276
41314
|
amount: unionType([numberType(), stringType()]),
|
|
41315
|
+
maxSlippagePercent: numberType(),
|
|
41277
41316
|
chain: Chain$outboundSchema,
|
|
41278
41317
|
sender: stringType()
|
|
41279
41318
|
}).transform((v2) => {
|
|
41280
41319
|
return remap(v2, {
|
|
41281
41320
|
actionType: "action_type",
|
|
41282
|
-
marketAddress: "market_address"
|
|
41321
|
+
marketAddress: "market_address",
|
|
41322
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
41283
41323
|
});
|
|
41284
41324
|
});
|
|
41285
41325
|
((PendleRemoveLiquidityRequest$) => {
|
|
@@ -41304,24 +41344,28 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
41304
41344
|
action_type: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
|
|
41305
41345
|
market_address: stringType(),
|
|
41306
41346
|
amount: unionType([numberType(), stringType()]),
|
|
41347
|
+
max_slippage_percent: numberType(),
|
|
41307
41348
|
chain: Chain$inboundSchema,
|
|
41308
41349
|
sender: stringType()
|
|
41309
41350
|
}).transform((v2) => {
|
|
41310
41351
|
return remap(v2, {
|
|
41311
41352
|
action_type: "actionType",
|
|
41312
|
-
market_address: "marketAddress"
|
|
41353
|
+
market_address: "marketAddress",
|
|
41354
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
41313
41355
|
});
|
|
41314
41356
|
});
|
|
41315
41357
|
PendleSellPtRequest$outboundSchema = objectType({
|
|
41316
41358
|
actionType: literalType("PENDLE_SELL_PT").default("PENDLE_SELL_PT"),
|
|
41317
41359
|
marketAddress: stringType(),
|
|
41318
41360
|
amount: unionType([numberType(), stringType()]),
|
|
41361
|
+
maxSlippagePercent: numberType(),
|
|
41319
41362
|
chain: Chain$outboundSchema,
|
|
41320
41363
|
sender: stringType()
|
|
41321
41364
|
}).transform((v2) => {
|
|
41322
41365
|
return remap(v2, {
|
|
41323
41366
|
actionType: "action_type",
|
|
41324
|
-
marketAddress: "market_address"
|
|
41367
|
+
marketAddress: "market_address",
|
|
41368
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
41325
41369
|
});
|
|
41326
41370
|
});
|
|
41327
41371
|
((PendleSellPtRequest$) => {
|
|
@@ -41346,24 +41390,28 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41346
41390
|
action_type: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
|
|
41347
41391
|
market_address: stringType(),
|
|
41348
41392
|
amount: unionType([numberType(), stringType()]),
|
|
41393
|
+
max_slippage_percent: numberType(),
|
|
41349
41394
|
chain: Chain$inboundSchema,
|
|
41350
41395
|
sender: stringType()
|
|
41351
41396
|
}).transform((v2) => {
|
|
41352
41397
|
return remap(v2, {
|
|
41353
41398
|
action_type: "actionType",
|
|
41354
|
-
market_address: "marketAddress"
|
|
41399
|
+
market_address: "marketAddress",
|
|
41400
|
+
max_slippage_percent: "maxSlippagePercent"
|
|
41355
41401
|
});
|
|
41356
41402
|
});
|
|
41357
41403
|
PendleSellYtRequest$outboundSchema = objectType({
|
|
41358
41404
|
actionType: literalType("PENDLE_SELL_YT").default("PENDLE_SELL_YT"),
|
|
41359
41405
|
marketAddress: stringType(),
|
|
41360
41406
|
amount: unionType([numberType(), stringType()]),
|
|
41407
|
+
maxSlippagePercent: numberType(),
|
|
41361
41408
|
chain: Chain$outboundSchema,
|
|
41362
41409
|
sender: stringType()
|
|
41363
41410
|
}).transform((v2) => {
|
|
41364
41411
|
return remap(v2, {
|
|
41365
41412
|
actionType: "action_type",
|
|
41366
|
-
marketAddress: "market_address"
|
|
41413
|
+
marketAddress: "market_address",
|
|
41414
|
+
maxSlippagePercent: "max_slippage_percent"
|
|
41367
41415
|
});
|
|
41368
41416
|
});
|
|
41369
41417
|
((PendleSellYtRequest$) => {
|
|
@@ -53446,7 +53494,7 @@ it to be traded on DeFi protocols.`,
|
|
|
53446
53494
|
function createMCPServer(deps) {
|
|
53447
53495
|
const server = new McpServer({
|
|
53448
53496
|
name: "CompassApiSDK",
|
|
53449
|
-
version: "0.5.
|
|
53497
|
+
version: "0.5.16"
|
|
53450
53498
|
});
|
|
53451
53499
|
const client = new CompassApiSDKCore({
|
|
53452
53500
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -54809,7 +54857,7 @@ var routes = an({
|
|
|
54809
54857
|
var app = He(routes, {
|
|
54810
54858
|
name: "mcp",
|
|
54811
54859
|
versionInfo: {
|
|
54812
|
-
currentVersion: "0.5.
|
|
54860
|
+
currentVersion: "0.5.16"
|
|
54813
54861
|
}
|
|
54814
54862
|
});
|
|
54815
54863
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -54817,5 +54865,5 @@ export {
|
|
|
54817
54865
|
app
|
|
54818
54866
|
};
|
|
54819
54867
|
|
|
54820
|
-
//# debugId=
|
|
54868
|
+
//# debugId=AB44A070443B6CBC64756E2164756E21
|
|
54821
54869
|
//# sourceMappingURL=mcp-server.js.map
|