@compass-labs/api-sdk 0.5.38 → 0.5.40
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/README.md +2 -2
- package/bin/mcp-server.js +844 -860
- package/bin/mcp-server.js.map +20 -26
- package/dist/commonjs/funcs/erc4626VaultsVault.d.ts +3 -1
- package/dist/commonjs/funcs/erc4626VaultsVault.d.ts.map +1 -1
- package/dist/commonjs/funcs/erc4626VaultsVault.js +3 -1
- package/dist/commonjs/funcs/erc4626VaultsVault.js.map +1 -1
- package/dist/commonjs/funcs/morphoVault.d.ts +3 -8
- package/dist/commonjs/funcs/morphoVault.d.ts.map +1 -1
- package/dist/commonjs/funcs/morphoVault.js +3 -8
- package/dist/commonjs/funcs/morphoVault.js.map +1 -1
- package/dist/commonjs/funcs/pendleQuote.d.ts +24 -0
- package/dist/commonjs/funcs/pendleQuote.d.ts.map +1 -0
- package/dist/commonjs/funcs/{morphoVaultPosition.js → pendleQuote.js} +19 -12
- package/dist/commonjs/funcs/pendleQuote.js.map +1 -0
- 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 +3 -3
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.js +3 -1
- package/dist/commonjs/mcp-server/tools/erc4626VaultsVault.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoVault.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/morphoVault.js +2 -7
- package/dist/commonjs/mcp-server/tools/morphoVault.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/pendleQuote.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/pendleQuote.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{morphoVaultPosition.js → pendleQuote.js} +14 -10
- package/dist/commonjs/mcp-server/tools/pendleQuote.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +1 -7
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -7
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/pendlegetquoteresponse.d.ts +32 -0
- package/dist/commonjs/models/components/pendlegetquoteresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/{liquidity.js → pendlegetquoteresponse.js} +19 -21
- package/dist/commonjs/models/components/pendlegetquoteresponse.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +1 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/pendlequote.d.ts +181 -0
- package/dist/commonjs/models/operations/pendlequote.d.ts.map +1 -0
- package/dist/commonjs/models/operations/pendlequote.js +186 -0
- package/dist/commonjs/models/operations/pendlequote.js.map +1 -0
- package/dist/commonjs/sdk/erc4626vaults.d.ts +3 -1
- package/dist/commonjs/sdk/erc4626vaults.d.ts.map +1 -1
- package/dist/commonjs/sdk/erc4626vaults.js +3 -1
- package/dist/commonjs/sdk/erc4626vaults.js.map +1 -1
- package/dist/commonjs/sdk/morpho.d.ts +3 -16
- package/dist/commonjs/sdk/morpho.d.ts.map +1 -1
- package/dist/commonjs/sdk/morpho.js +2 -18
- package/dist/commonjs/sdk/morpho.js.map +1 -1
- package/dist/commonjs/sdk/pendle.d.ts +12 -0
- package/dist/commonjs/sdk/pendle.d.ts.map +1 -1
- package/dist/commonjs/sdk/pendle.js +15 -0
- package/dist/commonjs/sdk/pendle.js.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVault.d.ts +3 -1
- package/dist/esm/funcs/erc4626VaultsVault.d.ts.map +1 -1
- package/dist/esm/funcs/erc4626VaultsVault.js +3 -1
- package/dist/esm/funcs/erc4626VaultsVault.js.map +1 -1
- package/dist/esm/funcs/morphoVault.d.ts +3 -8
- package/dist/esm/funcs/morphoVault.d.ts.map +1 -1
- package/dist/esm/funcs/morphoVault.js +3 -8
- package/dist/esm/funcs/morphoVault.js.map +1 -1
- package/dist/esm/funcs/pendleQuote.d.ts +24 -0
- package/dist/esm/funcs/pendleQuote.d.ts.map +1 -0
- package/dist/esm/funcs/{morphoVaultPosition.js → pendleQuote.js} +18 -11
- package/dist/esm/funcs/pendleQuote.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 +3 -3
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsVault.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsVault.js +3 -1
- package/dist/esm/mcp-server/tools/erc4626VaultsVault.js.map +1 -1
- package/dist/esm/mcp-server/tools/morphoVault.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/morphoVault.js +2 -7
- package/dist/esm/mcp-server/tools/morphoVault.js.map +1 -1
- package/dist/esm/mcp-server/tools/pendleQuote.d.ts +8 -0
- package/dist/esm/mcp-server/tools/pendleQuote.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/pendleQuote.js +33 -0
- package/dist/esm/mcp-server/tools/pendleQuote.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +1 -7
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -7
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/pendlegetquoteresponse.d.ts +32 -0
- package/dist/esm/models/components/pendlegetquoteresponse.d.ts.map +1 -0
- package/dist/esm/models/components/pendlegetquoteresponse.js +31 -0
- package/dist/esm/models/components/pendlegetquoteresponse.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +1 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/pendlequote.d.ts +181 -0
- package/dist/esm/models/operations/pendlequote.d.ts.map +1 -0
- package/dist/esm/models/operations/pendlequote.js +146 -0
- package/dist/esm/models/operations/pendlequote.js.map +1 -0
- package/dist/esm/sdk/erc4626vaults.d.ts +3 -1
- package/dist/esm/sdk/erc4626vaults.d.ts.map +1 -1
- package/dist/esm/sdk/erc4626vaults.js +3 -1
- package/dist/esm/sdk/erc4626vaults.js.map +1 -1
- package/dist/esm/sdk/morpho.d.ts +3 -16
- package/dist/esm/sdk/morpho.d.ts.map +1 -1
- package/dist/esm/sdk/morpho.js +2 -18
- package/dist/esm/sdk/morpho.js.map +1 -1
- package/dist/esm/sdk/pendle.d.ts +12 -0
- package/dist/esm/sdk/pendle.d.ts.map +1 -1
- package/dist/esm/sdk/pendle.js +15 -0
- package/dist/esm/sdk/pendle.js.map +1 -1
- package/docs/sdks/erc4626vaults/README.md +3 -1
- package/docs/sdks/morpho/README.md +3 -79
- package/docs/sdks/pendle/README.md +79 -0
- package/docs/sdks/smartaccount/README.md +2 -0
- package/docs/sdks/transactionbundler/README.md +2 -0
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/erc4626VaultsVault.ts +3 -1
- package/src/funcs/morphoVault.ts +6 -11
- package/src/funcs/{morphoVaultPosition.ts → pendleQuote.ts} +22 -16
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/erc4626VaultsVault.ts +3 -1
- package/src/mcp-server/tools/morphoVault.ts +3 -8
- package/src/mcp-server/tools/pendleQuote.ts +42 -0
- package/src/models/components/index.ts +1 -7
- package/src/models/components/pendlegetquoteresponse.ts +69 -0
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/pendlequote.ts +265 -0
- package/src/sdk/erc4626vaults.ts +3 -1
- package/src/sdk/morpho.ts +3 -27
- package/src/sdk/pendle.ts +23 -0
- package/dist/commonjs/funcs/morphoVaultPosition.d.ts +0 -20
- package/dist/commonjs/funcs/morphoVaultPosition.d.ts.map +0 -1
- package/dist/commonjs/funcs/morphoVaultPosition.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/morphoVaultPosition.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/morphoVaultPosition.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/morphoVaultPosition.js.map +0 -1
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.d.ts +0 -39
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.d.ts.map +0 -1
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.js +0 -80
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.js.map +0 -1
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.d.ts +0 -55
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.d.ts.map +0 -1
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.js +0 -97
- package/dist/commonjs/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.js.map +0 -1
- package/dist/commonjs/models/components/curator.d.ts +0 -35
- package/dist/commonjs/models/components/curator.d.ts.map +0 -1
- package/dist/commonjs/models/components/curator.js +0 -75
- package/dist/commonjs/models/components/curator.js.map +0 -1
- package/dist/commonjs/models/components/liquidity.d.ts +0 -31
- package/dist/commonjs/models/components/liquidity.d.ts.map +0 -1
- package/dist/commonjs/models/components/liquidity.js.map +0 -1
- package/dist/commonjs/models/components/metadata.d.ts +0 -32
- package/dist/commonjs/models/components/metadata.d.ts.map +0 -1
- package/dist/commonjs/models/components/metadata.js +0 -72
- package/dist/commonjs/models/components/metadata.js.map +0 -1
- package/dist/commonjs/models/components/morphocheckvaultpositionresponse.d.ts +0 -37
- package/dist/commonjs/models/components/morphocheckvaultpositionresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/morphocheckvaultpositionresponse.js +0 -80
- package/dist/commonjs/models/components/morphocheckvaultpositionresponse.js.map +0 -1
- package/dist/commonjs/models/components/morphogetvaultresponse.d.ts +0 -57
- package/dist/commonjs/models/components/morphogetvaultresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/morphogetvaultresponse.js +0 -85
- package/dist/commonjs/models/components/morphogetvaultresponse.js.map +0 -1
- package/dist/commonjs/models/operations/morphovaultposition.d.ts +0 -65
- package/dist/commonjs/models/operations/morphovaultposition.d.ts.map +0 -1
- package/dist/commonjs/models/operations/morphovaultposition.js +0 -103
- package/dist/commonjs/models/operations/morphovaultposition.js.map +0 -1
- package/dist/esm/funcs/morphoVaultPosition.d.ts +0 -20
- package/dist/esm/funcs/morphoVaultPosition.d.ts.map +0 -1
- package/dist/esm/funcs/morphoVaultPosition.js.map +0 -1
- package/dist/esm/mcp-server/tools/morphoVaultPosition.d.ts +0 -8
- package/dist/esm/mcp-server/tools/morphoVaultPosition.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/morphoVaultPosition.js +0 -29
- package/dist/esm/mcp-server/tools/morphoVaultPosition.js.map +0 -1
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.d.ts +0 -39
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.d.ts.map +0 -1
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.js +0 -42
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.js.map +0 -1
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.d.ts +0 -55
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.d.ts.map +0 -1
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.js +0 -59
- package/dist/esm/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.js.map +0 -1
- package/dist/esm/models/components/curator.d.ts +0 -35
- package/dist/esm/models/components/curator.d.ts.map +0 -1
- package/dist/esm/models/components/curator.js +0 -37
- package/dist/esm/models/components/curator.js.map +0 -1
- package/dist/esm/models/components/liquidity.d.ts +0 -31
- package/dist/esm/models/components/liquidity.d.ts.map +0 -1
- package/dist/esm/models/components/liquidity.js +0 -33
- package/dist/esm/models/components/liquidity.js.map +0 -1
- package/dist/esm/models/components/metadata.d.ts +0 -32
- package/dist/esm/models/components/metadata.d.ts.map +0 -1
- package/dist/esm/models/components/metadata.js +0 -34
- package/dist/esm/models/components/metadata.js.map +0 -1
- package/dist/esm/models/components/morphocheckvaultpositionresponse.d.ts +0 -37
- package/dist/esm/models/components/morphocheckvaultpositionresponse.d.ts.map +0 -1
- package/dist/esm/models/components/morphocheckvaultpositionresponse.js +0 -42
- package/dist/esm/models/components/morphocheckvaultpositionresponse.js.map +0 -1
- package/dist/esm/models/components/morphogetvaultresponse.d.ts +0 -57
- package/dist/esm/models/components/morphogetvaultresponse.d.ts.map +0 -1
- package/dist/esm/models/components/morphogetvaultresponse.js +0 -47
- package/dist/esm/models/components/morphogetvaultresponse.js.map +0 -1
- package/dist/esm/models/operations/morphovaultposition.d.ts +0 -65
- package/dist/esm/models/operations/morphovaultposition.d.ts.map +0 -1
- package/dist/esm/models/operations/morphovaultposition.js +0 -65
- package/dist/esm/models/operations/morphovaultposition.js.map +0 -1
- package/src/mcp-server/tools/morphoVaultPosition.ts +0 -38
- package/src/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.ts +0 -99
- package/src/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.ts +0 -131
- package/src/models/components/curator.ts +0 -71
- package/src/models/components/liquidity.ts +0 -66
- package/src/models/components/metadata.ts +0 -72
- package/src/models/components/morphocheckvaultpositionresponse.ts +0 -87
- package/src/models/components/morphogetvaultresponse.ts +0 -128
- package/src/models/operations/morphovaultposition.ts +0 -127
package/bin/mcp-server.js
CHANGED
|
@@ -29,7 +29,7 @@ var __export = (target, all) => {
|
|
|
29
29
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
30
30
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
31
|
|
|
32
|
-
// node_modules/zod/
|
|
32
|
+
// node_modules/zod/v3/helpers/util.js
|
|
33
33
|
var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
34
34
|
const t = typeof data;
|
|
35
35
|
switch (t) {
|
|
@@ -160,7 +160,7 @@ var init_util = __esm(() => {
|
|
|
160
160
|
]);
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
// node_modules/zod/
|
|
163
|
+
// node_modules/zod/v3/ZodError.js
|
|
164
164
|
var ZodIssueCode, quotelessJson = (obj) => {
|
|
165
165
|
const json = JSON.stringify(obj, null, 2);
|
|
166
166
|
return json.replace(/"([^"]+)":/g, "$1:");
|
|
@@ -262,8 +262,9 @@ var init_ZodError = __esm(() => {
|
|
|
262
262
|
const formErrors = [];
|
|
263
263
|
for (const sub of this.issues) {
|
|
264
264
|
if (sub.path.length > 0) {
|
|
265
|
-
|
|
266
|
-
fieldErrors[
|
|
265
|
+
const firstEl = sub.path[0];
|
|
266
|
+
fieldErrors[firstEl] = fieldErrors[firstEl] || [];
|
|
267
|
+
fieldErrors[firstEl].push(mapper(sub));
|
|
267
268
|
} else {
|
|
268
269
|
formErrors.push(mapper(sub));
|
|
269
270
|
}
|
|
@@ -280,7 +281,7 @@ var init_ZodError = __esm(() => {
|
|
|
280
281
|
};
|
|
281
282
|
});
|
|
282
283
|
|
|
283
|
-
// node_modules/zod/
|
|
284
|
+
// node_modules/zod/v3/locales/en.js
|
|
284
285
|
var errorMap = (issue, _ctx) => {
|
|
285
286
|
let message;
|
|
286
287
|
switch (issue.code) {
|
|
@@ -342,6 +343,8 @@ var errorMap = (issue, _ctx) => {
|
|
|
342
343
|
message = `String must contain ${issue.exact ? "exactly" : issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;
|
|
343
344
|
else if (issue.type === "number")
|
|
344
345
|
message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
|
|
346
|
+
else if (issue.type === "bigint")
|
|
347
|
+
message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
|
|
345
348
|
else if (issue.type === "date")
|
|
346
349
|
message = `Date must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${new Date(Number(issue.minimum))}`;
|
|
347
350
|
else
|
|
@@ -385,7 +388,7 @@ var init_en = __esm(() => {
|
|
|
385
388
|
en_default = errorMap;
|
|
386
389
|
});
|
|
387
390
|
|
|
388
|
-
// node_modules/zod/
|
|
391
|
+
// node_modules/zod/v3/errors.js
|
|
389
392
|
function setErrorMap(map) {
|
|
390
393
|
overrideErrorMap = map;
|
|
391
394
|
}
|
|
@@ -398,7 +401,7 @@ var init_errors = __esm(() => {
|
|
|
398
401
|
overrideErrorMap = en_default;
|
|
399
402
|
});
|
|
400
403
|
|
|
401
|
-
// node_modules/zod/
|
|
404
|
+
// node_modules/zod/v3/helpers/parseUtil.js
|
|
402
405
|
function addIssueToContext(ctx, issueData) {
|
|
403
406
|
const overrideMap = getErrorMap();
|
|
404
407
|
const issue = makeIssue({
|
|
@@ -503,10 +506,10 @@ var init_parseUtil = __esm(() => {
|
|
|
503
506
|
});
|
|
504
507
|
});
|
|
505
508
|
|
|
506
|
-
// node_modules/zod/
|
|
509
|
+
// node_modules/zod/v3/helpers/typeAliases.js
|
|
507
510
|
var init_typeAliases = () => {};
|
|
508
511
|
|
|
509
|
-
// node_modules/zod/
|
|
512
|
+
// node_modules/zod/v3/helpers/errorUtil.js
|
|
510
513
|
var errorUtil;
|
|
511
514
|
var init_errorUtil = __esm(() => {
|
|
512
515
|
(function(errorUtil2) {
|
|
@@ -515,7 +518,7 @@ var init_errorUtil = __esm(() => {
|
|
|
515
518
|
})(errorUtil || (errorUtil = {}));
|
|
516
519
|
});
|
|
517
520
|
|
|
518
|
-
// node_modules/zod/
|
|
521
|
+
// node_modules/zod/v3/types.js
|
|
519
522
|
class ParseInputLazyPath {
|
|
520
523
|
constructor(parent, value, path, key) {
|
|
521
524
|
this._cachedPath = [];
|
|
@@ -878,6 +881,8 @@ function isValidJWT(jwt, alg) {
|
|
|
878
881
|
return false;
|
|
879
882
|
try {
|
|
880
883
|
const [header] = jwt.split(".");
|
|
884
|
+
if (!header)
|
|
885
|
+
return false;
|
|
881
886
|
const base64 = header.replace(/-/g, "+").replace(/_/g, "/").padEnd(header.length + (4 - header.length % 4) % 4, "=");
|
|
882
887
|
const decoded = JSON.parse(atob(base64));
|
|
883
888
|
if (typeof decoded !== "object" || decoded === null)
|
|
@@ -3864,7 +3869,7 @@ var init_types = __esm(() => {
|
|
|
3864
3869
|
NEVER = INVALID;
|
|
3865
3870
|
});
|
|
3866
3871
|
|
|
3867
|
-
// node_modules/zod/
|
|
3872
|
+
// node_modules/zod/v3/external.js
|
|
3868
3873
|
var exports_external = {};
|
|
3869
3874
|
__export(exports_external, {
|
|
3870
3875
|
void: () => voidType,
|
|
@@ -3984,14 +3989,129 @@ var init_external = __esm(() => {
|
|
|
3984
3989
|
init_ZodError();
|
|
3985
3990
|
});
|
|
3986
3991
|
|
|
3987
|
-
// node_modules/zod/
|
|
3992
|
+
// node_modules/zod/v3/index.js
|
|
3993
|
+
var exports_v3 = {};
|
|
3994
|
+
__export(exports_v3, {
|
|
3995
|
+
z: () => exports_external,
|
|
3996
|
+
void: () => voidType,
|
|
3997
|
+
util: () => util,
|
|
3998
|
+
unknown: () => unknownType,
|
|
3999
|
+
union: () => unionType,
|
|
4000
|
+
undefined: () => undefinedType,
|
|
4001
|
+
tuple: () => tupleType,
|
|
4002
|
+
transformer: () => effectsType,
|
|
4003
|
+
symbol: () => symbolType,
|
|
4004
|
+
string: () => stringType,
|
|
4005
|
+
strictObject: () => strictObjectType,
|
|
4006
|
+
setErrorMap: () => setErrorMap,
|
|
4007
|
+
set: () => setType,
|
|
4008
|
+
record: () => recordType,
|
|
4009
|
+
quotelessJson: () => quotelessJson,
|
|
4010
|
+
promise: () => promiseType,
|
|
4011
|
+
preprocess: () => preprocessType,
|
|
4012
|
+
pipeline: () => pipelineType,
|
|
4013
|
+
ostring: () => ostring,
|
|
4014
|
+
optional: () => optionalType,
|
|
4015
|
+
onumber: () => onumber,
|
|
4016
|
+
oboolean: () => oboolean,
|
|
4017
|
+
objectUtil: () => objectUtil,
|
|
4018
|
+
object: () => objectType,
|
|
4019
|
+
number: () => numberType,
|
|
4020
|
+
nullable: () => nullableType,
|
|
4021
|
+
null: () => nullType,
|
|
4022
|
+
never: () => neverType,
|
|
4023
|
+
nativeEnum: () => nativeEnumType,
|
|
4024
|
+
nan: () => nanType,
|
|
4025
|
+
map: () => mapType,
|
|
4026
|
+
makeIssue: () => makeIssue,
|
|
4027
|
+
literal: () => literalType,
|
|
4028
|
+
lazy: () => lazyType,
|
|
4029
|
+
late: () => late,
|
|
4030
|
+
isValid: () => isValid,
|
|
4031
|
+
isDirty: () => isDirty,
|
|
4032
|
+
isAsync: () => isAsync,
|
|
4033
|
+
isAborted: () => isAborted,
|
|
4034
|
+
intersection: () => intersectionType,
|
|
4035
|
+
instanceof: () => instanceOfType,
|
|
4036
|
+
getParsedType: () => getParsedType,
|
|
4037
|
+
getErrorMap: () => getErrorMap,
|
|
4038
|
+
function: () => functionType,
|
|
4039
|
+
enum: () => enumType,
|
|
4040
|
+
effect: () => effectsType,
|
|
4041
|
+
discriminatedUnion: () => discriminatedUnionType,
|
|
4042
|
+
defaultErrorMap: () => en_default,
|
|
4043
|
+
default: () => v3_default,
|
|
4044
|
+
datetimeRegex: () => datetimeRegex,
|
|
4045
|
+
date: () => dateType,
|
|
4046
|
+
custom: () => custom,
|
|
4047
|
+
coerce: () => coerce,
|
|
4048
|
+
boolean: () => booleanType,
|
|
4049
|
+
bigint: () => bigIntType,
|
|
4050
|
+
array: () => arrayType,
|
|
4051
|
+
any: () => anyType,
|
|
4052
|
+
addIssueToContext: () => addIssueToContext,
|
|
4053
|
+
ZodVoid: () => ZodVoid,
|
|
4054
|
+
ZodUnknown: () => ZodUnknown,
|
|
4055
|
+
ZodUnion: () => ZodUnion,
|
|
4056
|
+
ZodUndefined: () => ZodUndefined,
|
|
4057
|
+
ZodType: () => ZodType,
|
|
4058
|
+
ZodTuple: () => ZodTuple,
|
|
4059
|
+
ZodTransformer: () => ZodEffects,
|
|
4060
|
+
ZodSymbol: () => ZodSymbol,
|
|
4061
|
+
ZodString: () => ZodString,
|
|
4062
|
+
ZodSet: () => ZodSet,
|
|
4063
|
+
ZodSchema: () => ZodType,
|
|
4064
|
+
ZodRecord: () => ZodRecord,
|
|
4065
|
+
ZodReadonly: () => ZodReadonly,
|
|
4066
|
+
ZodPromise: () => ZodPromise,
|
|
4067
|
+
ZodPipeline: () => ZodPipeline,
|
|
4068
|
+
ZodParsedType: () => ZodParsedType,
|
|
4069
|
+
ZodOptional: () => ZodOptional,
|
|
4070
|
+
ZodObject: () => ZodObject,
|
|
4071
|
+
ZodNumber: () => ZodNumber,
|
|
4072
|
+
ZodNullable: () => ZodNullable,
|
|
4073
|
+
ZodNull: () => ZodNull,
|
|
4074
|
+
ZodNever: () => ZodNever,
|
|
4075
|
+
ZodNativeEnum: () => ZodNativeEnum,
|
|
4076
|
+
ZodNaN: () => ZodNaN,
|
|
4077
|
+
ZodMap: () => ZodMap,
|
|
4078
|
+
ZodLiteral: () => ZodLiteral,
|
|
4079
|
+
ZodLazy: () => ZodLazy,
|
|
4080
|
+
ZodIssueCode: () => ZodIssueCode,
|
|
4081
|
+
ZodIntersection: () => ZodIntersection,
|
|
4082
|
+
ZodFunction: () => ZodFunction,
|
|
4083
|
+
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
4084
|
+
ZodError: () => ZodError,
|
|
4085
|
+
ZodEnum: () => ZodEnum,
|
|
4086
|
+
ZodEffects: () => ZodEffects,
|
|
4087
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
4088
|
+
ZodDefault: () => ZodDefault,
|
|
4089
|
+
ZodDate: () => ZodDate,
|
|
4090
|
+
ZodCatch: () => ZodCatch,
|
|
4091
|
+
ZodBranded: () => ZodBranded,
|
|
4092
|
+
ZodBoolean: () => ZodBoolean,
|
|
4093
|
+
ZodBigInt: () => ZodBigInt,
|
|
4094
|
+
ZodArray: () => ZodArray,
|
|
4095
|
+
ZodAny: () => ZodAny,
|
|
4096
|
+
Schema: () => ZodType,
|
|
4097
|
+
ParseStatus: () => ParseStatus,
|
|
4098
|
+
OK: () => OK,
|
|
4099
|
+
NEVER: () => NEVER,
|
|
4100
|
+
INVALID: () => INVALID,
|
|
4101
|
+
EMPTY_PATH: () => EMPTY_PATH,
|
|
4102
|
+
DIRTY: () => DIRTY,
|
|
4103
|
+
BRAND: () => BRAND
|
|
4104
|
+
});
|
|
4105
|
+
var v3_default;
|
|
3988
4106
|
var init_v3 = __esm(() => {
|
|
3989
4107
|
init_external();
|
|
3990
4108
|
init_external();
|
|
4109
|
+
v3_default = exports_external;
|
|
3991
4110
|
});
|
|
3992
4111
|
|
|
3993
|
-
// node_modules/zod/
|
|
3994
|
-
var
|
|
4112
|
+
// node_modules/zod/index.js
|
|
4113
|
+
var init_zod = __esm(() => {
|
|
4114
|
+
init_v3();
|
|
3995
4115
|
init_v3();
|
|
3996
4116
|
});
|
|
3997
4117
|
|
|
@@ -4049,42 +4169,42 @@ var init_console_logger = __esm(() => {
|
|
|
4049
4169
|
// node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4050
4170
|
var LATEST_PROTOCOL_VERSION = "2024-11-05", SUPPORTED_PROTOCOL_VERSIONS, JSONRPC_VERSION = "2.0", ProgressTokenSchema, CursorSchema, BaseRequestParamsSchema, RequestSchema, BaseNotificationParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, JSONRPCNotificationSchema, JSONRPCResponseSchema, ErrorCode, JSONRPCErrorSchema, JSONRPCMessageSchema, EmptyResultSchema, CancelledNotificationSchema, ImplementationSchema, ClientCapabilitiesSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationSchema, PaginatedRequestSchema, PaginatedResultSchema, ResourceContentsSchema, TextResourceContentsSchema, BlobResourceContentsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, EmbeddedResourceSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, SamplingMessageSchema, CreateMessageRequestSchema, CreateMessageResultSchema, ResourceReferenceSchema, PromptReferenceSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError;
|
|
4051
4171
|
var init_types2 = __esm(() => {
|
|
4052
|
-
|
|
4172
|
+
init_zod();
|
|
4053
4173
|
SUPPORTED_PROTOCOL_VERSIONS = [
|
|
4054
4174
|
LATEST_PROTOCOL_VERSION,
|
|
4055
4175
|
"2024-10-07"
|
|
4056
4176
|
];
|
|
4057
|
-
ProgressTokenSchema =
|
|
4058
|
-
CursorSchema =
|
|
4059
|
-
BaseRequestParamsSchema =
|
|
4060
|
-
_meta:
|
|
4061
|
-
progressToken:
|
|
4177
|
+
ProgressTokenSchema = exports_v3.union([exports_v3.string(), exports_v3.number().int()]);
|
|
4178
|
+
CursorSchema = exports_v3.string();
|
|
4179
|
+
BaseRequestParamsSchema = exports_v3.object({
|
|
4180
|
+
_meta: exports_v3.optional(exports_v3.object({
|
|
4181
|
+
progressToken: exports_v3.optional(ProgressTokenSchema)
|
|
4062
4182
|
}).passthrough())
|
|
4063
4183
|
}).passthrough();
|
|
4064
|
-
RequestSchema =
|
|
4065
|
-
method:
|
|
4066
|
-
params:
|
|
4184
|
+
RequestSchema = exports_v3.object({
|
|
4185
|
+
method: exports_v3.string(),
|
|
4186
|
+
params: exports_v3.optional(BaseRequestParamsSchema)
|
|
4067
4187
|
});
|
|
4068
|
-
BaseNotificationParamsSchema =
|
|
4069
|
-
_meta:
|
|
4188
|
+
BaseNotificationParamsSchema = exports_v3.object({
|
|
4189
|
+
_meta: exports_v3.optional(exports_v3.object({}).passthrough())
|
|
4070
4190
|
}).passthrough();
|
|
4071
|
-
NotificationSchema =
|
|
4072
|
-
method:
|
|
4073
|
-
params:
|
|
4191
|
+
NotificationSchema = exports_v3.object({
|
|
4192
|
+
method: exports_v3.string(),
|
|
4193
|
+
params: exports_v3.optional(BaseNotificationParamsSchema)
|
|
4074
4194
|
});
|
|
4075
|
-
ResultSchema =
|
|
4076
|
-
_meta:
|
|
4195
|
+
ResultSchema = exports_v3.object({
|
|
4196
|
+
_meta: exports_v3.optional(exports_v3.object({}).passthrough())
|
|
4077
4197
|
}).passthrough();
|
|
4078
|
-
RequestIdSchema =
|
|
4079
|
-
JSONRPCRequestSchema =
|
|
4080
|
-
jsonrpc:
|
|
4198
|
+
RequestIdSchema = exports_v3.union([exports_v3.string(), exports_v3.number().int()]);
|
|
4199
|
+
JSONRPCRequestSchema = exports_v3.object({
|
|
4200
|
+
jsonrpc: exports_v3.literal(JSONRPC_VERSION),
|
|
4081
4201
|
id: RequestIdSchema
|
|
4082
4202
|
}).merge(RequestSchema).strict();
|
|
4083
|
-
JSONRPCNotificationSchema =
|
|
4084
|
-
jsonrpc:
|
|
4203
|
+
JSONRPCNotificationSchema = exports_v3.object({
|
|
4204
|
+
jsonrpc: exports_v3.literal(JSONRPC_VERSION)
|
|
4085
4205
|
}).merge(NotificationSchema).strict();
|
|
4086
|
-
JSONRPCResponseSchema =
|
|
4087
|
-
jsonrpc:
|
|
4206
|
+
JSONRPCResponseSchema = exports_v3.object({
|
|
4207
|
+
jsonrpc: exports_v3.literal(JSONRPC_VERSION),
|
|
4088
4208
|
id: RequestIdSchema,
|
|
4089
4209
|
result: ResultSchema
|
|
4090
4210
|
}).strict();
|
|
@@ -4097,16 +4217,16 @@ var init_types2 = __esm(() => {
|
|
|
4097
4217
|
ErrorCode2[ErrorCode2["InvalidParams"] = -32602] = "InvalidParams";
|
|
4098
4218
|
ErrorCode2[ErrorCode2["InternalError"] = -32603] = "InternalError";
|
|
4099
4219
|
})(ErrorCode || (ErrorCode = {}));
|
|
4100
|
-
JSONRPCErrorSchema =
|
|
4101
|
-
jsonrpc:
|
|
4220
|
+
JSONRPCErrorSchema = exports_v3.object({
|
|
4221
|
+
jsonrpc: exports_v3.literal(JSONRPC_VERSION),
|
|
4102
4222
|
id: RequestIdSchema,
|
|
4103
|
-
error:
|
|
4104
|
-
code:
|
|
4105
|
-
message:
|
|
4106
|
-
data:
|
|
4223
|
+
error: exports_v3.object({
|
|
4224
|
+
code: exports_v3.number().int(),
|
|
4225
|
+
message: exports_v3.string(),
|
|
4226
|
+
data: exports_v3.optional(exports_v3.unknown())
|
|
4107
4227
|
})
|
|
4108
4228
|
}).strict();
|
|
4109
|
-
JSONRPCMessageSchema =
|
|
4229
|
+
JSONRPCMessageSchema = exports_v3.union([
|
|
4110
4230
|
JSONRPCRequestSchema,
|
|
4111
4231
|
JSONRPCNotificationSchema,
|
|
4112
4232
|
JSONRPCResponseSchema,
|
|
@@ -4114,184 +4234,184 @@ var init_types2 = __esm(() => {
|
|
|
4114
4234
|
]);
|
|
4115
4235
|
EmptyResultSchema = ResultSchema.strict();
|
|
4116
4236
|
CancelledNotificationSchema = NotificationSchema.extend({
|
|
4117
|
-
method:
|
|
4237
|
+
method: exports_v3.literal("notifications/cancelled"),
|
|
4118
4238
|
params: BaseNotificationParamsSchema.extend({
|
|
4119
4239
|
requestId: RequestIdSchema,
|
|
4120
|
-
reason:
|
|
4240
|
+
reason: exports_v3.string().optional()
|
|
4121
4241
|
})
|
|
4122
4242
|
});
|
|
4123
|
-
ImplementationSchema =
|
|
4124
|
-
name:
|
|
4125
|
-
version:
|
|
4243
|
+
ImplementationSchema = exports_v3.object({
|
|
4244
|
+
name: exports_v3.string(),
|
|
4245
|
+
version: exports_v3.string()
|
|
4126
4246
|
}).passthrough();
|
|
4127
|
-
ClientCapabilitiesSchema =
|
|
4128
|
-
experimental:
|
|
4129
|
-
sampling:
|
|
4130
|
-
roots:
|
|
4131
|
-
listChanged:
|
|
4247
|
+
ClientCapabilitiesSchema = exports_v3.object({
|
|
4248
|
+
experimental: exports_v3.optional(exports_v3.object({}).passthrough()),
|
|
4249
|
+
sampling: exports_v3.optional(exports_v3.object({}).passthrough()),
|
|
4250
|
+
roots: exports_v3.optional(exports_v3.object({
|
|
4251
|
+
listChanged: exports_v3.optional(exports_v3.boolean())
|
|
4132
4252
|
}).passthrough())
|
|
4133
4253
|
}).passthrough();
|
|
4134
4254
|
InitializeRequestSchema = RequestSchema.extend({
|
|
4135
|
-
method:
|
|
4255
|
+
method: exports_v3.literal("initialize"),
|
|
4136
4256
|
params: BaseRequestParamsSchema.extend({
|
|
4137
|
-
protocolVersion:
|
|
4257
|
+
protocolVersion: exports_v3.string(),
|
|
4138
4258
|
capabilities: ClientCapabilitiesSchema,
|
|
4139
4259
|
clientInfo: ImplementationSchema
|
|
4140
4260
|
})
|
|
4141
4261
|
});
|
|
4142
|
-
ServerCapabilitiesSchema =
|
|
4143
|
-
experimental:
|
|
4144
|
-
logging:
|
|
4145
|
-
completions:
|
|
4146
|
-
prompts:
|
|
4147
|
-
listChanged:
|
|
4262
|
+
ServerCapabilitiesSchema = exports_v3.object({
|
|
4263
|
+
experimental: exports_v3.optional(exports_v3.object({}).passthrough()),
|
|
4264
|
+
logging: exports_v3.optional(exports_v3.object({}).passthrough()),
|
|
4265
|
+
completions: exports_v3.optional(exports_v3.object({}).passthrough()),
|
|
4266
|
+
prompts: exports_v3.optional(exports_v3.object({
|
|
4267
|
+
listChanged: exports_v3.optional(exports_v3.boolean())
|
|
4148
4268
|
}).passthrough()),
|
|
4149
|
-
resources:
|
|
4150
|
-
subscribe:
|
|
4151
|
-
listChanged:
|
|
4269
|
+
resources: exports_v3.optional(exports_v3.object({
|
|
4270
|
+
subscribe: exports_v3.optional(exports_v3.boolean()),
|
|
4271
|
+
listChanged: exports_v3.optional(exports_v3.boolean())
|
|
4152
4272
|
}).passthrough()),
|
|
4153
|
-
tools:
|
|
4154
|
-
listChanged:
|
|
4273
|
+
tools: exports_v3.optional(exports_v3.object({
|
|
4274
|
+
listChanged: exports_v3.optional(exports_v3.boolean())
|
|
4155
4275
|
}).passthrough())
|
|
4156
4276
|
}).passthrough();
|
|
4157
4277
|
InitializeResultSchema = ResultSchema.extend({
|
|
4158
|
-
protocolVersion:
|
|
4278
|
+
protocolVersion: exports_v3.string(),
|
|
4159
4279
|
capabilities: ServerCapabilitiesSchema,
|
|
4160
4280
|
serverInfo: ImplementationSchema,
|
|
4161
|
-
instructions:
|
|
4281
|
+
instructions: exports_v3.optional(exports_v3.string())
|
|
4162
4282
|
});
|
|
4163
4283
|
InitializedNotificationSchema = NotificationSchema.extend({
|
|
4164
|
-
method:
|
|
4284
|
+
method: exports_v3.literal("notifications/initialized")
|
|
4165
4285
|
});
|
|
4166
4286
|
PingRequestSchema = RequestSchema.extend({
|
|
4167
|
-
method:
|
|
4287
|
+
method: exports_v3.literal("ping")
|
|
4168
4288
|
});
|
|
4169
|
-
ProgressSchema =
|
|
4170
|
-
progress:
|
|
4171
|
-
total:
|
|
4289
|
+
ProgressSchema = exports_v3.object({
|
|
4290
|
+
progress: exports_v3.number(),
|
|
4291
|
+
total: exports_v3.optional(exports_v3.number())
|
|
4172
4292
|
}).passthrough();
|
|
4173
4293
|
ProgressNotificationSchema = NotificationSchema.extend({
|
|
4174
|
-
method:
|
|
4294
|
+
method: exports_v3.literal("notifications/progress"),
|
|
4175
4295
|
params: BaseNotificationParamsSchema.merge(ProgressSchema).extend({
|
|
4176
4296
|
progressToken: ProgressTokenSchema
|
|
4177
4297
|
})
|
|
4178
4298
|
});
|
|
4179
4299
|
PaginatedRequestSchema = RequestSchema.extend({
|
|
4180
4300
|
params: BaseRequestParamsSchema.extend({
|
|
4181
|
-
cursor:
|
|
4301
|
+
cursor: exports_v3.optional(CursorSchema)
|
|
4182
4302
|
}).optional()
|
|
4183
4303
|
});
|
|
4184
4304
|
PaginatedResultSchema = ResultSchema.extend({
|
|
4185
|
-
nextCursor:
|
|
4305
|
+
nextCursor: exports_v3.optional(CursorSchema)
|
|
4186
4306
|
});
|
|
4187
|
-
ResourceContentsSchema =
|
|
4188
|
-
uri:
|
|
4189
|
-
mimeType:
|
|
4307
|
+
ResourceContentsSchema = exports_v3.object({
|
|
4308
|
+
uri: exports_v3.string(),
|
|
4309
|
+
mimeType: exports_v3.optional(exports_v3.string())
|
|
4190
4310
|
}).passthrough();
|
|
4191
4311
|
TextResourceContentsSchema = ResourceContentsSchema.extend({
|
|
4192
|
-
text:
|
|
4312
|
+
text: exports_v3.string()
|
|
4193
4313
|
});
|
|
4194
4314
|
BlobResourceContentsSchema = ResourceContentsSchema.extend({
|
|
4195
|
-
blob:
|
|
4315
|
+
blob: exports_v3.string().base64()
|
|
4196
4316
|
});
|
|
4197
|
-
ResourceSchema =
|
|
4198
|
-
uri:
|
|
4199
|
-
name:
|
|
4200
|
-
description:
|
|
4201
|
-
mimeType:
|
|
4317
|
+
ResourceSchema = exports_v3.object({
|
|
4318
|
+
uri: exports_v3.string(),
|
|
4319
|
+
name: exports_v3.string(),
|
|
4320
|
+
description: exports_v3.optional(exports_v3.string()),
|
|
4321
|
+
mimeType: exports_v3.optional(exports_v3.string())
|
|
4202
4322
|
}).passthrough();
|
|
4203
|
-
ResourceTemplateSchema =
|
|
4204
|
-
uriTemplate:
|
|
4205
|
-
name:
|
|
4206
|
-
description:
|
|
4207
|
-
mimeType:
|
|
4323
|
+
ResourceTemplateSchema = exports_v3.object({
|
|
4324
|
+
uriTemplate: exports_v3.string(),
|
|
4325
|
+
name: exports_v3.string(),
|
|
4326
|
+
description: exports_v3.optional(exports_v3.string()),
|
|
4327
|
+
mimeType: exports_v3.optional(exports_v3.string())
|
|
4208
4328
|
}).passthrough();
|
|
4209
4329
|
ListResourcesRequestSchema = PaginatedRequestSchema.extend({
|
|
4210
|
-
method:
|
|
4330
|
+
method: exports_v3.literal("resources/list")
|
|
4211
4331
|
});
|
|
4212
4332
|
ListResourcesResultSchema = PaginatedResultSchema.extend({
|
|
4213
|
-
resources:
|
|
4333
|
+
resources: exports_v3.array(ResourceSchema)
|
|
4214
4334
|
});
|
|
4215
4335
|
ListResourceTemplatesRequestSchema = PaginatedRequestSchema.extend({
|
|
4216
|
-
method:
|
|
4336
|
+
method: exports_v3.literal("resources/templates/list")
|
|
4217
4337
|
});
|
|
4218
4338
|
ListResourceTemplatesResultSchema = PaginatedResultSchema.extend({
|
|
4219
|
-
resourceTemplates:
|
|
4339
|
+
resourceTemplates: exports_v3.array(ResourceTemplateSchema)
|
|
4220
4340
|
});
|
|
4221
4341
|
ReadResourceRequestSchema = RequestSchema.extend({
|
|
4222
|
-
method:
|
|
4342
|
+
method: exports_v3.literal("resources/read"),
|
|
4223
4343
|
params: BaseRequestParamsSchema.extend({
|
|
4224
|
-
uri:
|
|
4344
|
+
uri: exports_v3.string()
|
|
4225
4345
|
})
|
|
4226
4346
|
});
|
|
4227
4347
|
ReadResourceResultSchema = ResultSchema.extend({
|
|
4228
|
-
contents:
|
|
4348
|
+
contents: exports_v3.array(exports_v3.union([TextResourceContentsSchema, BlobResourceContentsSchema]))
|
|
4229
4349
|
});
|
|
4230
4350
|
ResourceListChangedNotificationSchema = NotificationSchema.extend({
|
|
4231
|
-
method:
|
|
4351
|
+
method: exports_v3.literal("notifications/resources/list_changed")
|
|
4232
4352
|
});
|
|
4233
4353
|
SubscribeRequestSchema = RequestSchema.extend({
|
|
4234
|
-
method:
|
|
4354
|
+
method: exports_v3.literal("resources/subscribe"),
|
|
4235
4355
|
params: BaseRequestParamsSchema.extend({
|
|
4236
|
-
uri:
|
|
4356
|
+
uri: exports_v3.string()
|
|
4237
4357
|
})
|
|
4238
4358
|
});
|
|
4239
4359
|
UnsubscribeRequestSchema = RequestSchema.extend({
|
|
4240
|
-
method:
|
|
4360
|
+
method: exports_v3.literal("resources/unsubscribe"),
|
|
4241
4361
|
params: BaseRequestParamsSchema.extend({
|
|
4242
|
-
uri:
|
|
4362
|
+
uri: exports_v3.string()
|
|
4243
4363
|
})
|
|
4244
4364
|
});
|
|
4245
4365
|
ResourceUpdatedNotificationSchema = NotificationSchema.extend({
|
|
4246
|
-
method:
|
|
4366
|
+
method: exports_v3.literal("notifications/resources/updated"),
|
|
4247
4367
|
params: BaseNotificationParamsSchema.extend({
|
|
4248
|
-
uri:
|
|
4368
|
+
uri: exports_v3.string()
|
|
4249
4369
|
})
|
|
4250
4370
|
});
|
|
4251
|
-
PromptArgumentSchema =
|
|
4252
|
-
name:
|
|
4253
|
-
description:
|
|
4254
|
-
required:
|
|
4371
|
+
PromptArgumentSchema = exports_v3.object({
|
|
4372
|
+
name: exports_v3.string(),
|
|
4373
|
+
description: exports_v3.optional(exports_v3.string()),
|
|
4374
|
+
required: exports_v3.optional(exports_v3.boolean())
|
|
4255
4375
|
}).passthrough();
|
|
4256
|
-
PromptSchema =
|
|
4257
|
-
name:
|
|
4258
|
-
description:
|
|
4259
|
-
arguments:
|
|
4376
|
+
PromptSchema = exports_v3.object({
|
|
4377
|
+
name: exports_v3.string(),
|
|
4378
|
+
description: exports_v3.optional(exports_v3.string()),
|
|
4379
|
+
arguments: exports_v3.optional(exports_v3.array(PromptArgumentSchema))
|
|
4260
4380
|
}).passthrough();
|
|
4261
4381
|
ListPromptsRequestSchema = PaginatedRequestSchema.extend({
|
|
4262
|
-
method:
|
|
4382
|
+
method: exports_v3.literal("prompts/list")
|
|
4263
4383
|
});
|
|
4264
4384
|
ListPromptsResultSchema = PaginatedResultSchema.extend({
|
|
4265
|
-
prompts:
|
|
4385
|
+
prompts: exports_v3.array(PromptSchema)
|
|
4266
4386
|
});
|
|
4267
4387
|
GetPromptRequestSchema = RequestSchema.extend({
|
|
4268
|
-
method:
|
|
4388
|
+
method: exports_v3.literal("prompts/get"),
|
|
4269
4389
|
params: BaseRequestParamsSchema.extend({
|
|
4270
|
-
name:
|
|
4271
|
-
arguments:
|
|
4390
|
+
name: exports_v3.string(),
|
|
4391
|
+
arguments: exports_v3.optional(exports_v3.record(exports_v3.string()))
|
|
4272
4392
|
})
|
|
4273
4393
|
});
|
|
4274
|
-
TextContentSchema =
|
|
4275
|
-
type:
|
|
4276
|
-
text:
|
|
4394
|
+
TextContentSchema = exports_v3.object({
|
|
4395
|
+
type: exports_v3.literal("text"),
|
|
4396
|
+
text: exports_v3.string()
|
|
4277
4397
|
}).passthrough();
|
|
4278
|
-
ImageContentSchema =
|
|
4279
|
-
type:
|
|
4280
|
-
data:
|
|
4281
|
-
mimeType:
|
|
4398
|
+
ImageContentSchema = exports_v3.object({
|
|
4399
|
+
type: exports_v3.literal("image"),
|
|
4400
|
+
data: exports_v3.string().base64(),
|
|
4401
|
+
mimeType: exports_v3.string()
|
|
4282
4402
|
}).passthrough();
|
|
4283
|
-
AudioContentSchema =
|
|
4284
|
-
type:
|
|
4285
|
-
data:
|
|
4286
|
-
mimeType:
|
|
4403
|
+
AudioContentSchema = exports_v3.object({
|
|
4404
|
+
type: exports_v3.literal("audio"),
|
|
4405
|
+
data: exports_v3.string().base64(),
|
|
4406
|
+
mimeType: exports_v3.string()
|
|
4287
4407
|
}).passthrough();
|
|
4288
|
-
EmbeddedResourceSchema =
|
|
4289
|
-
type:
|
|
4290
|
-
resource:
|
|
4408
|
+
EmbeddedResourceSchema = exports_v3.object({
|
|
4409
|
+
type: exports_v3.literal("resource"),
|
|
4410
|
+
resource: exports_v3.union([TextResourceContentsSchema, BlobResourceContentsSchema])
|
|
4291
4411
|
}).passthrough();
|
|
4292
|
-
PromptMessageSchema =
|
|
4293
|
-
role:
|
|
4294
|
-
content:
|
|
4412
|
+
PromptMessageSchema = exports_v3.object({
|
|
4413
|
+
role: exports_v3.enum(["user", "assistant"]),
|
|
4414
|
+
content: exports_v3.union([
|
|
4295
4415
|
TextContentSchema,
|
|
4296
4416
|
ImageContentSchema,
|
|
4297
4417
|
AudioContentSchema,
|
|
@@ -4299,44 +4419,44 @@ var init_types2 = __esm(() => {
|
|
|
4299
4419
|
])
|
|
4300
4420
|
}).passthrough();
|
|
4301
4421
|
GetPromptResultSchema = ResultSchema.extend({
|
|
4302
|
-
description:
|
|
4303
|
-
messages:
|
|
4422
|
+
description: exports_v3.optional(exports_v3.string()),
|
|
4423
|
+
messages: exports_v3.array(PromptMessageSchema)
|
|
4304
4424
|
});
|
|
4305
4425
|
PromptListChangedNotificationSchema = NotificationSchema.extend({
|
|
4306
|
-
method:
|
|
4307
|
-
});
|
|
4308
|
-
ToolSchema =
|
|
4309
|
-
name:
|
|
4310
|
-
description:
|
|
4311
|
-
inputSchema:
|
|
4312
|
-
type:
|
|
4313
|
-
properties:
|
|
4426
|
+
method: exports_v3.literal("notifications/prompts/list_changed")
|
|
4427
|
+
});
|
|
4428
|
+
ToolSchema = exports_v3.object({
|
|
4429
|
+
name: exports_v3.string(),
|
|
4430
|
+
description: exports_v3.optional(exports_v3.string()),
|
|
4431
|
+
inputSchema: exports_v3.object({
|
|
4432
|
+
type: exports_v3.literal("object"),
|
|
4433
|
+
properties: exports_v3.optional(exports_v3.object({}).passthrough())
|
|
4314
4434
|
}).passthrough()
|
|
4315
4435
|
}).passthrough();
|
|
4316
4436
|
ListToolsRequestSchema = PaginatedRequestSchema.extend({
|
|
4317
|
-
method:
|
|
4437
|
+
method: exports_v3.literal("tools/list")
|
|
4318
4438
|
});
|
|
4319
4439
|
ListToolsResultSchema = PaginatedResultSchema.extend({
|
|
4320
|
-
tools:
|
|
4440
|
+
tools: exports_v3.array(ToolSchema)
|
|
4321
4441
|
});
|
|
4322
4442
|
CallToolResultSchema = ResultSchema.extend({
|
|
4323
|
-
content:
|
|
4324
|
-
isError:
|
|
4443
|
+
content: exports_v3.array(exports_v3.union([TextContentSchema, ImageContentSchema, AudioContentSchema, EmbeddedResourceSchema])),
|
|
4444
|
+
isError: exports_v3.boolean().default(false).optional()
|
|
4325
4445
|
});
|
|
4326
4446
|
CompatibilityCallToolResultSchema = CallToolResultSchema.or(ResultSchema.extend({
|
|
4327
|
-
toolResult:
|
|
4447
|
+
toolResult: exports_v3.unknown()
|
|
4328
4448
|
}));
|
|
4329
4449
|
CallToolRequestSchema = RequestSchema.extend({
|
|
4330
|
-
method:
|
|
4450
|
+
method: exports_v3.literal("tools/call"),
|
|
4331
4451
|
params: BaseRequestParamsSchema.extend({
|
|
4332
|
-
name:
|
|
4333
|
-
arguments:
|
|
4452
|
+
name: exports_v3.string(),
|
|
4453
|
+
arguments: exports_v3.optional(exports_v3.record(exports_v3.unknown()))
|
|
4334
4454
|
})
|
|
4335
4455
|
});
|
|
4336
4456
|
ToolListChangedNotificationSchema = NotificationSchema.extend({
|
|
4337
|
-
method:
|
|
4457
|
+
method: exports_v3.literal("notifications/tools/list_changed")
|
|
4338
4458
|
});
|
|
4339
|
-
LoggingLevelSchema =
|
|
4459
|
+
LoggingLevelSchema = exports_v3.enum([
|
|
4340
4460
|
"debug",
|
|
4341
4461
|
"info",
|
|
4342
4462
|
"notice",
|
|
@@ -4347,94 +4467,94 @@ var init_types2 = __esm(() => {
|
|
|
4347
4467
|
"emergency"
|
|
4348
4468
|
]);
|
|
4349
4469
|
SetLevelRequestSchema = RequestSchema.extend({
|
|
4350
|
-
method:
|
|
4470
|
+
method: exports_v3.literal("logging/setLevel"),
|
|
4351
4471
|
params: BaseRequestParamsSchema.extend({
|
|
4352
4472
|
level: LoggingLevelSchema
|
|
4353
4473
|
})
|
|
4354
4474
|
});
|
|
4355
4475
|
LoggingMessageNotificationSchema = NotificationSchema.extend({
|
|
4356
|
-
method:
|
|
4476
|
+
method: exports_v3.literal("notifications/message"),
|
|
4357
4477
|
params: BaseNotificationParamsSchema.extend({
|
|
4358
4478
|
level: LoggingLevelSchema,
|
|
4359
|
-
logger:
|
|
4360
|
-
data:
|
|
4479
|
+
logger: exports_v3.optional(exports_v3.string()),
|
|
4480
|
+
data: exports_v3.unknown()
|
|
4361
4481
|
})
|
|
4362
4482
|
});
|
|
4363
|
-
ModelHintSchema =
|
|
4364
|
-
name:
|
|
4483
|
+
ModelHintSchema = exports_v3.object({
|
|
4484
|
+
name: exports_v3.string().optional()
|
|
4365
4485
|
}).passthrough();
|
|
4366
|
-
ModelPreferencesSchema =
|
|
4367
|
-
hints:
|
|
4368
|
-
costPriority:
|
|
4369
|
-
speedPriority:
|
|
4370
|
-
intelligencePriority:
|
|
4486
|
+
ModelPreferencesSchema = exports_v3.object({
|
|
4487
|
+
hints: exports_v3.optional(exports_v3.array(ModelHintSchema)),
|
|
4488
|
+
costPriority: exports_v3.optional(exports_v3.number().min(0).max(1)),
|
|
4489
|
+
speedPriority: exports_v3.optional(exports_v3.number().min(0).max(1)),
|
|
4490
|
+
intelligencePriority: exports_v3.optional(exports_v3.number().min(0).max(1))
|
|
4371
4491
|
}).passthrough();
|
|
4372
|
-
SamplingMessageSchema =
|
|
4373
|
-
role:
|
|
4374
|
-
content:
|
|
4492
|
+
SamplingMessageSchema = exports_v3.object({
|
|
4493
|
+
role: exports_v3.enum(["user", "assistant"]),
|
|
4494
|
+
content: exports_v3.union([TextContentSchema, ImageContentSchema, AudioContentSchema])
|
|
4375
4495
|
}).passthrough();
|
|
4376
4496
|
CreateMessageRequestSchema = RequestSchema.extend({
|
|
4377
|
-
method:
|
|
4497
|
+
method: exports_v3.literal("sampling/createMessage"),
|
|
4378
4498
|
params: BaseRequestParamsSchema.extend({
|
|
4379
|
-
messages:
|
|
4380
|
-
systemPrompt:
|
|
4381
|
-
includeContext:
|
|
4382
|
-
temperature:
|
|
4383
|
-
maxTokens:
|
|
4384
|
-
stopSequences:
|
|
4385
|
-
metadata:
|
|
4386
|
-
modelPreferences:
|
|
4499
|
+
messages: exports_v3.array(SamplingMessageSchema),
|
|
4500
|
+
systemPrompt: exports_v3.optional(exports_v3.string()),
|
|
4501
|
+
includeContext: exports_v3.optional(exports_v3.enum(["none", "thisServer", "allServers"])),
|
|
4502
|
+
temperature: exports_v3.optional(exports_v3.number()),
|
|
4503
|
+
maxTokens: exports_v3.number().int(),
|
|
4504
|
+
stopSequences: exports_v3.optional(exports_v3.array(exports_v3.string())),
|
|
4505
|
+
metadata: exports_v3.optional(exports_v3.object({}).passthrough()),
|
|
4506
|
+
modelPreferences: exports_v3.optional(ModelPreferencesSchema)
|
|
4387
4507
|
})
|
|
4388
4508
|
});
|
|
4389
4509
|
CreateMessageResultSchema = ResultSchema.extend({
|
|
4390
|
-
model:
|
|
4391
|
-
stopReason:
|
|
4392
|
-
role:
|
|
4393
|
-
content:
|
|
4510
|
+
model: exports_v3.string(),
|
|
4511
|
+
stopReason: exports_v3.optional(exports_v3.enum(["endTurn", "stopSequence", "maxTokens"]).or(exports_v3.string())),
|
|
4512
|
+
role: exports_v3.enum(["user", "assistant"]),
|
|
4513
|
+
content: exports_v3.discriminatedUnion("type", [
|
|
4394
4514
|
TextContentSchema,
|
|
4395
4515
|
ImageContentSchema,
|
|
4396
4516
|
AudioContentSchema
|
|
4397
4517
|
])
|
|
4398
4518
|
});
|
|
4399
|
-
ResourceReferenceSchema =
|
|
4400
|
-
type:
|
|
4401
|
-
uri:
|
|
4519
|
+
ResourceReferenceSchema = exports_v3.object({
|
|
4520
|
+
type: exports_v3.literal("ref/resource"),
|
|
4521
|
+
uri: exports_v3.string()
|
|
4402
4522
|
}).passthrough();
|
|
4403
|
-
PromptReferenceSchema =
|
|
4404
|
-
type:
|
|
4405
|
-
name:
|
|
4523
|
+
PromptReferenceSchema = exports_v3.object({
|
|
4524
|
+
type: exports_v3.literal("ref/prompt"),
|
|
4525
|
+
name: exports_v3.string()
|
|
4406
4526
|
}).passthrough();
|
|
4407
4527
|
CompleteRequestSchema = RequestSchema.extend({
|
|
4408
|
-
method:
|
|
4528
|
+
method: exports_v3.literal("completion/complete"),
|
|
4409
4529
|
params: BaseRequestParamsSchema.extend({
|
|
4410
|
-
ref:
|
|
4411
|
-
argument:
|
|
4412
|
-
name:
|
|
4413
|
-
value:
|
|
4530
|
+
ref: exports_v3.union([PromptReferenceSchema, ResourceReferenceSchema]),
|
|
4531
|
+
argument: exports_v3.object({
|
|
4532
|
+
name: exports_v3.string(),
|
|
4533
|
+
value: exports_v3.string()
|
|
4414
4534
|
}).passthrough()
|
|
4415
4535
|
})
|
|
4416
4536
|
});
|
|
4417
4537
|
CompleteResultSchema = ResultSchema.extend({
|
|
4418
|
-
completion:
|
|
4419
|
-
values:
|
|
4420
|
-
total:
|
|
4421
|
-
hasMore:
|
|
4538
|
+
completion: exports_v3.object({
|
|
4539
|
+
values: exports_v3.array(exports_v3.string()).max(100),
|
|
4540
|
+
total: exports_v3.optional(exports_v3.number().int()),
|
|
4541
|
+
hasMore: exports_v3.optional(exports_v3.boolean())
|
|
4422
4542
|
}).passthrough()
|
|
4423
4543
|
});
|
|
4424
|
-
RootSchema =
|
|
4425
|
-
uri:
|
|
4426
|
-
name:
|
|
4544
|
+
RootSchema = exports_v3.object({
|
|
4545
|
+
uri: exports_v3.string().startsWith("file://"),
|
|
4546
|
+
name: exports_v3.optional(exports_v3.string())
|
|
4427
4547
|
}).passthrough();
|
|
4428
4548
|
ListRootsRequestSchema = RequestSchema.extend({
|
|
4429
|
-
method:
|
|
4549
|
+
method: exports_v3.literal("roots/list")
|
|
4430
4550
|
});
|
|
4431
4551
|
ListRootsResultSchema = ResultSchema.extend({
|
|
4432
|
-
roots:
|
|
4552
|
+
roots: exports_v3.array(RootSchema)
|
|
4433
4553
|
});
|
|
4434
4554
|
RootsListChangedNotificationSchema = NotificationSchema.extend({
|
|
4435
|
-
method:
|
|
4555
|
+
method: exports_v3.literal("notifications/roots/list_changed")
|
|
4436
4556
|
});
|
|
4437
|
-
ClientRequestSchema =
|
|
4557
|
+
ClientRequestSchema = exports_v3.union([
|
|
4438
4558
|
PingRequestSchema,
|
|
4439
4559
|
InitializeRequestSchema,
|
|
4440
4560
|
CompleteRequestSchema,
|
|
@@ -4449,23 +4569,23 @@ var init_types2 = __esm(() => {
|
|
|
4449
4569
|
CallToolRequestSchema,
|
|
4450
4570
|
ListToolsRequestSchema
|
|
4451
4571
|
]);
|
|
4452
|
-
ClientNotificationSchema =
|
|
4572
|
+
ClientNotificationSchema = exports_v3.union([
|
|
4453
4573
|
CancelledNotificationSchema,
|
|
4454
4574
|
ProgressNotificationSchema,
|
|
4455
4575
|
InitializedNotificationSchema,
|
|
4456
4576
|
RootsListChangedNotificationSchema
|
|
4457
4577
|
]);
|
|
4458
|
-
ClientResultSchema =
|
|
4578
|
+
ClientResultSchema = exports_v3.union([
|
|
4459
4579
|
EmptyResultSchema,
|
|
4460
4580
|
CreateMessageResultSchema,
|
|
4461
4581
|
ListRootsResultSchema
|
|
4462
4582
|
]);
|
|
4463
|
-
ServerRequestSchema =
|
|
4583
|
+
ServerRequestSchema = exports_v3.union([
|
|
4464
4584
|
PingRequestSchema,
|
|
4465
4585
|
CreateMessageRequestSchema,
|
|
4466
4586
|
ListRootsRequestSchema
|
|
4467
4587
|
]);
|
|
4468
|
-
ServerNotificationSchema =
|
|
4588
|
+
ServerNotificationSchema = exports_v3.union([
|
|
4469
4589
|
CancelledNotificationSchema,
|
|
4470
4590
|
ProgressNotificationSchema,
|
|
4471
4591
|
LoggingMessageNotificationSchema,
|
|
@@ -4474,7 +4594,7 @@ var init_types2 = __esm(() => {
|
|
|
4474
4594
|
ToolListChangedNotificationSchema,
|
|
4475
4595
|
PromptListChangedNotificationSchema
|
|
4476
4596
|
]);
|
|
4477
|
-
ServerResultSchema =
|
|
4597
|
+
ServerResultSchema = exports_v3.union([
|
|
4478
4598
|
EmptyResultSchema,
|
|
4479
4599
|
InitializeResultSchema,
|
|
4480
4600
|
CompleteResultSchema,
|
|
@@ -32425,7 +32545,7 @@ function parseArrayDef(def, refs) {
|
|
|
32425
32545
|
return res;
|
|
32426
32546
|
}
|
|
32427
32547
|
var init_array = __esm(() => {
|
|
32428
|
-
|
|
32548
|
+
init_zod();
|
|
32429
32549
|
init_parseDef();
|
|
32430
32550
|
});
|
|
32431
32551
|
|
|
@@ -32989,7 +33109,7 @@ function parseRecordDef(def, refs) {
|
|
|
32989
33109
|
return schema;
|
|
32990
33110
|
}
|
|
32991
33111
|
var init_record = __esm(() => {
|
|
32992
|
-
|
|
33112
|
+
init_zod();
|
|
32993
33113
|
init_parseDef();
|
|
32994
33114
|
init_string();
|
|
32995
33115
|
init_branded();
|
|
@@ -33505,7 +33625,7 @@ var selectParser = (def, typeName, refs) => {
|
|
|
33505
33625
|
}
|
|
33506
33626
|
};
|
|
33507
33627
|
var init_selectParser = __esm(() => {
|
|
33508
|
-
|
|
33628
|
+
init_zod();
|
|
33509
33629
|
init_any();
|
|
33510
33630
|
init_array();
|
|
33511
33631
|
init_bigint();
|
|
@@ -33663,7 +33783,7 @@ var init_zodToJsonSchema = __esm(() => {
|
|
|
33663
33783
|
});
|
|
33664
33784
|
|
|
33665
33785
|
// node_modules/zod-to-json-schema/dist/esm/index.js
|
|
33666
|
-
var
|
|
33786
|
+
var init_esm = __esm(() => {
|
|
33667
33787
|
init_Options();
|
|
33668
33788
|
init_Refs();
|
|
33669
33789
|
init_parseDef();
|
|
@@ -33725,7 +33845,7 @@ function processCreateParams2(params) {
|
|
|
33725
33845
|
}
|
|
33726
33846
|
var McpZodTypeKind, Completable;
|
|
33727
33847
|
var init_completable = __esm(() => {
|
|
33728
|
-
|
|
33848
|
+
init_zod();
|
|
33729
33849
|
(function(McpZodTypeKind2) {
|
|
33730
33850
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
33731
33851
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
@@ -34020,7 +34140,7 @@ class McpServer {
|
|
|
34020
34140
|
const cb = rest[0];
|
|
34021
34141
|
this._registeredTools[name] = {
|
|
34022
34142
|
description,
|
|
34023
|
-
inputSchema: paramsSchema === undefined ? undefined :
|
|
34143
|
+
inputSchema: paramsSchema === undefined ? undefined : exports_v3.object(paramsSchema),
|
|
34024
34144
|
callback: cb
|
|
34025
34145
|
};
|
|
34026
34146
|
this.setToolRequestHandlers();
|
|
@@ -34040,7 +34160,7 @@ class McpServer {
|
|
|
34040
34160
|
const cb = rest[0];
|
|
34041
34161
|
this._registeredPrompts[name] = {
|
|
34042
34162
|
description,
|
|
34043
|
-
argsSchema: argsSchema === undefined ? undefined :
|
|
34163
|
+
argsSchema: argsSchema === undefined ? undefined : exports_v3.object(argsSchema),
|
|
34044
34164
|
callback: cb
|
|
34045
34165
|
};
|
|
34046
34166
|
this.setPromptRequestHandlers();
|
|
@@ -34065,8 +34185,8 @@ function createCompletionResult(suggestions) {
|
|
|
34065
34185
|
var EMPTY_OBJECT_JSON_SCHEMA, EMPTY_COMPLETION_RESULT;
|
|
34066
34186
|
var init_mcp = __esm(() => {
|
|
34067
34187
|
init_server();
|
|
34068
|
-
init_esm2();
|
|
34069
34188
|
init_esm();
|
|
34189
|
+
init_zod();
|
|
34070
34190
|
init_types2();
|
|
34071
34191
|
init_completable();
|
|
34072
34192
|
EMPTY_OBJECT_JSON_SCHEMA = {
|
|
@@ -34215,7 +34335,7 @@ function stringToBase64(str) {
|
|
|
34215
34335
|
}
|
|
34216
34336
|
var zodOutbound, zodInbound;
|
|
34217
34337
|
var init_base64 = __esm(() => {
|
|
34218
|
-
|
|
34338
|
+
init_zod();
|
|
34219
34339
|
zodOutbound = instanceOfType(Uint8Array).or(stringType().transform(stringToBytes));
|
|
34220
34340
|
zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
|
|
34221
34341
|
});
|
|
@@ -34264,9 +34384,9 @@ var init_config = __esm(() => {
|
|
|
34264
34384
|
SDK_METADATA = {
|
|
34265
34385
|
language: "typescript",
|
|
34266
34386
|
openapiDocVersion: "0.0.1",
|
|
34267
|
-
sdkVersion: "0.5.
|
|
34268
|
-
genVersion: "2.
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 0.5.
|
|
34387
|
+
sdkVersion: "0.5.40",
|
|
34388
|
+
genVersion: "2.648.7",
|
|
34389
|
+
userAgent: "speakeasy-sdk/typescript 0.5.40 2.648.7 0.0.1 @compass-labs/api-sdk"
|
|
34270
34390
|
};
|
|
34271
34391
|
});
|
|
34272
34392
|
|
|
@@ -35076,7 +35196,7 @@ async function valueToBase64(value) {
|
|
|
35076
35196
|
}
|
|
35077
35197
|
var base64Schema;
|
|
35078
35198
|
var init_shared = __esm(() => {
|
|
35079
|
-
|
|
35199
|
+
init_zod();
|
|
35080
35200
|
init_base64();
|
|
35081
35201
|
base64Schema = stringType().base64();
|
|
35082
35202
|
});
|
|
@@ -35291,7 +35411,7 @@ ${pre}${str}`;
|
|
|
35291
35411
|
}
|
|
35292
35412
|
var SDKValidationError;
|
|
35293
35413
|
var init_sdkvalidationerror = __esm(() => {
|
|
35294
|
-
|
|
35414
|
+
init_zod();
|
|
35295
35415
|
SDKValidationError = class SDKValidationError extends Error {
|
|
35296
35416
|
rawValue;
|
|
35297
35417
|
rawMessage;
|
|
@@ -35329,7 +35449,7 @@ ${formatZodError(this.cause)}`;
|
|
|
35329
35449
|
// src/models/errors/responsevalidationerror.ts
|
|
35330
35450
|
var ResponseValidationError;
|
|
35331
35451
|
var init_responsevalidationerror = __esm(() => {
|
|
35332
|
-
|
|
35452
|
+
init_zod();
|
|
35333
35453
|
init_compassapisdkerror();
|
|
35334
35454
|
init_sdkvalidationerror();
|
|
35335
35455
|
ResponseValidationError = class ResponseValidationError extends CompassAPISDKError {
|
|
@@ -35669,7 +35789,7 @@ var init_security = __esm(() => {
|
|
|
35669
35789
|
// src/models/components/aaveavgrateresponse.ts
|
|
35670
35790
|
var AaveAvgRateResponse$inboundSchema, AaveAvgRateResponse$outboundSchema, AaveAvgRateResponse$;
|
|
35671
35791
|
var init_aaveavgrateresponse = __esm(() => {
|
|
35672
|
-
|
|
35792
|
+
init_zod();
|
|
35673
35793
|
init_primitives();
|
|
35674
35794
|
AaveAvgRateResponse$inboundSchema = objectType({
|
|
35675
35795
|
supply_apy_variable_rate: numberType(),
|
|
@@ -35714,7 +35834,7 @@ var init_aaveavgrateresponse = __esm(() => {
|
|
|
35714
35834
|
// src/models/components/interestratemode.ts
|
|
35715
35835
|
var InterestRateMode, InterestRateMode$inboundSchema, InterestRateMode$outboundSchema, InterestRateMode$;
|
|
35716
35836
|
var init_interestratemode = __esm(() => {
|
|
35717
|
-
|
|
35837
|
+
init_zod();
|
|
35718
35838
|
InterestRateMode = {
|
|
35719
35839
|
Stable: "stable",
|
|
35720
35840
|
Variable: "variable"
|
|
@@ -35730,7 +35850,7 @@ var init_interestratemode = __esm(() => {
|
|
|
35730
35850
|
// src/models/components/tokenenum.ts
|
|
35731
35851
|
var TokenEnum, TokenEnum$inboundSchema, TokenEnum$outboundSchema, TokenEnum$;
|
|
35732
35852
|
var init_tokenenum = __esm(() => {
|
|
35733
|
-
|
|
35853
|
+
init_zod();
|
|
35734
35854
|
TokenEnum = {
|
|
35735
35855
|
OneINCH: "1INCH",
|
|
35736
35856
|
Aave: "AAVE",
|
|
@@ -35788,7 +35908,7 @@ var init_tokenenum = __esm(() => {
|
|
|
35788
35908
|
// src/models/components/aaveborrowparams.ts
|
|
35789
35909
|
var AaveBorrowParamsAmount$inboundSchema, AaveBorrowParamsAmount$outboundSchema, AaveBorrowParamsAmount$, AaveBorrowParams$inboundSchema, AaveBorrowParams$outboundSchema, AaveBorrowParams$;
|
|
35790
35910
|
var init_aaveborrowparams = __esm(() => {
|
|
35791
|
-
|
|
35911
|
+
init_zod();
|
|
35792
35912
|
init_primitives();
|
|
35793
35913
|
init_interestratemode();
|
|
35794
35914
|
init_tokenenum();
|
|
@@ -35833,7 +35953,7 @@ var init_aaveborrowparams = __esm(() => {
|
|
|
35833
35953
|
// src/models/components/chain.ts
|
|
35834
35954
|
var Chain, Chain$inboundSchema, Chain$outboundSchema, Chain$;
|
|
35835
35955
|
var init_chain = __esm(() => {
|
|
35836
|
-
|
|
35956
|
+
init_zod();
|
|
35837
35957
|
Chain = {
|
|
35838
35958
|
BaseMainnet: "base:mainnet",
|
|
35839
35959
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -35850,7 +35970,7 @@ var init_chain = __esm(() => {
|
|
|
35850
35970
|
// src/models/components/aaveborrowrequest.ts
|
|
35851
35971
|
var AaveBorrowRequestAmount$inboundSchema, AaveBorrowRequestAmount$outboundSchema, AaveBorrowRequestAmount$, AaveBorrowRequest$inboundSchema, AaveBorrowRequest$outboundSchema, AaveBorrowRequest$;
|
|
35852
35972
|
var init_aaveborrowrequest = __esm(() => {
|
|
35853
|
-
|
|
35973
|
+
init_zod();
|
|
35854
35974
|
init_primitives();
|
|
35855
35975
|
init_chain();
|
|
35856
35976
|
init_interestratemode();
|
|
@@ -35900,7 +36020,7 @@ var init_aaveborrowrequest = __esm(() => {
|
|
|
35900
36020
|
// src/models/components/reserve.ts
|
|
35901
36021
|
var Reserve$inboundSchema, Reserve$outboundSchema, Reserve$;
|
|
35902
36022
|
var init_reserve = __esm(() => {
|
|
35903
|
-
|
|
36023
|
+
init_zod();
|
|
35904
36024
|
init_tokenenum();
|
|
35905
36025
|
Reserve$inboundSchema = objectType({
|
|
35906
36026
|
symbol: TokenEnum$inboundSchema,
|
|
@@ -35923,7 +36043,7 @@ var init_reserve = __esm(() => {
|
|
|
35923
36043
|
// src/models/components/borrow.ts
|
|
35924
36044
|
var Borrowratemode, Borrowratemode$inboundSchema, Borrowratemode$outboundSchema, Borrowratemode$, Borrow$inboundSchema, Borrow$outboundSchema, Borrow$;
|
|
35925
36045
|
var init_borrow = __esm(() => {
|
|
35926
|
-
|
|
36046
|
+
init_zod();
|
|
35927
36047
|
init_reserve();
|
|
35928
36048
|
Borrowratemode = {
|
|
35929
36049
|
One: 1,
|
|
@@ -35966,7 +36086,7 @@ var init_borrow = __esm(() => {
|
|
|
35966
36086
|
// src/models/components/liquidationcall.ts
|
|
35967
36087
|
var LiquidationCall$inboundSchema, LiquidationCall$outboundSchema, LiquidationCall$;
|
|
35968
36088
|
var init_liquidationcall = __esm(() => {
|
|
35969
|
-
|
|
36089
|
+
init_zod();
|
|
35970
36090
|
init_reserve();
|
|
35971
36091
|
LiquidationCall$inboundSchema = objectType({
|
|
35972
36092
|
id: stringType(),
|
|
@@ -36003,7 +36123,7 @@ var init_liquidationcall = __esm(() => {
|
|
|
36003
36123
|
// src/models/components/redeemunderlying.ts
|
|
36004
36124
|
var RedeemUnderlying$inboundSchema, RedeemUnderlying$outboundSchema, RedeemUnderlying$;
|
|
36005
36125
|
var init_redeemunderlying = __esm(() => {
|
|
36006
|
-
|
|
36126
|
+
init_zod();
|
|
36007
36127
|
init_reserve();
|
|
36008
36128
|
RedeemUnderlying$inboundSchema = objectType({
|
|
36009
36129
|
id: stringType(),
|
|
@@ -36034,7 +36154,7 @@ var init_redeemunderlying = __esm(() => {
|
|
|
36034
36154
|
// src/models/components/repay.ts
|
|
36035
36155
|
var Repay$inboundSchema, Repay$outboundSchema, Repay$;
|
|
36036
36156
|
var init_repay = __esm(() => {
|
|
36037
|
-
|
|
36157
|
+
init_zod();
|
|
36038
36158
|
init_reserve();
|
|
36039
36159
|
Repay$inboundSchema = objectType({
|
|
36040
36160
|
id: stringType(),
|
|
@@ -36065,7 +36185,7 @@ var init_repay = __esm(() => {
|
|
|
36065
36185
|
// src/models/components/supply.ts
|
|
36066
36186
|
var Supply$inboundSchema, Supply$outboundSchema, Supply$;
|
|
36067
36187
|
var init_supply = __esm(() => {
|
|
36068
|
-
|
|
36188
|
+
init_zod();
|
|
36069
36189
|
init_reserve();
|
|
36070
36190
|
Supply$inboundSchema = objectType({
|
|
36071
36191
|
id: stringType(),
|
|
@@ -36096,7 +36216,7 @@ var init_supply = __esm(() => {
|
|
|
36096
36216
|
// src/models/components/swapborrowrate.ts
|
|
36097
36217
|
var SwapBorrowRate$inboundSchema, SwapBorrowRate$outboundSchema, SwapBorrowRate$;
|
|
36098
36218
|
var init_swapborrowrate = __esm(() => {
|
|
36099
|
-
|
|
36219
|
+
init_zod();
|
|
36100
36220
|
init_reserve();
|
|
36101
36221
|
SwapBorrowRate$inboundSchema = objectType({
|
|
36102
36222
|
id: stringType(),
|
|
@@ -36131,7 +36251,7 @@ var init_swapborrowrate = __esm(() => {
|
|
|
36131
36251
|
// src/models/components/usageascollateral.ts
|
|
36132
36252
|
var UsageAsCollateral$inboundSchema, UsageAsCollateral$outboundSchema, UsageAsCollateral$;
|
|
36133
36253
|
var init_usageascollateral = __esm(() => {
|
|
36134
|
-
|
|
36254
|
+
init_zod();
|
|
36135
36255
|
init_reserve();
|
|
36136
36256
|
UsageAsCollateral$inboundSchema = objectType({
|
|
36137
36257
|
id: stringType(),
|
|
@@ -36162,7 +36282,7 @@ var init_usageascollateral = __esm(() => {
|
|
|
36162
36282
|
// src/models/components/aavehistoricaltransactionsresponse.ts
|
|
36163
36283
|
var Transaction$inboundSchema, Transaction$outboundSchema, Transaction$, AaveHistoricalTransactionsResponse$inboundSchema, AaveHistoricalTransactionsResponse$outboundSchema, AaveHistoricalTransactionsResponse$;
|
|
36164
36284
|
var init_aavehistoricaltransactionsresponse = __esm(() => {
|
|
36165
|
-
|
|
36285
|
+
init_zod();
|
|
36166
36286
|
init_borrow();
|
|
36167
36287
|
init_liquidationcall();
|
|
36168
36288
|
init_redeemunderlying();
|
|
@@ -36283,7 +36403,7 @@ var init_aavehistoricaltransactionsresponse = __esm(() => {
|
|
|
36283
36403
|
// src/models/components/aaveliquiditychangeresponse.ts
|
|
36284
36404
|
var AaveLiquidityChangeResponse$inboundSchema, AaveLiquidityChangeResponse$outboundSchema, AaveLiquidityChangeResponse$;
|
|
36285
36405
|
var init_aaveliquiditychangeresponse = __esm(() => {
|
|
36286
|
-
|
|
36406
|
+
init_zod();
|
|
36287
36407
|
init_primitives();
|
|
36288
36408
|
AaveLiquidityChangeResponse$inboundSchema = objectType({
|
|
36289
36409
|
liquidity_change: stringType(),
|
|
@@ -36316,7 +36436,7 @@ var init_aaveliquiditychangeresponse = __esm(() => {
|
|
|
36316
36436
|
// src/models/components/signedauthorization.ts
|
|
36317
36437
|
var R$inboundSchema, R$outboundSchema, R$, S$inboundSchema, S$outboundSchema, S$, SignedAuthorization$inboundSchema, SignedAuthorization$outboundSchema, SignedAuthorization$;
|
|
36318
36438
|
var init_signedauthorization = __esm(() => {
|
|
36319
|
-
|
|
36439
|
+
init_zod();
|
|
36320
36440
|
R$inboundSchema = unionType([
|
|
36321
36441
|
numberType().int(),
|
|
36322
36442
|
stringType()
|
|
@@ -36360,7 +36480,7 @@ var init_signedauthorization = __esm(() => {
|
|
|
36360
36480
|
// src/models/components/aavelooprequest.ts
|
|
36361
36481
|
var InitialCollateralAmount$inboundSchema, InitialCollateralAmount$outboundSchema, InitialCollateralAmount$, Multiplier$inboundSchema, Multiplier$outboundSchema, Multiplier$, MaxSlippagePercent$inboundSchema, MaxSlippagePercent$outboundSchema, MaxSlippagePercent$, LoanToValue$inboundSchema, LoanToValue$outboundSchema, LoanToValue$, AaveLoopRequest$inboundSchema, AaveLoopRequest$outboundSchema, AaveLoopRequest$;
|
|
36362
36482
|
var init_aavelooprequest = __esm(() => {
|
|
36363
|
-
|
|
36483
|
+
init_zod();
|
|
36364
36484
|
init_primitives();
|
|
36365
36485
|
init_chain();
|
|
36366
36486
|
init_signedauthorization();
|
|
@@ -36438,7 +36558,7 @@ var init_aavelooprequest = __esm(() => {
|
|
|
36438
36558
|
// src/models/components/aaverateresponse.ts
|
|
36439
36559
|
var AaveRateResponse$inboundSchema, AaveRateResponse$outboundSchema, AaveRateResponse$;
|
|
36440
36560
|
var init_aaverateresponse = __esm(() => {
|
|
36441
|
-
|
|
36561
|
+
init_zod();
|
|
36442
36562
|
init_primitives();
|
|
36443
36563
|
AaveRateResponse$inboundSchema = objectType({
|
|
36444
36564
|
supply_apy_variable_rate: stringType(),
|
|
@@ -36483,7 +36603,7 @@ var init_aaverateresponse = __esm(() => {
|
|
|
36483
36603
|
// src/models/components/aaverepayparams.ts
|
|
36484
36604
|
var AaveRepayParamsAmount$inboundSchema, AaveRepayParamsAmount$outboundSchema, AaveRepayParamsAmount$, AaveRepayParams$inboundSchema, AaveRepayParams$outboundSchema, AaveRepayParams$;
|
|
36485
36605
|
var init_aaverepayparams = __esm(() => {
|
|
36486
|
-
|
|
36606
|
+
init_zod();
|
|
36487
36607
|
init_primitives();
|
|
36488
36608
|
init_interestratemode();
|
|
36489
36609
|
init_tokenenum();
|
|
@@ -36528,7 +36648,7 @@ var init_aaverepayparams = __esm(() => {
|
|
|
36528
36648
|
// src/models/components/aaverepayrequest.ts
|
|
36529
36649
|
var AaveRepayRequestAmount$inboundSchema, AaveRepayRequestAmount$outboundSchema, AaveRepayRequestAmount$, AaveRepayRequest$inboundSchema, AaveRepayRequest$outboundSchema, AaveRepayRequest$;
|
|
36530
36650
|
var init_aaverepayrequest = __esm(() => {
|
|
36531
|
-
|
|
36651
|
+
init_zod();
|
|
36532
36652
|
init_primitives();
|
|
36533
36653
|
init_chain();
|
|
36534
36654
|
init_interestratemode();
|
|
@@ -36578,7 +36698,7 @@ var init_aaverepayrequest = __esm(() => {
|
|
|
36578
36698
|
// src/models/components/aavereserveoverviewresponse.ts
|
|
36579
36699
|
var AaveReserveOverviewResponse$inboundSchema, AaveReserveOverviewResponse$outboundSchema, AaveReserveOverviewResponse$;
|
|
36580
36700
|
var init_aavereserveoverviewresponse = __esm(() => {
|
|
36581
|
-
|
|
36701
|
+
init_zod();
|
|
36582
36702
|
init_primitives();
|
|
36583
36703
|
AaveReserveOverviewResponse$inboundSchema = objectType({
|
|
36584
36704
|
tvl: numberType(),
|
|
@@ -36609,7 +36729,7 @@ var init_aavereserveoverviewresponse = __esm(() => {
|
|
|
36609
36729
|
// src/models/components/aavestdrateresponse.ts
|
|
36610
36730
|
var AaveSTDRateResponse$inboundSchema, AaveSTDRateResponse$outboundSchema, AaveSTDRateResponse$;
|
|
36611
36731
|
var init_aavestdrateresponse = __esm(() => {
|
|
36612
|
-
|
|
36732
|
+
init_zod();
|
|
36613
36733
|
init_primitives();
|
|
36614
36734
|
AaveSTDRateResponse$inboundSchema = objectType({
|
|
36615
36735
|
supply_apy_variable_rate: numberType(),
|
|
@@ -36654,7 +36774,7 @@ var init_aavestdrateresponse = __esm(() => {
|
|
|
36654
36774
|
// src/models/components/aavesupplyparams.ts
|
|
36655
36775
|
var AaveSupplyParamsAmount$inboundSchema, AaveSupplyParamsAmount$outboundSchema, AaveSupplyParamsAmount$, AaveSupplyParams$inboundSchema, AaveSupplyParams$outboundSchema, AaveSupplyParams$;
|
|
36656
36776
|
var init_aavesupplyparams = __esm(() => {
|
|
36657
|
-
|
|
36777
|
+
init_zod();
|
|
36658
36778
|
init_primitives();
|
|
36659
36779
|
init_tokenenum();
|
|
36660
36780
|
AaveSupplyParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36694,7 +36814,7 @@ var init_aavesupplyparams = __esm(() => {
|
|
|
36694
36814
|
// src/models/components/aavesupplyrequest.ts
|
|
36695
36815
|
var AaveSupplyRequestAmount$inboundSchema, AaveSupplyRequestAmount$outboundSchema, AaveSupplyRequestAmount$, AaveSupplyRequest$inboundSchema, AaveSupplyRequest$outboundSchema, AaveSupplyRequest$;
|
|
36696
36816
|
var init_aavesupplyrequest = __esm(() => {
|
|
36697
|
-
|
|
36817
|
+
init_zod();
|
|
36698
36818
|
init_primitives();
|
|
36699
36819
|
init_chain();
|
|
36700
36820
|
init_tokenenum();
|
|
@@ -36739,7 +36859,7 @@ var init_aavesupplyrequest = __esm(() => {
|
|
|
36739
36859
|
// src/models/components/aavetokenpriceresponse.ts
|
|
36740
36860
|
var AaveTokenPriceResponse$inboundSchema, AaveTokenPriceResponse$outboundSchema, AaveTokenPriceResponse$;
|
|
36741
36861
|
var init_aavetokenpriceresponse = __esm(() => {
|
|
36742
|
-
|
|
36862
|
+
init_zod();
|
|
36743
36863
|
AaveTokenPriceResponse$inboundSchema = objectType({
|
|
36744
36864
|
price: stringType()
|
|
36745
36865
|
});
|
|
@@ -36755,7 +36875,7 @@ var init_aavetokenpriceresponse = __esm(() => {
|
|
|
36755
36875
|
// src/models/components/aaveuserpositionpertokenresponse.ts
|
|
36756
36876
|
var AaveUserPositionPerTokenResponse$inboundSchema, AaveUserPositionPerTokenResponse$outboundSchema, AaveUserPositionPerTokenResponse$;
|
|
36757
36877
|
var init_aaveuserpositionpertokenresponse = __esm(() => {
|
|
36758
|
-
|
|
36878
|
+
init_zod();
|
|
36759
36879
|
init_primitives();
|
|
36760
36880
|
AaveUserPositionPerTokenResponse$inboundSchema = objectType({
|
|
36761
36881
|
token_balance: stringType(),
|
|
@@ -36812,7 +36932,7 @@ var init_aaveuserpositionpertokenresponse = __esm(() => {
|
|
|
36812
36932
|
// src/models/components/aaveuserpositionsummaryresponse.ts
|
|
36813
36933
|
var AaveUserPositionSummaryResponse$inboundSchema, AaveUserPositionSummaryResponse$outboundSchema, AaveUserPositionSummaryResponse$;
|
|
36814
36934
|
var init_aaveuserpositionsummaryresponse = __esm(() => {
|
|
36815
|
-
|
|
36935
|
+
init_zod();
|
|
36816
36936
|
init_primitives();
|
|
36817
36937
|
AaveUserPositionSummaryResponse$inboundSchema = objectType({
|
|
36818
36938
|
maximum_loan_to_value_ratio: stringType(),
|
|
@@ -36857,7 +36977,7 @@ var init_aaveuserpositionsummaryresponse = __esm(() => {
|
|
|
36857
36977
|
// src/models/components/aavewithdrawparams.ts
|
|
36858
36978
|
var AaveWithdrawParamsAmount$inboundSchema, AaveWithdrawParamsAmount$outboundSchema, AaveWithdrawParamsAmount$, AaveWithdrawParams$inboundSchema, AaveWithdrawParams$outboundSchema, AaveWithdrawParams$;
|
|
36859
36979
|
var init_aavewithdrawparams = __esm(() => {
|
|
36860
|
-
|
|
36980
|
+
init_zod();
|
|
36861
36981
|
init_primitives();
|
|
36862
36982
|
init_tokenenum();
|
|
36863
36983
|
AaveWithdrawParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -36895,7 +37015,7 @@ var init_aavewithdrawparams = __esm(() => {
|
|
|
36895
37015
|
// src/models/components/aavewithdrawrequest.ts
|
|
36896
37016
|
var AaveWithdrawRequestAmount$inboundSchema, AaveWithdrawRequestAmount$outboundSchema, AaveWithdrawRequestAmount$, AaveWithdrawRequest$inboundSchema, AaveWithdrawRequest$outboundSchema, AaveWithdrawRequest$;
|
|
36897
37017
|
var init_aavewithdrawrequest = __esm(() => {
|
|
36898
|
-
|
|
37018
|
+
init_zod();
|
|
36899
37019
|
init_primitives();
|
|
36900
37020
|
init_chain();
|
|
36901
37021
|
init_tokenenum();
|
|
@@ -36938,7 +37058,7 @@ var init_aavewithdrawrequest = __esm(() => {
|
|
|
36938
37058
|
// src/models/components/aerodromeposition.ts
|
|
36939
37059
|
var AerodromePosition$inboundSchema, AerodromePosition$outboundSchema, AerodromePosition$;
|
|
36940
37060
|
var init_aerodromeposition = __esm(() => {
|
|
36941
|
-
|
|
37061
|
+
init_zod();
|
|
36942
37062
|
init_primitives();
|
|
36943
37063
|
init_tokenenum();
|
|
36944
37064
|
AerodromePosition$inboundSchema = objectType({
|
|
@@ -37002,7 +37122,7 @@ var init_aerodromeposition = __esm(() => {
|
|
|
37002
37122
|
// src/models/components/aerodromelppositionsresponse.ts
|
|
37003
37123
|
var AerodromeLPPositionsResponse$inboundSchema, AerodromeLPPositionsResponse$outboundSchema, AerodromeLPPositionsResponse$;
|
|
37004
37124
|
var init_aerodromelppositionsresponse = __esm(() => {
|
|
37005
|
-
|
|
37125
|
+
init_zod();
|
|
37006
37126
|
init_aerodromeposition();
|
|
37007
37127
|
AerodromeLPPositionsResponse$inboundSchema = objectType({
|
|
37008
37128
|
positions: recordType(AerodromePosition$inboundSchema)
|
|
@@ -37019,7 +37139,7 @@ var init_aerodromelppositionsresponse = __esm(() => {
|
|
|
37019
37139
|
// src/models/components/aerodromeslipstreambuyexactlyparams.ts
|
|
37020
37140
|
var AerodromeSlipstreamBuyExactlyParamsAmountOut$inboundSchema, AerodromeSlipstreamBuyExactlyParamsAmountOut$outboundSchema, AerodromeSlipstreamBuyExactlyParamsAmountOut$, AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$inboundSchema, AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$outboundSchema, AerodromeSlipstreamBuyExactlyParamsAmountInMaximum$, AerodromeSlipstreamBuyExactlyParams$inboundSchema, AerodromeSlipstreamBuyExactlyParams$outboundSchema, AerodromeSlipstreamBuyExactlyParams$;
|
|
37021
37141
|
var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
|
|
37022
|
-
|
|
37142
|
+
init_zod();
|
|
37023
37143
|
init_primitives();
|
|
37024
37144
|
init_tokenenum();
|
|
37025
37145
|
AerodromeSlipstreamBuyExactlyParamsAmountOut$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37077,7 +37197,7 @@ var init_aerodromeslipstreambuyexactlyparams = __esm(() => {
|
|
|
37077
37197
|
// src/models/components/aerodromeslipstreambuyexactlyrequest.ts
|
|
37078
37198
|
var AerodromeSlipstreamBuyExactlyRequestAmountOut$inboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountOut$outboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountOut$, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$inboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$outboundSchema, AerodromeSlipstreamBuyExactlyRequestAmountInMaximum$, AerodromeSlipstreamBuyExactlyRequest$inboundSchema, AerodromeSlipstreamBuyExactlyRequest$outboundSchema, AerodromeSlipstreamBuyExactlyRequest$;
|
|
37079
37199
|
var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
37080
|
-
|
|
37200
|
+
init_zod();
|
|
37081
37201
|
init_primitives();
|
|
37082
37202
|
init_chain();
|
|
37083
37203
|
init_tokenenum();
|
|
@@ -37140,7 +37260,7 @@ var init_aerodromeslipstreambuyexactlyrequest = __esm(() => {
|
|
|
37140
37260
|
// src/models/components/aerodromeslipstreamincreaseliquidityprovisionparams.ts
|
|
37141
37261
|
var AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Min$, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount1Min$, AerodromeSlipstreamIncreaseLiquidityProvisionParams$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParams$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionParams$;
|
|
37142
37262
|
var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
|
|
37143
|
-
|
|
37263
|
+
init_zod();
|
|
37144
37264
|
init_primitives();
|
|
37145
37265
|
AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
37146
37266
|
AerodromeSlipstreamIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37209,7 +37329,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionparams = __esm(() => {
|
|
|
37209
37329
|
// src/models/components/aerodromeslipstreamincreaseliquidityprovisionrequest.ts
|
|
37210
37330
|
var AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Desired$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Min$, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount1Min$, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamIncreaseLiquidityProvisionRequest$;
|
|
37211
37331
|
var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
37212
|
-
|
|
37332
|
+
init_zod();
|
|
37213
37333
|
init_primitives();
|
|
37214
37334
|
init_chain();
|
|
37215
37335
|
AerodromeSlipstreamIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37283,7 +37403,7 @@ var init_aerodromeslipstreamincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
37283
37403
|
// src/models/components/aerodromeslipstreammintliquidityprovisionparams.ts
|
|
37284
37404
|
var AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$, AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Desired$, AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Min$, AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionParamsAmount1Min$, AerodromeSlipstreamMintLiquidityProvisionParams$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionParams$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionParams$;
|
|
37285
37405
|
var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
37286
|
-
|
|
37406
|
+
init_zod();
|
|
37287
37407
|
init_primitives();
|
|
37288
37408
|
init_tokenenum();
|
|
37289
37409
|
AerodromeSlipstreamMintLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37367,7 +37487,7 @@ var init_aerodromeslipstreammintliquidityprovisionparams = __esm(() => {
|
|
|
37367
37487
|
// src/models/components/aerodromeslipstreammintliquidityprovisionrequest.ts
|
|
37368
37488
|
var AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Desired$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Desired$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount0Min$, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequestAmount1Min$, AerodromeSlipstreamMintLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamMintLiquidityProvisionRequest$;
|
|
37369
37489
|
var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
37370
|
-
|
|
37490
|
+
init_zod();
|
|
37371
37491
|
init_primitives();
|
|
37372
37492
|
init_chain();
|
|
37373
37493
|
init_tokenenum();
|
|
@@ -37456,7 +37576,7 @@ var init_aerodromeslipstreammintliquidityprovisionrequest = __esm(() => {
|
|
|
37456
37576
|
// src/models/components/aerodromeslipstreampoolpriceresponse.ts
|
|
37457
37577
|
var AerodromeSlipstreamPoolPriceResponse$inboundSchema, AerodromeSlipstreamPoolPriceResponse$outboundSchema, AerodromeSlipstreamPoolPriceResponse$;
|
|
37458
37578
|
var init_aerodromeslipstreampoolpriceresponse = __esm(() => {
|
|
37459
|
-
|
|
37579
|
+
init_zod();
|
|
37460
37580
|
init_primitives();
|
|
37461
37581
|
init_tokenenum();
|
|
37462
37582
|
AerodromeSlipstreamPoolPriceResponse$inboundSchema = objectType({
|
|
@@ -37490,7 +37610,7 @@ var init_aerodromeslipstreampoolpriceresponse = __esm(() => {
|
|
|
37490
37610
|
// src/models/components/aerodromeslipstreamsellexactlyparams.ts
|
|
37491
37611
|
var AerodromeSlipstreamSellExactlyParamsAmountIn$inboundSchema, AerodromeSlipstreamSellExactlyParamsAmountIn$outboundSchema, AerodromeSlipstreamSellExactlyParamsAmountIn$, AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$inboundSchema, AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$outboundSchema, AerodromeSlipstreamSellExactlyParamsAmountOutMinimum$, AerodromeSlipstreamSellExactlyParams$inboundSchema, AerodromeSlipstreamSellExactlyParams$outboundSchema, AerodromeSlipstreamSellExactlyParams$;
|
|
37492
37612
|
var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
|
|
37493
|
-
|
|
37613
|
+
init_zod();
|
|
37494
37614
|
init_primitives();
|
|
37495
37615
|
init_tokenenum();
|
|
37496
37616
|
AerodromeSlipstreamSellExactlyParamsAmountIn$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37548,7 +37668,7 @@ var init_aerodromeslipstreamsellexactlyparams = __esm(() => {
|
|
|
37548
37668
|
// src/models/components/aerodromeslipstreamsellexactlyrequest.ts
|
|
37549
37669
|
var AerodromeSlipstreamSellExactlyRequestAmountIn$inboundSchema, AerodromeSlipstreamSellExactlyRequestAmountIn$outboundSchema, AerodromeSlipstreamSellExactlyRequestAmountIn$, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$inboundSchema, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$outboundSchema, AerodromeSlipstreamSellExactlyRequestAmountOutMinimum$, AerodromeSlipstreamSellExactlyRequest$inboundSchema, AerodromeSlipstreamSellExactlyRequest$outboundSchema, AerodromeSlipstreamSellExactlyRequest$;
|
|
37550
37670
|
var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
37551
|
-
|
|
37671
|
+
init_zod();
|
|
37552
37672
|
init_primitives();
|
|
37553
37673
|
init_chain();
|
|
37554
37674
|
init_tokenenum();
|
|
@@ -37611,7 +37731,7 @@ var init_aerodromeslipstreamsellexactlyrequest = __esm(() => {
|
|
|
37611
37731
|
// src/models/components/aerodromeslipstreamwithdrawliquidityprovisionparams.ts
|
|
37612
37732
|
var AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$, AerodromeSlipstreamWithdrawLiquidityProvisionParams$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionParams$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionParams$;
|
|
37613
37733
|
var init_aerodromeslipstreamwithdrawliquidityprovisionparams = __esm(() => {
|
|
37614
|
-
|
|
37734
|
+
init_zod();
|
|
37615
37735
|
init_primitives();
|
|
37616
37736
|
AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
37617
37737
|
AerodromeSlipstreamWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37650,7 +37770,7 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionparams = __esm(() => {
|
|
|
37650
37770
|
// src/models/components/aerodromeslipstreamwithdrawliquidityprovisionrequest.ts
|
|
37651
37771
|
var AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$inboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$outboundSchema, AerodromeSlipstreamWithdrawLiquidityProvisionRequest$;
|
|
37652
37772
|
var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
37653
|
-
|
|
37773
|
+
init_zod();
|
|
37654
37774
|
init_primitives();
|
|
37655
37775
|
init_chain();
|
|
37656
37776
|
AerodromeSlipstreamWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37694,7 +37814,7 @@ var init_aerodromeslipstreamwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
37694
37814
|
// src/models/components/allowanceinforesponse.ts
|
|
37695
37815
|
var AllowanceInfoResponse$inboundSchema, AllowanceInfoResponse$outboundSchema, AllowanceInfoResponse$;
|
|
37696
37816
|
var init_allowanceinforesponse = __esm(() => {
|
|
37697
|
-
|
|
37817
|
+
init_zod();
|
|
37698
37818
|
init_primitives();
|
|
37699
37819
|
AllowanceInfoResponse$inboundSchema = objectType({
|
|
37700
37820
|
amount: stringType(),
|
|
@@ -37731,7 +37851,7 @@ var init_allowanceinforesponse = __esm(() => {
|
|
|
37731
37851
|
// src/models/components/apy.ts
|
|
37732
37852
|
var Apy$inboundSchema, Apy$outboundSchema, Apy$;
|
|
37733
37853
|
var init_apy = __esm(() => {
|
|
37734
|
-
|
|
37854
|
+
init_zod();
|
|
37735
37855
|
init_primitives();
|
|
37736
37856
|
Apy$inboundSchema = objectType({
|
|
37737
37857
|
current: stringType(),
|
|
@@ -37766,7 +37886,7 @@ var init_apy = __esm(() => {
|
|
|
37766
37886
|
// src/models/components/morphoborrowparams.ts
|
|
37767
37887
|
var MorphoBorrowParamsAmount$inboundSchema, MorphoBorrowParamsAmount$outboundSchema, MorphoBorrowParamsAmount$, MorphoBorrowParams$inboundSchema, MorphoBorrowParams$outboundSchema, MorphoBorrowParams$;
|
|
37768
37888
|
var init_morphoborrowparams = __esm(() => {
|
|
37769
|
-
|
|
37889
|
+
init_zod();
|
|
37770
37890
|
init_primitives();
|
|
37771
37891
|
MorphoBorrowParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37772
37892
|
MorphoBorrowParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37809,7 +37929,7 @@ var init_morphoborrowparams = __esm(() => {
|
|
|
37809
37929
|
// src/models/components/morphodepositparams.ts
|
|
37810
37930
|
var MorphoDepositParamsAmount$inboundSchema, MorphoDepositParamsAmount$outboundSchema, MorphoDepositParamsAmount$, MorphoDepositParams$inboundSchema, MorphoDepositParams$outboundSchema, MorphoDepositParams$;
|
|
37811
37931
|
var init_morphodepositparams = __esm(() => {
|
|
37812
|
-
|
|
37932
|
+
init_zod();
|
|
37813
37933
|
init_primitives();
|
|
37814
37934
|
MorphoDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37815
37935
|
MorphoDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37848,7 +37968,7 @@ var init_morphodepositparams = __esm(() => {
|
|
|
37848
37968
|
// src/models/components/morphorepayparams.ts
|
|
37849
37969
|
var MorphoRepayParams$inboundSchema, MorphoRepayParams$outboundSchema, MorphoRepayParams$;
|
|
37850
37970
|
var init_morphorepayparams = __esm(() => {
|
|
37851
|
-
|
|
37971
|
+
init_zod();
|
|
37852
37972
|
init_base64();
|
|
37853
37973
|
init_primitives();
|
|
37854
37974
|
MorphoRepayParams$inboundSchema = objectType({
|
|
@@ -37888,7 +38008,7 @@ var init_morphorepayparams = __esm(() => {
|
|
|
37888
38008
|
// src/models/components/morphosupplycollateralparams.ts
|
|
37889
38009
|
var MorphoSupplyCollateralParamsAmount$inboundSchema, MorphoSupplyCollateralParamsAmount$outboundSchema, MorphoSupplyCollateralParamsAmount$, MorphoSupplyCollateralParams$inboundSchema, MorphoSupplyCollateralParams$outboundSchema, MorphoSupplyCollateralParams$;
|
|
37890
38010
|
var init_morphosupplycollateralparams = __esm(() => {
|
|
37891
|
-
|
|
38011
|
+
init_zod();
|
|
37892
38012
|
init_base64();
|
|
37893
38013
|
init_primitives();
|
|
37894
38014
|
MorphoSupplyCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37934,7 +38054,7 @@ var init_morphosupplycollateralparams = __esm(() => {
|
|
|
37934
38054
|
// src/models/components/morphowithdrawcollateralparams.ts
|
|
37935
38055
|
var MorphoWithdrawCollateralParamsAmount$inboundSchema, MorphoWithdrawCollateralParamsAmount$outboundSchema, MorphoWithdrawCollateralParamsAmount$, MorphoWithdrawCollateralParams$inboundSchema, MorphoWithdrawCollateralParams$outboundSchema, MorphoWithdrawCollateralParams$;
|
|
37936
38056
|
var init_morphowithdrawcollateralparams = __esm(() => {
|
|
37937
|
-
|
|
38057
|
+
init_zod();
|
|
37938
38058
|
init_primitives();
|
|
37939
38059
|
MorphoWithdrawCollateralParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
37940
38060
|
MorphoWithdrawCollateralParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -37977,7 +38097,7 @@ var init_morphowithdrawcollateralparams = __esm(() => {
|
|
|
37977
38097
|
// src/models/components/morphowithdrawparams.ts
|
|
37978
38098
|
var MorphoWithdrawParams$inboundSchema, MorphoWithdrawParams$outboundSchema, MorphoWithdrawParams$;
|
|
37979
38099
|
var init_morphowithdrawparams = __esm(() => {
|
|
37980
|
-
|
|
38100
|
+
init_zod();
|
|
37981
38101
|
init_primitives();
|
|
37982
38102
|
MorphoWithdrawParams$inboundSchema = objectType({
|
|
37983
38103
|
action_type: literalType("MORPHO_WITHDRAW").default("MORPHO_WITHDRAW"),
|
|
@@ -38010,7 +38130,7 @@ var init_morphowithdrawparams = __esm(() => {
|
|
|
38010
38130
|
// src/models/components/pendleaddliquidityparams.ts
|
|
38011
38131
|
var PendleAddLiquidityParamsAmount$inboundSchema, PendleAddLiquidityParamsAmount$outboundSchema, PendleAddLiquidityParamsAmount$, PendleAddLiquidityParams$inboundSchema, PendleAddLiquidityParams$outboundSchema, PendleAddLiquidityParams$;
|
|
38012
38132
|
var init_pendleaddliquidityparams = __esm(() => {
|
|
38013
|
-
|
|
38133
|
+
init_zod();
|
|
38014
38134
|
init_primitives();
|
|
38015
38135
|
PendleAddLiquidityParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38016
38136
|
PendleAddLiquidityParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38051,7 +38171,7 @@ var init_pendleaddliquidityparams = __esm(() => {
|
|
|
38051
38171
|
// src/models/components/pendlebuyptparams.ts
|
|
38052
38172
|
var PendleBuyPtParamsAmount$inboundSchema, PendleBuyPtParamsAmount$outboundSchema, PendleBuyPtParamsAmount$, PendleBuyPtParams$inboundSchema, PendleBuyPtParams$outboundSchema, PendleBuyPtParams$;
|
|
38053
38173
|
var init_pendlebuyptparams = __esm(() => {
|
|
38054
|
-
|
|
38174
|
+
init_zod();
|
|
38055
38175
|
init_primitives();
|
|
38056
38176
|
PendleBuyPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38057
38177
|
PendleBuyPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38092,7 +38212,7 @@ var init_pendlebuyptparams = __esm(() => {
|
|
|
38092
38212
|
// src/models/components/pendlebuyytparams.ts
|
|
38093
38213
|
var PendleBuyYtParamsAmount$inboundSchema, PendleBuyYtParamsAmount$outboundSchema, PendleBuyYtParamsAmount$, PendleBuyYtParams$inboundSchema, PendleBuyYtParams$outboundSchema, PendleBuyYtParams$;
|
|
38094
38214
|
var init_pendlebuyytparams = __esm(() => {
|
|
38095
|
-
|
|
38215
|
+
init_zod();
|
|
38096
38216
|
init_primitives();
|
|
38097
38217
|
PendleBuyYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38098
38218
|
PendleBuyYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38133,7 +38253,7 @@ var init_pendlebuyytparams = __esm(() => {
|
|
|
38133
38253
|
// src/models/components/pendleredeemyieldparams.ts
|
|
38134
38254
|
var PendleRedeemYieldParams$inboundSchema, PendleRedeemYieldParams$outboundSchema, PendleRedeemYieldParams$;
|
|
38135
38255
|
var init_pendleredeemyieldparams = __esm(() => {
|
|
38136
|
-
|
|
38256
|
+
init_zod();
|
|
38137
38257
|
init_primitives();
|
|
38138
38258
|
PendleRedeemYieldParams$inboundSchema = objectType({
|
|
38139
38259
|
action_type: literalType("PENDLE_REDEEM_YIELD").default("PENDLE_REDEEM_YIELD"),
|
|
@@ -38162,7 +38282,7 @@ var init_pendleredeemyieldparams = __esm(() => {
|
|
|
38162
38282
|
// src/models/components/pendleremoveliquidityparams.ts
|
|
38163
38283
|
var PendleRemoveLiquidityParamsAmount$inboundSchema, PendleRemoveLiquidityParamsAmount$outboundSchema, PendleRemoveLiquidityParamsAmount$, PendleRemoveLiquidityParams$inboundSchema, PendleRemoveLiquidityParams$outboundSchema, PendleRemoveLiquidityParams$;
|
|
38164
38284
|
var init_pendleremoveliquidityparams = __esm(() => {
|
|
38165
|
-
|
|
38285
|
+
init_zod();
|
|
38166
38286
|
init_primitives();
|
|
38167
38287
|
PendleRemoveLiquidityParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38168
38288
|
PendleRemoveLiquidityParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38203,7 +38323,7 @@ var init_pendleremoveliquidityparams = __esm(() => {
|
|
|
38203
38323
|
// src/models/components/pendlesellptparams.ts
|
|
38204
38324
|
var PendleSellPtParamsAmount$inboundSchema, PendleSellPtParamsAmount$outboundSchema, PendleSellPtParamsAmount$, PendleSellPtParams$inboundSchema, PendleSellPtParams$outboundSchema, PendleSellPtParams$;
|
|
38205
38325
|
var init_pendlesellptparams = __esm(() => {
|
|
38206
|
-
|
|
38326
|
+
init_zod();
|
|
38207
38327
|
init_primitives();
|
|
38208
38328
|
PendleSellPtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38209
38329
|
PendleSellPtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38244,7 +38364,7 @@ var init_pendlesellptparams = __esm(() => {
|
|
|
38244
38364
|
// src/models/components/pendlesellytparams.ts
|
|
38245
38365
|
var PendleSellYtParamsAmount$inboundSchema, PendleSellYtParamsAmount$outboundSchema, PendleSellYtParamsAmount$, PendleSellYtParams$inboundSchema, PendleSellYtParams$outboundSchema, PendleSellYtParams$;
|
|
38246
38366
|
var init_pendlesellytparams = __esm(() => {
|
|
38247
|
-
|
|
38367
|
+
init_zod();
|
|
38248
38368
|
init_primitives();
|
|
38249
38369
|
PendleSellYtParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38250
38370
|
PendleSellYtParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38285,7 +38405,7 @@ var init_pendlesellytparams = __esm(() => {
|
|
|
38285
38405
|
// src/models/components/setallowanceparams.ts
|
|
38286
38406
|
var SetAllowanceParamsContractEnum, SetAllowanceParamsToken$inboundSchema, SetAllowanceParamsToken$outboundSchema, SetAllowanceParamsToken$, SetAllowanceParamsContractEnum$inboundSchema, SetAllowanceParamsContractEnum$outboundSchema, SetAllowanceParamsContractEnum$, SetAllowanceParamsContractUnion$inboundSchema, SetAllowanceParamsContractUnion$outboundSchema, SetAllowanceParamsContractUnion$, SetAllowanceParamsAmount$inboundSchema, SetAllowanceParamsAmount$outboundSchema, SetAllowanceParamsAmount$, SetAllowanceParams$inboundSchema, SetAllowanceParams$outboundSchema, SetAllowanceParams$;
|
|
38287
38407
|
var init_setallowanceparams = __esm(() => {
|
|
38288
|
-
|
|
38408
|
+
init_zod();
|
|
38289
38409
|
init_primitives();
|
|
38290
38410
|
init_tokenenum();
|
|
38291
38411
|
SetAllowanceParamsContractEnum = {
|
|
@@ -38357,7 +38477,7 @@ var init_setallowanceparams = __esm(() => {
|
|
|
38357
38477
|
// src/models/components/skybuyparams.ts
|
|
38358
38478
|
var SkyBuyParamsTokenIn, SkyBuyParamsTokenIn$inboundSchema, SkyBuyParamsTokenIn$outboundSchema, SkyBuyParamsTokenIn$, SkyBuyParamsAmount$inboundSchema, SkyBuyParamsAmount$outboundSchema, SkyBuyParamsAmount$, SkyBuyParams$inboundSchema, SkyBuyParams$outboundSchema, SkyBuyParams$;
|
|
38359
38479
|
var init_skybuyparams = __esm(() => {
|
|
38360
|
-
|
|
38480
|
+
init_zod();
|
|
38361
38481
|
init_primitives();
|
|
38362
38482
|
SkyBuyParamsTokenIn = {
|
|
38363
38483
|
Dai: "DAI",
|
|
@@ -38404,7 +38524,7 @@ var init_skybuyparams = __esm(() => {
|
|
|
38404
38524
|
// src/models/components/skydepositparams.ts
|
|
38405
38525
|
var SkyDepositParamsAmount$inboundSchema, SkyDepositParamsAmount$outboundSchema, SkyDepositParamsAmount$, SkyDepositParams$inboundSchema, SkyDepositParams$outboundSchema, SkyDepositParams$;
|
|
38406
38526
|
var init_skydepositparams = __esm(() => {
|
|
38407
|
-
|
|
38527
|
+
init_zod();
|
|
38408
38528
|
init_primitives();
|
|
38409
38529
|
SkyDepositParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38410
38530
|
SkyDepositParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38439,7 +38559,7 @@ var init_skydepositparams = __esm(() => {
|
|
|
38439
38559
|
// src/models/components/skysellparams.ts
|
|
38440
38560
|
var SkySellParamsTokenOut, SkySellParamsTokenOut$inboundSchema, SkySellParamsTokenOut$outboundSchema, SkySellParamsTokenOut$, SkySellParamsAmount$inboundSchema, SkySellParamsAmount$outboundSchema, SkySellParamsAmount$, SkySellParams$inboundSchema, SkySellParams$outboundSchema, SkySellParams$;
|
|
38441
38561
|
var init_skysellparams = __esm(() => {
|
|
38442
|
-
|
|
38562
|
+
init_zod();
|
|
38443
38563
|
init_primitives();
|
|
38444
38564
|
SkySellParamsTokenOut = {
|
|
38445
38565
|
Dai: "DAI",
|
|
@@ -38486,7 +38606,7 @@ var init_skysellparams = __esm(() => {
|
|
|
38486
38606
|
// src/models/components/skywithdrawparams.ts
|
|
38487
38607
|
var SkyWithdrawParams$inboundSchema, SkyWithdrawParams$outboundSchema, SkyWithdrawParams$;
|
|
38488
38608
|
var init_skywithdrawparams = __esm(() => {
|
|
38489
|
-
|
|
38609
|
+
init_zod();
|
|
38490
38610
|
init_primitives();
|
|
38491
38611
|
SkyWithdrawParams$inboundSchema = objectType({
|
|
38492
38612
|
action_type: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
|
|
@@ -38515,7 +38635,7 @@ var init_skywithdrawparams = __esm(() => {
|
|
|
38515
38635
|
// src/models/components/tokentransfererc20params.ts
|
|
38516
38636
|
var TokenTransferErc20ParamsAmount$inboundSchema, TokenTransferErc20ParamsAmount$outboundSchema, TokenTransferErc20ParamsAmount$, TokenTransferErc20Params$inboundSchema, TokenTransferErc20Params$outboundSchema, TokenTransferErc20Params$;
|
|
38517
38637
|
var init_tokentransfererc20params = __esm(() => {
|
|
38518
|
-
|
|
38638
|
+
init_zod();
|
|
38519
38639
|
init_primitives();
|
|
38520
38640
|
init_tokenenum();
|
|
38521
38641
|
TokenTransferErc20ParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38553,7 +38673,7 @@ var init_tokentransfererc20params = __esm(() => {
|
|
|
38553
38673
|
// src/models/components/tokentransferrequest.ts
|
|
38554
38674
|
var TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$, TokenTransferRequestToken$inboundSchema, TokenTransferRequestToken$outboundSchema, TokenTransferRequestToken$, TokenTransferRequest$inboundSchema, TokenTransferRequest$outboundSchema, TokenTransferRequest$;
|
|
38555
38675
|
var init_tokentransferrequest = __esm(() => {
|
|
38556
|
-
|
|
38676
|
+
init_zod();
|
|
38557
38677
|
init_primitives();
|
|
38558
38678
|
init_chain();
|
|
38559
38679
|
init_tokenenum();
|
|
@@ -38602,7 +38722,7 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
38602
38722
|
// src/models/components/feeenum.ts
|
|
38603
38723
|
var FeeEnum, FeeEnum$inboundSchema, FeeEnum$outboundSchema, FeeEnum$;
|
|
38604
38724
|
var init_feeenum = __esm(() => {
|
|
38605
|
-
|
|
38725
|
+
init_zod();
|
|
38606
38726
|
FeeEnum = {
|
|
38607
38727
|
ZeroDot01: "0.01",
|
|
38608
38728
|
ZeroDot05: "0.05",
|
|
@@ -38620,7 +38740,7 @@ var init_feeenum = __esm(() => {
|
|
|
38620
38740
|
// src/models/components/uniswapbuyexactlyparams.ts
|
|
38621
38741
|
var UniswapBuyExactlyParamsAmount$inboundSchema, UniswapBuyExactlyParamsAmount$outboundSchema, UniswapBuyExactlyParamsAmount$, UniswapBuyExactlyParams$inboundSchema, UniswapBuyExactlyParams$outboundSchema, UniswapBuyExactlyParams$;
|
|
38622
38742
|
var init_uniswapbuyexactlyparams = __esm(() => {
|
|
38623
|
-
|
|
38743
|
+
init_zod();
|
|
38624
38744
|
init_primitives();
|
|
38625
38745
|
init_feeenum();
|
|
38626
38746
|
init_tokenenum();
|
|
@@ -38673,7 +38793,7 @@ var init_uniswapbuyexactlyparams = __esm(() => {
|
|
|
38673
38793
|
// src/models/components/uniswapincreaseliquidityprovisionparams.ts
|
|
38674
38794
|
var UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Desired$, UniswapIncreaseLiquidityProvisionParamsAmount1Desired$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Desired$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Desired$, UniswapIncreaseLiquidityProvisionParamsAmount0Min$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Min$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount0Min$, UniswapIncreaseLiquidityProvisionParamsAmount1Min$inboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Min$outboundSchema, UniswapIncreaseLiquidityProvisionParamsAmount1Min$, UniswapIncreaseLiquidityProvisionParams$inboundSchema, UniswapIncreaseLiquidityProvisionParams$outboundSchema, UniswapIncreaseLiquidityProvisionParams$;
|
|
38675
38795
|
var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
38676
|
-
|
|
38796
|
+
init_zod();
|
|
38677
38797
|
init_primitives();
|
|
38678
38798
|
UniswapIncreaseLiquidityProvisionParamsAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
38679
38799
|
UniswapIncreaseLiquidityProvisionParamsAmount0Desired$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38742,7 +38862,7 @@ var init_uniswapincreaseliquidityprovisionparams = __esm(() => {
|
|
|
38742
38862
|
// src/models/components/uniswapmintliquidityprovisionparams.ts
|
|
38743
38863
|
var UniswapMintLiquidityProvisionParamsAmount0Desired$inboundSchema, UniswapMintLiquidityProvisionParamsAmount0Desired$outboundSchema, UniswapMintLiquidityProvisionParamsAmount0Desired$, UniswapMintLiquidityProvisionParamsAmount1Desired$inboundSchema, UniswapMintLiquidityProvisionParamsAmount1Desired$outboundSchema, UniswapMintLiquidityProvisionParamsAmount1Desired$, UniswapMintLiquidityProvisionParamsAmount0Min$inboundSchema, UniswapMintLiquidityProvisionParamsAmount0Min$outboundSchema, UniswapMintLiquidityProvisionParamsAmount0Min$, UniswapMintLiquidityProvisionParamsAmount1Min$inboundSchema, UniswapMintLiquidityProvisionParamsAmount1Min$outboundSchema, UniswapMintLiquidityProvisionParamsAmount1Min$, UniswapMintLiquidityProvisionParams$inboundSchema, UniswapMintLiquidityProvisionParams$outboundSchema, UniswapMintLiquidityProvisionParams$;
|
|
38744
38864
|
var init_uniswapmintliquidityprovisionparams = __esm(() => {
|
|
38745
|
-
|
|
38865
|
+
init_zod();
|
|
38746
38866
|
init_primitives();
|
|
38747
38867
|
init_feeenum();
|
|
38748
38868
|
init_tokenenum();
|
|
@@ -38825,7 +38945,7 @@ var init_uniswapmintliquidityprovisionparams = __esm(() => {
|
|
|
38825
38945
|
// src/models/components/uniswapsellexactlyparams.ts
|
|
38826
38946
|
var UniswapSellExactlyParamsAmount$inboundSchema, UniswapSellExactlyParamsAmount$outboundSchema, UniswapSellExactlyParamsAmount$, UniswapSellExactlyParams$inboundSchema, UniswapSellExactlyParams$outboundSchema, UniswapSellExactlyParams$;
|
|
38827
38947
|
var init_uniswapsellexactlyparams = __esm(() => {
|
|
38828
|
-
|
|
38948
|
+
init_zod();
|
|
38829
38949
|
init_primitives();
|
|
38830
38950
|
init_feeenum();
|
|
38831
38951
|
init_tokenenum();
|
|
@@ -38878,7 +38998,7 @@ var init_uniswapsellexactlyparams = __esm(() => {
|
|
|
38878
38998
|
// src/models/components/uniswapwithdrawliquidityprovisionparams.ts
|
|
38879
38999
|
var UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema, UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema, UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$, UniswapWithdrawLiquidityProvisionParams$inboundSchema, UniswapWithdrawLiquidityProvisionParams$outboundSchema, UniswapWithdrawLiquidityProvisionParams$;
|
|
38880
39000
|
var init_uniswapwithdrawliquidityprovisionparams = __esm(() => {
|
|
38881
|
-
|
|
39001
|
+
init_zod();
|
|
38882
39002
|
init_primitives();
|
|
38883
39003
|
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
38884
39004
|
UniswapWithdrawLiquidityProvisionParamsPercentageForWithdrawal$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38917,7 +39037,7 @@ var init_uniswapwithdrawliquidityprovisionparams = __esm(() => {
|
|
|
38917
39037
|
// src/models/components/unwrapwethparams.ts
|
|
38918
39038
|
var UnwrapWethParamsAmount$inboundSchema, UnwrapWethParamsAmount$outboundSchema, UnwrapWethParamsAmount$, UnwrapWethParams$inboundSchema, UnwrapWethParams$outboundSchema, UnwrapWethParams$;
|
|
38919
39039
|
var init_unwrapwethparams = __esm(() => {
|
|
38920
|
-
|
|
39040
|
+
init_zod();
|
|
38921
39041
|
init_primitives();
|
|
38922
39042
|
UnwrapWethParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38923
39043
|
UnwrapWethParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38950,7 +39070,7 @@ var init_unwrapwethparams = __esm(() => {
|
|
|
38950
39070
|
// src/models/components/wrapethparams.ts
|
|
38951
39071
|
var WrapEthParamsAmount$inboundSchema, WrapEthParamsAmount$outboundSchema, WrapEthParamsAmount$, WrapEthParams$inboundSchema, WrapEthParams$outboundSchema, WrapEthParams$;
|
|
38952
39072
|
var init_wrapethparams = __esm(() => {
|
|
38953
|
-
|
|
39073
|
+
init_zod();
|
|
38954
39074
|
init_primitives();
|
|
38955
39075
|
WrapEthParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38956
39076
|
WrapEthParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -38983,7 +39103,7 @@ var init_wrapethparams = __esm(() => {
|
|
|
38983
39103
|
// src/models/components/useroperation.ts
|
|
38984
39104
|
var Body$inboundSchema, Body$outboundSchema, Body$, UserOperation$inboundSchema, UserOperation$outboundSchema, UserOperation$;
|
|
38985
39105
|
var init_useroperation = __esm(() => {
|
|
38986
|
-
|
|
39106
|
+
init_zod();
|
|
38987
39107
|
init_aaveborrowparams();
|
|
38988
39108
|
init_aaverepayparams();
|
|
38989
39109
|
init_aavesupplyparams();
|
|
@@ -39377,7 +39497,7 @@ var init_useroperation = __esm(() => {
|
|
|
39377
39497
|
// src/models/components/batcheduseroperationsrequest.ts
|
|
39378
39498
|
var BatchedUserOperationsRequest$inboundSchema, BatchedUserOperationsRequest$outboundSchema, BatchedUserOperationsRequest$;
|
|
39379
39499
|
var init_batcheduseroperationsrequest = __esm(() => {
|
|
39380
|
-
|
|
39500
|
+
init_zod();
|
|
39381
39501
|
init_chain();
|
|
39382
39502
|
init_useroperation();
|
|
39383
39503
|
BatchedUserOperationsRequest$inboundSchema = objectType({
|
|
@@ -39399,7 +39519,7 @@ var init_batcheduseroperationsrequest = __esm(() => {
|
|
|
39399
39519
|
// src/models/components/useroperationresponse.ts
|
|
39400
39520
|
var UserOperationResponse$inboundSchema, UserOperationResponse$outboundSchema, UserOperationResponse$;
|
|
39401
39521
|
var init_useroperationresponse = __esm(() => {
|
|
39402
|
-
|
|
39522
|
+
init_zod();
|
|
39403
39523
|
UserOperationResponse$inboundSchema = objectType({
|
|
39404
39524
|
to: stringType(),
|
|
39405
39525
|
data: stringType(),
|
|
@@ -39419,7 +39539,7 @@ var init_useroperationresponse = __esm(() => {
|
|
|
39419
39539
|
// src/models/components/batcheduseroperationsresponse.ts
|
|
39420
39540
|
var BatchedUserOperationsResponse$inboundSchema, BatchedUserOperationsResponse$outboundSchema, BatchedUserOperationsResponse$;
|
|
39421
39541
|
var init_batcheduseroperationsresponse = __esm(() => {
|
|
39422
|
-
|
|
39542
|
+
init_zod();
|
|
39423
39543
|
init_useroperationresponse();
|
|
39424
39544
|
BatchedUserOperationsResponse$inboundSchema = objectType({
|
|
39425
39545
|
operations: arrayType(UserOperationResponse$inboundSchema)
|
|
@@ -39436,7 +39556,7 @@ var init_batcheduseroperationsresponse = __esm(() => {
|
|
|
39436
39556
|
// src/models/components/chaininfo.ts
|
|
39437
39557
|
var ChainInfo$inboundSchema, ChainInfo$outboundSchema, ChainInfo$;
|
|
39438
39558
|
var init_chaininfo = __esm(() => {
|
|
39439
|
-
|
|
39559
|
+
init_zod();
|
|
39440
39560
|
ChainInfo$inboundSchema = objectType({
|
|
39441
39561
|
id: numberType().int(),
|
|
39442
39562
|
network: nullableType(stringType()).optional()
|
|
@@ -39454,7 +39574,7 @@ var init_chaininfo = __esm(() => {
|
|
|
39454
39574
|
// src/models/components/compassapibackendmodelsgenericreadresponseportfoliotokenbalance.ts
|
|
39455
39575
|
var CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema, CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$outboundSchema, CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$;
|
|
39456
39576
|
var init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance = __esm(() => {
|
|
39457
|
-
|
|
39577
|
+
init_zod();
|
|
39458
39578
|
init_primitives();
|
|
39459
39579
|
init_tokenenum();
|
|
39460
39580
|
CompassApiBackendModelsGenericReadResponsePortfolioTokenBalance$inboundSchema = objectType({
|
|
@@ -39494,7 +39614,7 @@ var init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance = __esm
|
|
|
39494
39614
|
// src/models/components/compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata.ts
|
|
39495
39615
|
var CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$inboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$outboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$;
|
|
39496
39616
|
var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata = __esm(() => {
|
|
39497
|
-
|
|
39617
|
+
init_zod();
|
|
39498
39618
|
CompassApiBackendModelsMorphoReadResponseCheckUserPositionApyData$inboundSchema = objectType({
|
|
39499
39619
|
apy: stringType(),
|
|
39500
39620
|
netApy: stringType()
|
|
@@ -39512,7 +39632,7 @@ var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata = __e
|
|
|
39512
39632
|
// src/models/components/compassapibackendmodelsmorphoreadresponsecheckuserpositionasset.ts
|
|
39513
39633
|
var CompassApiBackendModelsMorphoReadResponseCheckUserPositionAsset$inboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionAsset$outboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionAsset$;
|
|
39514
39634
|
var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionasset = __esm(() => {
|
|
39515
|
-
|
|
39635
|
+
init_zod();
|
|
39516
39636
|
CompassApiBackendModelsMorphoReadResponseCheckUserPositionAsset$inboundSchema = objectType({
|
|
39517
39637
|
name: stringType(),
|
|
39518
39638
|
symbol: stringType(),
|
|
@@ -39538,7 +39658,7 @@ var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionasset = __esm
|
|
|
39538
39658
|
// src/models/components/compassapibackendmodelsmorphoreadresponsecheckuserpositionmarketstate.ts
|
|
39539
39659
|
var CompassApiBackendModelsMorphoReadResponseCheckUserPositionMarketState$inboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionMarketState$outboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionMarketState$;
|
|
39540
39660
|
var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionmarketstate = __esm(() => {
|
|
39541
|
-
|
|
39661
|
+
init_zod();
|
|
39542
39662
|
CompassApiBackendModelsMorphoReadResponseCheckUserPositionMarketState$inboundSchema = objectType({
|
|
39543
39663
|
pnlUsd: stringType(),
|
|
39544
39664
|
borrowAssets: stringType(),
|
|
@@ -39570,7 +39690,7 @@ var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionmarketstate =
|
|
|
39570
39690
|
// src/models/components/compassapibackendmodelsmorphoreadresponsecheckuserpositionvaultstate.ts
|
|
39571
39691
|
var CompassApiBackendModelsMorphoReadResponseCheckUserPositionVaultState$inboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionVaultState$outboundSchema, CompassApiBackendModelsMorphoReadResponseCheckUserPositionVaultState$;
|
|
39572
39692
|
var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionvaultstate = __esm(() => {
|
|
39573
|
-
|
|
39693
|
+
init_zod();
|
|
39574
39694
|
CompassApiBackendModelsMorphoReadResponseCheckUserPositionVaultState$inboundSchema = objectType({
|
|
39575
39695
|
pnlUsd: stringType(),
|
|
39576
39696
|
assets: stringType(),
|
|
@@ -39592,7 +39712,7 @@ var init_compassapibackendmodelsmorphoreadresponsecheckuserpositionvaultstate =
|
|
|
39592
39712
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetmarketapydata.ts
|
|
39593
39713
|
var CompassApiBackendModelsMorphoReadResponseGetMarketApyData$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketApyData$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketApyData$;
|
|
39594
39714
|
var init_compassapibackendmodelsmorphoreadresponsegetmarketapydata = __esm(() => {
|
|
39595
|
-
|
|
39715
|
+
init_zod();
|
|
39596
39716
|
CompassApiBackendModelsMorphoReadResponseGetMarketApyData$inboundSchema = objectType({
|
|
39597
39717
|
borrowApy: stringType(),
|
|
39598
39718
|
netBorrowApy: stringType(),
|
|
@@ -39614,7 +39734,7 @@ var init_compassapibackendmodelsmorphoreadresponsegetmarketapydata = __esm(() =>
|
|
|
39614
39734
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetmarketasset.ts
|
|
39615
39735
|
var CompassApiBackendModelsMorphoReadResponseGetMarketAsset$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketAsset$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketAsset$;
|
|
39616
39736
|
var init_compassapibackendmodelsmorphoreadresponsegetmarketasset = __esm(() => {
|
|
39617
|
-
|
|
39737
|
+
init_zod();
|
|
39618
39738
|
CompassApiBackendModelsMorphoReadResponseGetMarketAsset$inboundSchema = objectType({
|
|
39619
39739
|
address: stringType(),
|
|
39620
39740
|
symbol: stringType(),
|
|
@@ -39640,7 +39760,7 @@ var init_compassapibackendmodelsmorphoreadresponsegetmarketasset = __esm(() => {
|
|
|
39640
39760
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetmarketmarketstate.ts
|
|
39641
39761
|
var CompassApiBackendModelsMorphoReadResponseGetMarketMarketState$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketMarketState$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketMarketState$;
|
|
39642
39762
|
var init_compassapibackendmodelsmorphoreadresponsegetmarketmarketstate = __esm(() => {
|
|
39643
|
-
|
|
39763
|
+
init_zod();
|
|
39644
39764
|
CompassApiBackendModelsMorphoReadResponseGetMarketMarketState$inboundSchema = objectType({
|
|
39645
39765
|
utilization: stringType(),
|
|
39646
39766
|
collateralAssets: nullableType(stringType()).optional(),
|
|
@@ -39672,7 +39792,7 @@ var init_compassapibackendmodelsmorphoreadresponsegetmarketmarketstate = __esm((
|
|
|
39672
39792
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetmarketsasset.ts
|
|
39673
39793
|
var CompassApiBackendModelsMorphoReadResponseGetMarketsAsset$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketsAsset$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketsAsset$;
|
|
39674
39794
|
var init_compassapibackendmodelsmorphoreadresponsegetmarketsasset = __esm(() => {
|
|
39675
|
-
|
|
39795
|
+
init_zod();
|
|
39676
39796
|
CompassApiBackendModelsMorphoReadResponseGetMarketsAsset$inboundSchema = objectType({
|
|
39677
39797
|
address: stringType(),
|
|
39678
39798
|
symbol: stringType(),
|
|
@@ -39694,7 +39814,7 @@ var init_compassapibackendmodelsmorphoreadresponsegetmarketsasset = __esm(() =>
|
|
|
39694
39814
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetmarketsmarketstate.ts
|
|
39695
39815
|
var CompassApiBackendModelsMorphoReadResponseGetMarketsMarketState$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketsMarketState$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetMarketsMarketState$;
|
|
39696
39816
|
var init_compassapibackendmodelsmorphoreadresponsegetmarketsmarketstate = __esm(() => {
|
|
39697
|
-
|
|
39817
|
+
init_zod();
|
|
39698
39818
|
CompassApiBackendModelsMorphoReadResponseGetMarketsMarketState$inboundSchema = objectType({
|
|
39699
39819
|
borrowApy: numberType(),
|
|
39700
39820
|
borrowAssets: numberType().int(),
|
|
@@ -39721,36 +39841,10 @@ var init_compassapibackendmodelsmorphoreadresponsegetmarketsmarketstate = __esm(
|
|
|
39721
39841
|
})(CompassApiBackendModelsMorphoReadResponseGetMarketsMarketState$ ||= {});
|
|
39722
39842
|
});
|
|
39723
39843
|
|
|
39724
|
-
// src/models/components/compassapibackendmodelsmorphoreadresponsegetvaultasset.ts
|
|
39725
|
-
var CompassApiBackendModelsMorphoReadResponseGetVaultAsset$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultAsset$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultAsset$;
|
|
39726
|
-
var init_compassapibackendmodelsmorphoreadresponsegetvaultasset = __esm(() => {
|
|
39727
|
-
init_esm();
|
|
39728
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultAsset$inboundSchema = objectType({
|
|
39729
|
-
address: stringType(),
|
|
39730
|
-
symbol: stringType(),
|
|
39731
|
-
name: stringType(),
|
|
39732
|
-
decimals: numberType().int(),
|
|
39733
|
-
priceUsd: stringType(),
|
|
39734
|
-
logoURI: nullableType(stringType())
|
|
39735
|
-
});
|
|
39736
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultAsset$outboundSchema = objectType({
|
|
39737
|
-
address: stringType(),
|
|
39738
|
-
symbol: stringType(),
|
|
39739
|
-
name: stringType(),
|
|
39740
|
-
decimals: numberType().int(),
|
|
39741
|
-
priceUsd: stringType(),
|
|
39742
|
-
logoURI: nullableType(stringType())
|
|
39743
|
-
});
|
|
39744
|
-
((CompassApiBackendModelsMorphoReadResponseGetVaultAsset$) => {
|
|
39745
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultAsset$.inboundSchema = CompassApiBackendModelsMorphoReadResponseGetVaultAsset$inboundSchema;
|
|
39746
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultAsset$.outboundSchema = CompassApiBackendModelsMorphoReadResponseGetVaultAsset$outboundSchema;
|
|
39747
|
-
})(CompassApiBackendModelsMorphoReadResponseGetVaultAsset$ ||= {});
|
|
39748
|
-
});
|
|
39749
|
-
|
|
39750
39844
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetvaultsasset.ts
|
|
39751
39845
|
var CompassApiBackendModelsMorphoReadResponseGetVaultsAsset$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultsAsset$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultsAsset$;
|
|
39752
39846
|
var init_compassapibackendmodelsmorphoreadresponsegetvaultsasset = __esm(() => {
|
|
39753
|
-
|
|
39847
|
+
init_zod();
|
|
39754
39848
|
init_chaininfo();
|
|
39755
39849
|
CompassApiBackendModelsMorphoReadResponseGetVaultsAsset$inboundSchema = objectType({
|
|
39756
39850
|
symbol: stringType(),
|
|
@@ -39773,7 +39867,7 @@ var init_compassapibackendmodelsmorphoreadresponsegetvaultsasset = __esm(() => {
|
|
|
39773
39867
|
// src/models/components/compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate.ts
|
|
39774
39868
|
var CompassApiBackendModelsMorphoReadResponseGetVaultsVaultState$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultsVaultState$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultsVaultState$;
|
|
39775
39869
|
var init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate = __esm(() => {
|
|
39776
|
-
|
|
39870
|
+
init_zod();
|
|
39777
39871
|
CompassApiBackendModelsMorphoReadResponseGetVaultsVaultState$inboundSchema = objectType({
|
|
39778
39872
|
id: stringType(),
|
|
39779
39873
|
apy: numberType(),
|
|
@@ -39798,52 +39892,10 @@ var init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate = __esm(()
|
|
|
39798
39892
|
})(CompassApiBackendModelsMorphoReadResponseGetVaultsVaultState$ ||= {});
|
|
39799
39893
|
});
|
|
39800
39894
|
|
|
39801
|
-
// src/models/components/compassapibackendmodelsmorphoreadresponsegetvaultvaultstate.ts
|
|
39802
|
-
var CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$inboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$outboundSchema, CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$;
|
|
39803
|
-
var init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate = __esm(() => {
|
|
39804
|
-
init_esm();
|
|
39805
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$inboundSchema = objectType({
|
|
39806
|
-
apy: stringType(),
|
|
39807
|
-
netApy: stringType(),
|
|
39808
|
-
dailyApy: stringType(),
|
|
39809
|
-
dailyNetApy: stringType(),
|
|
39810
|
-
weeklyApy: stringType(),
|
|
39811
|
-
weeklyNetApy: stringType(),
|
|
39812
|
-
monthlyApy: stringType(),
|
|
39813
|
-
monthlyNetApy: stringType(),
|
|
39814
|
-
yearlyApy: stringType(),
|
|
39815
|
-
yearlyNetApy: stringType(),
|
|
39816
|
-
allTimeApy: stringType(),
|
|
39817
|
-
allTimeNetApy: stringType(),
|
|
39818
|
-
totalAssets: stringType(),
|
|
39819
|
-
totalAssetsUsd: stringType()
|
|
39820
|
-
});
|
|
39821
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$outboundSchema = objectType({
|
|
39822
|
-
apy: stringType(),
|
|
39823
|
-
netApy: stringType(),
|
|
39824
|
-
dailyApy: stringType(),
|
|
39825
|
-
dailyNetApy: stringType(),
|
|
39826
|
-
weeklyApy: stringType(),
|
|
39827
|
-
weeklyNetApy: stringType(),
|
|
39828
|
-
monthlyApy: stringType(),
|
|
39829
|
-
monthlyNetApy: stringType(),
|
|
39830
|
-
yearlyApy: stringType(),
|
|
39831
|
-
yearlyNetApy: stringType(),
|
|
39832
|
-
allTimeApy: stringType(),
|
|
39833
|
-
allTimeNetApy: stringType(),
|
|
39834
|
-
totalAssets: stringType(),
|
|
39835
|
-
totalAssetsUsd: stringType()
|
|
39836
|
-
});
|
|
39837
|
-
((CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$) => {
|
|
39838
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$.inboundSchema = CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$inboundSchema;
|
|
39839
|
-
CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$.outboundSchema = CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$outboundSchema;
|
|
39840
|
-
})(CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$ ||= {});
|
|
39841
|
-
});
|
|
39842
|
-
|
|
39843
39895
|
// src/models/components/compassapibackendmodelspendlereadresponsepositionstokenbalance.ts
|
|
39844
39896
|
var CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema, CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$outboundSchema, CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$;
|
|
39845
39897
|
var init_compassapibackendmodelspendlereadresponsepositionstokenbalance = __esm(() => {
|
|
39846
|
-
|
|
39898
|
+
init_zod();
|
|
39847
39899
|
CompassApiBackendModelsPendleReadResponsePositionsTokenBalance$inboundSchema = objectType({
|
|
39848
39900
|
valuation: numberType(),
|
|
39849
39901
|
balance: stringType()
|
|
@@ -39861,7 +39913,7 @@ var init_compassapibackendmodelspendlereadresponsepositionstokenbalance = __esm(
|
|
|
39861
39913
|
// src/models/components/compassapibackendmodelsvaultsreadresponsevaultasset.ts
|
|
39862
39914
|
var CompassApiBackendModelsVaultsReadResponseVaultAsset$inboundSchema, CompassApiBackendModelsVaultsReadResponseVaultAsset$outboundSchema, CompassApiBackendModelsVaultsReadResponseVaultAsset$;
|
|
39863
39915
|
var init_compassapibackendmodelsvaultsreadresponsevaultasset = __esm(() => {
|
|
39864
|
-
|
|
39916
|
+
init_zod();
|
|
39865
39917
|
CompassApiBackendModelsVaultsReadResponseVaultAsset$inboundSchema = objectType({
|
|
39866
39918
|
address: stringType(),
|
|
39867
39919
|
name: stringType(),
|
|
@@ -39880,32 +39932,10 @@ var init_compassapibackendmodelsvaultsreadresponsevaultasset = __esm(() => {
|
|
|
39880
39932
|
})(CompassApiBackendModelsVaultsReadResponseVaultAsset$ ||= {});
|
|
39881
39933
|
});
|
|
39882
39934
|
|
|
39883
|
-
// src/models/components/curator.ts
|
|
39884
|
-
var Curator$inboundSchema, Curator$outboundSchema, Curator$;
|
|
39885
|
-
var init_curator = __esm(() => {
|
|
39886
|
-
init_esm();
|
|
39887
|
-
Curator$inboundSchema = objectType({
|
|
39888
|
-
name: stringType(),
|
|
39889
|
-
verified: booleanType(),
|
|
39890
|
-
url: nullableType(stringType()),
|
|
39891
|
-
image: nullableType(stringType())
|
|
39892
|
-
});
|
|
39893
|
-
Curator$outboundSchema = objectType({
|
|
39894
|
-
name: stringType(),
|
|
39895
|
-
verified: booleanType(),
|
|
39896
|
-
url: nullableType(stringType()),
|
|
39897
|
-
image: nullableType(stringType())
|
|
39898
|
-
});
|
|
39899
|
-
((Curator$) => {
|
|
39900
|
-
Curator$.inboundSchema = Curator$inboundSchema;
|
|
39901
|
-
Curator$.outboundSchema = Curator$outboundSchema;
|
|
39902
|
-
})(Curator$ ||= {});
|
|
39903
|
-
});
|
|
39904
|
-
|
|
39905
39935
|
// src/models/components/movement10percent.ts
|
|
39906
39936
|
var Movement10Percent$inboundSchema, Movement10Percent$outboundSchema, Movement10Percent$;
|
|
39907
39937
|
var init_movement10percent = __esm(() => {
|
|
39908
|
-
|
|
39938
|
+
init_zod();
|
|
39909
39939
|
Movement10Percent$inboundSchema = objectType({
|
|
39910
39940
|
ptMovementUpUsd: numberType(),
|
|
39911
39941
|
ptMovementDownUsd: numberType(),
|
|
@@ -39927,7 +39957,7 @@ var init_movement10percent = __esm(() => {
|
|
|
39927
39957
|
// src/models/components/yieldrange.ts
|
|
39928
39958
|
var YieldRange$inboundSchema, YieldRange$outboundSchema, YieldRange$;
|
|
39929
39959
|
var init_yieldrange = __esm(() => {
|
|
39930
|
-
|
|
39960
|
+
init_zod();
|
|
39931
39961
|
YieldRange$inboundSchema = objectType({
|
|
39932
39962
|
min: numberType(),
|
|
39933
39963
|
max: numberType()
|
|
@@ -39945,7 +39975,7 @@ var init_yieldrange = __esm(() => {
|
|
|
39945
39975
|
// src/models/components/details.ts
|
|
39946
39976
|
var Details$inboundSchema, Details$outboundSchema, Details$;
|
|
39947
39977
|
var init_details = __esm(() => {
|
|
39948
|
-
|
|
39978
|
+
init_zod();
|
|
39949
39979
|
init_movement10percent();
|
|
39950
39980
|
init_yieldrange();
|
|
39951
39981
|
Details$inboundSchema = objectType({
|
|
@@ -39977,7 +40007,7 @@ var init_details = __esm(() => {
|
|
|
39977
40007
|
// src/models/components/ensnameinforesponse.ts
|
|
39978
40008
|
var EnsNameInfoResponse$inboundSchema, EnsNameInfoResponse$outboundSchema, EnsNameInfoResponse$;
|
|
39979
40009
|
var init_ensnameinforesponse = __esm(() => {
|
|
39980
|
-
|
|
40010
|
+
init_zod();
|
|
39981
40011
|
init_primitives();
|
|
39982
40012
|
EnsNameInfoResponse$inboundSchema = objectType({
|
|
39983
40013
|
wallet_address: stringType(),
|
|
@@ -40004,7 +40034,7 @@ var init_ensnameinforesponse = __esm(() => {
|
|
|
40004
40034
|
// src/models/components/erc20data.ts
|
|
40005
40035
|
var Erc20Data$inboundSchema, Erc20Data$outboundSchema, Erc20Data$;
|
|
40006
40036
|
var init_erc20data = __esm(() => {
|
|
40007
|
-
|
|
40037
|
+
init_zod();
|
|
40008
40038
|
Erc20Data$inboundSchema = objectType({
|
|
40009
40039
|
address: stringType(),
|
|
40010
40040
|
symbol: stringType(),
|
|
@@ -40026,7 +40056,7 @@ var init_erc20data = __esm(() => {
|
|
|
40026
40056
|
// src/models/components/image.ts
|
|
40027
40057
|
var Image$inboundSchema, Image$outboundSchema, Image$;
|
|
40028
40058
|
var init_image = __esm(() => {
|
|
40029
|
-
|
|
40059
|
+
init_zod();
|
|
40030
40060
|
Image$inboundSchema = objectType({
|
|
40031
40061
|
image: stringType()
|
|
40032
40062
|
});
|
|
@@ -40039,28 +40069,10 @@ var init_image = __esm(() => {
|
|
|
40039
40069
|
})(Image$ ||= {});
|
|
40040
40070
|
});
|
|
40041
40071
|
|
|
40042
|
-
// src/models/components/liquidity.ts
|
|
40043
|
-
var Liquidity$inboundSchema, Liquidity$outboundSchema, Liquidity$;
|
|
40044
|
-
var init_liquidity = __esm(() => {
|
|
40045
|
-
init_esm();
|
|
40046
|
-
Liquidity$inboundSchema = objectType({
|
|
40047
|
-
underlying: stringType(),
|
|
40048
|
-
usd: stringType()
|
|
40049
|
-
});
|
|
40050
|
-
Liquidity$outboundSchema = objectType({
|
|
40051
|
-
underlying: stringType(),
|
|
40052
|
-
usd: stringType()
|
|
40053
|
-
});
|
|
40054
|
-
((Liquidity$) => {
|
|
40055
|
-
Liquidity$.inboundSchema = Liquidity$inboundSchema;
|
|
40056
|
-
Liquidity$.outboundSchema = Liquidity$outboundSchema;
|
|
40057
|
-
})(Liquidity$ ||= {});
|
|
40058
|
-
});
|
|
40059
|
-
|
|
40060
40072
|
// src/models/components/lpbalance.ts
|
|
40061
40073
|
var LpBalance$inboundSchema, LpBalance$outboundSchema, LpBalance$;
|
|
40062
40074
|
var init_lpbalance = __esm(() => {
|
|
40063
|
-
|
|
40075
|
+
init_zod();
|
|
40064
40076
|
LpBalance$inboundSchema = objectType({
|
|
40065
40077
|
valuation: numberType(),
|
|
40066
40078
|
balance: stringType(),
|
|
@@ -40080,7 +40092,7 @@ var init_lpbalance = __esm(() => {
|
|
|
40080
40092
|
// src/models/components/market.ts
|
|
40081
40093
|
var Market$inboundSchema, Market$outboundSchema, Market$;
|
|
40082
40094
|
var init_market = __esm(() => {
|
|
40083
|
-
|
|
40095
|
+
init_zod();
|
|
40084
40096
|
Market$inboundSchema = objectType({
|
|
40085
40097
|
uniqueKey: stringType()
|
|
40086
40098
|
});
|
|
@@ -40096,7 +40108,7 @@ var init_market = __esm(() => {
|
|
|
40096
40108
|
// src/models/components/marketposition.ts
|
|
40097
40109
|
var MarketPosition$inboundSchema, MarketPosition$outboundSchema, MarketPosition$;
|
|
40098
40110
|
var init_marketposition = __esm(() => {
|
|
40099
|
-
|
|
40111
|
+
init_zod();
|
|
40100
40112
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionmarketstate();
|
|
40101
40113
|
init_market();
|
|
40102
40114
|
MarketPosition$inboundSchema = objectType({
|
|
@@ -40120,7 +40132,7 @@ var init_marketposition = __esm(() => {
|
|
|
40120
40132
|
// src/models/components/markettokens.ts
|
|
40121
40133
|
var MarketTokens$inboundSchema, MarketTokens$outboundSchema, MarketTokens$;
|
|
40122
40134
|
var init_markettokens = __esm(() => {
|
|
40123
|
-
|
|
40135
|
+
init_zod();
|
|
40124
40136
|
init_primitives();
|
|
40125
40137
|
init_erc20data();
|
|
40126
40138
|
MarketTokens$inboundSchema = objectType({
|
|
@@ -40153,29 +40165,10 @@ var init_markettokens = __esm(() => {
|
|
|
40153
40165
|
})(MarketTokens$ ||= {});
|
|
40154
40166
|
});
|
|
40155
40167
|
|
|
40156
|
-
// src/models/components/metadata.ts
|
|
40157
|
-
var Metadata$inboundSchema, Metadata$outboundSchema, Metadata$;
|
|
40158
|
-
var init_metadata = __esm(() => {
|
|
40159
|
-
init_esm();
|
|
40160
|
-
init_curator();
|
|
40161
|
-
Metadata$inboundSchema = objectType({
|
|
40162
|
-
forumLink: nullableType(stringType()),
|
|
40163
|
-
curators: arrayType(Curator$inboundSchema)
|
|
40164
|
-
});
|
|
40165
|
-
Metadata$outboundSchema = objectType({
|
|
40166
|
-
forumLink: nullableType(stringType()),
|
|
40167
|
-
curators: arrayType(Curator$outboundSchema)
|
|
40168
|
-
});
|
|
40169
|
-
((Metadata$) => {
|
|
40170
|
-
Metadata$.inboundSchema = Metadata$inboundSchema;
|
|
40171
|
-
Metadata$.outboundSchema = Metadata$outboundSchema;
|
|
40172
|
-
})(Metadata$ ||= {});
|
|
40173
|
-
});
|
|
40174
|
-
|
|
40175
40168
|
// src/models/components/morphoborrowrequest.ts
|
|
40176
40169
|
var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequestChain$inboundSchema, MorphoBorrowRequestChain$outboundSchema, MorphoBorrowRequestChain$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
|
|
40177
40170
|
var init_morphoborrowrequest = __esm(() => {
|
|
40178
|
-
|
|
40171
|
+
init_zod();
|
|
40179
40172
|
init_primitives();
|
|
40180
40173
|
MorphoBorrowRequestChain = {
|
|
40181
40174
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -40232,7 +40225,7 @@ var init_morphoborrowrequest = __esm(() => {
|
|
|
40232
40225
|
// src/models/components/morphocheckmarketpositionresponse.ts
|
|
40233
40226
|
var MorphoCheckMarketPositionResponse$inboundSchema, MorphoCheckMarketPositionResponse$outboundSchema, MorphoCheckMarketPositionResponse$;
|
|
40234
40227
|
var init_morphocheckmarketpositionresponse = __esm(() => {
|
|
40235
|
-
|
|
40228
|
+
init_zod();
|
|
40236
40229
|
init_primitives();
|
|
40237
40230
|
MorphoCheckMarketPositionResponse$inboundSchema = objectType({
|
|
40238
40231
|
borrow_shares: numberType().int(),
|
|
@@ -40273,7 +40266,7 @@ var init_morphocheckmarketpositionresponse = __esm(() => {
|
|
|
40273
40266
|
// src/models/components/userstate.ts
|
|
40274
40267
|
var UserState$inboundSchema, UserState$outboundSchema, UserState$;
|
|
40275
40268
|
var init_userstate = __esm(() => {
|
|
40276
|
-
|
|
40269
|
+
init_zod();
|
|
40277
40270
|
UserState$inboundSchema = objectType({
|
|
40278
40271
|
vaultsPnlUsd: stringType(),
|
|
40279
40272
|
vaultsAssetsUsd: stringType(),
|
|
@@ -40299,7 +40292,7 @@ var init_userstate = __esm(() => {
|
|
|
40299
40292
|
// src/models/components/vault.ts
|
|
40300
40293
|
var Vault$inboundSchema, Vault$outboundSchema, Vault$;
|
|
40301
40294
|
var init_vault = __esm(() => {
|
|
40302
|
-
|
|
40295
|
+
init_zod();
|
|
40303
40296
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionapydata();
|
|
40304
40297
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionasset();
|
|
40305
40298
|
Vault$inboundSchema = objectType({
|
|
@@ -40331,7 +40324,7 @@ var init_vault = __esm(() => {
|
|
|
40331
40324
|
// src/models/components/vaultposition.ts
|
|
40332
40325
|
var VaultPosition$inboundSchema, VaultPosition$outboundSchema, VaultPosition$;
|
|
40333
40326
|
var init_vaultposition = __esm(() => {
|
|
40334
|
-
|
|
40327
|
+
init_zod();
|
|
40335
40328
|
init_compassapibackendmodelsmorphoreadresponsecheckuserpositionvaultstate();
|
|
40336
40329
|
init_vault();
|
|
40337
40330
|
VaultPosition$inboundSchema = objectType({
|
|
@@ -40353,7 +40346,7 @@ var init_vaultposition = __esm(() => {
|
|
|
40353
40346
|
// src/models/components/morphocheckuserpositionresponse.ts
|
|
40354
40347
|
var MorphoCheckUserPositionResponse$inboundSchema, MorphoCheckUserPositionResponse$outboundSchema, MorphoCheckUserPositionResponse$;
|
|
40355
40348
|
var init_morphocheckuserpositionresponse = __esm(() => {
|
|
40356
|
-
|
|
40349
|
+
init_zod();
|
|
40357
40350
|
init_marketposition();
|
|
40358
40351
|
init_userstate();
|
|
40359
40352
|
init_vaultposition();
|
|
@@ -40373,37 +40366,10 @@ var init_morphocheckuserpositionresponse = __esm(() => {
|
|
|
40373
40366
|
})(MorphoCheckUserPositionResponse$ ||= {});
|
|
40374
40367
|
});
|
|
40375
40368
|
|
|
40376
|
-
// src/models/components/morphocheckvaultpositionresponse.ts
|
|
40377
|
-
var MorphoCheckVaultPositionResponse$inboundSchema, MorphoCheckVaultPositionResponse$outboundSchema, MorphoCheckVaultPositionResponse$;
|
|
40378
|
-
var init_morphocheckvaultpositionresponse = __esm(() => {
|
|
40379
|
-
init_esm();
|
|
40380
|
-
init_primitives();
|
|
40381
|
-
MorphoCheckVaultPositionResponse$inboundSchema = objectType({
|
|
40382
|
-
shares: numberType().int(),
|
|
40383
|
-
token_amount: stringType()
|
|
40384
|
-
}).transform((v2) => {
|
|
40385
|
-
return remap(v2, {
|
|
40386
|
-
token_amount: "tokenAmount"
|
|
40387
|
-
});
|
|
40388
|
-
});
|
|
40389
|
-
MorphoCheckVaultPositionResponse$outboundSchema = objectType({
|
|
40390
|
-
shares: numberType().int(),
|
|
40391
|
-
tokenAmount: stringType()
|
|
40392
|
-
}).transform((v2) => {
|
|
40393
|
-
return remap(v2, {
|
|
40394
|
-
tokenAmount: "token_amount"
|
|
40395
|
-
});
|
|
40396
|
-
});
|
|
40397
|
-
((MorphoCheckVaultPositionResponse$) => {
|
|
40398
|
-
MorphoCheckVaultPositionResponse$.inboundSchema = MorphoCheckVaultPositionResponse$inboundSchema;
|
|
40399
|
-
MorphoCheckVaultPositionResponse$.outboundSchema = MorphoCheckVaultPositionResponse$outboundSchema;
|
|
40400
|
-
})(MorphoCheckVaultPositionResponse$ ||= {});
|
|
40401
|
-
});
|
|
40402
|
-
|
|
40403
40369
|
// src/models/components/morphodepositrequest.ts
|
|
40404
40370
|
var MorphoDepositRequestChain, MorphoDepositRequestAmount$inboundSchema, MorphoDepositRequestAmount$outboundSchema, MorphoDepositRequestAmount$, MorphoDepositRequestChain$inboundSchema, MorphoDepositRequestChain$outboundSchema, MorphoDepositRequestChain$, MorphoDepositRequest$inboundSchema, MorphoDepositRequest$outboundSchema, MorphoDepositRequest$;
|
|
40405
40371
|
var init_morphodepositrequest = __esm(() => {
|
|
40406
|
-
|
|
40372
|
+
init_zod();
|
|
40407
40373
|
init_primitives();
|
|
40408
40374
|
MorphoDepositRequestChain = {
|
|
40409
40375
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -40456,7 +40422,7 @@ var init_morphodepositrequest = __esm(() => {
|
|
|
40456
40422
|
// src/models/components/morphogetmarketresponse.ts
|
|
40457
40423
|
var MorphoGetMarketResponse$inboundSchema, MorphoGetMarketResponse$outboundSchema, MorphoGetMarketResponse$;
|
|
40458
40424
|
var init_morphogetmarketresponse = __esm(() => {
|
|
40459
|
-
|
|
40425
|
+
init_zod();
|
|
40460
40426
|
init_compassapibackendmodelsmorphoreadresponsegetmarketapydata();
|
|
40461
40427
|
init_compassapibackendmodelsmorphoreadresponsegetmarketasset();
|
|
40462
40428
|
init_compassapibackendmodelsmorphoreadresponsegetmarketmarketstate();
|
|
@@ -40493,7 +40459,7 @@ var init_morphogetmarketresponse = __esm(() => {
|
|
|
40493
40459
|
// src/models/components/weeklyapys.ts
|
|
40494
40460
|
var WeeklyApys$inboundSchema, WeeklyApys$outboundSchema, WeeklyApys$;
|
|
40495
40461
|
var init_weeklyapys = __esm(() => {
|
|
40496
|
-
|
|
40462
|
+
init_zod();
|
|
40497
40463
|
WeeklyApys$inboundSchema = objectType({
|
|
40498
40464
|
supplyApy: numberType(),
|
|
40499
40465
|
netSupplyApy: numberType(),
|
|
@@ -40515,7 +40481,7 @@ var init_weeklyapys = __esm(() => {
|
|
|
40515
40481
|
// src/models/components/morphomarket.ts
|
|
40516
40482
|
var MorphoMarket$inboundSchema, MorphoMarket$outboundSchema, MorphoMarket$;
|
|
40517
40483
|
var init_morphomarket = __esm(() => {
|
|
40518
|
-
|
|
40484
|
+
init_zod();
|
|
40519
40485
|
init_compassapibackendmodelsmorphoreadresponsegetmarketsasset();
|
|
40520
40486
|
init_compassapibackendmodelsmorphoreadresponsegetmarketsmarketstate();
|
|
40521
40487
|
init_weeklyapys();
|
|
@@ -40548,7 +40514,7 @@ var init_morphomarket = __esm(() => {
|
|
|
40548
40514
|
// src/models/components/morphogetmarketsresponse.ts
|
|
40549
40515
|
var MorphoGetMarketsResponse$inboundSchema, MorphoGetMarketsResponse$outboundSchema, MorphoGetMarketsResponse$;
|
|
40550
40516
|
var init_morphogetmarketsresponse = __esm(() => {
|
|
40551
|
-
|
|
40517
|
+
init_zod();
|
|
40552
40518
|
init_morphomarket();
|
|
40553
40519
|
MorphoGetMarketsResponse$inboundSchema = objectType({
|
|
40554
40520
|
markets: arrayType(MorphoMarket$inboundSchema)
|
|
@@ -40562,42 +40528,10 @@ var init_morphogetmarketsresponse = __esm(() => {
|
|
|
40562
40528
|
})(MorphoGetMarketsResponse$ ||= {});
|
|
40563
40529
|
});
|
|
40564
40530
|
|
|
40565
|
-
// src/models/components/morphogetvaultresponse.ts
|
|
40566
|
-
var MorphoGetVaultResponse$inboundSchema, MorphoGetVaultResponse$outboundSchema, MorphoGetVaultResponse$;
|
|
40567
|
-
var init_morphogetvaultresponse = __esm(() => {
|
|
40568
|
-
init_esm();
|
|
40569
|
-
init_compassapibackendmodelsmorphoreadresponsegetvaultasset();
|
|
40570
|
-
init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate();
|
|
40571
|
-
init_liquidity();
|
|
40572
|
-
init_metadata();
|
|
40573
|
-
MorphoGetVaultResponse$inboundSchema = objectType({
|
|
40574
|
-
name: stringType(),
|
|
40575
|
-
symbol: stringType(),
|
|
40576
|
-
whitelisted: booleanType(),
|
|
40577
|
-
state: CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$inboundSchema,
|
|
40578
|
-
liquidity: Liquidity$inboundSchema,
|
|
40579
|
-
asset: CompassApiBackendModelsMorphoReadResponseGetVaultAsset$inboundSchema,
|
|
40580
|
-
metadata: nullableType(Metadata$inboundSchema).optional()
|
|
40581
|
-
});
|
|
40582
|
-
MorphoGetVaultResponse$outboundSchema = objectType({
|
|
40583
|
-
name: stringType(),
|
|
40584
|
-
symbol: stringType(),
|
|
40585
|
-
whitelisted: booleanType(),
|
|
40586
|
-
state: CompassApiBackendModelsMorphoReadResponseGetVaultVaultState$outboundSchema,
|
|
40587
|
-
liquidity: Liquidity$outboundSchema,
|
|
40588
|
-
asset: CompassApiBackendModelsMorphoReadResponseGetVaultAsset$outboundSchema,
|
|
40589
|
-
metadata: nullableType(Metadata$outboundSchema).optional()
|
|
40590
|
-
});
|
|
40591
|
-
((MorphoGetVaultResponse$) => {
|
|
40592
|
-
MorphoGetVaultResponse$.inboundSchema = MorphoGetVaultResponse$inboundSchema;
|
|
40593
|
-
MorphoGetVaultResponse$.outboundSchema = MorphoGetVaultResponse$outboundSchema;
|
|
40594
|
-
})(MorphoGetVaultResponse$ ||= {});
|
|
40595
|
-
});
|
|
40596
|
-
|
|
40597
40531
|
// src/models/components/morphovault.ts
|
|
40598
40532
|
var MorphoVault$inboundSchema, MorphoVault$outboundSchema, MorphoVault$;
|
|
40599
40533
|
var init_morphovault = __esm(() => {
|
|
40600
|
-
|
|
40534
|
+
init_zod();
|
|
40601
40535
|
init_chaininfo();
|
|
40602
40536
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsasset();
|
|
40603
40537
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate();
|
|
@@ -40634,7 +40568,7 @@ var init_morphovault = __esm(() => {
|
|
|
40634
40568
|
// src/models/components/morphogetvaultsresponse.ts
|
|
40635
40569
|
var MorphoGetVaultsResponse$inboundSchema, MorphoGetVaultsResponse$outboundSchema, MorphoGetVaultsResponse$;
|
|
40636
40570
|
var init_morphogetvaultsresponse = __esm(() => {
|
|
40637
|
-
|
|
40571
|
+
init_zod();
|
|
40638
40572
|
init_morphovault();
|
|
40639
40573
|
MorphoGetVaultsResponse$inboundSchema = objectType({
|
|
40640
40574
|
vaults: arrayType(MorphoVault$inboundSchema)
|
|
@@ -40651,7 +40585,7 @@ var init_morphogetvaultsresponse = __esm(() => {
|
|
|
40651
40585
|
// src/models/components/morphorepayrequest.ts
|
|
40652
40586
|
var MorphoRepayRequestChain, MorphoRepayRequestChain$inboundSchema, MorphoRepayRequestChain$outboundSchema, MorphoRepayRequestChain$, MorphoRepayRequest$inboundSchema, MorphoRepayRequest$outboundSchema, MorphoRepayRequest$;
|
|
40653
40587
|
var init_morphorepayrequest = __esm(() => {
|
|
40654
|
-
|
|
40588
|
+
init_zod();
|
|
40655
40589
|
init_base64();
|
|
40656
40590
|
init_primitives();
|
|
40657
40591
|
MorphoRepayRequestChain = {
|
|
@@ -40705,7 +40639,7 @@ var init_morphorepayrequest = __esm(() => {
|
|
|
40705
40639
|
// src/models/components/morphosupplycollateralrequest.ts
|
|
40706
40640
|
var MorphoSupplyCollateralRequestChain, MorphoSupplyCollateralRequestAmount$inboundSchema, MorphoSupplyCollateralRequestAmount$outboundSchema, MorphoSupplyCollateralRequestAmount$, MorphoSupplyCollateralRequestChain$inboundSchema, MorphoSupplyCollateralRequestChain$outboundSchema, MorphoSupplyCollateralRequestChain$, MorphoSupplyCollateralRequest$inboundSchema, MorphoSupplyCollateralRequest$outboundSchema, MorphoSupplyCollateralRequest$;
|
|
40707
40641
|
var init_morphosupplycollateralrequest = __esm(() => {
|
|
40708
|
-
|
|
40642
|
+
init_zod();
|
|
40709
40643
|
init_base64();
|
|
40710
40644
|
init_primitives();
|
|
40711
40645
|
MorphoSupplyCollateralRequestChain = {
|
|
@@ -40765,7 +40699,7 @@ var init_morphosupplycollateralrequest = __esm(() => {
|
|
|
40765
40699
|
// src/models/components/morphowithdrawcollateralrequest.ts
|
|
40766
40700
|
var MorphoWithdrawCollateralRequestChain, MorphoWithdrawCollateralRequestAmount$inboundSchema, MorphoWithdrawCollateralRequestAmount$outboundSchema, MorphoWithdrawCollateralRequestAmount$, MorphoWithdrawCollateralRequestChain$inboundSchema, MorphoWithdrawCollateralRequestChain$outboundSchema, MorphoWithdrawCollateralRequestChain$, MorphoWithdrawCollateralRequest$inboundSchema, MorphoWithdrawCollateralRequest$outboundSchema, MorphoWithdrawCollateralRequest$;
|
|
40767
40701
|
var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
40768
|
-
|
|
40702
|
+
init_zod();
|
|
40769
40703
|
init_primitives();
|
|
40770
40704
|
MorphoWithdrawCollateralRequestChain = {
|
|
40771
40705
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -40822,7 +40756,7 @@ var init_morphowithdrawcollateralrequest = __esm(() => {
|
|
|
40822
40756
|
// src/models/components/morphowithdrawrequest.ts
|
|
40823
40757
|
var MorphoWithdrawRequestChain, MorphoWithdrawRequestChain$inboundSchema, MorphoWithdrawRequestChain$outboundSchema, MorphoWithdrawRequestChain$, MorphoWithdrawRequest$inboundSchema, MorphoWithdrawRequest$outboundSchema, MorphoWithdrawRequest$;
|
|
40824
40758
|
var init_morphowithdrawrequest = __esm(() => {
|
|
40825
|
-
|
|
40759
|
+
init_zod();
|
|
40826
40760
|
init_primitives();
|
|
40827
40761
|
MorphoWithdrawRequestChain = {
|
|
40828
40762
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -40869,7 +40803,7 @@ var init_morphowithdrawrequest = __esm(() => {
|
|
|
40869
40803
|
// src/models/components/multicallauthorizationrequest.ts
|
|
40870
40804
|
var MulticallAuthorizationRequest$inboundSchema, MulticallAuthorizationRequest$outboundSchema, MulticallAuthorizationRequest$;
|
|
40871
40805
|
var init_multicallauthorizationrequest = __esm(() => {
|
|
40872
|
-
|
|
40806
|
+
init_zod();
|
|
40873
40807
|
init_chain();
|
|
40874
40808
|
MulticallAuthorizationRequest$inboundSchema = objectType({
|
|
40875
40809
|
chain: Chain$inboundSchema,
|
|
@@ -40888,7 +40822,7 @@ var init_multicallauthorizationrequest = __esm(() => {
|
|
|
40888
40822
|
// src/models/components/multicallauthorizationresponse.ts
|
|
40889
40823
|
var MulticallAuthorizationResponse$inboundSchema, MulticallAuthorizationResponse$outboundSchema, MulticallAuthorizationResponse$;
|
|
40890
40824
|
var init_multicallauthorizationresponse = __esm(() => {
|
|
40891
|
-
|
|
40825
|
+
init_zod();
|
|
40892
40826
|
MulticallAuthorizationResponse$inboundSchema = objectType({
|
|
40893
40827
|
nonce: numberType().int(),
|
|
40894
40828
|
address: stringType(),
|
|
@@ -40908,7 +40842,7 @@ var init_multicallauthorizationresponse = __esm(() => {
|
|
|
40908
40842
|
// src/models/components/multicallexecuterequest.ts
|
|
40909
40843
|
var MulticallExecuteRequest$inboundSchema, MulticallExecuteRequest$outboundSchema, MulticallExecuteRequest$;
|
|
40910
40844
|
var init_multicallexecuterequest = __esm(() => {
|
|
40911
|
-
|
|
40845
|
+
init_zod();
|
|
40912
40846
|
init_primitives();
|
|
40913
40847
|
init_chain();
|
|
40914
40848
|
init_signedauthorization();
|
|
@@ -40942,7 +40876,7 @@ var init_multicallexecuterequest = __esm(() => {
|
|
|
40942
40876
|
// src/models/components/openposition.ts
|
|
40943
40877
|
var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
|
|
40944
40878
|
var init_openposition = __esm(() => {
|
|
40945
|
-
|
|
40879
|
+
init_zod();
|
|
40946
40880
|
init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
|
|
40947
40881
|
init_lpbalance();
|
|
40948
40882
|
OpenPosition$inboundSchema = objectType({
|
|
@@ -40966,7 +40900,7 @@ var init_openposition = __esm(() => {
|
|
|
40966
40900
|
// src/models/components/pendleaddliquidityrequest.ts
|
|
40967
40901
|
var PendleAddLiquidityRequestAmount$inboundSchema, PendleAddLiquidityRequestAmount$outboundSchema, PendleAddLiquidityRequestAmount$, PendleAddLiquidityRequest$inboundSchema, PendleAddLiquidityRequest$outboundSchema, PendleAddLiquidityRequest$;
|
|
40968
40902
|
var init_pendleaddliquidityrequest = __esm(() => {
|
|
40969
|
-
|
|
40903
|
+
init_zod();
|
|
40970
40904
|
init_primitives();
|
|
40971
40905
|
init_chain();
|
|
40972
40906
|
PendleAddLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41012,7 +40946,7 @@ var init_pendleaddliquidityrequest = __esm(() => {
|
|
|
41012
40946
|
// src/models/components/pendlebuyptrequest.ts
|
|
41013
40947
|
var PendleBuyPtRequestAmount$inboundSchema, PendleBuyPtRequestAmount$outboundSchema, PendleBuyPtRequestAmount$, PendleBuyPtRequest$inboundSchema, PendleBuyPtRequest$outboundSchema, PendleBuyPtRequest$;
|
|
41014
40948
|
var init_pendlebuyptrequest = __esm(() => {
|
|
41015
|
-
|
|
40949
|
+
init_zod();
|
|
41016
40950
|
init_primitives();
|
|
41017
40951
|
init_chain();
|
|
41018
40952
|
PendleBuyPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41058,7 +40992,7 @@ var init_pendlebuyptrequest = __esm(() => {
|
|
|
41058
40992
|
// src/models/components/pendlebuyytrequest.ts
|
|
41059
40993
|
var PendleBuyYtRequestAmount$inboundSchema, PendleBuyYtRequestAmount$outboundSchema, PendleBuyYtRequestAmount$, PendleBuyYtRequest$inboundSchema, PendleBuyYtRequest$outboundSchema, PendleBuyYtRequest$;
|
|
41060
40994
|
var init_pendlebuyytrequest = __esm(() => {
|
|
41061
|
-
|
|
40995
|
+
init_zod();
|
|
41062
40996
|
init_primitives();
|
|
41063
40997
|
init_chain();
|
|
41064
40998
|
PendleBuyYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41104,7 +41038,7 @@ var init_pendlebuyytrequest = __esm(() => {
|
|
|
41104
41038
|
// src/models/components/pendlegetmarketresponse.ts
|
|
41105
41039
|
var PendleGetMarketResponse$inboundSchema, PendleGetMarketResponse$outboundSchema, PendleGetMarketResponse$;
|
|
41106
41040
|
var init_pendlegetmarketresponse = __esm(() => {
|
|
41107
|
-
|
|
41041
|
+
init_zod();
|
|
41108
41042
|
init_primitives();
|
|
41109
41043
|
init_markettokens();
|
|
41110
41044
|
PendleGetMarketResponse$inboundSchema = objectType({
|
|
@@ -41137,10 +41071,26 @@ var init_pendlegetmarketresponse = __esm(() => {
|
|
|
41137
41071
|
})(PendleGetMarketResponse$ ||= {});
|
|
41138
41072
|
});
|
|
41139
41073
|
|
|
41074
|
+
// src/models/components/pendlegetquoteresponse.ts
|
|
41075
|
+
var PendleGetQuoteResponse$inboundSchema, PendleGetQuoteResponse$outboundSchema, PendleGetQuoteResponse$;
|
|
41076
|
+
var init_pendlegetquoteresponse = __esm(() => {
|
|
41077
|
+
init_zod();
|
|
41078
|
+
PendleGetQuoteResponse$inboundSchema = objectType({
|
|
41079
|
+
quote: stringType()
|
|
41080
|
+
});
|
|
41081
|
+
PendleGetQuoteResponse$outboundSchema = objectType({
|
|
41082
|
+
quote: stringType()
|
|
41083
|
+
});
|
|
41084
|
+
((PendleGetQuoteResponse$) => {
|
|
41085
|
+
PendleGetQuoteResponse$.inboundSchema = PendleGetQuoteResponse$inboundSchema;
|
|
41086
|
+
PendleGetQuoteResponse$.outboundSchema = PendleGetQuoteResponse$outboundSchema;
|
|
41087
|
+
})(PendleGetQuoteResponse$ ||= {});
|
|
41088
|
+
});
|
|
41089
|
+
|
|
41140
41090
|
// src/models/components/pendlegetuserpositionresponse.ts
|
|
41141
41091
|
var PendleGetUserPositionResponse$inboundSchema, PendleGetUserPositionResponse$outboundSchema, PendleGetUserPositionResponse$;
|
|
41142
41092
|
var init_pendlegetuserpositionresponse = __esm(() => {
|
|
41143
|
-
|
|
41093
|
+
init_zod();
|
|
41144
41094
|
init_primitives();
|
|
41145
41095
|
PendleGetUserPositionResponse$inboundSchema = objectType({
|
|
41146
41096
|
claimable_yield: stringType(),
|
|
@@ -41197,7 +41147,7 @@ var init_pendlegetuserpositionresponse = __esm(() => {
|
|
|
41197
41147
|
// src/models/components/pendlemarket.ts
|
|
41198
41148
|
var PendleMarket$inboundSchema, PendleMarket$outboundSchema, PendleMarket$;
|
|
41199
41149
|
var init_pendlemarket = __esm(() => {
|
|
41200
|
-
|
|
41150
|
+
init_zod();
|
|
41201
41151
|
init_details();
|
|
41202
41152
|
PendleMarket$inboundSchema = objectType({
|
|
41203
41153
|
name: stringType(),
|
|
@@ -41234,7 +41184,7 @@ var init_pendlemarket = __esm(() => {
|
|
|
41234
41184
|
// src/models/components/pendlelistmarketsresponse.ts
|
|
41235
41185
|
var PendleListMarketsResponse$inboundSchema, PendleListMarketsResponse$outboundSchema, PendleListMarketsResponse$;
|
|
41236
41186
|
var init_pendlelistmarketsresponse = __esm(() => {
|
|
41237
|
-
|
|
41187
|
+
init_zod();
|
|
41238
41188
|
init_pendlemarket();
|
|
41239
41189
|
PendleListMarketsResponse$inboundSchema = objectType({
|
|
41240
41190
|
markets: arrayType(PendleMarket$inboundSchema)
|
|
@@ -41251,7 +41201,7 @@ var init_pendlelistmarketsresponse = __esm(() => {
|
|
|
41251
41201
|
// src/models/components/syposition.ts
|
|
41252
41202
|
var SyPosition$inboundSchema, SyPosition$outboundSchema, SyPosition$;
|
|
41253
41203
|
var init_syposition = __esm(() => {
|
|
41254
|
-
|
|
41204
|
+
init_zod();
|
|
41255
41205
|
SyPosition$inboundSchema = objectType({
|
|
41256
41206
|
syId: stringType(),
|
|
41257
41207
|
balance: stringType()
|
|
@@ -41269,7 +41219,7 @@ var init_syposition = __esm(() => {
|
|
|
41269
41219
|
// src/models/components/position.ts
|
|
41270
41220
|
var Position$inboundSchema, Position$outboundSchema, Position$;
|
|
41271
41221
|
var init_position = __esm(() => {
|
|
41272
|
-
|
|
41222
|
+
init_zod();
|
|
41273
41223
|
init_openposition();
|
|
41274
41224
|
init_syposition();
|
|
41275
41225
|
Position$inboundSchema = objectType({
|
|
@@ -41301,7 +41251,7 @@ var init_position = __esm(() => {
|
|
|
41301
41251
|
// src/models/components/pendlelistuserpositionsresponse.ts
|
|
41302
41252
|
var PendleListUserPositionsResponse$inboundSchema, PendleListUserPositionsResponse$outboundSchema, PendleListUserPositionsResponse$;
|
|
41303
41253
|
var init_pendlelistuserpositionsresponse = __esm(() => {
|
|
41304
|
-
|
|
41254
|
+
init_zod();
|
|
41305
41255
|
init_position();
|
|
41306
41256
|
PendleListUserPositionsResponse$inboundSchema = objectType({
|
|
41307
41257
|
positions: arrayType(Position$inboundSchema)
|
|
@@ -41318,7 +41268,7 @@ var init_pendlelistuserpositionsresponse = __esm(() => {
|
|
|
41318
41268
|
// src/models/components/pendleredeemyieldrequest.ts
|
|
41319
41269
|
var PendleRedeemYieldRequest$inboundSchema, PendleRedeemYieldRequest$outboundSchema, PendleRedeemYieldRequest$;
|
|
41320
41270
|
var init_pendleredeemyieldrequest = __esm(() => {
|
|
41321
|
-
|
|
41271
|
+
init_zod();
|
|
41322
41272
|
init_primitives();
|
|
41323
41273
|
init_chain();
|
|
41324
41274
|
PendleRedeemYieldRequest$inboundSchema = objectType({
|
|
@@ -41352,7 +41302,7 @@ var init_pendleredeemyieldrequest = __esm(() => {
|
|
|
41352
41302
|
// src/models/components/pendleremoveliquidityrequest.ts
|
|
41353
41303
|
var PendleRemoveLiquidityRequestAmount$inboundSchema, PendleRemoveLiquidityRequestAmount$outboundSchema, PendleRemoveLiquidityRequestAmount$, PendleRemoveLiquidityRequest$inboundSchema, PendleRemoveLiquidityRequest$outboundSchema, PendleRemoveLiquidityRequest$;
|
|
41354
41304
|
var init_pendleremoveliquidityrequest = __esm(() => {
|
|
41355
|
-
|
|
41305
|
+
init_zod();
|
|
41356
41306
|
init_primitives();
|
|
41357
41307
|
init_chain();
|
|
41358
41308
|
PendleRemoveLiquidityRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41398,7 +41348,7 @@ var init_pendleremoveliquidityrequest = __esm(() => {
|
|
|
41398
41348
|
// src/models/components/pendlesellptrequest.ts
|
|
41399
41349
|
var PendleSellPtRequestAmount$inboundSchema, PendleSellPtRequestAmount$outboundSchema, PendleSellPtRequestAmount$, PendleSellPtRequest$inboundSchema, PendleSellPtRequest$outboundSchema, PendleSellPtRequest$;
|
|
41400
41350
|
var init_pendlesellptrequest = __esm(() => {
|
|
41401
|
-
|
|
41351
|
+
init_zod();
|
|
41402
41352
|
init_primitives();
|
|
41403
41353
|
init_chain();
|
|
41404
41354
|
PendleSellPtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41444,7 +41394,7 @@ var init_pendlesellptrequest = __esm(() => {
|
|
|
41444
41394
|
// src/models/components/pendlesellytrequest.ts
|
|
41445
41395
|
var PendleSellYtRequestAmount$inboundSchema, PendleSellYtRequestAmount$outboundSchema, PendleSellYtRequestAmount$, PendleSellYtRequest$inboundSchema, PendleSellYtRequest$outboundSchema, PendleSellYtRequest$;
|
|
41446
41396
|
var init_pendlesellytrequest = __esm(() => {
|
|
41447
|
-
|
|
41397
|
+
init_zod();
|
|
41448
41398
|
init_primitives();
|
|
41449
41399
|
init_chain();
|
|
41450
41400
|
PendleSellYtRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41490,7 +41440,7 @@ var init_pendlesellytrequest = __esm(() => {
|
|
|
41490
41440
|
// src/models/components/portfolio.ts
|
|
41491
41441
|
var Portfolio$inboundSchema, Portfolio$outboundSchema, Portfolio$;
|
|
41492
41442
|
var init_portfolio = __esm(() => {
|
|
41493
|
-
|
|
41443
|
+
init_zod();
|
|
41494
41444
|
init_primitives();
|
|
41495
41445
|
init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
|
|
41496
41446
|
Portfolio$inboundSchema = objectType({
|
|
@@ -41520,7 +41470,7 @@ var init_portfolio = __esm(() => {
|
|
|
41520
41470
|
// src/models/components/security.ts
|
|
41521
41471
|
var Security$inboundSchema, Security$outboundSchema, Security$;
|
|
41522
41472
|
var init_security2 = __esm(() => {
|
|
41523
|
-
|
|
41473
|
+
init_zod();
|
|
41524
41474
|
init_primitives();
|
|
41525
41475
|
Security$inboundSchema = objectType({
|
|
41526
41476
|
ApiKeyAuth: stringType()
|
|
@@ -41545,7 +41495,7 @@ var init_security2 = __esm(() => {
|
|
|
41545
41495
|
// src/models/components/setallowancerequest.ts
|
|
41546
41496
|
var SetAllowanceRequestContractEnum, SetAllowanceRequestToken$inboundSchema, SetAllowanceRequestToken$outboundSchema, SetAllowanceRequestToken$, SetAllowanceRequestContractEnum$inboundSchema, SetAllowanceRequestContractEnum$outboundSchema, SetAllowanceRequestContractEnum$, SetAllowanceRequestContractUnion$inboundSchema, SetAllowanceRequestContractUnion$outboundSchema, SetAllowanceRequestContractUnion$, SetAllowanceRequestAmount$inboundSchema, SetAllowanceRequestAmount$outboundSchema, SetAllowanceRequestAmount$, SetAllowanceRequest$inboundSchema, SetAllowanceRequest$outboundSchema, SetAllowanceRequest$;
|
|
41547
41497
|
var init_setallowancerequest = __esm(() => {
|
|
41548
|
-
|
|
41498
|
+
init_zod();
|
|
41549
41499
|
init_primitives();
|
|
41550
41500
|
init_chain();
|
|
41551
41501
|
init_tokenenum();
|
|
@@ -41625,7 +41575,7 @@ var init_setallowancerequest = __esm(() => {
|
|
|
41625
41575
|
// src/models/components/skybuyrequest.ts
|
|
41626
41576
|
var SkyBuyRequestTokenIn, SkyBuyRequestTokenIn$inboundSchema, SkyBuyRequestTokenIn$outboundSchema, SkyBuyRequestTokenIn$, SkyBuyRequestAmount$inboundSchema, SkyBuyRequestAmount$outboundSchema, SkyBuyRequestAmount$, SkyBuyRequest$inboundSchema, SkyBuyRequest$outboundSchema, SkyBuyRequest$;
|
|
41627
41577
|
var init_skybuyrequest = __esm(() => {
|
|
41628
|
-
|
|
41578
|
+
init_zod();
|
|
41629
41579
|
init_primitives();
|
|
41630
41580
|
SkyBuyRequestTokenIn = {
|
|
41631
41581
|
Dai: "DAI",
|
|
@@ -41676,7 +41626,7 @@ var init_skybuyrequest = __esm(() => {
|
|
|
41676
41626
|
// src/models/components/skycheckpositionresponse.ts
|
|
41677
41627
|
var SkyCheckPositionResponse$inboundSchema, SkyCheckPositionResponse$outboundSchema, SkyCheckPositionResponse$;
|
|
41678
41628
|
var init_skycheckpositionresponse = __esm(() => {
|
|
41679
|
-
|
|
41629
|
+
init_zod();
|
|
41680
41630
|
init_primitives();
|
|
41681
41631
|
SkyCheckPositionResponse$inboundSchema = objectType({
|
|
41682
41632
|
usds_value_of_deposits: stringType(),
|
|
@@ -41703,7 +41653,7 @@ var init_skycheckpositionresponse = __esm(() => {
|
|
|
41703
41653
|
// src/models/components/skydepositrequest.ts
|
|
41704
41654
|
var SkyDepositRequestAmount$inboundSchema, SkyDepositRequestAmount$outboundSchema, SkyDepositRequestAmount$, SkyDepositRequest$inboundSchema, SkyDepositRequest$outboundSchema, SkyDepositRequest$;
|
|
41705
41655
|
var init_skydepositrequest = __esm(() => {
|
|
41706
|
-
|
|
41656
|
+
init_zod();
|
|
41707
41657
|
init_primitives();
|
|
41708
41658
|
SkyDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
41709
41659
|
SkyDepositRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -41742,7 +41692,7 @@ var init_skydepositrequest = __esm(() => {
|
|
|
41742
41692
|
// src/models/components/skysellrequest.ts
|
|
41743
41693
|
var SkySellRequestTokenOut, SkySellRequestTokenOut$inboundSchema, SkySellRequestTokenOut$outboundSchema, SkySellRequestTokenOut$, SkySellRequestAmount$inboundSchema, SkySellRequestAmount$outboundSchema, SkySellRequestAmount$, SkySellRequest$inboundSchema, SkySellRequest$outboundSchema, SkySellRequest$;
|
|
41744
41694
|
var init_skysellrequest = __esm(() => {
|
|
41745
|
-
|
|
41695
|
+
init_zod();
|
|
41746
41696
|
init_primitives();
|
|
41747
41697
|
SkySellRequestTokenOut = {
|
|
41748
41698
|
Dai: "DAI",
|
|
@@ -41793,7 +41743,7 @@ var init_skysellrequest = __esm(() => {
|
|
|
41793
41743
|
// src/models/components/skywithdrawrequest.ts
|
|
41794
41744
|
var SkyWithdrawRequest$inboundSchema, SkyWithdrawRequest$outboundSchema, SkyWithdrawRequest$;
|
|
41795
41745
|
var init_skywithdrawrequest = __esm(() => {
|
|
41796
|
-
|
|
41746
|
+
init_zod();
|
|
41797
41747
|
init_primitives();
|
|
41798
41748
|
SkyWithdrawRequest$inboundSchema = objectType({
|
|
41799
41749
|
action_type: literalType("SKY_WITHDRAW").default("SKY_WITHDRAW"),
|
|
@@ -41826,7 +41776,7 @@ var init_skywithdrawrequest = __esm(() => {
|
|
|
41826
41776
|
// src/models/components/tokenaddressresponse.ts
|
|
41827
41777
|
var TokenAddressResponse$inboundSchema, TokenAddressResponse$outboundSchema, TokenAddressResponse$;
|
|
41828
41778
|
var init_tokenaddressresponse = __esm(() => {
|
|
41829
|
-
|
|
41779
|
+
init_zod();
|
|
41830
41780
|
TokenAddressResponse$inboundSchema = objectType({
|
|
41831
41781
|
address: stringType()
|
|
41832
41782
|
});
|
|
@@ -41842,7 +41792,7 @@ var init_tokenaddressresponse = __esm(() => {
|
|
|
41842
41792
|
// src/models/components/tokenbalanceresponse.ts
|
|
41843
41793
|
var TokenSymbol$inboundSchema, TokenSymbol$outboundSchema, TokenSymbol$, TokenBalanceResponse$inboundSchema, TokenBalanceResponse$outboundSchema, TokenBalanceResponse$;
|
|
41844
41794
|
var init_tokenbalanceresponse = __esm(() => {
|
|
41845
|
-
|
|
41795
|
+
init_zod();
|
|
41846
41796
|
init_primitives();
|
|
41847
41797
|
init_tokenenum();
|
|
41848
41798
|
TokenSymbol$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
@@ -41882,7 +41832,7 @@ var init_tokenbalanceresponse = __esm(() => {
|
|
|
41882
41832
|
// src/models/components/tokeninfo.ts
|
|
41883
41833
|
var TokenInfo$inboundSchema, TokenInfo$outboundSchema, TokenInfo$;
|
|
41884
41834
|
var init_tokeninfo = __esm(() => {
|
|
41885
|
-
|
|
41835
|
+
init_zod();
|
|
41886
41836
|
init_tokenenum();
|
|
41887
41837
|
TokenInfo$inboundSchema = objectType({
|
|
41888
41838
|
tokens: arrayType(TokenEnum$inboundSchema)
|
|
@@ -41899,7 +41849,7 @@ var init_tokeninfo = __esm(() => {
|
|
|
41899
41849
|
// src/models/components/tokenpriceresponse.ts
|
|
41900
41850
|
var TokenPriceResponse$inboundSchema, TokenPriceResponse$outboundSchema, TokenPriceResponse$;
|
|
41901
41851
|
var init_tokenpriceresponse = __esm(() => {
|
|
41902
|
-
|
|
41852
|
+
init_zod();
|
|
41903
41853
|
TokenPriceResponse$inboundSchema = objectType({
|
|
41904
41854
|
price: stringType()
|
|
41905
41855
|
});
|
|
@@ -41915,7 +41865,7 @@ var init_tokenpriceresponse = __esm(() => {
|
|
|
41915
41865
|
// src/models/components/unsignedmulticalltransaction.ts
|
|
41916
41866
|
var UnsignedMulticallTransaction$inboundSchema, UnsignedMulticallTransaction$outboundSchema, UnsignedMulticallTransaction$;
|
|
41917
41867
|
var init_unsignedmulticalltransaction = __esm(() => {
|
|
41918
|
-
|
|
41868
|
+
init_zod();
|
|
41919
41869
|
init_signedauthorization();
|
|
41920
41870
|
UnsignedMulticallTransaction$inboundSchema = objectType({
|
|
41921
41871
|
chainId: numberType().int(),
|
|
@@ -41950,7 +41900,7 @@ var init_unsignedmulticalltransaction = __esm(() => {
|
|
|
41950
41900
|
// src/models/components/unsignedtransaction.ts
|
|
41951
41901
|
var UnsignedTransaction$inboundSchema, UnsignedTransaction$outboundSchema, UnsignedTransaction$;
|
|
41952
41902
|
var init_unsignedtransaction = __esm(() => {
|
|
41953
|
-
|
|
41903
|
+
init_zod();
|
|
41954
41904
|
UnsignedTransaction$inboundSchema = objectType({
|
|
41955
41905
|
chainId: numberType().int(),
|
|
41956
41906
|
data: stringType(),
|
|
@@ -41982,7 +41932,7 @@ var init_unsignedtransaction = __esm(() => {
|
|
|
41982
41932
|
// src/models/components/txresponse.ts
|
|
41983
41933
|
var TxResponse$inboundSchema, TxResponse$outboundSchema, TxResponse$;
|
|
41984
41934
|
var init_txresponse = __esm(() => {
|
|
41985
|
-
|
|
41935
|
+
init_zod();
|
|
41986
41936
|
init_unsignedmulticalltransaction();
|
|
41987
41937
|
init_unsignedtransaction();
|
|
41988
41938
|
init_useroperationresponse();
|
|
@@ -42005,7 +41955,7 @@ var init_txresponse = __esm(() => {
|
|
|
42005
41955
|
// src/models/components/uniswapbuyexactlyrequest.ts
|
|
42006
41956
|
var UniswapBuyExactlyRequestAmount$inboundSchema, UniswapBuyExactlyRequestAmount$outboundSchema, UniswapBuyExactlyRequestAmount$, UniswapBuyExactlyRequest$inboundSchema, UniswapBuyExactlyRequest$outboundSchema, UniswapBuyExactlyRequest$;
|
|
42007
41957
|
var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
42008
|
-
|
|
41958
|
+
init_zod();
|
|
42009
41959
|
init_primitives();
|
|
42010
41960
|
init_chain();
|
|
42011
41961
|
init_feeenum();
|
|
@@ -42063,7 +42013,7 @@ var init_uniswapbuyexactlyrequest = __esm(() => {
|
|
|
42063
42013
|
// src/models/components/uniswapbuyquoteinforesponse.ts
|
|
42064
42014
|
var UniswapBuyQuoteInfoResponse$inboundSchema, UniswapBuyQuoteInfoResponse$outboundSchema, UniswapBuyQuoteInfoResponse$;
|
|
42065
42015
|
var init_uniswapbuyquoteinforesponse = __esm(() => {
|
|
42066
|
-
|
|
42016
|
+
init_zod();
|
|
42067
42017
|
init_primitives();
|
|
42068
42018
|
UniswapBuyQuoteInfoResponse$inboundSchema = objectType({
|
|
42069
42019
|
amount_in: stringType(),
|
|
@@ -42092,7 +42042,7 @@ var init_uniswapbuyquoteinforesponse = __esm(() => {
|
|
|
42092
42042
|
// src/models/components/uniswapcheckinrangeresponse.ts
|
|
42093
42043
|
var UniswapCheckInRangeResponse$inboundSchema, UniswapCheckInRangeResponse$outboundSchema, UniswapCheckInRangeResponse$;
|
|
42094
42044
|
var init_uniswapcheckinrangeresponse = __esm(() => {
|
|
42095
|
-
|
|
42045
|
+
init_zod();
|
|
42096
42046
|
init_primitives();
|
|
42097
42047
|
UniswapCheckInRangeResponse$inboundSchema = objectType({
|
|
42098
42048
|
in_range: booleanType()
|
|
@@ -42117,7 +42067,7 @@ var init_uniswapcheckinrangeresponse = __esm(() => {
|
|
|
42117
42067
|
// src/models/components/uniswapincreaseliquidityprovisionrequest.ts
|
|
42118
42068
|
var UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Desired$, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Desired$, UniswapIncreaseLiquidityProvisionRequestAmount0Min$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Min$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount0Min$, UniswapIncreaseLiquidityProvisionRequestAmount1Min$inboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Min$outboundSchema, UniswapIncreaseLiquidityProvisionRequestAmount1Min$, UniswapIncreaseLiquidityProvisionRequest$inboundSchema, UniswapIncreaseLiquidityProvisionRequest$outboundSchema, UniswapIncreaseLiquidityProvisionRequest$;
|
|
42119
42069
|
var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
42120
|
-
|
|
42070
|
+
init_zod();
|
|
42121
42071
|
init_primitives();
|
|
42122
42072
|
init_chain();
|
|
42123
42073
|
UniswapIncreaseLiquidityProvisionRequestAmount0Desired$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42191,7 +42141,7 @@ var init_uniswapincreaseliquidityprovisionrequest = __esm(() => {
|
|
|
42191
42141
|
// src/models/components/uniswappositionssolidityresponse.ts
|
|
42192
42142
|
var UniswapPositionsSolidityResponse$inboundSchema, UniswapPositionsSolidityResponse$outboundSchema, UniswapPositionsSolidityResponse$;
|
|
42193
42143
|
var init_uniswappositionssolidityresponse = __esm(() => {
|
|
42194
|
-
|
|
42144
|
+
init_zod();
|
|
42195
42145
|
init_primitives();
|
|
42196
42146
|
UniswapPositionsSolidityResponse$inboundSchema = objectType({
|
|
42197
42147
|
nonce: numberType().int(),
|
|
@@ -42248,7 +42198,7 @@ var init_uniswappositionssolidityresponse = __esm(() => {
|
|
|
42248
42198
|
// src/models/components/uniswaplppositionsinforesponse.ts
|
|
42249
42199
|
var UniswapLPPositionsInfoResponse$inboundSchema, UniswapLPPositionsInfoResponse$outboundSchema, UniswapLPPositionsInfoResponse$;
|
|
42250
42200
|
var init_uniswaplppositionsinforesponse = __esm(() => {
|
|
42251
|
-
|
|
42201
|
+
init_zod();
|
|
42252
42202
|
init_uniswappositionssolidityresponse();
|
|
42253
42203
|
UniswapLPPositionsInfoResponse$inboundSchema = objectType({
|
|
42254
42204
|
positions: recordType(UniswapPositionsSolidityResponse$inboundSchema)
|
|
@@ -42265,7 +42215,7 @@ var init_uniswaplppositionsinforesponse = __esm(() => {
|
|
|
42265
42215
|
// src/models/components/uniswapmintliquidityprovisionrequest.ts
|
|
42266
42216
|
var UniswapMintLiquidityProvisionRequestAmount0Desired$inboundSchema, UniswapMintLiquidityProvisionRequestAmount0Desired$outboundSchema, UniswapMintLiquidityProvisionRequestAmount0Desired$, UniswapMintLiquidityProvisionRequestAmount1Desired$inboundSchema, UniswapMintLiquidityProvisionRequestAmount1Desired$outboundSchema, UniswapMintLiquidityProvisionRequestAmount1Desired$, UniswapMintLiquidityProvisionRequestAmount0Min$inboundSchema, UniswapMintLiquidityProvisionRequestAmount0Min$outboundSchema, UniswapMintLiquidityProvisionRequestAmount0Min$, UniswapMintLiquidityProvisionRequestAmount1Min$inboundSchema, UniswapMintLiquidityProvisionRequestAmount1Min$outboundSchema, UniswapMintLiquidityProvisionRequestAmount1Min$, UniswapMintLiquidityProvisionRequest$inboundSchema, UniswapMintLiquidityProvisionRequest$outboundSchema, UniswapMintLiquidityProvisionRequest$;
|
|
42267
42217
|
var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
42268
|
-
|
|
42218
|
+
init_zod();
|
|
42269
42219
|
init_primitives();
|
|
42270
42220
|
init_chain();
|
|
42271
42221
|
init_feeenum();
|
|
@@ -42353,7 +42303,7 @@ var init_uniswapmintliquidityprovisionrequest = __esm(() => {
|
|
|
42353
42303
|
// src/models/components/uniswappoolpriceresponse.ts
|
|
42354
42304
|
var UniswapPoolPriceResponse$inboundSchema, UniswapPoolPriceResponse$outboundSchema, UniswapPoolPriceResponse$;
|
|
42355
42305
|
var init_uniswappoolpriceresponse = __esm(() => {
|
|
42356
|
-
|
|
42306
|
+
init_zod();
|
|
42357
42307
|
init_primitives();
|
|
42358
42308
|
init_tokenenum();
|
|
42359
42309
|
UniswapPoolPriceResponse$inboundSchema = objectType({
|
|
@@ -42387,7 +42337,7 @@ var init_uniswappoolpriceresponse = __esm(() => {
|
|
|
42387
42337
|
// src/models/components/uniswapsellexactlyrequest.ts
|
|
42388
42338
|
var UniswapSellExactlyRequestAmount$inboundSchema, UniswapSellExactlyRequestAmount$outboundSchema, UniswapSellExactlyRequestAmount$, UniswapSellExactlyRequest$inboundSchema, UniswapSellExactlyRequest$outboundSchema, UniswapSellExactlyRequest$;
|
|
42389
42339
|
var init_uniswapsellexactlyrequest = __esm(() => {
|
|
42390
|
-
|
|
42340
|
+
init_zod();
|
|
42391
42341
|
init_primitives();
|
|
42392
42342
|
init_chain();
|
|
42393
42343
|
init_feeenum();
|
|
@@ -42445,7 +42395,7 @@ var init_uniswapsellexactlyrequest = __esm(() => {
|
|
|
42445
42395
|
// src/models/components/uniswapsellquoteinforesponse.ts
|
|
42446
42396
|
var UniswapSellQuoteInfoResponse$inboundSchema, UniswapSellQuoteInfoResponse$outboundSchema, UniswapSellQuoteInfoResponse$;
|
|
42447
42397
|
var init_uniswapsellquoteinforesponse = __esm(() => {
|
|
42448
|
-
|
|
42398
|
+
init_zod();
|
|
42449
42399
|
init_primitives();
|
|
42450
42400
|
UniswapSellQuoteInfoResponse$inboundSchema = objectType({
|
|
42451
42401
|
amount_out: stringType(),
|
|
@@ -42474,7 +42424,7 @@ var init_uniswapsellquoteinforesponse = __esm(() => {
|
|
|
42474
42424
|
// src/models/components/uniswapwithdrawliquidityprovisionrequest.ts
|
|
42475
42425
|
var UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$outboundSchema, UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$, UniswapWithdrawLiquidityProvisionRequest$inboundSchema, UniswapWithdrawLiquidityProvisionRequest$outboundSchema, UniswapWithdrawLiquidityProvisionRequest$;
|
|
42476
42426
|
var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
42477
|
-
|
|
42427
|
+
init_zod();
|
|
42478
42428
|
init_primitives();
|
|
42479
42429
|
init_chain();
|
|
42480
42430
|
UniswapWithdrawLiquidityProvisionRequestPercentageForWithdrawal$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42518,7 +42468,7 @@ var init_uniswapwithdrawliquidityprovisionrequest = __esm(() => {
|
|
|
42518
42468
|
// src/models/components/unwrapwethrequest.ts
|
|
42519
42469
|
var UnwrapWethRequestAmount$inboundSchema, UnwrapWethRequestAmount$outboundSchema, UnwrapWethRequestAmount$, UnwrapWethRequest$inboundSchema, UnwrapWethRequest$outboundSchema, UnwrapWethRequest$;
|
|
42520
42470
|
var init_unwrapwethrequest = __esm(() => {
|
|
42521
|
-
|
|
42471
|
+
init_zod();
|
|
42522
42472
|
init_primitives();
|
|
42523
42473
|
init_chain();
|
|
42524
42474
|
UnwrapWethRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42556,7 +42506,7 @@ var init_unwrapwethrequest = __esm(() => {
|
|
|
42556
42506
|
// src/models/components/userposition.ts
|
|
42557
42507
|
var UserPosition$inboundSchema, UserPosition$outboundSchema, UserPosition$;
|
|
42558
42508
|
var init_userposition = __esm(() => {
|
|
42559
|
-
|
|
42509
|
+
init_zod();
|
|
42560
42510
|
init_primitives();
|
|
42561
42511
|
UserPosition$inboundSchema = objectType({
|
|
42562
42512
|
shares: numberType().int(),
|
|
@@ -42583,7 +42533,7 @@ var init_userposition = __esm(() => {
|
|
|
42583
42533
|
// src/models/components/validationerror.ts
|
|
42584
42534
|
var Loc$inboundSchema, Loc$outboundSchema, Loc$, ValidationError$inboundSchema, ValidationError$outboundSchema, ValidationError$;
|
|
42585
42535
|
var init_validationerror = __esm(() => {
|
|
42586
|
-
|
|
42536
|
+
init_zod();
|
|
42587
42537
|
Loc$inboundSchema = unionType([stringType(), numberType().int()]);
|
|
42588
42538
|
Loc$outboundSchema = unionType([stringType(), numberType().int()]);
|
|
42589
42539
|
((Loc$) => {
|
|
@@ -42609,7 +42559,7 @@ var init_validationerror = __esm(() => {
|
|
|
42609
42559
|
// src/models/components/vaultdepositrequest.ts
|
|
42610
42560
|
var VaultDepositRequestAmount$inboundSchema, VaultDepositRequestAmount$outboundSchema, VaultDepositRequestAmount$, VaultDepositRequest$inboundSchema, VaultDepositRequest$outboundSchema, VaultDepositRequest$;
|
|
42611
42561
|
var init_vaultdepositrequest = __esm(() => {
|
|
42612
|
-
|
|
42562
|
+
init_zod();
|
|
42613
42563
|
init_primitives();
|
|
42614
42564
|
init_chain();
|
|
42615
42565
|
VaultDepositRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42653,7 +42603,7 @@ var init_vaultdepositrequest = __esm(() => {
|
|
|
42653
42603
|
// src/models/components/vaultgetvaultresponse.ts
|
|
42654
42604
|
var VaultGetVaultResponse$inboundSchema, VaultGetVaultResponse$outboundSchema, VaultGetVaultResponse$;
|
|
42655
42605
|
var init_vaultgetvaultresponse = __esm(() => {
|
|
42656
|
-
|
|
42606
|
+
init_zod();
|
|
42657
42607
|
init_primitives();
|
|
42658
42608
|
init_apy();
|
|
42659
42609
|
init_compassapibackendmodelsvaultsreadresponsevaultasset();
|
|
@@ -42703,7 +42653,7 @@ var init_vaultgetvaultresponse = __esm(() => {
|
|
|
42703
42653
|
// src/models/components/vaultwithdrawrequest.ts
|
|
42704
42654
|
var VaultWithdrawRequest$inboundSchema, VaultWithdrawRequest$outboundSchema, VaultWithdrawRequest$;
|
|
42705
42655
|
var init_vaultwithdrawrequest = __esm(() => {
|
|
42706
|
-
|
|
42656
|
+
init_zod();
|
|
42707
42657
|
init_primitives();
|
|
42708
42658
|
init_chain();
|
|
42709
42659
|
VaultWithdrawRequest$inboundSchema = objectType({
|
|
@@ -42741,7 +42691,7 @@ var init_vaultwithdrawrequest = __esm(() => {
|
|
|
42741
42691
|
// src/models/components/wrapethrequest.ts
|
|
42742
42692
|
var WrapEthRequestAmount$inboundSchema, WrapEthRequestAmount$outboundSchema, WrapEthRequestAmount$, WrapEthRequest$inboundSchema, WrapEthRequest$outboundSchema, WrapEthRequest$;
|
|
42743
42693
|
var init_wrapethrequest = __esm(() => {
|
|
42744
|
-
|
|
42694
|
+
init_zod();
|
|
42745
42695
|
init_primitives();
|
|
42746
42696
|
init_chain();
|
|
42747
42697
|
WrapEthRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
@@ -42826,13 +42776,10 @@ var init_components = __esm(() => {
|
|
|
42826
42776
|
init_compassapibackendmodelsmorphoreadresponsegetmarketmarketstate();
|
|
42827
42777
|
init_compassapibackendmodelsmorphoreadresponsegetmarketsasset();
|
|
42828
42778
|
init_compassapibackendmodelsmorphoreadresponsegetmarketsmarketstate();
|
|
42829
|
-
init_compassapibackendmodelsmorphoreadresponsegetvaultasset();
|
|
42830
42779
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsasset();
|
|
42831
42780
|
init_compassapibackendmodelsmorphoreadresponsegetvaultsvaultstate();
|
|
42832
|
-
init_compassapibackendmodelsmorphoreadresponsegetvaultvaultstate();
|
|
42833
42781
|
init_compassapibackendmodelspendlereadresponsepositionstokenbalance();
|
|
42834
42782
|
init_compassapibackendmodelsvaultsreadresponsevaultasset();
|
|
42835
|
-
init_curator();
|
|
42836
42783
|
init_details();
|
|
42837
42784
|
init_ensnameinforesponse();
|
|
42838
42785
|
init_erc20data();
|
|
@@ -42840,22 +42787,18 @@ var init_components = __esm(() => {
|
|
|
42840
42787
|
init_image();
|
|
42841
42788
|
init_interestratemode();
|
|
42842
42789
|
init_liquidationcall();
|
|
42843
|
-
init_liquidity();
|
|
42844
42790
|
init_lpbalance();
|
|
42845
42791
|
init_market();
|
|
42846
42792
|
init_marketposition();
|
|
42847
42793
|
init_markettokens();
|
|
42848
|
-
init_metadata();
|
|
42849
42794
|
init_morphoborrowparams();
|
|
42850
42795
|
init_morphoborrowrequest();
|
|
42851
42796
|
init_morphocheckmarketpositionresponse();
|
|
42852
42797
|
init_morphocheckuserpositionresponse();
|
|
42853
|
-
init_morphocheckvaultpositionresponse();
|
|
42854
42798
|
init_morphodepositparams();
|
|
42855
42799
|
init_morphodepositrequest();
|
|
42856
42800
|
init_morphogetmarketresponse();
|
|
42857
42801
|
init_morphogetmarketsresponse();
|
|
42858
|
-
init_morphogetvaultresponse();
|
|
42859
42802
|
init_morphogetvaultsresponse();
|
|
42860
42803
|
init_morphomarket();
|
|
42861
42804
|
init_morphorepayparams();
|
|
@@ -42879,6 +42822,7 @@ var init_components = __esm(() => {
|
|
|
42879
42822
|
init_pendlebuyytparams();
|
|
42880
42823
|
init_pendlebuyytrequest();
|
|
42881
42824
|
init_pendlegetmarketresponse();
|
|
42825
|
+
init_pendlegetquoteresponse();
|
|
42882
42826
|
init_pendlegetuserpositionresponse();
|
|
42883
42827
|
init_pendlelistmarketsresponse();
|
|
42884
42828
|
init_pendlelistuserpositionsresponse();
|
|
@@ -42960,7 +42904,7 @@ var init_components = __esm(() => {
|
|
|
42960
42904
|
// src/models/errors/httpvalidationerror.ts
|
|
42961
42905
|
var HTTPValidationError, HTTPValidationError$inboundSchema, HTTPValidationError$outboundSchema, HTTPValidationError$;
|
|
42962
42906
|
var init_httpvalidationerror = __esm(() => {
|
|
42963
|
-
|
|
42907
|
+
init_zod();
|
|
42964
42908
|
init_components();
|
|
42965
42909
|
init_compassapisdkerror();
|
|
42966
42910
|
HTTPValidationError = class HTTPValidationError extends CompassAPISDKError {
|
|
@@ -43008,7 +42952,7 @@ var init_errors2 = __esm(() => {
|
|
|
43008
42952
|
// src/models/operations/aaveavgrate.ts
|
|
43009
42953
|
var AaveAvgRateChain, AaveAvgRateToken, AaveAvgRateChain$inboundSchema, AaveAvgRateChain$outboundSchema, AaveAvgRateChain$, AaveAvgRateToken$inboundSchema, AaveAvgRateToken$outboundSchema, AaveAvgRateToken$, AaveAvgRateRequest$inboundSchema, AaveAvgRateRequest$outboundSchema, AaveAvgRateRequest$;
|
|
43010
42954
|
var init_aaveavgrate = __esm(() => {
|
|
43011
|
-
|
|
42955
|
+
init_zod();
|
|
43012
42956
|
AaveAvgRateChain = {
|
|
43013
42957
|
BaseMainnet: "base:mainnet",
|
|
43014
42958
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43093,7 +43037,7 @@ var init_aaveavgrate = __esm(() => {
|
|
|
43093
43037
|
// src/models/operations/aavehistoricaltransactions.ts
|
|
43094
43038
|
var AaveHistoricalTransactionsChain, AaveHistoricalTransactionsChain$inboundSchema, AaveHistoricalTransactionsChain$outboundSchema, AaveHistoricalTransactionsChain$, AaveHistoricalTransactionsRequest$inboundSchema, AaveHistoricalTransactionsRequest$outboundSchema, AaveHistoricalTransactionsRequest$;
|
|
43095
43039
|
var init_aavehistoricaltransactions = __esm(() => {
|
|
43096
|
-
|
|
43040
|
+
init_zod();
|
|
43097
43041
|
init_primitives();
|
|
43098
43042
|
AaveHistoricalTransactionsChain = {
|
|
43099
43043
|
BaseMainnet: "base:mainnet",
|
|
@@ -43135,7 +43079,7 @@ var init_aavehistoricaltransactions = __esm(() => {
|
|
|
43135
43079
|
// src/models/operations/aaveliquiditychange.ts
|
|
43136
43080
|
var AaveLiquidityChangeChain, AaveLiquidityChangeToken, AaveLiquidityChangeChain$inboundSchema, AaveLiquidityChangeChain$outboundSchema, AaveLiquidityChangeChain$, AaveLiquidityChangeToken$inboundSchema, AaveLiquidityChangeToken$outboundSchema, AaveLiquidityChangeToken$, AaveLiquidityChangeRequest$inboundSchema, AaveLiquidityChangeRequest$outboundSchema, AaveLiquidityChangeRequest$;
|
|
43137
43081
|
var init_aaveliquiditychange = __esm(() => {
|
|
43138
|
-
|
|
43082
|
+
init_zod();
|
|
43139
43083
|
init_primitives();
|
|
43140
43084
|
AaveLiquidityChangeChain = {
|
|
43141
43085
|
BaseMainnet: "base:mainnet",
|
|
@@ -43231,7 +43175,7 @@ var init_aaveliquiditychange = __esm(() => {
|
|
|
43231
43175
|
// src/models/operations/aaverate.ts
|
|
43232
43176
|
var AaveRateChain, AaveRateToken, AaveRateChain$inboundSchema, AaveRateChain$outboundSchema, AaveRateChain$, AaveRateToken$inboundSchema, AaveRateToken$outboundSchema, AaveRateToken$, AaveRateRequest$inboundSchema, AaveRateRequest$outboundSchema, AaveRateRequest$;
|
|
43233
43177
|
var init_aaverate = __esm(() => {
|
|
43234
|
-
|
|
43178
|
+
init_zod();
|
|
43235
43179
|
AaveRateChain = {
|
|
43236
43180
|
BaseMainnet: "base:mainnet",
|
|
43237
43181
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43314,7 +43258,7 @@ var init_aaverate = __esm(() => {
|
|
|
43314
43258
|
// src/models/operations/aavereserveoverview.ts
|
|
43315
43259
|
var AaveReserveOverviewChain, AaveReserveOverviewToken, AaveReserveOverviewChain$inboundSchema, AaveReserveOverviewChain$outboundSchema, AaveReserveOverviewChain$, AaveReserveOverviewToken$inboundSchema, AaveReserveOverviewToken$outboundSchema, AaveReserveOverviewToken$, AaveReserveOverviewRequest$inboundSchema, AaveReserveOverviewRequest$outboundSchema, AaveReserveOverviewRequest$;
|
|
43316
43260
|
var init_aavereserveoverview = __esm(() => {
|
|
43317
|
-
|
|
43261
|
+
init_zod();
|
|
43318
43262
|
AaveReserveOverviewChain = {
|
|
43319
43263
|
BaseMainnet: "base:mainnet",
|
|
43320
43264
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43397,7 +43341,7 @@ var init_aavereserveoverview = __esm(() => {
|
|
|
43397
43341
|
// src/models/operations/aavestdrate.ts
|
|
43398
43342
|
var AaveStdRateChain, AaveStdRateToken, AaveStdRateChain$inboundSchema, AaveStdRateChain$outboundSchema, AaveStdRateChain$, AaveStdRateToken$inboundSchema, AaveStdRateToken$outboundSchema, AaveStdRateToken$, AaveStdRateRequest$inboundSchema, AaveStdRateRequest$outboundSchema, AaveStdRateRequest$;
|
|
43399
43343
|
var init_aavestdrate = __esm(() => {
|
|
43400
|
-
|
|
43344
|
+
init_zod();
|
|
43401
43345
|
AaveStdRateChain = {
|
|
43402
43346
|
BaseMainnet: "base:mainnet",
|
|
43403
43347
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43482,7 +43426,7 @@ var init_aavestdrate = __esm(() => {
|
|
|
43482
43426
|
// src/models/operations/aavetokenprice.ts
|
|
43483
43427
|
var AaveTokenPriceChain, AaveTokenPriceToken, AaveTokenPriceChain$inboundSchema, AaveTokenPriceChain$outboundSchema, AaveTokenPriceChain$, AaveTokenPriceToken$inboundSchema, AaveTokenPriceToken$outboundSchema, AaveTokenPriceToken$, AaveTokenPriceRequest$inboundSchema, AaveTokenPriceRequest$outboundSchema, AaveTokenPriceRequest$;
|
|
43484
43428
|
var init_aavetokenprice = __esm(() => {
|
|
43485
|
-
|
|
43429
|
+
init_zod();
|
|
43486
43430
|
AaveTokenPriceChain = {
|
|
43487
43431
|
BaseMainnet: "base:mainnet",
|
|
43488
43432
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43565,7 +43509,7 @@ var init_aavetokenprice = __esm(() => {
|
|
|
43565
43509
|
// src/models/operations/aaveuserpositionpertoken.ts
|
|
43566
43510
|
var AaveUserPositionPerTokenChain, AaveUserPositionPerTokenToken, AaveUserPositionPerTokenChain$inboundSchema, AaveUserPositionPerTokenChain$outboundSchema, AaveUserPositionPerTokenChain$, AaveUserPositionPerTokenToken$inboundSchema, AaveUserPositionPerTokenToken$outboundSchema, AaveUserPositionPerTokenToken$, AaveUserPositionPerTokenRequest$inboundSchema, AaveUserPositionPerTokenRequest$outboundSchema, AaveUserPositionPerTokenRequest$;
|
|
43567
43511
|
var init_aaveuserpositionpertoken = __esm(() => {
|
|
43568
|
-
|
|
43512
|
+
init_zod();
|
|
43569
43513
|
AaveUserPositionPerTokenChain = {
|
|
43570
43514
|
BaseMainnet: "base:mainnet",
|
|
43571
43515
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43650,7 +43594,7 @@ var init_aaveuserpositionpertoken = __esm(() => {
|
|
|
43650
43594
|
// src/models/operations/aaveuserpositionsummary.ts
|
|
43651
43595
|
var AaveUserPositionSummaryChain, AaveUserPositionSummaryChain$inboundSchema, AaveUserPositionSummaryChain$outboundSchema, AaveUserPositionSummaryChain$, AaveUserPositionSummaryRequest$inboundSchema, AaveUserPositionSummaryRequest$outboundSchema, AaveUserPositionSummaryRequest$;
|
|
43652
43596
|
var init_aaveuserpositionsummary = __esm(() => {
|
|
43653
|
-
|
|
43597
|
+
init_zod();
|
|
43654
43598
|
AaveUserPositionSummaryChain = {
|
|
43655
43599
|
BaseMainnet: "base:mainnet",
|
|
43656
43600
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43681,7 +43625,7 @@ var init_aaveuserpositionsummary = __esm(() => {
|
|
|
43681
43625
|
// src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts
|
|
43682
43626
|
var AerodromeSlipstreamLiquidityProvisionPositionsChain, AerodromeSlipstreamLiquidityProvisionPositionsChain$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsChain$, AerodromeSlipstreamLiquidityProvisionPositionsRequest$inboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$outboundSchema, AerodromeSlipstreamLiquidityProvisionPositionsRequest$;
|
|
43683
43627
|
var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
43684
|
-
|
|
43628
|
+
init_zod();
|
|
43685
43629
|
AerodromeSlipstreamLiquidityProvisionPositionsChain = {
|
|
43686
43630
|
BaseMainnet: "base:mainnet",
|
|
43687
43631
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43710,7 +43654,7 @@ var init_aerodromeslipstreamliquidityprovisionpositions = __esm(() => {
|
|
|
43710
43654
|
// src/models/operations/aerodromeslipstreampoolprice.ts
|
|
43711
43655
|
var AerodromeSlipstreamPoolPriceChain, AerodromeSlipstreamPoolPriceTokenInToken, AerodromeSlipstreamPoolPriceTokenOutToken, AerodromeSlipstreamPoolPriceChain$inboundSchema, AerodromeSlipstreamPoolPriceChain$outboundSchema, AerodromeSlipstreamPoolPriceChain$, AerodromeSlipstreamPoolPriceTokenInToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenInToken$, AerodromeSlipstreamPoolPriceTokenOutToken$inboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$outboundSchema, AerodromeSlipstreamPoolPriceTokenOutToken$, AerodromeSlipstreamPoolPriceRequest$inboundSchema, AerodromeSlipstreamPoolPriceRequest$outboundSchema, AerodromeSlipstreamPoolPriceRequest$;
|
|
43712
43656
|
var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
43713
|
-
|
|
43657
|
+
init_zod();
|
|
43714
43658
|
init_primitives();
|
|
43715
43659
|
AerodromeSlipstreamPoolPriceChain = {
|
|
43716
43660
|
BaseMainnet: "base:mainnet",
|
|
@@ -43860,7 +43804,7 @@ var init_aerodromeslipstreampoolprice = __esm(() => {
|
|
|
43860
43804
|
// src/models/operations/genericallowance.ts
|
|
43861
43805
|
var GenericAllowanceChain, ContractEnum, GenericAllowanceChain$inboundSchema, GenericAllowanceChain$outboundSchema, GenericAllowanceChain$, GenericAllowanceToken$inboundSchema, GenericAllowanceToken$outboundSchema, GenericAllowanceToken$, ContractEnum$inboundSchema, ContractEnum$outboundSchema, ContractEnum$, Contract$inboundSchema, Contract$outboundSchema, Contract$, GenericAllowanceRequest$inboundSchema, GenericAllowanceRequest$outboundSchema, GenericAllowanceRequest$;
|
|
43862
43806
|
var init_genericallowance = __esm(() => {
|
|
43863
|
-
|
|
43807
|
+
init_zod();
|
|
43864
43808
|
init_components();
|
|
43865
43809
|
GenericAllowanceChain = {
|
|
43866
43810
|
BaseMainnet: "base:mainnet",
|
|
@@ -43925,7 +43869,7 @@ var init_genericallowance = __esm(() => {
|
|
|
43925
43869
|
// src/models/operations/genericens.ts
|
|
43926
43870
|
var GenericEnsChain, GenericEnsChain$inboundSchema, GenericEnsChain$outboundSchema, GenericEnsChain$, GenericEnsRequest$inboundSchema, GenericEnsRequest$outboundSchema, GenericEnsRequest$;
|
|
43927
43871
|
var init_genericens = __esm(() => {
|
|
43928
|
-
|
|
43872
|
+
init_zod();
|
|
43929
43873
|
init_primitives();
|
|
43930
43874
|
GenericEnsChain = {
|
|
43931
43875
|
BaseMainnet: "base:mainnet",
|
|
@@ -43963,7 +43907,7 @@ var init_genericens = __esm(() => {
|
|
|
43963
43907
|
// src/models/operations/genericportfolio.ts
|
|
43964
43908
|
var GenericPortfolioChain, GenericPortfolioChain$inboundSchema, GenericPortfolioChain$outboundSchema, GenericPortfolioChain$, GenericPortfolioRequest$inboundSchema, GenericPortfolioRequest$outboundSchema, GenericPortfolioRequest$;
|
|
43965
43909
|
var init_genericportfolio = __esm(() => {
|
|
43966
|
-
|
|
43910
|
+
init_zod();
|
|
43967
43911
|
GenericPortfolioChain = {
|
|
43968
43912
|
BaseMainnet: "base:mainnet",
|
|
43969
43913
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -43992,7 +43936,7 @@ var init_genericportfolio = __esm(() => {
|
|
|
43992
43936
|
// src/models/operations/genericsupportedtokens.ts
|
|
43993
43937
|
var GenericSupportedTokensChain, GenericSupportedTokensChain$inboundSchema, GenericSupportedTokensChain$outboundSchema, GenericSupportedTokensChain$, GenericSupportedTokensRequest$inboundSchema, GenericSupportedTokensRequest$outboundSchema, GenericSupportedTokensRequest$;
|
|
43994
43938
|
var init_genericsupportedtokens = __esm(() => {
|
|
43995
|
-
|
|
43939
|
+
init_zod();
|
|
43996
43940
|
GenericSupportedTokensChain = {
|
|
43997
43941
|
BaseMainnet: "base:mainnet",
|
|
43998
43942
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44019,7 +43963,7 @@ var init_genericsupportedtokens = __esm(() => {
|
|
|
44019
43963
|
// src/models/operations/genericvisualizeportfolio.ts
|
|
44020
43964
|
var GenericVisualizePortfolioChain, GenericVisualizePortfolioChain$inboundSchema, GenericVisualizePortfolioChain$outboundSchema, GenericVisualizePortfolioChain$, GenericVisualizePortfolioRequest$inboundSchema, GenericVisualizePortfolioRequest$outboundSchema, GenericVisualizePortfolioRequest$;
|
|
44021
43965
|
var init_genericvisualizeportfolio = __esm(() => {
|
|
44022
|
-
|
|
43966
|
+
init_zod();
|
|
44023
43967
|
GenericVisualizePortfolioChain = {
|
|
44024
43968
|
BaseMainnet: "base:mainnet",
|
|
44025
43969
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44048,7 +43992,7 @@ var init_genericvisualizeportfolio = __esm(() => {
|
|
|
44048
43992
|
// src/models/operations/morphomarket.ts
|
|
44049
43993
|
var MorphoMarketChain, MorphoMarketChain$inboundSchema, MorphoMarketChain$outboundSchema, MorphoMarketChain$, MorphoMarketRequest$inboundSchema, MorphoMarketRequest$outboundSchema, MorphoMarketRequest$;
|
|
44050
43994
|
var init_morphomarket2 = __esm(() => {
|
|
44051
|
-
|
|
43995
|
+
init_zod();
|
|
44052
43996
|
init_primitives();
|
|
44053
43997
|
MorphoMarketChain = {
|
|
44054
43998
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44085,7 +44029,7 @@ var init_morphomarket2 = __esm(() => {
|
|
|
44085
44029
|
// src/models/operations/morphomarketposition.ts
|
|
44086
44030
|
var MorphoMarketPositionChain, MorphoMarketPositionChain$inboundSchema, MorphoMarketPositionChain$outboundSchema, MorphoMarketPositionChain$, MorphoMarketPositionRequest$inboundSchema, MorphoMarketPositionRequest$outboundSchema, MorphoMarketPositionRequest$;
|
|
44087
44031
|
var init_morphomarketposition = __esm(() => {
|
|
44088
|
-
|
|
44032
|
+
init_zod();
|
|
44089
44033
|
init_primitives();
|
|
44090
44034
|
MorphoMarketPositionChain = {
|
|
44091
44035
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44126,7 +44070,7 @@ var init_morphomarketposition = __esm(() => {
|
|
|
44126
44070
|
// src/models/operations/morphomarkets.ts
|
|
44127
44071
|
var MorphoMarketsChain, MorphoMarketsChain$inboundSchema, MorphoMarketsChain$outboundSchema, MorphoMarketsChain$, MorphoMarketsRequest$inboundSchema, MorphoMarketsRequest$outboundSchema, MorphoMarketsRequest$;
|
|
44128
44072
|
var init_morphomarkets = __esm(() => {
|
|
44129
|
-
|
|
44073
|
+
init_zod();
|
|
44130
44074
|
init_primitives();
|
|
44131
44075
|
MorphoMarketsChain = {
|
|
44132
44076
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44167,7 +44111,7 @@ var init_morphomarkets = __esm(() => {
|
|
|
44167
44111
|
// src/models/operations/morphouserposition.ts
|
|
44168
44112
|
var MorphoUserPositionChain, MorphoUserPositionChain$inboundSchema, MorphoUserPositionChain$outboundSchema, MorphoUserPositionChain$, MorphoUserPositionRequest$inboundSchema, MorphoUserPositionRequest$outboundSchema, MorphoUserPositionRequest$;
|
|
44169
44113
|
var init_morphouserposition = __esm(() => {
|
|
44170
|
-
|
|
44114
|
+
init_zod();
|
|
44171
44115
|
init_primitives();
|
|
44172
44116
|
MorphoUserPositionChain = {
|
|
44173
44117
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44204,7 +44148,7 @@ var init_morphouserposition = __esm(() => {
|
|
|
44204
44148
|
// src/models/operations/morphovault.ts
|
|
44205
44149
|
var MorphoVaultChain, MorphoVaultChain$inboundSchema, MorphoVaultChain$outboundSchema, MorphoVaultChain$, MorphoVaultRequest$inboundSchema, MorphoVaultRequest$outboundSchema, MorphoVaultRequest$;
|
|
44206
44150
|
var init_morphovault2 = __esm(() => {
|
|
44207
|
-
|
|
44151
|
+
init_zod();
|
|
44208
44152
|
init_primitives();
|
|
44209
44153
|
MorphoVaultChain = {
|
|
44210
44154
|
BaseMainnet: "base:mainnet",
|
|
@@ -44245,51 +44189,10 @@ var init_morphovault2 = __esm(() => {
|
|
|
44245
44189
|
})(MorphoVaultRequest$ ||= {});
|
|
44246
44190
|
});
|
|
44247
44191
|
|
|
44248
|
-
// src/models/operations/morphovaultposition.ts
|
|
44249
|
-
var MorphoVaultPositionChain, MorphoVaultPositionChain$inboundSchema, MorphoVaultPositionChain$outboundSchema, MorphoVaultPositionChain$, MorphoVaultPositionRequest$inboundSchema, MorphoVaultPositionRequest$outboundSchema, MorphoVaultPositionRequest$;
|
|
44250
|
-
var init_morphovaultposition = __esm(() => {
|
|
44251
|
-
init_esm();
|
|
44252
|
-
init_primitives();
|
|
44253
|
-
MorphoVaultPositionChain = {
|
|
44254
|
-
EthereumMainnet: "ethereum:mainnet",
|
|
44255
|
-
BaseMainnet: "base:mainnet"
|
|
44256
|
-
};
|
|
44257
|
-
MorphoVaultPositionChain$inboundSchema = nativeEnumType(MorphoVaultPositionChain);
|
|
44258
|
-
MorphoVaultPositionChain$outboundSchema = MorphoVaultPositionChain$inboundSchema;
|
|
44259
|
-
((MorphoVaultPositionChain$) => {
|
|
44260
|
-
MorphoVaultPositionChain$.inboundSchema = MorphoVaultPositionChain$inboundSchema;
|
|
44261
|
-
MorphoVaultPositionChain$.outboundSchema = MorphoVaultPositionChain$outboundSchema;
|
|
44262
|
-
})(MorphoVaultPositionChain$ ||= {});
|
|
44263
|
-
MorphoVaultPositionRequest$inboundSchema = objectType({
|
|
44264
|
-
chain: MorphoVaultPositionChain$inboundSchema.default("base:mainnet"),
|
|
44265
|
-
user_address: stringType().default("0xB3B45f5aCBb58a432BDe58724c1C959E11D5A418"),
|
|
44266
|
-
vault_address: stringType().default("0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca")
|
|
44267
|
-
}).transform((v2) => {
|
|
44268
|
-
return remap(v2, {
|
|
44269
|
-
user_address: "userAddress",
|
|
44270
|
-
vault_address: "vaultAddress"
|
|
44271
|
-
});
|
|
44272
|
-
});
|
|
44273
|
-
MorphoVaultPositionRequest$outboundSchema = objectType({
|
|
44274
|
-
chain: MorphoVaultPositionChain$outboundSchema.default("base:mainnet"),
|
|
44275
|
-
userAddress: stringType().default("0xB3B45f5aCBb58a432BDe58724c1C959E11D5A418"),
|
|
44276
|
-
vaultAddress: stringType().default("0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca")
|
|
44277
|
-
}).transform((v2) => {
|
|
44278
|
-
return remap(v2, {
|
|
44279
|
-
userAddress: "user_address",
|
|
44280
|
-
vaultAddress: "vault_address"
|
|
44281
|
-
});
|
|
44282
|
-
});
|
|
44283
|
-
((MorphoVaultPositionRequest$) => {
|
|
44284
|
-
MorphoVaultPositionRequest$.inboundSchema = MorphoVaultPositionRequest$inboundSchema;
|
|
44285
|
-
MorphoVaultPositionRequest$.outboundSchema = MorphoVaultPositionRequest$outboundSchema;
|
|
44286
|
-
})(MorphoVaultPositionRequest$ ||= {});
|
|
44287
|
-
});
|
|
44288
|
-
|
|
44289
44192
|
// src/models/operations/morphovaults.ts
|
|
44290
44193
|
var MorphoVaultsChain, MorphoVaultsChain$inboundSchema, MorphoVaultsChain$outboundSchema, MorphoVaultsChain$, MorphoVaultsRequest$inboundSchema, MorphoVaultsRequest$outboundSchema, MorphoVaultsRequest$;
|
|
44291
44194
|
var init_morphovaults = __esm(() => {
|
|
44292
|
-
|
|
44195
|
+
init_zod();
|
|
44293
44196
|
init_primitives();
|
|
44294
44197
|
MorphoVaultsChain = {
|
|
44295
44198
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44326,7 +44229,7 @@ var init_morphovaults = __esm(() => {
|
|
|
44326
44229
|
// src/models/operations/pendlemarket.ts
|
|
44327
44230
|
var PendleMarketChain, PendleMarketChain$inboundSchema, PendleMarketChain$outboundSchema, PendleMarketChain$, PendleMarketRequest$inboundSchema, PendleMarketRequest$outboundSchema, PendleMarketRequest$;
|
|
44328
44231
|
var init_pendlemarket2 = __esm(() => {
|
|
44329
|
-
|
|
44232
|
+
init_zod();
|
|
44330
44233
|
init_primitives();
|
|
44331
44234
|
PendleMarketChain = {
|
|
44332
44235
|
BaseMainnet: "base:mainnet",
|
|
@@ -44366,7 +44269,7 @@ var init_pendlemarket2 = __esm(() => {
|
|
|
44366
44269
|
// src/models/operations/pendlemarkets.ts
|
|
44367
44270
|
var PendleMarketsChain, PendleMarketsChain$inboundSchema, PendleMarketsChain$outboundSchema, PendleMarketsChain$, PendleMarketsRequest$inboundSchema, PendleMarketsRequest$outboundSchema, PendleMarketsRequest$;
|
|
44368
44271
|
var init_pendlemarkets = __esm(() => {
|
|
44369
|
-
|
|
44272
|
+
init_zod();
|
|
44370
44273
|
PendleMarketsChain = {
|
|
44371
44274
|
BaseMainnet: "base:mainnet",
|
|
44372
44275
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44393,7 +44296,7 @@ var init_pendlemarkets = __esm(() => {
|
|
|
44393
44296
|
// src/models/operations/pendleposition.ts
|
|
44394
44297
|
var PendlePositionChain, PendlePositionChain$inboundSchema, PendlePositionChain$outboundSchema, PendlePositionChain$, PendlePositionRequest$inboundSchema, PendlePositionRequest$outboundSchema, PendlePositionRequest$;
|
|
44395
44298
|
var init_pendleposition = __esm(() => {
|
|
44396
|
-
|
|
44299
|
+
init_zod();
|
|
44397
44300
|
init_primitives();
|
|
44398
44301
|
PendlePositionChain = {
|
|
44399
44302
|
BaseMainnet: "base:mainnet",
|
|
@@ -44437,7 +44340,7 @@ var init_pendleposition = __esm(() => {
|
|
|
44437
44340
|
// src/models/operations/pendlepositions.ts
|
|
44438
44341
|
var PendlePositionsChain, PendlePositionsChain$inboundSchema, PendlePositionsChain$outboundSchema, PendlePositionsChain$, PendlePositionsRequest$inboundSchema, PendlePositionsRequest$outboundSchema, PendlePositionsRequest$;
|
|
44439
44342
|
var init_pendlepositions = __esm(() => {
|
|
44440
|
-
|
|
44343
|
+
init_zod();
|
|
44441
44344
|
init_primitives();
|
|
44442
44345
|
PendlePositionsChain = {
|
|
44443
44346
|
BaseMainnet: "base:mainnet",
|
|
@@ -44472,10 +44375,87 @@ var init_pendlepositions = __esm(() => {
|
|
|
44472
44375
|
})(PendlePositionsRequest$ ||= {});
|
|
44473
44376
|
});
|
|
44474
44377
|
|
|
44378
|
+
// src/models/operations/pendlequote.ts
|
|
44379
|
+
var PendleQuoteChain, TokenType, TradeType, PendleQuoteChain$inboundSchema, PendleQuoteChain$outboundSchema, PendleQuoteChain$, Amount$inboundSchema, Amount$outboundSchema, Amount$, TokenType$inboundSchema, TokenType$outboundSchema, TokenType$, TradeType$inboundSchema, TradeType$outboundSchema, TradeType$, PendleQuoteRequest$inboundSchema, PendleQuoteRequest$outboundSchema, PendleQuoteRequest$;
|
|
44380
|
+
var init_pendlequote = __esm(() => {
|
|
44381
|
+
init_zod();
|
|
44382
|
+
init_primitives();
|
|
44383
|
+
PendleQuoteChain = {
|
|
44384
|
+
BaseMainnet: "base:mainnet",
|
|
44385
|
+
EthereumMainnet: "ethereum:mainnet",
|
|
44386
|
+
ArbitrumMainnet: "arbitrum:mainnet"
|
|
44387
|
+
};
|
|
44388
|
+
TokenType = {
|
|
44389
|
+
Pt: "PT",
|
|
44390
|
+
Yt: "YT",
|
|
44391
|
+
Lp: "LP"
|
|
44392
|
+
};
|
|
44393
|
+
TradeType = {
|
|
44394
|
+
Buy: "BUY",
|
|
44395
|
+
Sell: "SELL"
|
|
44396
|
+
};
|
|
44397
|
+
PendleQuoteChain$inboundSchema = nativeEnumType(PendleQuoteChain);
|
|
44398
|
+
PendleQuoteChain$outboundSchema = PendleQuoteChain$inboundSchema;
|
|
44399
|
+
((PendleQuoteChain$) => {
|
|
44400
|
+
PendleQuoteChain$.inboundSchema = PendleQuoteChain$inboundSchema;
|
|
44401
|
+
PendleQuoteChain$.outboundSchema = PendleQuoteChain$outboundSchema;
|
|
44402
|
+
})(PendleQuoteChain$ ||= {});
|
|
44403
|
+
Amount$inboundSchema = unionType([numberType(), stringType()]);
|
|
44404
|
+
Amount$outboundSchema = unionType([numberType(), stringType()]);
|
|
44405
|
+
((Amount$) => {
|
|
44406
|
+
Amount$.inboundSchema = Amount$inboundSchema;
|
|
44407
|
+
Amount$.outboundSchema = Amount$outboundSchema;
|
|
44408
|
+
})(Amount$ ||= {});
|
|
44409
|
+
TokenType$inboundSchema = nativeEnumType(TokenType);
|
|
44410
|
+
TokenType$outboundSchema = TokenType$inboundSchema;
|
|
44411
|
+
((TokenType$) => {
|
|
44412
|
+
TokenType$.inboundSchema = TokenType$inboundSchema;
|
|
44413
|
+
TokenType$.outboundSchema = TokenType$outboundSchema;
|
|
44414
|
+
})(TokenType$ ||= {});
|
|
44415
|
+
TradeType$inboundSchema = nativeEnumType(TradeType);
|
|
44416
|
+
TradeType$outboundSchema = TradeType$inboundSchema;
|
|
44417
|
+
((TradeType$) => {
|
|
44418
|
+
TradeType$.inboundSchema = TradeType$inboundSchema;
|
|
44419
|
+
TradeType$.outboundSchema = TradeType$outboundSchema;
|
|
44420
|
+
})(TradeType$ ||= {});
|
|
44421
|
+
PendleQuoteRequest$inboundSchema = objectType({
|
|
44422
|
+
chain: PendleQuoteChain$inboundSchema.default("arbitrum:mainnet"),
|
|
44423
|
+
block: nullableType(numberType().int()).optional(),
|
|
44424
|
+
market_address: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44425
|
+
amount: unionType([numberType(), stringType()]),
|
|
44426
|
+
token_type: TokenType$inboundSchema.default("PT"),
|
|
44427
|
+
trade_type: TradeType$inboundSchema.default("BUY")
|
|
44428
|
+
}).transform((v2) => {
|
|
44429
|
+
return remap(v2, {
|
|
44430
|
+
market_address: "marketAddress",
|
|
44431
|
+
token_type: "tokenType",
|
|
44432
|
+
trade_type: "tradeType"
|
|
44433
|
+
});
|
|
44434
|
+
});
|
|
44435
|
+
PendleQuoteRequest$outboundSchema = objectType({
|
|
44436
|
+
chain: PendleQuoteChain$outboundSchema.default("arbitrum:mainnet"),
|
|
44437
|
+
block: nullableType(numberType().int()).optional(),
|
|
44438
|
+
marketAddress: stringType().default("0x46d62a8dede1bf2d0de04f2ed863245cbba5e538"),
|
|
44439
|
+
amount: unionType([numberType(), stringType()]),
|
|
44440
|
+
tokenType: TokenType$outboundSchema.default("PT"),
|
|
44441
|
+
tradeType: TradeType$outboundSchema.default("BUY")
|
|
44442
|
+
}).transform((v2) => {
|
|
44443
|
+
return remap(v2, {
|
|
44444
|
+
marketAddress: "market_address",
|
|
44445
|
+
tokenType: "token_type",
|
|
44446
|
+
tradeType: "trade_type"
|
|
44447
|
+
});
|
|
44448
|
+
});
|
|
44449
|
+
((PendleQuoteRequest$) => {
|
|
44450
|
+
PendleQuoteRequest$.inboundSchema = PendleQuoteRequest$inboundSchema;
|
|
44451
|
+
PendleQuoteRequest$.outboundSchema = PendleQuoteRequest$outboundSchema;
|
|
44452
|
+
})(PendleQuoteRequest$ ||= {});
|
|
44453
|
+
});
|
|
44454
|
+
|
|
44475
44455
|
// src/models/operations/skyposition.ts
|
|
44476
44456
|
var SkyPositionRequest$inboundSchema, SkyPositionRequest$outboundSchema, SkyPositionRequest$;
|
|
44477
44457
|
var init_skyposition = __esm(() => {
|
|
44478
|
-
|
|
44458
|
+
init_zod();
|
|
44479
44459
|
init_primitives();
|
|
44480
44460
|
SkyPositionRequest$inboundSchema = objectType({
|
|
44481
44461
|
chain: literalType("ethereum:mainnet").default("ethereum:mainnet"),
|
|
@@ -44502,7 +44482,7 @@ var init_skyposition = __esm(() => {
|
|
|
44502
44482
|
// src/models/operations/tokenaddress.ts
|
|
44503
44483
|
var TokenAddressChain, TokenAddressToken, TokenAddressChain$inboundSchema, TokenAddressChain$outboundSchema, TokenAddressChain$, TokenAddressToken$inboundSchema, TokenAddressToken$outboundSchema, TokenAddressToken$, TokenAddressRequest$inboundSchema, TokenAddressRequest$outboundSchema, TokenAddressRequest$;
|
|
44504
44484
|
var init_tokenaddress = __esm(() => {
|
|
44505
|
-
|
|
44485
|
+
init_zod();
|
|
44506
44486
|
TokenAddressChain = {
|
|
44507
44487
|
BaseMainnet: "base:mainnet",
|
|
44508
44488
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44583,7 +44563,7 @@ var init_tokenaddress = __esm(() => {
|
|
|
44583
44563
|
// src/models/operations/tokenbalance.ts
|
|
44584
44564
|
var TokenBalanceChain, TokenBalanceChain$inboundSchema, TokenBalanceChain$outboundSchema, TokenBalanceChain$, TokenBalanceToken$inboundSchema, TokenBalanceToken$outboundSchema, TokenBalanceToken$, TokenBalanceRequest$inboundSchema, TokenBalanceRequest$outboundSchema, TokenBalanceRequest$;
|
|
44585
44565
|
var init_tokenbalance = __esm(() => {
|
|
44586
|
-
|
|
44566
|
+
init_zod();
|
|
44587
44567
|
init_components();
|
|
44588
44568
|
TokenBalanceChain = {
|
|
44589
44569
|
BaseMainnet: "base:mainnet",
|
|
@@ -44621,7 +44601,7 @@ var init_tokenbalance = __esm(() => {
|
|
|
44621
44601
|
// src/models/operations/tokenprice.ts
|
|
44622
44602
|
var TokenPriceChain, TokenPriceToken, TokenPriceChain$inboundSchema, TokenPriceChain$outboundSchema, TokenPriceChain$, TokenPriceToken$inboundSchema, TokenPriceToken$outboundSchema, TokenPriceToken$, TokenPriceRequest$inboundSchema, TokenPriceRequest$outboundSchema, TokenPriceRequest$;
|
|
44623
44603
|
var init_tokenprice = __esm(() => {
|
|
44624
|
-
|
|
44604
|
+
init_zod();
|
|
44625
44605
|
TokenPriceChain = {
|
|
44626
44606
|
BaseMainnet: "base:mainnet",
|
|
44627
44607
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44704,7 +44684,7 @@ var init_tokenprice = __esm(() => {
|
|
|
44704
44684
|
// src/models/operations/uniswapliquidityprovisioninrange.ts
|
|
44705
44685
|
var UniswapLiquidityProvisionInRangeChain, UniswapLiquidityProvisionInRangeChain$inboundSchema, UniswapLiquidityProvisionInRangeChain$outboundSchema, UniswapLiquidityProvisionInRangeChain$, UniswapLiquidityProvisionInRangeRequest$inboundSchema, UniswapLiquidityProvisionInRangeRequest$outboundSchema, UniswapLiquidityProvisionInRangeRequest$;
|
|
44706
44686
|
var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
44707
|
-
|
|
44687
|
+
init_zod();
|
|
44708
44688
|
init_primitives();
|
|
44709
44689
|
UniswapLiquidityProvisionInRangeChain = {
|
|
44710
44690
|
BaseMainnet: "base:mainnet",
|
|
@@ -44742,7 +44722,7 @@ var init_uniswapliquidityprovisioninrange = __esm(() => {
|
|
|
44742
44722
|
// src/models/operations/uniswapliquidityprovisionpositions.ts
|
|
44743
44723
|
var UniswapLiquidityProvisionPositionsChain, UniswapLiquidityProvisionPositionsChain$inboundSchema, UniswapLiquidityProvisionPositionsChain$outboundSchema, UniswapLiquidityProvisionPositionsChain$, UniswapLiquidityProvisionPositionsRequest$inboundSchema, UniswapLiquidityProvisionPositionsRequest$outboundSchema, UniswapLiquidityProvisionPositionsRequest$;
|
|
44744
44724
|
var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
44745
|
-
|
|
44725
|
+
init_zod();
|
|
44746
44726
|
UniswapLiquidityProvisionPositionsChain = {
|
|
44747
44727
|
BaseMainnet: "base:mainnet",
|
|
44748
44728
|
EthereumMainnet: "ethereum:mainnet",
|
|
@@ -44771,7 +44751,7 @@ var init_uniswapliquidityprovisionpositions = __esm(() => {
|
|
|
44771
44751
|
// src/models/operations/uniswappoolprice.ts
|
|
44772
44752
|
var UniswapPoolPriceChain, UniswapPoolPriceTokenInToken, UniswapPoolPriceTokenOutToken, UniswapPoolPriceFeeEnum, UniswapPoolPriceChain$inboundSchema, UniswapPoolPriceChain$outboundSchema, UniswapPoolPriceChain$, UniswapPoolPriceTokenInToken$inboundSchema, UniswapPoolPriceTokenInToken$outboundSchema, UniswapPoolPriceTokenInToken$, UniswapPoolPriceTokenOutToken$inboundSchema, UniswapPoolPriceTokenOutToken$outboundSchema, UniswapPoolPriceTokenOutToken$, UniswapPoolPriceFeeEnum$inboundSchema, UniswapPoolPriceFeeEnum$outboundSchema, UniswapPoolPriceFeeEnum$, UniswapPoolPriceRequest$inboundSchema, UniswapPoolPriceRequest$outboundSchema, UniswapPoolPriceRequest$;
|
|
44773
44753
|
var init_uniswappoolprice = __esm(() => {
|
|
44774
|
-
|
|
44754
|
+
init_zod();
|
|
44775
44755
|
init_primitives();
|
|
44776
44756
|
UniswapPoolPriceChain = {
|
|
44777
44757
|
BaseMainnet: "base:mainnet",
|
|
@@ -44931,7 +44911,7 @@ var init_uniswappoolprice = __esm(() => {
|
|
|
44931
44911
|
// src/models/operations/uniswapquotebuyexactly.ts
|
|
44932
44912
|
var UniswapQuoteBuyExactlyChain, UniswapQuoteBuyExactlyTokenInToken, UniswapQuoteBuyExactlyTokenOutToken, UniswapQuoteBuyExactlyFeeEnum, UniswapQuoteBuyExactlyChain$inboundSchema, UniswapQuoteBuyExactlyChain$outboundSchema, UniswapQuoteBuyExactlyChain$, UniswapQuoteBuyExactlyTokenInToken$inboundSchema, UniswapQuoteBuyExactlyTokenInToken$outboundSchema, UniswapQuoteBuyExactlyTokenInToken$, UniswapQuoteBuyExactlyTokenOutToken$inboundSchema, UniswapQuoteBuyExactlyTokenOutToken$outboundSchema, UniswapQuoteBuyExactlyTokenOutToken$, UniswapQuoteBuyExactlyFeeEnum$inboundSchema, UniswapQuoteBuyExactlyFeeEnum$outboundSchema, UniswapQuoteBuyExactlyFeeEnum$, AmountOut$inboundSchema, AmountOut$outboundSchema, AmountOut$, UniswapQuoteBuyExactlyRequest$inboundSchema, UniswapQuoteBuyExactlyRequest$outboundSchema, UniswapQuoteBuyExactlyRequest$;
|
|
44933
44913
|
var init_uniswapquotebuyexactly = __esm(() => {
|
|
44934
|
-
|
|
44914
|
+
init_zod();
|
|
44935
44915
|
init_primitives();
|
|
44936
44916
|
UniswapQuoteBuyExactlyChain = {
|
|
44937
44917
|
BaseMainnet: "base:mainnet",
|
|
@@ -45101,7 +45081,7 @@ var init_uniswapquotebuyexactly = __esm(() => {
|
|
|
45101
45081
|
// src/models/operations/uniswapquotesellexactly.ts
|
|
45102
45082
|
var UniswapQuoteSellExactlyChain, UniswapQuoteSellExactlyTokenInToken, UniswapQuoteSellExactlyTokenOutToken, UniswapQuoteSellExactlyFeeEnum, UniswapQuoteSellExactlyChain$inboundSchema, UniswapQuoteSellExactlyChain$outboundSchema, UniswapQuoteSellExactlyChain$, UniswapQuoteSellExactlyTokenInToken$inboundSchema, UniswapQuoteSellExactlyTokenInToken$outboundSchema, UniswapQuoteSellExactlyTokenInToken$, UniswapQuoteSellExactlyTokenOutToken$inboundSchema, UniswapQuoteSellExactlyTokenOutToken$outboundSchema, UniswapQuoteSellExactlyTokenOutToken$, UniswapQuoteSellExactlyFeeEnum$inboundSchema, UniswapQuoteSellExactlyFeeEnum$outboundSchema, UniswapQuoteSellExactlyFeeEnum$, AmountIn$inboundSchema, AmountIn$outboundSchema, AmountIn$, UniswapQuoteSellExactlyRequest$inboundSchema, UniswapQuoteSellExactlyRequest$outboundSchema, UniswapQuoteSellExactlyRequest$;
|
|
45103
45083
|
var init_uniswapquotesellexactly = __esm(() => {
|
|
45104
|
-
|
|
45084
|
+
init_zod();
|
|
45105
45085
|
init_primitives();
|
|
45106
45086
|
UniswapQuoteSellExactlyChain = {
|
|
45107
45087
|
BaseMainnet: "base:mainnet",
|
|
@@ -45271,7 +45251,7 @@ var init_uniswapquotesellexactly = __esm(() => {
|
|
|
45271
45251
|
// src/models/operations/vaultsvault.ts
|
|
45272
45252
|
var VaultsVaultChain, VaultsVaultChain$inboundSchema, VaultsVaultChain$outboundSchema, VaultsVaultChain$, VaultsVaultRequest$inboundSchema, VaultsVaultRequest$outboundSchema, VaultsVaultRequest$;
|
|
45273
45253
|
var init_vaultsvault = __esm(() => {
|
|
45274
|
-
|
|
45254
|
+
init_zod();
|
|
45275
45255
|
init_primitives();
|
|
45276
45256
|
VaultsVaultChain = {
|
|
45277
45257
|
BaseMainnet: "base:mainnet",
|
|
@@ -45335,12 +45315,12 @@ var init_operations = __esm(() => {
|
|
|
45335
45315
|
init_morphomarkets();
|
|
45336
45316
|
init_morphouserposition();
|
|
45337
45317
|
init_morphovault2();
|
|
45338
|
-
init_morphovaultposition();
|
|
45339
45318
|
init_morphovaults();
|
|
45340
45319
|
init_pendlemarket2();
|
|
45341
45320
|
init_pendlemarkets();
|
|
45342
45321
|
init_pendleposition();
|
|
45343
45322
|
init_pendlepositions();
|
|
45323
|
+
init_pendlequote();
|
|
45344
45324
|
init_skyposition();
|
|
45345
45325
|
init_tokenaddress();
|
|
45346
45326
|
init_tokenbalance();
|
|
@@ -47849,7 +47829,9 @@ var init_erc4626VaultsVault2 = __esm(() => {
|
|
|
47849
47829
|
name: "ERC-4626-vaults-vault",
|
|
47850
47830
|
description: `Get Vault & User Position
|
|
47851
47831
|
|
|
47852
|
-
Get Vault & User Position
|
|
47832
|
+
Get Vault data & User Position.
|
|
47833
|
+
|
|
47834
|
+
The user position is only included if 'user_address' parameter is included.`,
|
|
47853
47835
|
args: args22,
|
|
47854
47836
|
tool: async (client, args23, ctx) => {
|
|
47855
47837
|
const [result, apiCall] = await erc4626VaultsVault(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -48924,7 +48906,7 @@ async function $do32(client, request, options) {
|
|
|
48924
48906
|
const responseFields = {
|
|
48925
48907
|
HttpMeta: { Response: response, Request: req }
|
|
48926
48908
|
};
|
|
48927
|
-
const [result] = await match(json(200,
|
|
48909
|
+
const [result] = await match(json(200, VaultGetVaultResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
48928
48910
|
if (!result.ok) {
|
|
48929
48911
|
return [result, { status: "complete", request: req, response }];
|
|
48930
48912
|
}
|
|
@@ -48956,14 +48938,9 @@ var init_morphoVault2 = __esm(() => {
|
|
|
48956
48938
|
name: "morpho-vault",
|
|
48957
48939
|
description: `Get Vault
|
|
48958
48940
|
|
|
48959
|
-
Get data &
|
|
48941
|
+
Get Vault data & User Position.
|
|
48960
48942
|
|
|
48961
|
-
|
|
48962
|
-
- Current, daily, weekly, monthly, yearly APY
|
|
48963
|
-
- Underlying asset data
|
|
48964
|
-
- Total liquidity
|
|
48965
|
-
- Pertinent metadata
|
|
48966
|
-
- Whitelist status`,
|
|
48943
|
+
The user position is only included if 'user_address' parameter is included.`,
|
|
48967
48944
|
args: args32,
|
|
48968
48945
|
tool: async (client, args33, ctx) => {
|
|
48969
48946
|
const [result, apiCall] = await morphoVault(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -48979,121 +48956,11 @@ Including:
|
|
|
48979
48956
|
};
|
|
48980
48957
|
});
|
|
48981
48958
|
|
|
48982
|
-
// src/funcs/morphoVaultPosition.ts
|
|
48983
|
-
function morphoVaultPosition(client, request, options) {
|
|
48984
|
-
return new APIPromise($do33(client, request, options));
|
|
48985
|
-
}
|
|
48986
|
-
async function $do33(client, request, options) {
|
|
48987
|
-
const parsed = safeParse(request, (value) => MorphoVaultPositionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48988
|
-
if (!parsed.ok) {
|
|
48989
|
-
return [parsed, { status: "invalid" }];
|
|
48990
|
-
}
|
|
48991
|
-
const payload = parsed.value;
|
|
48992
|
-
const body = null;
|
|
48993
|
-
const path = pathToFunc("/v0/morpho/vault_position")();
|
|
48994
|
-
const query = encodeFormQuery({
|
|
48995
|
-
chain: payload.chain,
|
|
48996
|
-
user_address: payload.user_address,
|
|
48997
|
-
vault_address: payload.vault_address
|
|
48998
|
-
});
|
|
48999
|
-
const headers = new Headers(compactMap({
|
|
49000
|
-
Accept: "application/json"
|
|
49001
|
-
}));
|
|
49002
|
-
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
49003
|
-
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
49004
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49005
|
-
const context = {
|
|
49006
|
-
options: client._options,
|
|
49007
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49008
|
-
operationID: "morpho_vault_position",
|
|
49009
|
-
oAuth2Scopes: [],
|
|
49010
|
-
resolvedSecurity: requestSecurity,
|
|
49011
|
-
securitySource: client._options.apiKeyAuth,
|
|
49012
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
49013
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
49014
|
-
};
|
|
49015
|
-
const requestRes = client._createRequest(context, {
|
|
49016
|
-
security: requestSecurity,
|
|
49017
|
-
method: "GET",
|
|
49018
|
-
baseURL: options?.serverURL,
|
|
49019
|
-
path,
|
|
49020
|
-
headers,
|
|
49021
|
-
query,
|
|
49022
|
-
body,
|
|
49023
|
-
userAgent: client._options.userAgent,
|
|
49024
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49025
|
-
}, options);
|
|
49026
|
-
if (!requestRes.ok) {
|
|
49027
|
-
return [requestRes, { status: "invalid" }];
|
|
49028
|
-
}
|
|
49029
|
-
const req = requestRes.value;
|
|
49030
|
-
const doResult = await client._do(req, {
|
|
49031
|
-
context,
|
|
49032
|
-
errorCodes: ["422", "4XX", "5XX"],
|
|
49033
|
-
retryConfig: context.retryConfig,
|
|
49034
|
-
retryCodes: context.retryCodes
|
|
49035
|
-
});
|
|
49036
|
-
if (!doResult.ok) {
|
|
49037
|
-
return [doResult, { status: "request-error", request: req }];
|
|
49038
|
-
}
|
|
49039
|
-
const response = doResult.value;
|
|
49040
|
-
const responseFields = {
|
|
49041
|
-
HttpMeta: { Response: response, Request: req }
|
|
49042
|
-
};
|
|
49043
|
-
const [result] = await match(json(200, MorphoCheckVaultPositionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
49044
|
-
if (!result.ok) {
|
|
49045
|
-
return [result, { status: "complete", request: req, response }];
|
|
49046
|
-
}
|
|
49047
|
-
return [result, { status: "complete", request: req, response }];
|
|
49048
|
-
}
|
|
49049
|
-
var init_morphoVaultPosition = __esm(() => {
|
|
49050
|
-
init_encodings();
|
|
49051
|
-
init_matchers();
|
|
49052
|
-
init_primitives();
|
|
49053
|
-
init_schemas();
|
|
49054
|
-
init_security();
|
|
49055
|
-
init_url();
|
|
49056
|
-
init_components();
|
|
49057
|
-
init_errors2();
|
|
49058
|
-
init_operations();
|
|
49059
|
-
init_async();
|
|
49060
|
-
});
|
|
49061
|
-
|
|
49062
|
-
// src/mcp-server/tools/morphoVaultPosition.ts
|
|
49063
|
-
var args33, tool$morphoVaultPosition;
|
|
49064
|
-
var init_morphoVaultPosition2 = __esm(() => {
|
|
49065
|
-
init_morphoVaultPosition();
|
|
49066
|
-
init_operations();
|
|
49067
|
-
init_tools();
|
|
49068
|
-
args33 = {
|
|
49069
|
-
request: MorphoVaultPositionRequest$inboundSchema
|
|
49070
|
-
};
|
|
49071
|
-
tool$morphoVaultPosition = {
|
|
49072
|
-
name: "morpho-vault-position",
|
|
49073
|
-
description: `Check Vault Position
|
|
49074
|
-
|
|
49075
|
-
Check how many shares you own and the equivalent token amount of a given
|
|
49076
|
-
vault.`,
|
|
49077
|
-
args: args33,
|
|
49078
|
-
tool: async (client, args34, ctx) => {
|
|
49079
|
-
const [result, apiCall] = await morphoVaultPosition(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49080
|
-
if (!result.ok) {
|
|
49081
|
-
return {
|
|
49082
|
-
content: [{ type: "text", text: result.error.message }],
|
|
49083
|
-
isError: true
|
|
49084
|
-
};
|
|
49085
|
-
}
|
|
49086
|
-
const value = result.value;
|
|
49087
|
-
return formatResult(value, apiCall);
|
|
49088
|
-
}
|
|
49089
|
-
};
|
|
49090
|
-
});
|
|
49091
|
-
|
|
49092
48959
|
// src/funcs/morphoVaults.ts
|
|
49093
48960
|
function morphoVaults(client, request, options) {
|
|
49094
|
-
return new APIPromise($
|
|
48961
|
+
return new APIPromise($do33(client, request, options));
|
|
49095
48962
|
}
|
|
49096
|
-
async function $
|
|
48963
|
+
async function $do33(client, request, options) {
|
|
49097
48964
|
const parsed = safeParse(request, (value) => MorphoVaultsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49098
48965
|
if (!parsed.ok) {
|
|
49099
48966
|
return [parsed, { status: "invalid" }];
|
|
@@ -49169,12 +49036,12 @@ var init_morphoVaults = __esm(() => {
|
|
|
49169
49036
|
});
|
|
49170
49037
|
|
|
49171
49038
|
// src/mcp-server/tools/morphoVaults.ts
|
|
49172
|
-
var
|
|
49039
|
+
var args33, tool$morphoVaults;
|
|
49173
49040
|
var init_morphoVaults2 = __esm(() => {
|
|
49174
49041
|
init_morphoVaults();
|
|
49175
49042
|
init_operations();
|
|
49176
49043
|
init_tools();
|
|
49177
|
-
|
|
49044
|
+
args33 = {
|
|
49178
49045
|
request: MorphoVaultsRequest$inboundSchema
|
|
49179
49046
|
};
|
|
49180
49047
|
tool$morphoVaults = {
|
|
@@ -49186,9 +49053,9 @@ Query a list of vaults you can deposit into.
|
|
|
49186
49053
|
Each vault has one unique token that can be deposited. In exchange for depositing
|
|
49187
49054
|
tokens into a vault you receive shares. You earn yield on these shares by their
|
|
49188
49055
|
exchange value increasing over time.`,
|
|
49189
|
-
args:
|
|
49190
|
-
tool: async (client,
|
|
49191
|
-
const [result, apiCall] = await morphoVaults(client,
|
|
49056
|
+
args: args33,
|
|
49057
|
+
tool: async (client, args34, ctx) => {
|
|
49058
|
+
const [result, apiCall] = await morphoVaults(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49192
49059
|
if (!result.ok) {
|
|
49193
49060
|
return {
|
|
49194
49061
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49203,9 +49070,9 @@ exchange value increasing over time.`,
|
|
|
49203
49070
|
|
|
49204
49071
|
// src/funcs/morphoWithdraw.ts
|
|
49205
49072
|
function morphoWithdraw(client, request, options) {
|
|
49206
|
-
return new APIPromise($
|
|
49073
|
+
return new APIPromise($do34(client, request, options));
|
|
49207
49074
|
}
|
|
49208
|
-
async function $
|
|
49075
|
+
async function $do34(client, request, options) {
|
|
49209
49076
|
const parsed = safeParse(request, (value) => MorphoWithdrawRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49210
49077
|
if (!parsed.ok) {
|
|
49211
49078
|
return [parsed, { status: "invalid" }];
|
|
@@ -49276,12 +49143,12 @@ var init_morphoWithdraw = __esm(() => {
|
|
|
49276
49143
|
});
|
|
49277
49144
|
|
|
49278
49145
|
// src/mcp-server/tools/morphoWithdraw.ts
|
|
49279
|
-
var
|
|
49146
|
+
var args34, tool$morphoWithdraw;
|
|
49280
49147
|
var init_morphoWithdraw2 = __esm(() => {
|
|
49281
49148
|
init_morphoWithdraw();
|
|
49282
49149
|
init_components();
|
|
49283
49150
|
init_tools();
|
|
49284
|
-
|
|
49151
|
+
args34 = {
|
|
49285
49152
|
request: MorphoWithdrawRequest$inboundSchema
|
|
49286
49153
|
};
|
|
49287
49154
|
tool$morphoWithdraw = {
|
|
@@ -49299,9 +49166,9 @@ paid by borrowers. Vaults feature automated risk management, actively curating r
|
|
|
49299
49166
|
exposure for all deposited assets so users don't need to make these decisions
|
|
49300
49167
|
themselves. Users maintain full control over their assets, can monitor the vault's
|
|
49301
49168
|
state at any time, and withdraw their liquidity at their discretion.`,
|
|
49302
|
-
args:
|
|
49303
|
-
tool: async (client,
|
|
49304
|
-
const [result, apiCall] = await morphoWithdraw(client,
|
|
49169
|
+
args: args34,
|
|
49170
|
+
tool: async (client, args35, ctx) => {
|
|
49171
|
+
const [result, apiCall] = await morphoWithdraw(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49305
49172
|
if (!result.ok) {
|
|
49306
49173
|
return {
|
|
49307
49174
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49316,9 +49183,9 @@ state at any time, and withdraw their liquidity at their discretion.`,
|
|
|
49316
49183
|
|
|
49317
49184
|
// src/funcs/morphoWithdrawCollateral.ts
|
|
49318
49185
|
function morphoWithdrawCollateral(client, request, options) {
|
|
49319
|
-
return new APIPromise($
|
|
49186
|
+
return new APIPromise($do35(client, request, options));
|
|
49320
49187
|
}
|
|
49321
|
-
async function $
|
|
49188
|
+
async function $do35(client, request, options) {
|
|
49322
49189
|
const parsed = safeParse(request, (value) => MorphoWithdrawCollateralRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49323
49190
|
if (!parsed.ok) {
|
|
49324
49191
|
return [parsed, { status: "invalid" }];
|
|
@@ -49389,12 +49256,12 @@ var init_morphoWithdrawCollateral = __esm(() => {
|
|
|
49389
49256
|
});
|
|
49390
49257
|
|
|
49391
49258
|
// src/mcp-server/tools/morphoWithdrawCollateral.ts
|
|
49392
|
-
var
|
|
49259
|
+
var args35, tool$morphoWithdrawCollateral;
|
|
49393
49260
|
var init_morphoWithdrawCollateral2 = __esm(() => {
|
|
49394
49261
|
init_morphoWithdrawCollateral();
|
|
49395
49262
|
init_components();
|
|
49396
49263
|
init_tools();
|
|
49397
|
-
|
|
49264
|
+
args35 = {
|
|
49398
49265
|
request: MorphoWithdrawCollateralRequest$inboundSchema
|
|
49399
49266
|
};
|
|
49400
49267
|
tool$morphoWithdrawCollateral = {
|
|
@@ -49407,9 +49274,9 @@ A Morpho Market is a primitive lending pool that pairs one collateral asset with
|
|
|
49407
49274
|
loan asset. Each market is isolated (meaning risks are contained within each
|
|
49408
49275
|
individual market), immutable (cannot be changed after deployment), and will persist
|
|
49409
49276
|
as long as the blockchain it is deployed on is live.`,
|
|
49410
|
-
args:
|
|
49411
|
-
tool: async (client,
|
|
49412
|
-
const [result, apiCall] = await morphoWithdrawCollateral(client,
|
|
49277
|
+
args: args35,
|
|
49278
|
+
tool: async (client, args36, ctx) => {
|
|
49279
|
+
const [result, apiCall] = await morphoWithdrawCollateral(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49413
49280
|
if (!result.ok) {
|
|
49414
49281
|
return {
|
|
49415
49282
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49424,9 +49291,9 @@ as long as the blockchain it is deployed on is live.`,
|
|
|
49424
49291
|
|
|
49425
49292
|
// src/funcs/pendleAddLiquidity.ts
|
|
49426
49293
|
function pendleAddLiquidity(client, request, options) {
|
|
49427
|
-
return new APIPromise($
|
|
49294
|
+
return new APIPromise($do36(client, request, options));
|
|
49428
49295
|
}
|
|
49429
|
-
async function $
|
|
49296
|
+
async function $do36(client, request, options) {
|
|
49430
49297
|
const parsed = safeParse(request, (value) => PendleAddLiquidityRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49431
49298
|
if (!parsed.ok) {
|
|
49432
49299
|
return [parsed, { status: "invalid" }];
|
|
@@ -49497,12 +49364,12 @@ var init_pendleAddLiquidity = __esm(() => {
|
|
|
49497
49364
|
});
|
|
49498
49365
|
|
|
49499
49366
|
// src/mcp-server/tools/pendleAddLiquidity.ts
|
|
49500
|
-
var
|
|
49367
|
+
var args36, tool$pendleAddLiquidity;
|
|
49501
49368
|
var init_pendleAddLiquidity2 = __esm(() => {
|
|
49502
49369
|
init_pendleAddLiquidity();
|
|
49503
49370
|
init_components();
|
|
49504
49371
|
init_tools();
|
|
49505
|
-
|
|
49372
|
+
args36 = {
|
|
49506
49373
|
request: PendleAddLiquidityRequest$inboundSchema
|
|
49507
49374
|
};
|
|
49508
49375
|
tool$pendleAddLiquidity = {
|
|
@@ -49513,9 +49380,9 @@ Add liquidity to a Pendle Market to earn yield.
|
|
|
49513
49380
|
|
|
49514
49381
|
Liquidity is added in the form of the market's Underlying Token. Representation of
|
|
49515
49382
|
the liquidity received is the market's Liquidity Provider Token (LP).`,
|
|
49516
|
-
args:
|
|
49517
|
-
tool: async (client,
|
|
49518
|
-
const [result, apiCall] = await pendleAddLiquidity(client,
|
|
49383
|
+
args: args36,
|
|
49384
|
+
tool: async (client, args37, ctx) => {
|
|
49385
|
+
const [result, apiCall] = await pendleAddLiquidity(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49519
49386
|
if (!result.ok) {
|
|
49520
49387
|
return {
|
|
49521
49388
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49530,9 +49397,9 @@ the liquidity received is the market's Liquidity Provider Token (LP).`,
|
|
|
49530
49397
|
|
|
49531
49398
|
// src/funcs/pendleBuyPt.ts
|
|
49532
49399
|
function pendleBuyPt(client, request, options) {
|
|
49533
|
-
return new APIPromise($
|
|
49400
|
+
return new APIPromise($do37(client, request, options));
|
|
49534
49401
|
}
|
|
49535
|
-
async function $
|
|
49402
|
+
async function $do37(client, request, options) {
|
|
49536
49403
|
const parsed = safeParse(request, (value) => PendleBuyPtRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49537
49404
|
if (!parsed.ok) {
|
|
49538
49405
|
return [parsed, { status: "invalid" }];
|
|
@@ -49603,12 +49470,12 @@ var init_pendleBuyPt = __esm(() => {
|
|
|
49603
49470
|
});
|
|
49604
49471
|
|
|
49605
49472
|
// src/mcp-server/tools/pendleBuyPt.ts
|
|
49606
|
-
var
|
|
49473
|
+
var args37, tool$pendleBuyPt;
|
|
49607
49474
|
var init_pendleBuyPt2 = __esm(() => {
|
|
49608
49475
|
init_pendleBuyPt();
|
|
49609
49476
|
init_components();
|
|
49610
49477
|
init_tools();
|
|
49611
|
-
|
|
49478
|
+
args37 = {
|
|
49612
49479
|
request: PendleBuyPtRequest$inboundSchema
|
|
49613
49480
|
};
|
|
49614
49481
|
tool$pendleBuyPt = {
|
|
@@ -49616,9 +49483,9 @@ var init_pendleBuyPt2 = __esm(() => {
|
|
|
49616
49483
|
description: `Buy Principal Token (PT)
|
|
49617
49484
|
|
|
49618
49485
|
Buy Principal Token (PT) with market's Underlying Token.`,
|
|
49619
|
-
args:
|
|
49620
|
-
tool: async (client,
|
|
49621
|
-
const [result, apiCall] = await pendleBuyPt(client,
|
|
49486
|
+
args: args37,
|
|
49487
|
+
tool: async (client, args38, ctx) => {
|
|
49488
|
+
const [result, apiCall] = await pendleBuyPt(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49622
49489
|
if (!result.ok) {
|
|
49623
49490
|
return {
|
|
49624
49491
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49633,9 +49500,9 @@ Buy Principal Token (PT) with market's Underlying Token.`,
|
|
|
49633
49500
|
|
|
49634
49501
|
// src/funcs/pendleBuyYt.ts
|
|
49635
49502
|
function pendleBuyYt(client, request, options) {
|
|
49636
|
-
return new APIPromise($
|
|
49503
|
+
return new APIPromise($do38(client, request, options));
|
|
49637
49504
|
}
|
|
49638
|
-
async function $
|
|
49505
|
+
async function $do38(client, request, options) {
|
|
49639
49506
|
const parsed = safeParse(request, (value) => PendleBuyYtRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49640
49507
|
if (!parsed.ok) {
|
|
49641
49508
|
return [parsed, { status: "invalid" }];
|
|
@@ -49706,12 +49573,12 @@ var init_pendleBuyYt = __esm(() => {
|
|
|
49706
49573
|
});
|
|
49707
49574
|
|
|
49708
49575
|
// src/mcp-server/tools/pendleBuyYt.ts
|
|
49709
|
-
var
|
|
49576
|
+
var args38, tool$pendleBuyYt;
|
|
49710
49577
|
var init_pendleBuyYt2 = __esm(() => {
|
|
49711
49578
|
init_pendleBuyYt();
|
|
49712
49579
|
init_components();
|
|
49713
49580
|
init_tools();
|
|
49714
|
-
|
|
49581
|
+
args38 = {
|
|
49715
49582
|
request: PendleBuyYtRequest$inboundSchema
|
|
49716
49583
|
};
|
|
49717
49584
|
tool$pendleBuyYt = {
|
|
@@ -49719,9 +49586,9 @@ var init_pendleBuyYt2 = __esm(() => {
|
|
|
49719
49586
|
description: `Buy Yield Token (YT)
|
|
49720
49587
|
|
|
49721
49588
|
Buy Yield Token (YT) with market's Underlying Token.`,
|
|
49722
|
-
args:
|
|
49723
|
-
tool: async (client,
|
|
49724
|
-
const [result, apiCall] = await pendleBuyYt(client,
|
|
49589
|
+
args: args38,
|
|
49590
|
+
tool: async (client, args39, ctx) => {
|
|
49591
|
+
const [result, apiCall] = await pendleBuyYt(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49725
49592
|
if (!result.ok) {
|
|
49726
49593
|
return {
|
|
49727
49594
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49736,9 +49603,9 @@ Buy Yield Token (YT) with market's Underlying Token.`,
|
|
|
49736
49603
|
|
|
49737
49604
|
// src/funcs/pendleMarket.ts
|
|
49738
49605
|
function pendleMarket(client, request, options) {
|
|
49739
|
-
return new APIPromise($
|
|
49606
|
+
return new APIPromise($do39(client, request, options));
|
|
49740
49607
|
}
|
|
49741
|
-
async function $
|
|
49608
|
+
async function $do39(client, request, options) {
|
|
49742
49609
|
const parsed = safeParse(request, (value) => PendleMarketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49743
49610
|
if (!parsed.ok) {
|
|
49744
49611
|
return [parsed, { status: "invalid" }];
|
|
@@ -49815,12 +49682,12 @@ var init_pendleMarket = __esm(() => {
|
|
|
49815
49682
|
});
|
|
49816
49683
|
|
|
49817
49684
|
// src/mcp-server/tools/pendleMarket.ts
|
|
49818
|
-
var
|
|
49685
|
+
var args39, tool$pendleMarket;
|
|
49819
49686
|
var init_pendleMarket2 = __esm(() => {
|
|
49820
49687
|
init_pendleMarket();
|
|
49821
49688
|
init_operations();
|
|
49822
49689
|
init_tools();
|
|
49823
|
-
|
|
49690
|
+
args39 = {
|
|
49824
49691
|
request: PendleMarketRequest$inboundSchema
|
|
49825
49692
|
};
|
|
49826
49693
|
tool$pendleMarket = {
|
|
@@ -49828,9 +49695,9 @@ var init_pendleMarket2 = __esm(() => {
|
|
|
49828
49695
|
description: `Get Market Data
|
|
49829
49696
|
|
|
49830
49697
|
Get the market's implied APY, maturity date and the associated token data.`,
|
|
49831
|
-
args:
|
|
49832
|
-
tool: async (client,
|
|
49833
|
-
const [result, apiCall] = await pendleMarket(client,
|
|
49698
|
+
args: args39,
|
|
49699
|
+
tool: async (client, args40, ctx) => {
|
|
49700
|
+
const [result, apiCall] = await pendleMarket(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49834
49701
|
if (!result.ok) {
|
|
49835
49702
|
return {
|
|
49836
49703
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49845,9 +49712,9 @@ Get the market's implied APY, maturity date and the associated token data.`,
|
|
|
49845
49712
|
|
|
49846
49713
|
// src/funcs/pendleMarkets.ts
|
|
49847
49714
|
function pendleMarkets(client, request, options) {
|
|
49848
|
-
return new APIPromise($
|
|
49715
|
+
return new APIPromise($do40(client, request, options));
|
|
49849
49716
|
}
|
|
49850
|
-
async function $
|
|
49717
|
+
async function $do40(client, request, options) {
|
|
49851
49718
|
const parsed = safeParse(request, (value) => PendleMarketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49852
49719
|
if (!parsed.ok) {
|
|
49853
49720
|
return [parsed, { status: "invalid" }];
|
|
@@ -49922,12 +49789,12 @@ var init_pendleMarkets = __esm(() => {
|
|
|
49922
49789
|
});
|
|
49923
49790
|
|
|
49924
49791
|
// src/mcp-server/tools/pendleMarkets.ts
|
|
49925
|
-
var
|
|
49792
|
+
var args40, tool$pendleMarkets;
|
|
49926
49793
|
var init_pendleMarkets2 = __esm(() => {
|
|
49927
49794
|
init_pendleMarkets();
|
|
49928
49795
|
init_operations();
|
|
49929
49796
|
init_tools();
|
|
49930
|
-
|
|
49797
|
+
args40 = {
|
|
49931
49798
|
request: PendleMarketsRequest$inboundSchema
|
|
49932
49799
|
};
|
|
49933
49800
|
tool$pendleMarkets = {
|
|
@@ -49935,9 +49802,9 @@ var init_pendleMarkets2 = __esm(() => {
|
|
|
49935
49802
|
description: `List Market Data
|
|
49936
49803
|
|
|
49937
49804
|
Get a list of active markets.`,
|
|
49938
|
-
args:
|
|
49939
|
-
tool: async (client,
|
|
49940
|
-
const [result, apiCall] = await pendleMarkets(client,
|
|
49805
|
+
args: args40,
|
|
49806
|
+
tool: async (client, args41, ctx) => {
|
|
49807
|
+
const [result, apiCall] = await pendleMarkets(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49941
49808
|
if (!result.ok) {
|
|
49942
49809
|
return {
|
|
49943
49810
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49952,9 +49819,9 @@ Get a list of active markets.`,
|
|
|
49952
49819
|
|
|
49953
49820
|
// src/funcs/pendlePosition.ts
|
|
49954
49821
|
function pendlePosition(client, request, options) {
|
|
49955
|
-
return new APIPromise($
|
|
49822
|
+
return new APIPromise($do41(client, request, options));
|
|
49956
49823
|
}
|
|
49957
|
-
async function $
|
|
49824
|
+
async function $do41(client, request, options) {
|
|
49958
49825
|
const parsed = safeParse(request, (value) => PendlePositionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49959
49826
|
if (!parsed.ok) {
|
|
49960
49827
|
return [parsed, { status: "invalid" }];
|
|
@@ -50032,12 +49899,12 @@ var init_pendlePosition = __esm(() => {
|
|
|
50032
49899
|
});
|
|
50033
49900
|
|
|
50034
49901
|
// src/mcp-server/tools/pendlePosition.ts
|
|
50035
|
-
var
|
|
49902
|
+
var args41, tool$pendlePosition;
|
|
50036
49903
|
var init_pendlePosition2 = __esm(() => {
|
|
50037
49904
|
init_pendlePosition();
|
|
50038
49905
|
init_operations();
|
|
50039
49906
|
init_tools();
|
|
50040
|
-
|
|
49907
|
+
args41 = {
|
|
50041
49908
|
request: PendlePositionRequest$inboundSchema
|
|
50042
49909
|
};
|
|
50043
49910
|
tool$pendlePosition = {
|
|
@@ -50045,9 +49912,9 @@ var init_pendlePosition2 = __esm(() => {
|
|
|
50045
49912
|
description: `Check User's Market Position
|
|
50046
49913
|
|
|
50047
49914
|
Check the SY, PT, YT and Underlying Token positions for a given market.`,
|
|
50048
|
-
args:
|
|
50049
|
-
tool: async (client,
|
|
50050
|
-
const [result, apiCall] = await pendlePosition(client,
|
|
49915
|
+
args: args41,
|
|
49916
|
+
tool: async (client, args42, ctx) => {
|
|
49917
|
+
const [result, apiCall] = await pendlePosition(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50051
49918
|
if (!result.ok) {
|
|
50052
49919
|
return {
|
|
50053
49920
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50062,9 +49929,9 @@ Check the SY, PT, YT and Underlying Token positions for a given market.`,
|
|
|
50062
49929
|
|
|
50063
49930
|
// src/funcs/pendlePositions.ts
|
|
50064
49931
|
function pendlePositions(client, request, options) {
|
|
50065
|
-
return new APIPromise($
|
|
49932
|
+
return new APIPromise($do42(client, request, options));
|
|
50066
49933
|
}
|
|
50067
|
-
async function $
|
|
49934
|
+
async function $do42(client, request, options) {
|
|
50068
49935
|
const parsed = safeParse(request, (value) => PendlePositionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50069
49936
|
if (!parsed.ok) {
|
|
50070
49937
|
return [parsed, { status: "invalid" }];
|
|
@@ -50140,12 +50007,12 @@ var init_pendlePositions = __esm(() => {
|
|
|
50140
50007
|
});
|
|
50141
50008
|
|
|
50142
50009
|
// src/mcp-server/tools/pendlePositions.ts
|
|
50143
|
-
var
|
|
50010
|
+
var args42, tool$pendlePositions;
|
|
50144
50011
|
var init_pendlePositions2 = __esm(() => {
|
|
50145
50012
|
init_pendlePositions();
|
|
50146
50013
|
init_operations();
|
|
50147
50014
|
init_tools();
|
|
50148
|
-
|
|
50015
|
+
args42 = {
|
|
50149
50016
|
request: PendlePositionsRequest$inboundSchema
|
|
50150
50017
|
};
|
|
50151
50018
|
tool$pendlePositions = {
|
|
@@ -50153,9 +50020,126 @@ var init_pendlePositions2 = __esm(() => {
|
|
|
50153
50020
|
description: `List User's Market Positions
|
|
50154
50021
|
|
|
50155
50022
|
List the user's SY, PT, YT and LP positions for all markets on a given chain.`,
|
|
50023
|
+
args: args42,
|
|
50024
|
+
tool: async (client, args43, ctx) => {
|
|
50025
|
+
const [result, apiCall] = await pendlePositions(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50026
|
+
if (!result.ok) {
|
|
50027
|
+
return {
|
|
50028
|
+
content: [{ type: "text", text: result.error.message }],
|
|
50029
|
+
isError: true
|
|
50030
|
+
};
|
|
50031
|
+
}
|
|
50032
|
+
const value = result.value;
|
|
50033
|
+
return formatResult(value, apiCall);
|
|
50034
|
+
}
|
|
50035
|
+
};
|
|
50036
|
+
});
|
|
50037
|
+
|
|
50038
|
+
// src/funcs/pendleQuote.ts
|
|
50039
|
+
function pendleQuote(client, request, options) {
|
|
50040
|
+
return new APIPromise($do43(client, request, options));
|
|
50041
|
+
}
|
|
50042
|
+
async function $do43(client, request, options) {
|
|
50043
|
+
const parsed = safeParse(request, (value) => PendleQuoteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50044
|
+
if (!parsed.ok) {
|
|
50045
|
+
return [parsed, { status: "invalid" }];
|
|
50046
|
+
}
|
|
50047
|
+
const payload = parsed.value;
|
|
50048
|
+
const body = null;
|
|
50049
|
+
const path = pathToFunc("/v0/pendle/quote")();
|
|
50050
|
+
const query = encodeFormQuery({
|
|
50051
|
+
amount: payload.amount,
|
|
50052
|
+
block: payload.block,
|
|
50053
|
+
chain: payload.chain,
|
|
50054
|
+
market_address: payload.market_address,
|
|
50055
|
+
token_type: payload.token_type,
|
|
50056
|
+
trade_type: payload.trade_type
|
|
50057
|
+
});
|
|
50058
|
+
const headers = new Headers(compactMap({
|
|
50059
|
+
Accept: "application/json"
|
|
50060
|
+
}));
|
|
50061
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
50062
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
50063
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
50064
|
+
const context = {
|
|
50065
|
+
options: client._options,
|
|
50066
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50067
|
+
operationID: "pendle_quote",
|
|
50068
|
+
oAuth2Scopes: [],
|
|
50069
|
+
resolvedSecurity: requestSecurity,
|
|
50070
|
+
securitySource: client._options.apiKeyAuth,
|
|
50071
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
50072
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
50073
|
+
};
|
|
50074
|
+
const requestRes = client._createRequest(context, {
|
|
50075
|
+
security: requestSecurity,
|
|
50076
|
+
method: "GET",
|
|
50077
|
+
baseURL: options?.serverURL,
|
|
50078
|
+
path,
|
|
50079
|
+
headers,
|
|
50080
|
+
query,
|
|
50081
|
+
body,
|
|
50082
|
+
userAgent: client._options.userAgent,
|
|
50083
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
50084
|
+
}, options);
|
|
50085
|
+
if (!requestRes.ok) {
|
|
50086
|
+
return [requestRes, { status: "invalid" }];
|
|
50087
|
+
}
|
|
50088
|
+
const req = requestRes.value;
|
|
50089
|
+
const doResult = await client._do(req, {
|
|
50090
|
+
context,
|
|
50091
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
50092
|
+
retryConfig: context.retryConfig,
|
|
50093
|
+
retryCodes: context.retryCodes
|
|
50094
|
+
});
|
|
50095
|
+
if (!doResult.ok) {
|
|
50096
|
+
return [doResult, { status: "request-error", request: req }];
|
|
50097
|
+
}
|
|
50098
|
+
const response = doResult.value;
|
|
50099
|
+
const responseFields = {
|
|
50100
|
+
HttpMeta: { Response: response, Request: req }
|
|
50101
|
+
};
|
|
50102
|
+
const [result] = await match(json(200, PendleGetQuoteResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
50103
|
+
if (!result.ok) {
|
|
50104
|
+
return [result, { status: "complete", request: req, response }];
|
|
50105
|
+
}
|
|
50106
|
+
return [result, { status: "complete", request: req, response }];
|
|
50107
|
+
}
|
|
50108
|
+
var init_pendleQuote = __esm(() => {
|
|
50109
|
+
init_encodings();
|
|
50110
|
+
init_matchers();
|
|
50111
|
+
init_primitives();
|
|
50112
|
+
init_schemas();
|
|
50113
|
+
init_security();
|
|
50114
|
+
init_url();
|
|
50115
|
+
init_components();
|
|
50116
|
+
init_errors2();
|
|
50117
|
+
init_operations();
|
|
50118
|
+
init_async();
|
|
50119
|
+
});
|
|
50120
|
+
|
|
50121
|
+
// src/mcp-server/tools/pendleQuote.ts
|
|
50122
|
+
var args43, tool$pendleQuote;
|
|
50123
|
+
var init_pendleQuote2 = __esm(() => {
|
|
50124
|
+
init_pendleQuote();
|
|
50125
|
+
init_operations();
|
|
50126
|
+
init_tools();
|
|
50127
|
+
args43 = {
|
|
50128
|
+
request: PendleQuoteRequest$inboundSchema
|
|
50129
|
+
};
|
|
50130
|
+
tool$pendleQuote = {
|
|
50131
|
+
name: "pendle-quote",
|
|
50132
|
+
description: `Get Quote
|
|
50133
|
+
|
|
50134
|
+
Retrieve a quote for trading Principal Token (PT), Yield Token (YT), or Liquidity
|
|
50135
|
+
Provider Token (LP) on Pendle.
|
|
50136
|
+
|
|
50137
|
+
For \`BUY\`, \`amount\` is the quantity of the Underlying Token to spend, and the quote returns the amount of \`token_type\` received.
|
|
50138
|
+
|
|
50139
|
+
For \`SELL\`, \`amount\` is the quantity of \`token_type\` to sell, and the quote returns the amount of Underlying Token received.`,
|
|
50156
50140
|
args: args43,
|
|
50157
50141
|
tool: async (client, args44, ctx) => {
|
|
50158
|
-
const [result, apiCall] = await
|
|
50142
|
+
const [result, apiCall] = await pendleQuote(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50159
50143
|
if (!result.ok) {
|
|
50160
50144
|
return {
|
|
50161
50145
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53986,7 +53970,7 @@ it to be traded on DeFi protocols.`,
|
|
|
53986
53970
|
function createMCPServer(deps) {
|
|
53987
53971
|
const server = new McpServer({
|
|
53988
53972
|
name: "CompassApiSDK",
|
|
53989
|
-
version: "0.5.
|
|
53973
|
+
version: "0.5.40"
|
|
53990
53974
|
});
|
|
53991
53975
|
const client = new CompassApiSDKCore({
|
|
53992
53976
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -54022,7 +54006,6 @@ function createMCPServer(deps) {
|
|
|
54022
54006
|
tool(tool$aerodromeSlipstreamSlipstreamLiquidityProvisionWithdraw);
|
|
54023
54007
|
tool(tool$morphoVaults);
|
|
54024
54008
|
tool(tool$morphoVault);
|
|
54025
|
-
tool(tool$morphoVaultPosition);
|
|
54026
54009
|
tool(tool$morphoMarkets);
|
|
54027
54010
|
tool(tool$morphoMarket);
|
|
54028
54011
|
tool(tool$morphoMarketPosition);
|
|
@@ -54064,6 +54047,7 @@ function createMCPServer(deps) {
|
|
|
54064
54047
|
tool(tool$pendlePositions);
|
|
54065
54048
|
tool(tool$pendleMarket);
|
|
54066
54049
|
tool(tool$pendleMarkets);
|
|
54050
|
+
tool(tool$pendleQuote);
|
|
54067
54051
|
tool(tool$pendleBuyPt);
|
|
54068
54052
|
tool(tool$pendleSellPt);
|
|
54069
54053
|
tool(tool$pendleBuyYt);
|
|
@@ -54117,7 +54101,6 @@ var init_server2 = __esm(() => {
|
|
|
54117
54101
|
init_morphoSupplyCollateral2();
|
|
54118
54102
|
init_morphoUserPosition2();
|
|
54119
54103
|
init_morphoVault2();
|
|
54120
|
-
init_morphoVaultPosition2();
|
|
54121
54104
|
init_morphoVaults2();
|
|
54122
54105
|
init_morphoWithdraw2();
|
|
54123
54106
|
init_morphoWithdrawCollateral2();
|
|
@@ -54128,6 +54111,7 @@ var init_server2 = __esm(() => {
|
|
|
54128
54111
|
init_pendleMarkets2();
|
|
54129
54112
|
init_pendlePosition2();
|
|
54130
54113
|
init_pendlePositions2();
|
|
54114
|
+
init_pendleQuote2();
|
|
54131
54115
|
init_pendleRedeemYield2();
|
|
54132
54116
|
init_pendleRemoveLiquidity2();
|
|
54133
54117
|
init_pendleSellPt2();
|
|
@@ -55261,7 +55245,7 @@ function buildContext(process2) {
|
|
|
55261
55245
|
}
|
|
55262
55246
|
|
|
55263
55247
|
// src/mcp-server/cli/start/command.ts
|
|
55264
|
-
|
|
55248
|
+
init_zod();
|
|
55265
55249
|
init_console_logger();
|
|
55266
55250
|
var startCommand = sn({
|
|
55267
55251
|
loader: async () => {
|
|
@@ -55358,7 +55342,7 @@ var routes = ln({
|
|
|
55358
55342
|
var app = _e(routes, {
|
|
55359
55343
|
name: "mcp",
|
|
55360
55344
|
versionInfo: {
|
|
55361
|
-
currentVersion: "0.5.
|
|
55345
|
+
currentVersion: "0.5.40"
|
|
55362
55346
|
}
|
|
55363
55347
|
});
|
|
55364
55348
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -55366,5 +55350,5 @@ export {
|
|
|
55366
55350
|
app
|
|
55367
55351
|
};
|
|
55368
55352
|
|
|
55369
|
-
//# debugId=
|
|
55353
|
+
//# debugId=DD307BD3222D4C2364756E2164756E21
|
|
55370
55354
|
//# sourceMappingURL=mcp-server.js.map
|