@compass-labs/api-sdk 0.0.27 → 0.0.28
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 +484 -26
- package/bin/mcp-server.js.map +22 -11
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/index.d.ts +11 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +11 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/morphoborrowparams.d.ts +71 -0
- package/dist/commonjs/models/components/morphoborrowparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphoborrowparams.js +109 -0
- package/dist/commonjs/models/components/morphoborrowparams.js.map +1 -0
- package/dist/commonjs/models/components/morphodepositparams.d.ts +66 -0
- package/dist/commonjs/models/components/morphodepositparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphodepositparams.js +105 -0
- package/dist/commonjs/models/components/morphodepositparams.js.map +1 -0
- package/dist/commonjs/models/components/morphorepayparams.d.ts +47 -0
- package/dist/commonjs/models/components/morphorepayparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphorepayparams.js +89 -0
- package/dist/commonjs/models/components/morphorepayparams.js.map +1 -0
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts +61 -0
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.js +103 -0
- package/dist/commonjs/models/components/morphosetvaultallowanceparams.js.map +1 -0
- package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts +71 -0
- package/dist/commonjs/models/components/morphosupplycollateralparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphosupplycollateralparams.js +112 -0
- package/dist/commonjs/models/components/morphosupplycollateralparams.js.map +1 -0
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts +71 -0
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.js +109 -0
- package/dist/commonjs/models/components/morphowithdrawcollateralparams.js.map +1 -0
- package/dist/commonjs/models/components/morphowithdrawparams.d.ts +42 -0
- package/dist/commonjs/models/components/morphowithdrawparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/morphowithdrawparams.js +82 -0
- package/dist/commonjs/models/components/morphowithdrawparams.js.map +1 -0
- package/dist/commonjs/models/components/multicallaction.d.ts +15 -4
- package/dist/commonjs/models/components/multicallaction.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallaction.js +55 -0
- package/dist/commonjs/models/components/multicallaction.js.map +1 -1
- package/dist/commonjs/models/components/multicallactiontype.d.ts +33 -0
- package/dist/commonjs/models/components/multicallactiontype.d.ts.map +1 -1
- package/dist/commonjs/models/components/multicallactiontype.js +11 -0
- package/dist/commonjs/models/components/multicallactiontype.js.map +1 -1
- package/dist/commonjs/models/components/skybuyparams.d.ts +93 -0
- package/dist/commonjs/models/components/skybuyparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/skybuyparams.js +125 -0
- package/dist/commonjs/models/components/skybuyparams.js.map +1 -0
- package/dist/commonjs/models/components/skybuyrequest.d.ts +8 -8
- package/dist/commonjs/models/components/skybuyrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skybuyrequest.js +13 -14
- package/dist/commonjs/models/components/skybuyrequest.js.map +1 -1
- package/dist/commonjs/models/components/skydepositparams.d.ts +61 -0
- package/dist/commonjs/models/components/skydepositparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/skydepositparams.js +94 -0
- package/dist/commonjs/models/components/skydepositparams.js.map +1 -0
- package/dist/commonjs/models/components/skysellparams.d.ts +93 -0
- package/dist/commonjs/models/components/skysellparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/skysellparams.js +125 -0
- package/dist/commonjs/models/components/skysellparams.js.map +1 -0
- package/dist/commonjs/models/components/skysellrequest.d.ts +8 -8
- package/dist/commonjs/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/skysellrequest.js +13 -14
- package/dist/commonjs/models/components/skysellrequest.js.map +1 -1
- package/dist/commonjs/models/components/skywithdrawparams.d.ts +37 -0
- package/dist/commonjs/models/components/skywithdrawparams.d.ts.map +1 -0
- package/dist/commonjs/models/components/skywithdrawparams.js +71 -0
- package/dist/commonjs/models/components/skywithdrawparams.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/index.d.ts +11 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +11 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/morphoborrowparams.d.ts +71 -0
- package/dist/esm/models/components/morphoborrowparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphoborrowparams.js +69 -0
- package/dist/esm/models/components/morphoborrowparams.js.map +1 -0
- package/dist/esm/models/components/morphodepositparams.d.ts +66 -0
- package/dist/esm/models/components/morphodepositparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphodepositparams.js +65 -0
- package/dist/esm/models/components/morphodepositparams.js.map +1 -0
- package/dist/esm/models/components/morphorepayparams.d.ts +47 -0
- package/dist/esm/models/components/morphorepayparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphorepayparams.js +51 -0
- package/dist/esm/models/components/morphorepayparams.js.map +1 -0
- package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts +61 -0
- package/dist/esm/models/components/morphosetvaultallowanceparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphosetvaultallowanceparams.js +63 -0
- package/dist/esm/models/components/morphosetvaultallowanceparams.js.map +1 -0
- package/dist/esm/models/components/morphosupplycollateralparams.d.ts +71 -0
- package/dist/esm/models/components/morphosupplycollateralparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphosupplycollateralparams.js +72 -0
- package/dist/esm/models/components/morphosupplycollateralparams.js.map +1 -0
- package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts +71 -0
- package/dist/esm/models/components/morphowithdrawcollateralparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphowithdrawcollateralparams.js +69 -0
- package/dist/esm/models/components/morphowithdrawcollateralparams.js.map +1 -0
- package/dist/esm/models/components/morphowithdrawparams.d.ts +42 -0
- package/dist/esm/models/components/morphowithdrawparams.d.ts.map +1 -0
- package/dist/esm/models/components/morphowithdrawparams.js +44 -0
- package/dist/esm/models/components/morphowithdrawparams.js.map +1 -0
- package/dist/esm/models/components/multicallaction.d.ts +15 -4
- package/dist/esm/models/components/multicallaction.d.ts.map +1 -1
- package/dist/esm/models/components/multicallaction.js +55 -0
- package/dist/esm/models/components/multicallaction.js.map +1 -1
- package/dist/esm/models/components/multicallactiontype.d.ts +33 -0
- package/dist/esm/models/components/multicallactiontype.d.ts.map +1 -1
- package/dist/esm/models/components/multicallactiontype.js +11 -0
- package/dist/esm/models/components/multicallactiontype.js.map +1 -1
- package/dist/esm/models/components/skybuyparams.d.ts +93 -0
- package/dist/esm/models/components/skybuyparams.d.ts.map +1 -0
- package/dist/esm/models/components/skybuyparams.js +85 -0
- package/dist/esm/models/components/skybuyparams.js.map +1 -0
- package/dist/esm/models/components/skybuyrequest.d.ts +8 -8
- package/dist/esm/models/components/skybuyrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skybuyrequest.js +12 -13
- package/dist/esm/models/components/skybuyrequest.js.map +1 -1
- package/dist/esm/models/components/skydepositparams.d.ts +61 -0
- package/dist/esm/models/components/skydepositparams.d.ts.map +1 -0
- package/dist/esm/models/components/skydepositparams.js +54 -0
- package/dist/esm/models/components/skydepositparams.js.map +1 -0
- package/dist/esm/models/components/skysellparams.d.ts +93 -0
- package/dist/esm/models/components/skysellparams.d.ts.map +1 -0
- package/dist/esm/models/components/skysellparams.js +85 -0
- package/dist/esm/models/components/skysellparams.js.map +1 -0
- package/dist/esm/models/components/skysellrequest.d.ts +8 -8
- package/dist/esm/models/components/skysellrequest.d.ts.map +1 -1
- package/dist/esm/models/components/skysellrequest.js +12 -13
- package/dist/esm/models/components/skysellrequest.js.map +1 -1
- package/dist/esm/models/components/skywithdrawparams.d.ts +37 -0
- package/dist/esm/models/components/skywithdrawparams.d.ts.map +1 -0
- package/dist/esm/models/components/skywithdrawparams.js +33 -0
- package/dist/esm/models/components/skywithdrawparams.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/index.ts +11 -0
- package/src/models/components/morphoborrowparams.ts +154 -0
- package/src/models/components/morphodepositparams.ts +145 -0
- package/src/models/components/morphorepayparams.ts +104 -0
- package/src/models/components/morphosetvaultallowanceparams.ts +145 -0
- package/src/models/components/morphosupplycollateralparams.ts +163 -0
- package/src/models/components/morphowithdrawcollateralparams.ts +161 -0
- package/src/models/components/morphowithdrawparams.ts +92 -0
- package/src/models/components/multicallaction.ts +154 -0
- package/src/models/components/multicallactiontype.ts +11 -0
- package/src/models/components/skybuyparams.ts +168 -0
- package/src/models/components/skybuyrequest.ts +16 -14
- package/src/models/components/skydepositparams.ts +129 -0
- package/src/models/components/skysellparams.ts +168 -0
- package/src/models/components/skysellrequest.ts +16 -14
- package/src/models/components/skywithdrawparams.ts +76 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34185,9 +34185,9 @@ var init_config = __esm(() => {
|
|
|
34185
34185
|
SDK_METADATA = {
|
|
34186
34186
|
language: "typescript",
|
|
34187
34187
|
openapiDocVersion: "0.0.1",
|
|
34188
|
-
sdkVersion: "0.0.
|
|
34189
|
-
genVersion: "2.
|
|
34190
|
-
userAgent: "speakeasy-sdk/typescript 0.0.
|
|
34188
|
+
sdkVersion: "0.0.28",
|
|
34189
|
+
genVersion: "2.604.2",
|
|
34190
|
+
userAgent: "speakeasy-sdk/typescript 0.0.28 2.604.2 0.0.1 @compass-labs/api-sdk"
|
|
34191
34191
|
};
|
|
34192
34192
|
});
|
|
34193
34193
|
|
|
@@ -37722,6 +37722,45 @@ var init_marketstate = __esm(() => {
|
|
|
37722
37722
|
})(MarketState$ ||= {});
|
|
37723
37723
|
});
|
|
37724
37724
|
|
|
37725
|
+
// src/models/components/morphoborrowparams.ts
|
|
37726
|
+
var MorphoBorrowParamsAmount$inboundSchema, MorphoBorrowParamsAmount$outboundSchema, MorphoBorrowParamsAmount$, MorphoBorrowParams$inboundSchema, MorphoBorrowParams$outboundSchema, MorphoBorrowParams$;
|
|
37727
|
+
var init_morphoborrowparams = __esm(() => {
|
|
37728
|
+
init_lib();
|
|
37729
|
+
init_primitives();
|
|
37730
|
+
MorphoBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37731
|
+
MorphoBorrowParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37732
|
+
((MorphoBorrowParamsAmount$) => {
|
|
37733
|
+
MorphoBorrowParamsAmount$.inboundSchema = MorphoBorrowParamsAmount$inboundSchema;
|
|
37734
|
+
MorphoBorrowParamsAmount$.outboundSchema = MorphoBorrowParamsAmount$outboundSchema;
|
|
37735
|
+
})(MorphoBorrowParamsAmount$ ||= {});
|
|
37736
|
+
MorphoBorrowParams$inboundSchema = objectType({
|
|
37737
|
+
amount: unionType([numberType(), stringType()]),
|
|
37738
|
+
unique_market_key: stringType(),
|
|
37739
|
+
on_behalf_of: nullableType(stringType()).optional(),
|
|
37740
|
+
receiver: nullableType(stringType()).optional()
|
|
37741
|
+
}).transform((v2) => {
|
|
37742
|
+
return remap(v2, {
|
|
37743
|
+
unique_market_key: "uniqueMarketKey",
|
|
37744
|
+
on_behalf_of: "onBehalfOf"
|
|
37745
|
+
});
|
|
37746
|
+
});
|
|
37747
|
+
MorphoBorrowParams$outboundSchema = objectType({
|
|
37748
|
+
amount: unionType([numberType(), stringType()]),
|
|
37749
|
+
uniqueMarketKey: stringType(),
|
|
37750
|
+
onBehalfOf: nullableType(stringType()).optional(),
|
|
37751
|
+
receiver: nullableType(stringType()).optional()
|
|
37752
|
+
}).transform((v2) => {
|
|
37753
|
+
return remap(v2, {
|
|
37754
|
+
uniqueMarketKey: "unique_market_key",
|
|
37755
|
+
onBehalfOf: "on_behalf_of"
|
|
37756
|
+
});
|
|
37757
|
+
});
|
|
37758
|
+
((MorphoBorrowParams$) => {
|
|
37759
|
+
MorphoBorrowParams$.inboundSchema = MorphoBorrowParams$inboundSchema;
|
|
37760
|
+
MorphoBorrowParams$.outboundSchema = MorphoBorrowParams$outboundSchema;
|
|
37761
|
+
})(MorphoBorrowParams$ ||= {});
|
|
37762
|
+
});
|
|
37763
|
+
|
|
37725
37764
|
// src/models/components/morphoborrowrequest.ts
|
|
37726
37765
|
var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequestChain$inboundSchema, MorphoBorrowRequestChain$outboundSchema, MorphoBorrowRequestChain$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
|
|
37727
37766
|
var init_morphoborrowrequest = __esm(() => {
|
|
@@ -37843,6 +37882,41 @@ var init_morphocheckvaultpositionresponse = __esm(() => {
|
|
|
37843
37882
|
})(MorphoCheckVaultPositionResponse$ ||= {});
|
|
37844
37883
|
});
|
|
37845
37884
|
|
|
37885
|
+
// src/models/components/morphodepositparams.ts
|
|
37886
|
+
var MorphoDepositParamsAmount$inboundSchema, MorphoDepositParamsAmount$outboundSchema, MorphoDepositParamsAmount$, MorphoDepositParams$inboundSchema, MorphoDepositParams$outboundSchema, MorphoDepositParams$;
|
|
37887
|
+
var init_morphodepositparams = __esm(() => {
|
|
37888
|
+
init_lib();
|
|
37889
|
+
init_primitives();
|
|
37890
|
+
MorphoDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37891
|
+
MorphoDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
37892
|
+
((MorphoDepositParamsAmount$) => {
|
|
37893
|
+
MorphoDepositParamsAmount$.inboundSchema = MorphoDepositParamsAmount$inboundSchema;
|
|
37894
|
+
MorphoDepositParamsAmount$.outboundSchema = MorphoDepositParamsAmount$outboundSchema;
|
|
37895
|
+
})(MorphoDepositParamsAmount$ ||= {});
|
|
37896
|
+
MorphoDepositParams$inboundSchema = objectType({
|
|
37897
|
+
vault_address: stringType(),
|
|
37898
|
+
amount: unionType([numberType(), stringType()]),
|
|
37899
|
+
receiver: nullableType(stringType()).optional()
|
|
37900
|
+
}).transform((v2) => {
|
|
37901
|
+
return remap(v2, {
|
|
37902
|
+
vault_address: "vaultAddress"
|
|
37903
|
+
});
|
|
37904
|
+
});
|
|
37905
|
+
MorphoDepositParams$outboundSchema = objectType({
|
|
37906
|
+
vaultAddress: stringType(),
|
|
37907
|
+
amount: unionType([numberType(), stringType()]),
|
|
37908
|
+
receiver: nullableType(stringType()).optional()
|
|
37909
|
+
}).transform((v2) => {
|
|
37910
|
+
return remap(v2, {
|
|
37911
|
+
vaultAddress: "vault_address"
|
|
37912
|
+
});
|
|
37913
|
+
});
|
|
37914
|
+
((MorphoDepositParams$) => {
|
|
37915
|
+
MorphoDepositParams$.inboundSchema = MorphoDepositParams$inboundSchema;
|
|
37916
|
+
MorphoDepositParams$.outboundSchema = MorphoDepositParams$outboundSchema;
|
|
37917
|
+
})(MorphoDepositParams$ ||= {});
|
|
37918
|
+
});
|
|
37919
|
+
|
|
37846
37920
|
// src/models/components/morphodepositrequest.ts
|
|
37847
37921
|
var MorphoDepositRequestChain, MorphoDepositRequestAmount$inboundSchema, MorphoDepositRequestAmount$outboundSchema, MorphoDepositRequestAmount$, MorphoDepositRequestChain$inboundSchema, MorphoDepositRequestChain$outboundSchema, MorphoDepositRequestChain$, MorphoDepositRequest$inboundSchema, MorphoDepositRequest$outboundSchema, MorphoDepositRequest$;
|
|
37848
37922
|
var init_morphodepositrequest = __esm(() => {
|
|
@@ -38046,6 +38120,42 @@ var init_morphogetvaultsresponse = __esm(() => {
|
|
|
38046
38120
|
})(MorphoGetVaultsResponse$ ||= {});
|
|
38047
38121
|
});
|
|
38048
38122
|
|
|
38123
|
+
// src/models/components/morphorepayparams.ts
|
|
38124
|
+
var MorphoRepayParams$inboundSchema, MorphoRepayParams$outboundSchema, MorphoRepayParams$;
|
|
38125
|
+
var init_morphorepayparams = __esm(() => {
|
|
38126
|
+
init_lib();
|
|
38127
|
+
init_base64();
|
|
38128
|
+
init_primitives();
|
|
38129
|
+
MorphoRepayParams$inboundSchema = objectType({
|
|
38130
|
+
amount: anyType().optional(),
|
|
38131
|
+
unique_market_key: stringType(),
|
|
38132
|
+
on_behalf_of: nullableType(stringType()).optional(),
|
|
38133
|
+
callback_data: nullableType(zodInbound).optional()
|
|
38134
|
+
}).transform((v2) => {
|
|
38135
|
+
return remap(v2, {
|
|
38136
|
+
unique_market_key: "uniqueMarketKey",
|
|
38137
|
+
on_behalf_of: "onBehalfOf",
|
|
38138
|
+
callback_data: "callbackData"
|
|
38139
|
+
});
|
|
38140
|
+
});
|
|
38141
|
+
MorphoRepayParams$outboundSchema = objectType({
|
|
38142
|
+
amount: anyType().optional(),
|
|
38143
|
+
uniqueMarketKey: stringType(),
|
|
38144
|
+
onBehalfOf: nullableType(stringType()).optional(),
|
|
38145
|
+
callbackData: nullableType(zodOutbound).optional()
|
|
38146
|
+
}).transform((v2) => {
|
|
38147
|
+
return remap(v2, {
|
|
38148
|
+
uniqueMarketKey: "unique_market_key",
|
|
38149
|
+
onBehalfOf: "on_behalf_of",
|
|
38150
|
+
callbackData: "callback_data"
|
|
38151
|
+
});
|
|
38152
|
+
});
|
|
38153
|
+
((MorphoRepayParams$) => {
|
|
38154
|
+
MorphoRepayParams$.inboundSchema = MorphoRepayParams$inboundSchema;
|
|
38155
|
+
MorphoRepayParams$.outboundSchema = MorphoRepayParams$outboundSchema;
|
|
38156
|
+
})(MorphoRepayParams$ ||= {});
|
|
38157
|
+
});
|
|
38158
|
+
|
|
38049
38159
|
// src/models/components/morphorepayrequest.ts
|
|
38050
38160
|
var MorphoRepayRequestChain, MorphoRepayRequestChain$inboundSchema, MorphoRepayRequestChain$outboundSchema, MorphoRepayRequestChain$, MorphoRepayRequest$inboundSchema, MorphoRepayRequest$outboundSchema, MorphoRepayRequest$;
|
|
38051
38161
|
var init_morphorepayrequest = __esm(() => {
|
|
@@ -38096,6 +38206,39 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
38096
38206
|
})(MorphoRepayRequest$ ||= {});
|
|
38097
38207
|
});
|
|
38098
38208
|
|
|
38209
|
+
// src/models/components/morphosetvaultallowanceparams.ts
|
|
38210
|
+
var MorphoSetVaultAllowanceParamsAmount$inboundSchema, MorphoSetVaultAllowanceParamsAmount$outboundSchema, MorphoSetVaultAllowanceParamsAmount$, MorphoSetVaultAllowanceParams$inboundSchema, MorphoSetVaultAllowanceParams$outboundSchema, MorphoSetVaultAllowanceParams$;
|
|
38211
|
+
var init_morphosetvaultallowanceparams = __esm(() => {
|
|
38212
|
+
init_lib();
|
|
38213
|
+
init_primitives();
|
|
38214
|
+
MorphoSetVaultAllowanceParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38215
|
+
MorphoSetVaultAllowanceParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38216
|
+
((MorphoSetVaultAllowanceParamsAmount$) => {
|
|
38217
|
+
MorphoSetVaultAllowanceParamsAmount$.inboundSchema = MorphoSetVaultAllowanceParamsAmount$inboundSchema;
|
|
38218
|
+
MorphoSetVaultAllowanceParamsAmount$.outboundSchema = MorphoSetVaultAllowanceParamsAmount$outboundSchema;
|
|
38219
|
+
})(MorphoSetVaultAllowanceParamsAmount$ ||= {});
|
|
38220
|
+
MorphoSetVaultAllowanceParams$inboundSchema = objectType({
|
|
38221
|
+
vault_address: stringType(),
|
|
38222
|
+
amount: unionType([numberType(), stringType()])
|
|
38223
|
+
}).transform((v2) => {
|
|
38224
|
+
return remap(v2, {
|
|
38225
|
+
vault_address: "vaultAddress"
|
|
38226
|
+
});
|
|
38227
|
+
});
|
|
38228
|
+
MorphoSetVaultAllowanceParams$outboundSchema = objectType({
|
|
38229
|
+
vaultAddress: stringType(),
|
|
38230
|
+
amount: unionType([numberType(), stringType()])
|
|
38231
|
+
}).transform((v2) => {
|
|
38232
|
+
return remap(v2, {
|
|
38233
|
+
vaultAddress: "vault_address"
|
|
38234
|
+
});
|
|
38235
|
+
});
|
|
38236
|
+
((MorphoSetVaultAllowanceParams$) => {
|
|
38237
|
+
MorphoSetVaultAllowanceParams$.inboundSchema = MorphoSetVaultAllowanceParams$inboundSchema;
|
|
38238
|
+
MorphoSetVaultAllowanceParams$.outboundSchema = MorphoSetVaultAllowanceParams$outboundSchema;
|
|
38239
|
+
})(MorphoSetVaultAllowanceParams$ ||= {});
|
|
38240
|
+
});
|
|
38241
|
+
|
|
38099
38242
|
// src/models/components/morphosetvaultallowancerequest.ts
|
|
38100
38243
|
var MorphoSetVaultAllowanceRequestChain, MorphoSetVaultAllowanceRequestAmount$inboundSchema, MorphoSetVaultAllowanceRequestAmount$outboundSchema, MorphoSetVaultAllowanceRequestAmount$, MorphoSetVaultAllowanceRequestChain$inboundSchema, MorphoSetVaultAllowanceRequestChain$outboundSchema, MorphoSetVaultAllowanceRequestChain$, MorphoSetVaultAllowanceRequest$inboundSchema, MorphoSetVaultAllowanceRequest$outboundSchema, MorphoSetVaultAllowanceRequest$;
|
|
38101
38244
|
var init_morphosetvaultallowancerequest = __esm(() => {
|
|
@@ -38143,6 +38286,48 @@ var init_morphosetvaultallowancerequest = __esm(() => {
|
|
|
38143
38286
|
})(MorphoSetVaultAllowanceRequest$ ||= {});
|
|
38144
38287
|
});
|
|
38145
38288
|
|
|
38289
|
+
// src/models/components/morphosupplycollateralparams.ts
|
|
38290
|
+
var MorphoSupplyCollateralParamsAmount$inboundSchema, MorphoSupplyCollateralParamsAmount$outboundSchema, MorphoSupplyCollateralParamsAmount$, MorphoSupplyCollateralParams$inboundSchema, MorphoSupplyCollateralParams$outboundSchema, MorphoSupplyCollateralParams$;
|
|
38291
|
+
var init_morphosupplycollateralparams = __esm(() => {
|
|
38292
|
+
init_lib();
|
|
38293
|
+
init_base64();
|
|
38294
|
+
init_primitives();
|
|
38295
|
+
MorphoSupplyCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38296
|
+
MorphoSupplyCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38297
|
+
((MorphoSupplyCollateralParamsAmount$) => {
|
|
38298
|
+
MorphoSupplyCollateralParamsAmount$.inboundSchema = MorphoSupplyCollateralParamsAmount$inboundSchema;
|
|
38299
|
+
MorphoSupplyCollateralParamsAmount$.outboundSchema = MorphoSupplyCollateralParamsAmount$outboundSchema;
|
|
38300
|
+
})(MorphoSupplyCollateralParamsAmount$ ||= {});
|
|
38301
|
+
MorphoSupplyCollateralParams$inboundSchema = objectType({
|
|
38302
|
+
amount: unionType([numberType(), stringType()]),
|
|
38303
|
+
unique_market_key: stringType(),
|
|
38304
|
+
on_behalf_of: nullableType(stringType()).optional(),
|
|
38305
|
+
callback_data: nullableType(zodInbound).optional()
|
|
38306
|
+
}).transform((v2) => {
|
|
38307
|
+
return remap(v2, {
|
|
38308
|
+
unique_market_key: "uniqueMarketKey",
|
|
38309
|
+
on_behalf_of: "onBehalfOf",
|
|
38310
|
+
callback_data: "callbackData"
|
|
38311
|
+
});
|
|
38312
|
+
});
|
|
38313
|
+
MorphoSupplyCollateralParams$outboundSchema = objectType({
|
|
38314
|
+
amount: unionType([numberType(), stringType()]),
|
|
38315
|
+
uniqueMarketKey: stringType(),
|
|
38316
|
+
onBehalfOf: nullableType(stringType()).optional(),
|
|
38317
|
+
callbackData: nullableType(zodOutbound).optional()
|
|
38318
|
+
}).transform((v2) => {
|
|
38319
|
+
return remap(v2, {
|
|
38320
|
+
uniqueMarketKey: "unique_market_key",
|
|
38321
|
+
onBehalfOf: "on_behalf_of",
|
|
38322
|
+
callbackData: "callback_data"
|
|
38323
|
+
});
|
|
38324
|
+
});
|
|
38325
|
+
((MorphoSupplyCollateralParams$) => {
|
|
38326
|
+
MorphoSupplyCollateralParams$.inboundSchema = MorphoSupplyCollateralParams$inboundSchema;
|
|
38327
|
+
MorphoSupplyCollateralParams$.outboundSchema = MorphoSupplyCollateralParams$outboundSchema;
|
|
38328
|
+
})(MorphoSupplyCollateralParams$ ||= {});
|
|
38329
|
+
});
|
|
38330
|
+
|
|
38146
38331
|
// src/models/components/morphosupplycollateralrequest.ts
|
|
38147
38332
|
var MorphoSupplyCollateralRequestChain, MorphoSupplyCollateralRequestAmount$inboundSchema, MorphoSupplyCollateralRequestAmount$outboundSchema, MorphoSupplyCollateralRequestAmount$, MorphoSupplyCollateralRequestChain$inboundSchema, MorphoSupplyCollateralRequestChain$outboundSchema, MorphoSupplyCollateralRequestChain$, MorphoSupplyCollateralRequest$inboundSchema, MorphoSupplyCollateralRequest$outboundSchema, MorphoSupplyCollateralRequest$;
|
|
38148
38333
|
var init_morphosupplycollateralrequest = __esm(() => {
|
|
@@ -38199,6 +38384,45 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
38199
38384
|
})(MorphoSupplyCollateralRequest$ ||= {});
|
|
38200
38385
|
});
|
|
38201
38386
|
|
|
38387
|
+
// src/models/components/morphowithdrawcollateralparams.ts
|
|
38388
|
+
var MorphoWithdrawCollateralParamsAmount$inboundSchema, MorphoWithdrawCollateralParamsAmount$outboundSchema, MorphoWithdrawCollateralParamsAmount$, MorphoWithdrawCollateralParams$inboundSchema, MorphoWithdrawCollateralParams$outboundSchema, MorphoWithdrawCollateralParams$;
|
|
38389
|
+
var init_morphowithdrawcollateralparams = __esm(() => {
|
|
38390
|
+
init_lib();
|
|
38391
|
+
init_primitives();
|
|
38392
|
+
MorphoWithdrawCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38393
|
+
MorphoWithdrawCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38394
|
+
((MorphoWithdrawCollateralParamsAmount$) => {
|
|
38395
|
+
MorphoWithdrawCollateralParamsAmount$.inboundSchema = MorphoWithdrawCollateralParamsAmount$inboundSchema;
|
|
38396
|
+
MorphoWithdrawCollateralParamsAmount$.outboundSchema = MorphoWithdrawCollateralParamsAmount$outboundSchema;
|
|
38397
|
+
})(MorphoWithdrawCollateralParamsAmount$ ||= {});
|
|
38398
|
+
MorphoWithdrawCollateralParams$inboundSchema = objectType({
|
|
38399
|
+
amount: unionType([numberType(), stringType()]),
|
|
38400
|
+
unique_market_key: stringType(),
|
|
38401
|
+
on_behalf_of: nullableType(stringType()).optional(),
|
|
38402
|
+
receiver: nullableType(stringType()).optional()
|
|
38403
|
+
}).transform((v2) => {
|
|
38404
|
+
return remap(v2, {
|
|
38405
|
+
unique_market_key: "uniqueMarketKey",
|
|
38406
|
+
on_behalf_of: "onBehalfOf"
|
|
38407
|
+
});
|
|
38408
|
+
});
|
|
38409
|
+
MorphoWithdrawCollateralParams$outboundSchema = objectType({
|
|
38410
|
+
amount: unionType([numberType(), stringType()]),
|
|
38411
|
+
uniqueMarketKey: stringType(),
|
|
38412
|
+
onBehalfOf: nullableType(stringType()).optional(),
|
|
38413
|
+
receiver: nullableType(stringType()).optional()
|
|
38414
|
+
}).transform((v2) => {
|
|
38415
|
+
return remap(v2, {
|
|
38416
|
+
uniqueMarketKey: "unique_market_key",
|
|
38417
|
+
onBehalfOf: "on_behalf_of"
|
|
38418
|
+
});
|
|
38419
|
+
});
|
|
38420
|
+
((MorphoWithdrawCollateralParams$) => {
|
|
38421
|
+
MorphoWithdrawCollateralParams$.inboundSchema = MorphoWithdrawCollateralParams$inboundSchema;
|
|
38422
|
+
MorphoWithdrawCollateralParams$.outboundSchema = MorphoWithdrawCollateralParams$outboundSchema;
|
|
38423
|
+
})(MorphoWithdrawCollateralParams$ ||= {});
|
|
38424
|
+
});
|
|
38425
|
+
|
|
38202
38426
|
// src/models/components/morphowithdrawcollateralrequest.ts
|
|
38203
38427
|
var MorphoWithdrawCollateralRequestChain, MorphoWithdrawCollateralRequestAmount$inboundSchema, MorphoWithdrawCollateralRequestAmount$outboundSchema, MorphoWithdrawCollateralRequestAmount$, MorphoWithdrawCollateralRequestChain$inboundSchema, MorphoWithdrawCollateralRequestChain$outboundSchema, MorphoWithdrawCollateralRequestChain$, MorphoWithdrawCollateralRequest$inboundSchema, MorphoWithdrawCollateralRequest$outboundSchema, MorphoWithdrawCollateralRequest$;
|
|
38204
38428
|
var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
@@ -38252,6 +38476,35 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
38252
38476
|
})(MorphoWithdrawCollateralRequest$ ||= {});
|
|
38253
38477
|
});
|
|
38254
38478
|
|
|
38479
|
+
// src/models/components/morphowithdrawparams.ts
|
|
38480
|
+
var MorphoWithdrawParams$inboundSchema, MorphoWithdrawParams$outboundSchema, MorphoWithdrawParams$;
|
|
38481
|
+
var init_morphowithdrawparams = __esm(() => {
|
|
38482
|
+
init_lib();
|
|
38483
|
+
init_primitives();
|
|
38484
|
+
MorphoWithdrawParams$inboundSchema = objectType({
|
|
38485
|
+
vault_address: stringType(),
|
|
38486
|
+
amount: anyType().optional(),
|
|
38487
|
+
receiver: nullableType(stringType()).optional()
|
|
38488
|
+
}).transform((v2) => {
|
|
38489
|
+
return remap(v2, {
|
|
38490
|
+
vault_address: "vaultAddress"
|
|
38491
|
+
});
|
|
38492
|
+
});
|
|
38493
|
+
MorphoWithdrawParams$outboundSchema = objectType({
|
|
38494
|
+
vaultAddress: stringType(),
|
|
38495
|
+
amount: anyType().optional(),
|
|
38496
|
+
receiver: nullableType(stringType()).optional()
|
|
38497
|
+
}).transform((v2) => {
|
|
38498
|
+
return remap(v2, {
|
|
38499
|
+
vaultAddress: "vault_address"
|
|
38500
|
+
});
|
|
38501
|
+
});
|
|
38502
|
+
((MorphoWithdrawParams$) => {
|
|
38503
|
+
MorphoWithdrawParams$.inboundSchema = MorphoWithdrawParams$inboundSchema;
|
|
38504
|
+
MorphoWithdrawParams$.outboundSchema = MorphoWithdrawParams$outboundSchema;
|
|
38505
|
+
})(MorphoWithdrawParams$ ||= {});
|
|
38506
|
+
});
|
|
38507
|
+
|
|
38255
38508
|
// src/models/components/morphowithdrawrequest.ts
|
|
38256
38509
|
var MorphoWithdrawRequestChain, MorphoWithdrawRequestChain$inboundSchema, MorphoWithdrawRequestChain$outboundSchema, MorphoWithdrawRequestChain$, MorphoWithdrawRequest$inboundSchema, MorphoWithdrawRequest$outboundSchema, MorphoWithdrawRequest$;
|
|
38257
38510
|
var init_morphowithdrawrequest = __esm(() => {
|
|
@@ -38311,6 +38564,17 @@ var init_multicallactiontype = __esm(() => {
|
|
|
38311
38564
|
AerodromeSlipstreamWithdrawLiquidity: "AERODROME_SLIPSTREAM_WITHDRAW_LIQUIDITY",
|
|
38312
38565
|
AllowanceIncrease: "ALLOWANCE_INCREASE",
|
|
38313
38566
|
AllowanceIncreaseAny: "ALLOWANCE_INCREASE_ANY",
|
|
38567
|
+
MorphoBorrow: "MORPHO_BORROW",
|
|
38568
|
+
MorphoDeposit: "MORPHO_DEPOSIT",
|
|
38569
|
+
MorphoRepay: "MORPHO_REPAY",
|
|
38570
|
+
MorphoSetVaultAllowance: "MORPHO_SET_VAULT_ALLOWANCE",
|
|
38571
|
+
MorphoSupplyCollateral: "MORPHO_SUPPLY_COLLATERAL",
|
|
38572
|
+
MorphoWithdraw: "MORPHO_WITHDRAW",
|
|
38573
|
+
MorphoWithdrawCollateral: "MORPHO_WITHDRAW_COLLATERAL",
|
|
38574
|
+
SkyBuy: "SKY_BUY",
|
|
38575
|
+
SkyDeposit: "SKY_DEPOSIT",
|
|
38576
|
+
SkySell: "SKY_SELL",
|
|
38577
|
+
SkyWithdraw: "SKY_WITHDRAW",
|
|
38314
38578
|
TransferErc20: "TRANSFER_ERC20",
|
|
38315
38579
|
UniswapAddLiquidity: "UNISWAP_ADD_LIQUIDITY",
|
|
38316
38580
|
UniswapBuyExactly: "UNISWAP_BUY_EXACTLY",
|
|
@@ -38328,6 +38592,134 @@ var init_multicallactiontype = __esm(() => {
|
|
|
38328
38592
|
})(MulticallActionType$ ||= {});
|
|
38329
38593
|
});
|
|
38330
38594
|
|
|
38595
|
+
// src/models/components/skybuyparams.ts
|
|
38596
|
+
var SkyBuyParamsTokenIn, SkyBuyParamsTokenIn$inboundSchema, SkyBuyParamsTokenIn$outboundSchema, SkyBuyParamsTokenIn$, SkyBuyParamsAmount$inboundSchema, SkyBuyParamsAmount$outboundSchema, SkyBuyParamsAmount$, SkyBuyParams$inboundSchema, SkyBuyParams$outboundSchema, SkyBuyParams$;
|
|
38597
|
+
var init_skybuyparams = __esm(() => {
|
|
38598
|
+
init_lib();
|
|
38599
|
+
init_primitives();
|
|
38600
|
+
SkyBuyParamsTokenIn = {
|
|
38601
|
+
Dai: "DAI",
|
|
38602
|
+
Usdc: "USDC"
|
|
38603
|
+
};
|
|
38604
|
+
SkyBuyParamsTokenIn$inboundSchema = nativeEnumType(SkyBuyParamsTokenIn);
|
|
38605
|
+
SkyBuyParamsTokenIn$outboundSchema = SkyBuyParamsTokenIn$inboundSchema;
|
|
38606
|
+
((SkyBuyParamsTokenIn$) => {
|
|
38607
|
+
SkyBuyParamsTokenIn$.inboundSchema = SkyBuyParamsTokenIn$inboundSchema;
|
|
38608
|
+
SkyBuyParamsTokenIn$.outboundSchema = SkyBuyParamsTokenIn$outboundSchema;
|
|
38609
|
+
})(SkyBuyParamsTokenIn$ ||= {});
|
|
38610
|
+
SkyBuyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38611
|
+
SkyBuyParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38612
|
+
((SkyBuyParamsAmount$) => {
|
|
38613
|
+
SkyBuyParamsAmount$.inboundSchema = SkyBuyParamsAmount$inboundSchema;
|
|
38614
|
+
SkyBuyParamsAmount$.outboundSchema = SkyBuyParamsAmount$outboundSchema;
|
|
38615
|
+
})(SkyBuyParamsAmount$ ||= {});
|
|
38616
|
+
SkyBuyParams$inboundSchema = objectType({
|
|
38617
|
+
token_in: SkyBuyParamsTokenIn$inboundSchema,
|
|
38618
|
+
amount: unionType([numberType(), stringType()])
|
|
38619
|
+
}).transform((v2) => {
|
|
38620
|
+
return remap(v2, {
|
|
38621
|
+
token_in: "tokenIn"
|
|
38622
|
+
});
|
|
38623
|
+
});
|
|
38624
|
+
SkyBuyParams$outboundSchema = objectType({
|
|
38625
|
+
tokenIn: SkyBuyParamsTokenIn$outboundSchema,
|
|
38626
|
+
amount: unionType([numberType(), stringType()])
|
|
38627
|
+
}).transform((v2) => {
|
|
38628
|
+
return remap(v2, {
|
|
38629
|
+
tokenIn: "token_in"
|
|
38630
|
+
});
|
|
38631
|
+
});
|
|
38632
|
+
((SkyBuyParams$) => {
|
|
38633
|
+
SkyBuyParams$.inboundSchema = SkyBuyParams$inboundSchema;
|
|
38634
|
+
SkyBuyParams$.outboundSchema = SkyBuyParams$outboundSchema;
|
|
38635
|
+
})(SkyBuyParams$ ||= {});
|
|
38636
|
+
});
|
|
38637
|
+
|
|
38638
|
+
// src/models/components/skydepositparams.ts
|
|
38639
|
+
var SkyDepositParamsAmount$inboundSchema, SkyDepositParamsAmount$outboundSchema, SkyDepositParamsAmount$, SkyDepositParams$inboundSchema, SkyDepositParams$outboundSchema, SkyDepositParams$;
|
|
38640
|
+
var init_skydepositparams = __esm(() => {
|
|
38641
|
+
init_lib();
|
|
38642
|
+
SkyDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38643
|
+
SkyDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38644
|
+
((SkyDepositParamsAmount$) => {
|
|
38645
|
+
SkyDepositParamsAmount$.inboundSchema = SkyDepositParamsAmount$inboundSchema;
|
|
38646
|
+
SkyDepositParamsAmount$.outboundSchema = SkyDepositParamsAmount$outboundSchema;
|
|
38647
|
+
})(SkyDepositParamsAmount$ ||= {});
|
|
38648
|
+
SkyDepositParams$inboundSchema = objectType({
|
|
38649
|
+
amount: unionType([numberType(), stringType()]),
|
|
38650
|
+
receiver: nullableType(stringType()).optional()
|
|
38651
|
+
});
|
|
38652
|
+
SkyDepositParams$outboundSchema = objectType({
|
|
38653
|
+
amount: unionType([numberType(), stringType()]),
|
|
38654
|
+
receiver: nullableType(stringType()).optional()
|
|
38655
|
+
});
|
|
38656
|
+
((SkyDepositParams$) => {
|
|
38657
|
+
SkyDepositParams$.inboundSchema = SkyDepositParams$inboundSchema;
|
|
38658
|
+
SkyDepositParams$.outboundSchema = SkyDepositParams$outboundSchema;
|
|
38659
|
+
})(SkyDepositParams$ ||= {});
|
|
38660
|
+
});
|
|
38661
|
+
|
|
38662
|
+
// src/models/components/skysellparams.ts
|
|
38663
|
+
var SkySellParamsTokenOut, SkySellParamsTokenOut$inboundSchema, SkySellParamsTokenOut$outboundSchema, SkySellParamsTokenOut$, SkySellParamsAmount$inboundSchema, SkySellParamsAmount$outboundSchema, SkySellParamsAmount$, SkySellParams$inboundSchema, SkySellParams$outboundSchema, SkySellParams$;
|
|
38664
|
+
var init_skysellparams = __esm(() => {
|
|
38665
|
+
init_lib();
|
|
38666
|
+
init_primitives();
|
|
38667
|
+
SkySellParamsTokenOut = {
|
|
38668
|
+
Dai: "DAI",
|
|
38669
|
+
Usdc: "USDC"
|
|
38670
|
+
};
|
|
38671
|
+
SkySellParamsTokenOut$inboundSchema = nativeEnumType(SkySellParamsTokenOut);
|
|
38672
|
+
SkySellParamsTokenOut$outboundSchema = SkySellParamsTokenOut$inboundSchema;
|
|
38673
|
+
((SkySellParamsTokenOut$) => {
|
|
38674
|
+
SkySellParamsTokenOut$.inboundSchema = SkySellParamsTokenOut$inboundSchema;
|
|
38675
|
+
SkySellParamsTokenOut$.outboundSchema = SkySellParamsTokenOut$outboundSchema;
|
|
38676
|
+
})(SkySellParamsTokenOut$ ||= {});
|
|
38677
|
+
SkySellParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38678
|
+
SkySellParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38679
|
+
((SkySellParamsAmount$) => {
|
|
38680
|
+
SkySellParamsAmount$.inboundSchema = SkySellParamsAmount$inboundSchema;
|
|
38681
|
+
SkySellParamsAmount$.outboundSchema = SkySellParamsAmount$outboundSchema;
|
|
38682
|
+
})(SkySellParamsAmount$ ||= {});
|
|
38683
|
+
SkySellParams$inboundSchema = objectType({
|
|
38684
|
+
token_out: SkySellParamsTokenOut$inboundSchema,
|
|
38685
|
+
amount: unionType([numberType(), stringType()])
|
|
38686
|
+
}).transform((v2) => {
|
|
38687
|
+
return remap(v2, {
|
|
38688
|
+
token_out: "tokenOut"
|
|
38689
|
+
});
|
|
38690
|
+
});
|
|
38691
|
+
SkySellParams$outboundSchema = objectType({
|
|
38692
|
+
tokenOut: SkySellParamsTokenOut$outboundSchema,
|
|
38693
|
+
amount: unionType([numberType(), stringType()])
|
|
38694
|
+
}).transform((v2) => {
|
|
38695
|
+
return remap(v2, {
|
|
38696
|
+
tokenOut: "token_out"
|
|
38697
|
+
});
|
|
38698
|
+
});
|
|
38699
|
+
((SkySellParams$) => {
|
|
38700
|
+
SkySellParams$.inboundSchema = SkySellParams$inboundSchema;
|
|
38701
|
+
SkySellParams$.outboundSchema = SkySellParams$outboundSchema;
|
|
38702
|
+
})(SkySellParams$ ||= {});
|
|
38703
|
+
});
|
|
38704
|
+
|
|
38705
|
+
// src/models/components/skywithdrawparams.ts
|
|
38706
|
+
var SkyWithdrawParams$inboundSchema, SkyWithdrawParams$outboundSchema, SkyWithdrawParams$;
|
|
38707
|
+
var init_skywithdrawparams = __esm(() => {
|
|
38708
|
+
init_lib();
|
|
38709
|
+
SkyWithdrawParams$inboundSchema = objectType({
|
|
38710
|
+
amount: anyType().optional(),
|
|
38711
|
+
receiver: nullableType(stringType()).optional()
|
|
38712
|
+
});
|
|
38713
|
+
SkyWithdrawParams$outboundSchema = objectType({
|
|
38714
|
+
amount: anyType().optional(),
|
|
38715
|
+
receiver: nullableType(stringType()).optional()
|
|
38716
|
+
});
|
|
38717
|
+
((SkyWithdrawParams$) => {
|
|
38718
|
+
SkyWithdrawParams$.inboundSchema = SkyWithdrawParams$inboundSchema;
|
|
38719
|
+
SkyWithdrawParams$.outboundSchema = SkyWithdrawParams$outboundSchema;
|
|
38720
|
+
})(SkyWithdrawParams$ ||= {});
|
|
38721
|
+
});
|
|
38722
|
+
|
|
38331
38723
|
// src/models/components/tokentransfererc20params.ts
|
|
38332
38724
|
var TokenTransferErc20ParamsAmount$inboundSchema, TokenTransferErc20ParamsAmount$outboundSchema, TokenTransferErc20ParamsAmount$, TokenTransferErc20Params$inboundSchema, TokenTransferErc20Params$outboundSchema, TokenTransferErc20Params$;
|
|
38333
38725
|
var init_tokentransfererc20params = __esm(() => {
|
|
@@ -38692,7 +39084,18 @@ var init_multicallaction = __esm(() => {
|
|
|
38692
39084
|
init_aerodromeslipstreamwithdrawliquidityprovisionparams();
|
|
38693
39085
|
init_increaseallowanceanyparams();
|
|
38694
39086
|
init_increaseallowanceparams();
|
|
39087
|
+
init_morphoborrowparams();
|
|
39088
|
+
init_morphodepositparams();
|
|
39089
|
+
init_morphorepayparams();
|
|
39090
|
+
init_morphosetvaultallowanceparams();
|
|
39091
|
+
init_morphosupplycollateralparams();
|
|
39092
|
+
init_morphowithdrawcollateralparams();
|
|
39093
|
+
init_morphowithdrawparams();
|
|
38695
39094
|
init_multicallactiontype();
|
|
39095
|
+
init_skybuyparams();
|
|
39096
|
+
init_skydepositparams();
|
|
39097
|
+
init_skysellparams();
|
|
39098
|
+
init_skywithdrawparams();
|
|
38696
39099
|
init_tokentransfererc20params();
|
|
38697
39100
|
init_uniswapbuyexactlyparams();
|
|
38698
39101
|
init_uniswapincreaseliquidityprovisionparams();
|
|
@@ -38704,15 +39107,26 @@ var init_multicallaction = __esm(() => {
|
|
|
38704
39107
|
Body$inboundSchema = unionType([
|
|
38705
39108
|
UnwrapWethParams$inboundSchema,
|
|
38706
39109
|
WrapEthParams$inboundSchema,
|
|
39110
|
+
MorphoSetVaultAllowanceParams$inboundSchema,
|
|
39111
|
+
SkyBuyParams$inboundSchema,
|
|
39112
|
+
SkySellParams$inboundSchema,
|
|
39113
|
+
SkyDepositParams$inboundSchema,
|
|
39114
|
+
SkyWithdrawParams$inboundSchema,
|
|
38707
39115
|
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
|
|
38708
39116
|
UniswapWithdrawLiquidityProvisionParams$inboundSchema,
|
|
38709
39117
|
AaveSupplyParams$inboundSchema,
|
|
38710
39118
|
AaveWithdrawParams$inboundSchema,
|
|
39119
|
+
MorphoDepositParams$inboundSchema,
|
|
39120
|
+
MorphoWithdrawParams$inboundSchema,
|
|
38711
39121
|
TokenTransferErc20Params$inboundSchema,
|
|
38712
39122
|
IncreaseAllowanceParams$inboundSchema,
|
|
38713
39123
|
IncreaseAllowanceAnyParams$inboundSchema,
|
|
38714
39124
|
AaveBorrowParams$inboundSchema,
|
|
38715
39125
|
AaveRepayParams$inboundSchema,
|
|
39126
|
+
MorphoBorrowParams$inboundSchema,
|
|
39127
|
+
MorphoRepayParams$inboundSchema,
|
|
39128
|
+
MorphoSupplyCollateralParams$inboundSchema,
|
|
39129
|
+
MorphoWithdrawCollateralParams$inboundSchema,
|
|
38716
39130
|
AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
|
|
38717
39131
|
AerodromeSlipstreamBuyExactlyParams$inboundSchema,
|
|
38718
39132
|
AerodromeSlipstreamSellExactlyParams$inboundSchema,
|
|
@@ -38725,15 +39139,26 @@ var init_multicallaction = __esm(() => {
|
|
|
38725
39139
|
Body$outboundSchema = unionType([
|
|
38726
39140
|
UnwrapWethParams$outboundSchema,
|
|
38727
39141
|
WrapEthParams$outboundSchema,
|
|
39142
|
+
MorphoSetVaultAllowanceParams$outboundSchema,
|
|
39143
|
+
SkyBuyParams$outboundSchema,
|
|
39144
|
+
SkySellParams$outboundSchema,
|
|
39145
|
+
SkyDepositParams$outboundSchema,
|
|
39146
|
+
SkyWithdrawParams$outboundSchema,
|
|
38728
39147
|
AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
|
|
38729
39148
|
UniswapWithdrawLiquidityProvisionParams$outboundSchema,
|
|
38730
39149
|
AaveSupplyParams$outboundSchema,
|
|
38731
39150
|
AaveWithdrawParams$outboundSchema,
|
|
39151
|
+
MorphoDepositParams$outboundSchema,
|
|
39152
|
+
MorphoWithdrawParams$outboundSchema,
|
|
38732
39153
|
TokenTransferErc20Params$outboundSchema,
|
|
38733
39154
|
IncreaseAllowanceParams$outboundSchema,
|
|
38734
39155
|
IncreaseAllowanceAnyParams$outboundSchema,
|
|
38735
39156
|
AaveBorrowParams$outboundSchema,
|
|
38736
39157
|
AaveRepayParams$outboundSchema,
|
|
39158
|
+
MorphoBorrowParams$outboundSchema,
|
|
39159
|
+
MorphoRepayParams$outboundSchema,
|
|
39160
|
+
MorphoSupplyCollateralParams$outboundSchema,
|
|
39161
|
+
MorphoWithdrawCollateralParams$outboundSchema,
|
|
38737
39162
|
AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
|
|
38738
39163
|
AerodromeSlipstreamBuyExactlyParams$outboundSchema,
|
|
38739
39164
|
AerodromeSlipstreamSellExactlyParams$outboundSchema,
|
|
@@ -38752,15 +39177,26 @@ var init_multicallaction = __esm(() => {
|
|
|
38752
39177
|
body: unionType([
|
|
38753
39178
|
UnwrapWethParams$inboundSchema,
|
|
38754
39179
|
WrapEthParams$inboundSchema,
|
|
39180
|
+
MorphoSetVaultAllowanceParams$inboundSchema,
|
|
39181
|
+
SkyBuyParams$inboundSchema,
|
|
39182
|
+
SkySellParams$inboundSchema,
|
|
39183
|
+
SkyDepositParams$inboundSchema,
|
|
39184
|
+
SkyWithdrawParams$inboundSchema,
|
|
38755
39185
|
AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema,
|
|
38756
39186
|
UniswapWithdrawLiquidityProvisionParams$inboundSchema,
|
|
38757
39187
|
AaveSupplyParams$inboundSchema,
|
|
38758
39188
|
AaveWithdrawParams$inboundSchema,
|
|
39189
|
+
MorphoDepositParams$inboundSchema,
|
|
39190
|
+
MorphoWithdrawParams$inboundSchema,
|
|
38759
39191
|
TokenTransferErc20Params$inboundSchema,
|
|
38760
39192
|
IncreaseAllowanceParams$inboundSchema,
|
|
38761
39193
|
IncreaseAllowanceAnyParams$inboundSchema,
|
|
38762
39194
|
AaveBorrowParams$inboundSchema,
|
|
38763
39195
|
AaveRepayParams$inboundSchema,
|
|
39196
|
+
MorphoBorrowParams$inboundSchema,
|
|
39197
|
+
MorphoRepayParams$inboundSchema,
|
|
39198
|
+
MorphoSupplyCollateralParams$inboundSchema,
|
|
39199
|
+
MorphoWithdrawCollateralParams$inboundSchema,
|
|
38764
39200
|
AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema,
|
|
38765
39201
|
AerodromeSlipstreamBuyExactlyParams$inboundSchema,
|
|
38766
39202
|
AerodromeSlipstreamSellExactlyParams$inboundSchema,
|
|
@@ -38780,15 +39216,26 @@ var init_multicallaction = __esm(() => {
|
|
|
38780
39216
|
body: unionType([
|
|
38781
39217
|
UnwrapWethParams$outboundSchema,
|
|
38782
39218
|
WrapEthParams$outboundSchema,
|
|
39219
|
+
MorphoSetVaultAllowanceParams$outboundSchema,
|
|
39220
|
+
SkyBuyParams$outboundSchema,
|
|
39221
|
+
SkySellParams$outboundSchema,
|
|
39222
|
+
SkyDepositParams$outboundSchema,
|
|
39223
|
+
SkyWithdrawParams$outboundSchema,
|
|
38783
39224
|
AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema,
|
|
38784
39225
|
UniswapWithdrawLiquidityProvisionParams$outboundSchema,
|
|
38785
39226
|
AaveSupplyParams$outboundSchema,
|
|
38786
39227
|
AaveWithdrawParams$outboundSchema,
|
|
39228
|
+
MorphoDepositParams$outboundSchema,
|
|
39229
|
+
MorphoWithdrawParams$outboundSchema,
|
|
38787
39230
|
TokenTransferErc20Params$outboundSchema,
|
|
38788
39231
|
IncreaseAllowanceParams$outboundSchema,
|
|
38789
39232
|
IncreaseAllowanceAnyParams$outboundSchema,
|
|
38790
39233
|
AaveBorrowParams$outboundSchema,
|
|
38791
39234
|
AaveRepayParams$outboundSchema,
|
|
39235
|
+
MorphoBorrowParams$outboundSchema,
|
|
39236
|
+
MorphoRepayParams$outboundSchema,
|
|
39237
|
+
MorphoSupplyCollateralParams$outboundSchema,
|
|
39238
|
+
MorphoWithdrawCollateralParams$outboundSchema,
|
|
38792
39239
|
AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema,
|
|
38793
39240
|
AerodromeSlipstreamBuyExactlyParams$outboundSchema,
|
|
38794
39241
|
AerodromeSlipstreamSellExactlyParams$outboundSchema,
|
|
@@ -38978,20 +39425,20 @@ var init_security2 = __esm(() => {
|
|
|
38978
39425
|
});
|
|
38979
39426
|
|
|
38980
39427
|
// src/models/components/skybuyrequest.ts
|
|
38981
|
-
var
|
|
39428
|
+
var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestTokenIn$outboundSchema, SkyBuyRequestTokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
|
|
38982
39429
|
var init_skybuyrequest = __esm(() => {
|
|
38983
39430
|
init_lib();
|
|
38984
39431
|
init_primitives();
|
|
38985
|
-
|
|
39432
|
+
SkyBuyRequestTokenIn = {
|
|
38986
39433
|
Dai: "DAI",
|
|
38987
39434
|
Usdc: "USDC"
|
|
38988
39435
|
};
|
|
38989
|
-
|
|
38990
|
-
|
|
38991
|
-
((
|
|
38992
|
-
|
|
38993
|
-
|
|
38994
|
-
})(
|
|
39436
|
+
SkyBuyRequestTokenIn$inboundSchema = nativeEnumType(SkyBuyRequestTokenIn);
|
|
39437
|
+
SkyBuyRequestTokenIn$outboundSchema = SkyBuyRequestTokenIn$inboundSchema;
|
|
39438
|
+
((SkyBuyRequestTokenIn$) => {
|
|
39439
|
+
SkyBuyRequestTokenIn$.inboundSchema = SkyBuyRequestTokenIn$inboundSchema;
|
|
39440
|
+
SkyBuyRequestTokenIn$.outboundSchema = SkyBuyRequestTokenIn$outboundSchema;
|
|
39441
|
+
})(SkyBuyRequestTokenIn$ ||= {});
|
|
38995
39442
|
SkyBuyRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38996
39443
|
SkyBuyRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38997
39444
|
((SkyBuyRequestAmount$) => {
|
|
@@ -38999,7 +39446,7 @@ var init_skybuyrequest = __esm(() => {
|
|
|
38999
39446
|
SkyBuyRequestAmount$.outboundSchema = SkyBuyRequestAmount$outboundSchema;
|
|
39000
39447
|
})(SkyBuyRequestAmount$ ||= {});
|
|
39001
39448
|
SkyBuyRequest$inboundSchema = objectType({
|
|
39002
|
-
token_in:
|
|
39449
|
+
token_in: SkyBuyRequestTokenIn$inboundSchema,
|
|
39003
39450
|
amount: unionType([numberType(), stringType()]),
|
|
39004
39451
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
39005
39452
|
sender: stringType()
|
|
@@ -39009,7 +39456,7 @@ var init_skybuyrequest = __esm(() => {
|
|
|
39009
39456
|
});
|
|
39010
39457
|
});
|
|
39011
39458
|
SkyBuyRequest$outboundSchema = objectType({
|
|
39012
|
-
tokenIn:
|
|
39459
|
+
tokenIn: SkyBuyRequestTokenIn$outboundSchema,
|
|
39013
39460
|
amount: unionType([numberType(), stringType()]),
|
|
39014
39461
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
39015
39462
|
sender: stringType()
|
|
@@ -39080,20 +39527,20 @@ var init_skydepositrequest = __esm(() => {
|
|
|
39080
39527
|
});
|
|
39081
39528
|
|
|
39082
39529
|
// src/models/components/skysellrequest.ts
|
|
39083
|
-
var
|
|
39530
|
+
var SkySellRequestTokenOut, SkySellRequestTokenOut$inboundSchema, SkySellRequestTokenOut$outboundSchema, SkySellRequestTokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
|
|
39084
39531
|
var init_skysellrequest = __esm(() => {
|
|
39085
39532
|
init_lib();
|
|
39086
39533
|
init_primitives();
|
|
39087
|
-
|
|
39534
|
+
SkySellRequestTokenOut = {
|
|
39088
39535
|
Dai: "DAI",
|
|
39089
39536
|
Usdc: "USDC"
|
|
39090
39537
|
};
|
|
39091
|
-
|
|
39092
|
-
|
|
39093
|
-
((
|
|
39094
|
-
|
|
39095
|
-
|
|
39096
|
-
})(
|
|
39538
|
+
SkySellRequestTokenOut$inboundSchema = nativeEnumType(SkySellRequestTokenOut);
|
|
39539
|
+
SkySellRequestTokenOut$outboundSchema = SkySellRequestTokenOut$inboundSchema;
|
|
39540
|
+
((SkySellRequestTokenOut$) => {
|
|
39541
|
+
SkySellRequestTokenOut$.inboundSchema = SkySellRequestTokenOut$inboundSchema;
|
|
39542
|
+
SkySellRequestTokenOut$.outboundSchema = SkySellRequestTokenOut$outboundSchema;
|
|
39543
|
+
})(SkySellRequestTokenOut$ ||= {});
|
|
39097
39544
|
SkySellRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
39098
39545
|
SkySellRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
39099
39546
|
((SkySellRequestAmount$) => {
|
|
@@ -39101,7 +39548,7 @@ var init_skysellrequest = __esm(() => {
|
|
|
39101
39548
|
SkySellRequestAmount$.outboundSchema = SkySellRequestAmount$outboundSchema;
|
|
39102
39549
|
})(SkySellRequestAmount$ ||= {});
|
|
39103
39550
|
SkySellRequest$inboundSchema = objectType({
|
|
39104
|
-
token_out:
|
|
39551
|
+
token_out: SkySellRequestTokenOut$inboundSchema,
|
|
39105
39552
|
amount: unionType([numberType(), stringType()]),
|
|
39106
39553
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
39107
39554
|
sender: stringType()
|
|
@@ -39111,7 +39558,7 @@ var init_skysellrequest = __esm(() => {
|
|
|
39111
39558
|
});
|
|
39112
39559
|
});
|
|
39113
39560
|
SkySellRequest$outboundSchema = objectType({
|
|
39114
|
-
tokenOut:
|
|
39561
|
+
tokenOut: SkySellRequestTokenOut$outboundSchema,
|
|
39115
39562
|
amount: unionType([numberType(), stringType()]),
|
|
39116
39563
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
39117
39564
|
sender: stringType()
|
|
@@ -39962,18 +40409,25 @@ var init_components = __esm(() => {
|
|
|
39962
40409
|
init_interestratemode();
|
|
39963
40410
|
init_liquidationcall();
|
|
39964
40411
|
init_marketstate();
|
|
40412
|
+
init_morphoborrowparams();
|
|
39965
40413
|
init_morphoborrowrequest();
|
|
39966
40414
|
init_morphocheckmarketpositionresponse();
|
|
39967
40415
|
init_morphocheckvaultpositionresponse();
|
|
40416
|
+
init_morphodepositparams();
|
|
39968
40417
|
init_morphodepositrequest();
|
|
39969
40418
|
init_morphogetmarketsresponse();
|
|
39970
40419
|
init_morphogetvaultsresponse();
|
|
39971
40420
|
init_morphomarket();
|
|
40421
|
+
init_morphorepayparams();
|
|
39972
40422
|
init_morphorepayrequest();
|
|
40423
|
+
init_morphosetvaultallowanceparams();
|
|
39973
40424
|
init_morphosetvaultallowancerequest();
|
|
40425
|
+
init_morphosupplycollateralparams();
|
|
39974
40426
|
init_morphosupplycollateralrequest();
|
|
39975
40427
|
init_morphovault();
|
|
40428
|
+
init_morphowithdrawcollateralparams();
|
|
39976
40429
|
init_morphowithdrawcollateralrequest();
|
|
40430
|
+
init_morphowithdrawparams();
|
|
39977
40431
|
init_morphowithdrawrequest();
|
|
39978
40432
|
init_multicallaction();
|
|
39979
40433
|
init_multicallactiontype();
|
|
@@ -39986,10 +40440,14 @@ var init_components = __esm(() => {
|
|
|
39986
40440
|
init_reserve();
|
|
39987
40441
|
init_security2();
|
|
39988
40442
|
init_signedauthorization();
|
|
40443
|
+
init_skybuyparams();
|
|
39989
40444
|
init_skybuyrequest();
|
|
39990
40445
|
init_skycheckpositionresponse();
|
|
40446
|
+
init_skydepositparams();
|
|
39991
40447
|
init_skydepositrequest();
|
|
40448
|
+
init_skysellparams();
|
|
39992
40449
|
init_skysellrequest();
|
|
40450
|
+
init_skywithdrawparams();
|
|
39993
40451
|
init_skywithdrawrequest();
|
|
39994
40452
|
init_supply();
|
|
39995
40453
|
init_swapborrowrate();
|
|
@@ -48423,7 +48881,7 @@ it to be traded on DeFi protocols.`,
|
|
|
48423
48881
|
function createMCPServer(deps) {
|
|
48424
48882
|
const server = new McpServer({
|
|
48425
48883
|
name: "CompassApiSDK",
|
|
48426
|
-
version: "0.0.
|
|
48884
|
+
version: "0.0.28"
|
|
48427
48885
|
});
|
|
48428
48886
|
const client = new CompassApiSDKCore({
|
|
48429
48887
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -49752,7 +50210,7 @@ var routes = an({
|
|
|
49752
50210
|
var app = He(routes, {
|
|
49753
50211
|
name: "mcp",
|
|
49754
50212
|
versionInfo: {
|
|
49755
|
-
currentVersion: "0.0.
|
|
50213
|
+
currentVersion: "0.0.28"
|
|
49756
50214
|
}
|
|
49757
50215
|
});
|
|
49758
50216
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -49760,5 +50218,5 @@ export {
|
|
|
49760
50218
|
app
|
|
49761
50219
|
};
|
|
49762
50220
|
|
|
49763
|
-
//# debugId=
|
|
50221
|
+
//# debugId=49ADB3A592D1D76C64756E2164756E21
|
|
49764
50222
|
//# sourceMappingURL=mcp-server.js.map
|