@strkfarm/sdk 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.global.js +120 -125
- package/dist/index.browser.mjs +16 -16
- package/dist/index.d.ts +6 -1
- package/dist/index.js +22 -22
- package/dist/index.mjs +22 -22
- package/package.json +1 -1
- package/src/strategies/universal-lst-muliplier-strategy.tsx +15 -1
- package/src/strategies/universal-strategy.tsx +3 -18
|
@@ -67173,10 +67173,10 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67173
67173
|
return old;
|
|
67174
67174
|
}
|
|
67175
67175
|
|
|
67176
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67176
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/version.js
|
|
67177
67177
|
var version4 = "3.11.8";
|
|
67178
67178
|
|
|
67179
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67179
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/globals/maybe.js
|
|
67180
67180
|
function maybe(thunk) {
|
|
67181
67181
|
try {
|
|
67182
67182
|
return thunk();
|
|
@@ -67184,7 +67184,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67184
67184
|
}
|
|
67185
67185
|
}
|
|
67186
67186
|
|
|
67187
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67187
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/globals/global.js
|
|
67188
67188
|
var global_default = maybe(function() {
|
|
67189
67189
|
return globalThis;
|
|
67190
67190
|
}) || maybe(function() {
|
|
@@ -67203,7 +67203,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67203
67203
|
return maybe.constructor("return this")();
|
|
67204
67204
|
});
|
|
67205
67205
|
|
|
67206
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67206
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/makeUniqueId.js
|
|
67207
67207
|
var prefixCounts = /* @__PURE__ */ new Map();
|
|
67208
67208
|
function makeUniqueId(prefix) {
|
|
67209
67209
|
var count = prefixCounts.get(prefix) || 1;
|
|
@@ -67211,7 +67211,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67211
67211
|
return "".concat(prefix, ":").concat(count, ":").concat(Math.random().toString(36).slice(2));
|
|
67212
67212
|
}
|
|
67213
67213
|
|
|
67214
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67214
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js
|
|
67215
67215
|
function stringifyForDisplay(value, space) {
|
|
67216
67216
|
if (space === void 0) {
|
|
67217
67217
|
space = 0;
|
|
@@ -67222,7 +67222,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67222
67222
|
}, space).split(JSON.stringify(undefId)).join("<undefined>");
|
|
67223
67223
|
}
|
|
67224
67224
|
|
|
67225
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67225
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/globals/invariantWrappers.js
|
|
67226
67226
|
function wrap(fn) {
|
|
67227
67227
|
return function(message) {
|
|
67228
67228
|
var args = [];
|
|
@@ -67293,10 +67293,10 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67293
67293
|
})));
|
|
67294
67294
|
}
|
|
67295
67295
|
|
|
67296
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
67296
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/globals/index.js
|
|
67297
67297
|
var DEV = globalThis.__DEV__ !== false;
|
|
67298
67298
|
|
|
67299
|
-
// node_modules/.pnpm/graphql@16.
|
|
67299
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/devAssert.mjs
|
|
67300
67300
|
function devAssert(condition, message) {
|
|
67301
67301
|
const booleanCondition = Boolean(condition);
|
|
67302
67302
|
if (!booleanCondition) {
|
|
@@ -67304,12 +67304,12 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67304
67304
|
}
|
|
67305
67305
|
}
|
|
67306
67306
|
|
|
67307
|
-
// node_modules/.pnpm/graphql@16.
|
|
67307
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/isObjectLike.mjs
|
|
67308
67308
|
function isObjectLike(value) {
|
|
67309
67309
|
return typeof value == "object" && value !== null;
|
|
67310
67310
|
}
|
|
67311
67311
|
|
|
67312
|
-
// node_modules/.pnpm/graphql@16.
|
|
67312
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/invariant.mjs
|
|
67313
67313
|
function invariant4(condition, message) {
|
|
67314
67314
|
const booleanCondition = Boolean(condition);
|
|
67315
67315
|
if (!booleanCondition) {
|
|
@@ -67319,7 +67319,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67319
67319
|
}
|
|
67320
67320
|
}
|
|
67321
67321
|
|
|
67322
|
-
// node_modules/.pnpm/graphql@16.
|
|
67322
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/location.mjs
|
|
67323
67323
|
var LineRegExp = /\r\n|[\n\r]/g;
|
|
67324
67324
|
function getLocation(source, position) {
|
|
67325
67325
|
let lastLineStart = 0;
|
|
@@ -67338,7 +67338,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67338
67338
|
};
|
|
67339
67339
|
}
|
|
67340
67340
|
|
|
67341
|
-
// node_modules/.pnpm/graphql@16.
|
|
67341
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printLocation.mjs
|
|
67342
67342
|
function printLocation(location) {
|
|
67343
67343
|
return printSourceLocation(
|
|
67344
67344
|
location.source,
|
|
@@ -67385,7 +67385,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67385
67385
|
return existingLines.map(([prefix, line]) => prefix.padStart(padLen) + (line ? " " + line : "")).join("\n");
|
|
67386
67386
|
}
|
|
67387
67387
|
|
|
67388
|
-
// node_modules/.pnpm/graphql@16.
|
|
67388
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/GraphQLError.mjs
|
|
67389
67389
|
function toNormalizedOptions(args) {
|
|
67390
67390
|
const firstArg = args[0];
|
|
67391
67391
|
if (firstArg == null || "kind" in firstArg || "length" in firstArg) {
|
|
@@ -67534,7 +67534,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67534
67534
|
return array === void 0 || array.length === 0 ? void 0 : array;
|
|
67535
67535
|
}
|
|
67536
67536
|
|
|
67537
|
-
// node_modules/.pnpm/graphql@16.
|
|
67537
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/error/syntaxError.mjs
|
|
67538
67538
|
function syntaxError(source, position, description) {
|
|
67539
67539
|
return new GraphQLError(`Syntax Error: ${description}`, {
|
|
67540
67540
|
source,
|
|
@@ -67542,7 +67542,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67542
67542
|
});
|
|
67543
67543
|
}
|
|
67544
67544
|
|
|
67545
|
-
// node_modules/.pnpm/graphql@16.
|
|
67545
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/ast.mjs
|
|
67546
67546
|
var Location = class {
|
|
67547
67547
|
/**
|
|
67548
67548
|
* The character offset at which this Node begins.
|
|
@@ -67712,7 +67712,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67712
67712
|
OperationTypeNode2["SUBSCRIPTION"] = "subscription";
|
|
67713
67713
|
})(OperationTypeNode || (OperationTypeNode = {}));
|
|
67714
67714
|
|
|
67715
|
-
// node_modules/.pnpm/graphql@16.
|
|
67715
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/directiveLocation.mjs
|
|
67716
67716
|
var DirectiveLocation;
|
|
67717
67717
|
(function(DirectiveLocation2) {
|
|
67718
67718
|
DirectiveLocation2["QUERY"] = "QUERY";
|
|
@@ -67736,7 +67736,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67736
67736
|
DirectiveLocation2["INPUT_FIELD_DEFINITION"] = "INPUT_FIELD_DEFINITION";
|
|
67737
67737
|
})(DirectiveLocation || (DirectiveLocation = {}));
|
|
67738
67738
|
|
|
67739
|
-
// node_modules/.pnpm/graphql@16.
|
|
67739
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/kinds.mjs
|
|
67740
67740
|
var Kind;
|
|
67741
67741
|
(function(Kind2) {
|
|
67742
67742
|
Kind2["NAME"] = "Name";
|
|
@@ -67784,7 +67784,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67784
67784
|
Kind2["INPUT_OBJECT_TYPE_EXTENSION"] = "InputObjectTypeExtension";
|
|
67785
67785
|
})(Kind || (Kind = {}));
|
|
67786
67786
|
|
|
67787
|
-
// node_modules/.pnpm/graphql@16.
|
|
67787
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/characterClasses.mjs
|
|
67788
67788
|
function isWhiteSpace(code) {
|
|
67789
67789
|
return code === 9 || code === 32;
|
|
67790
67790
|
}
|
|
@@ -67802,7 +67802,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67802
67802
|
return isLetter(code) || isDigit2(code) || code === 95;
|
|
67803
67803
|
}
|
|
67804
67804
|
|
|
67805
|
-
// node_modules/.pnpm/graphql@16.
|
|
67805
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/blockString.mjs
|
|
67806
67806
|
function dedentBlockStringLines(lines) {
|
|
67807
67807
|
var _firstNonEmptyLine2;
|
|
67808
67808
|
let commonIndent = Number.MAX_SAFE_INTEGER;
|
|
@@ -67856,7 +67856,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67856
67856
|
return '"""' + result2 + '"""';
|
|
67857
67857
|
}
|
|
67858
67858
|
|
|
67859
|
-
// node_modules/.pnpm/graphql@16.
|
|
67859
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/tokenKind.mjs
|
|
67860
67860
|
var TokenKind;
|
|
67861
67861
|
(function(TokenKind2) {
|
|
67862
67862
|
TokenKind2["SOF"] = "<SOF>";
|
|
@@ -67883,7 +67883,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67883
67883
|
TokenKind2["COMMENT"] = "Comment";
|
|
67884
67884
|
})(TokenKind || (TokenKind = {}));
|
|
67885
67885
|
|
|
67886
|
-
// node_modules/.pnpm/graphql@16.
|
|
67886
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/lexer.mjs
|
|
67887
67887
|
var Lexer = class {
|
|
67888
67888
|
/**
|
|
67889
67889
|
* The previously focused non-ignored token.
|
|
@@ -68415,7 +68415,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68415
68415
|
);
|
|
68416
68416
|
}
|
|
68417
68417
|
|
|
68418
|
-
// node_modules/.pnpm/graphql@16.
|
|
68418
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/inspect.mjs
|
|
68419
68419
|
var MAX_ARRAY_LENGTH = 10;
|
|
68420
68420
|
var MAX_RECURSIVE_DEPTH = 2;
|
|
68421
68421
|
function inspect(value) {
|
|
@@ -68498,7 +68498,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68498
68498
|
return tag;
|
|
68499
68499
|
}
|
|
68500
68500
|
|
|
68501
|
-
// node_modules/.pnpm/graphql@16.
|
|
68501
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/instanceOf.mjs
|
|
68502
68502
|
var isProduction = globalThis.process && // eslint-disable-next-line no-undef
|
|
68503
68503
|
false;
|
|
68504
68504
|
var instanceOf = (
|
|
@@ -68537,7 +68537,7 @@ spurious results.`);
|
|
|
68537
68537
|
}
|
|
68538
68538
|
);
|
|
68539
68539
|
|
|
68540
|
-
// node_modules/.pnpm/graphql@16.
|
|
68540
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/source.mjs
|
|
68541
68541
|
var Source = class {
|
|
68542
68542
|
constructor(body, name = "GraphQL request", locationOffset = {
|
|
68543
68543
|
line: 1,
|
|
@@ -68564,15 +68564,10 @@ spurious results.`);
|
|
|
68564
68564
|
return instanceOf(source, Source);
|
|
68565
68565
|
}
|
|
68566
68566
|
|
|
68567
|
-
// node_modules/.pnpm/graphql@16.
|
|
68567
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/parser.mjs
|
|
68568
68568
|
function parse3(source, options) {
|
|
68569
68569
|
const parser = new Parser(source, options);
|
|
68570
|
-
|
|
68571
|
-
Object.defineProperty(document2, "tokenCount", {
|
|
68572
|
-
enumerable: false,
|
|
68573
|
-
value: parser.tokenCount
|
|
68574
|
-
});
|
|
68575
|
-
return document2;
|
|
68570
|
+
return parser.parseDocument();
|
|
68576
68571
|
}
|
|
68577
68572
|
var Parser = class {
|
|
68578
68573
|
constructor(source, options = {}) {
|
|
@@ -68581,9 +68576,6 @@ spurious results.`);
|
|
|
68581
68576
|
this._options = options;
|
|
68582
68577
|
this._tokenCounter = 0;
|
|
68583
68578
|
}
|
|
68584
|
-
get tokenCount() {
|
|
68585
|
-
return this._tokenCounter;
|
|
68586
|
-
}
|
|
68587
68579
|
/**
|
|
68588
68580
|
* Converts a name lex token into a name parse node.
|
|
68589
68581
|
*/
|
|
@@ -69801,9 +69793,9 @@ spurious results.`);
|
|
|
69801
69793
|
advanceLexer() {
|
|
69802
69794
|
const { maxTokens } = this._options;
|
|
69803
69795
|
const token = this._lexer.advance();
|
|
69804
|
-
if (token.kind !== TokenKind.EOF) {
|
|
69796
|
+
if (maxTokens !== void 0 && token.kind !== TokenKind.EOF) {
|
|
69805
69797
|
++this._tokenCounter;
|
|
69806
|
-
if (
|
|
69798
|
+
if (this._tokenCounter > maxTokens) {
|
|
69807
69799
|
throw syntaxError(
|
|
69808
69800
|
this._lexer.source,
|
|
69809
69801
|
token.start,
|
|
@@ -69821,7 +69813,7 @@ spurious results.`);
|
|
|
69821
69813
|
return isPunctuatorTokenKind(kind) ? `"${kind}"` : kind;
|
|
69822
69814
|
}
|
|
69823
69815
|
|
|
69824
|
-
// node_modules/.pnpm/graphql@16.
|
|
69816
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printString.mjs
|
|
69825
69817
|
function printString(str) {
|
|
69826
69818
|
return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
|
|
69827
69819
|
}
|
|
@@ -69997,7 +69989,7 @@ spurious results.`);
|
|
|
69997
69989
|
"\\u009F"
|
|
69998
69990
|
];
|
|
69999
69991
|
|
|
70000
|
-
// node_modules/.pnpm/graphql@16.
|
|
69992
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/visitor.mjs
|
|
70001
69993
|
var BREAK = Object.freeze({});
|
|
70002
69994
|
function visit(root2, visitor, visitorKeys = QueryDocumentKeys) {
|
|
70003
69995
|
const enterLeaveMap = /* @__PURE__ */ new Map();
|
|
@@ -70036,7 +70028,10 @@ spurious results.`);
|
|
|
70036
70028
|
}
|
|
70037
70029
|
}
|
|
70038
70030
|
} else {
|
|
70039
|
-
node =
|
|
70031
|
+
node = Object.defineProperties(
|
|
70032
|
+
{},
|
|
70033
|
+
Object.getOwnPropertyDescriptors(node)
|
|
70034
|
+
);
|
|
70040
70035
|
for (const [editKey, editValue] of edits) {
|
|
70041
70036
|
node[editKey] = editValue;
|
|
70042
70037
|
}
|
|
@@ -70126,7 +70121,7 @@ spurious results.`);
|
|
|
70126
70121
|
};
|
|
70127
70122
|
}
|
|
70128
70123
|
|
|
70129
|
-
// node_modules/.pnpm/graphql@16.
|
|
70124
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/printer.mjs
|
|
70130
70125
|
function print(ast) {
|
|
70131
70126
|
return visit(ast, printDocASTReducer);
|
|
70132
70127
|
}
|
|
@@ -70368,12 +70363,12 @@ spurious results.`);
|
|
|
70368
70363
|
return (_maybeArray$some = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.some((str) => str.includes("\n"))) !== null && _maybeArray$some !== void 0 ? _maybeArray$some : false;
|
|
70369
70364
|
}
|
|
70370
70365
|
|
|
70371
|
-
// node_modules/.pnpm/graphql@16.
|
|
70366
|
+
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/language/predicates.mjs
|
|
70372
70367
|
function isSelectionNode(node) {
|
|
70373
70368
|
return node.kind === Kind.FIELD || node.kind === Kind.FRAGMENT_SPREAD || node.kind === Kind.INLINE_FRAGMENT;
|
|
70374
70369
|
}
|
|
70375
70370
|
|
|
70376
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70371
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/directives.js
|
|
70377
70372
|
function shouldInclude(_a21, variables) {
|
|
70378
70373
|
var directives = _a21.directives;
|
|
70379
70374
|
if (!directives || !directives.length) {
|
|
@@ -70501,7 +70496,7 @@ spurious results.`);
|
|
|
70501
70496
|
return false;
|
|
70502
70497
|
}
|
|
70503
70498
|
|
|
70504
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70499
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/canUse.js
|
|
70505
70500
|
var isReactNative = maybe(function() {
|
|
70506
70501
|
return navigator.product;
|
|
70507
70502
|
}) == "ReactNative";
|
|
@@ -70526,12 +70521,12 @@ spurious results.`);
|
|
|
70526
70521
|
}) || false
|
|
70527
70522
|
);
|
|
70528
70523
|
|
|
70529
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70524
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/objects.js
|
|
70530
70525
|
function isNonNullObject(obj) {
|
|
70531
70526
|
return obj !== null && typeof obj === "object";
|
|
70532
70527
|
}
|
|
70533
70528
|
|
|
70534
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70529
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/fragments.js
|
|
70535
70530
|
function getFragmentQueryDocument(document2, fragmentName) {
|
|
70536
70531
|
var actualFragmentName = fragmentName;
|
|
70537
70532
|
var fragments = [];
|
|
@@ -70827,7 +70822,7 @@ spurious results.`);
|
|
|
70827
70822
|
}
|
|
70828
70823
|
};
|
|
70829
70824
|
|
|
70830
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70825
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/caching/caches.js
|
|
70831
70826
|
var scheduledCleanup = /* @__PURE__ */ new WeakSet();
|
|
70832
70827
|
function schedule(cache) {
|
|
70833
70828
|
if (cache.size <= (cache.max || -1)) {
|
|
@@ -70860,11 +70855,11 @@ spurious results.`);
|
|
|
70860
70855
|
return cache;
|
|
70861
70856
|
};
|
|
70862
70857
|
|
|
70863
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70858
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/caching/sizes.js
|
|
70864
70859
|
var cacheSizeSymbol = Symbol.for("apollo.cacheSize");
|
|
70865
70860
|
var cacheSizes = __assign({}, global_default[cacheSizeSymbol]);
|
|
70866
70861
|
|
|
70867
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70862
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js
|
|
70868
70863
|
var globalCaches = {};
|
|
70869
70864
|
function registerGlobalCache(name, getSize) {
|
|
70870
70865
|
globalCaches[name] = getSize;
|
|
@@ -70954,7 +70949,7 @@ spurious results.`);
|
|
|
70954
70949
|
], linkInfo(link === null || link === void 0 ? void 0 : link.left), true), linkInfo(link === null || link === void 0 ? void 0 : link.right), true).filter(isDefined) : [];
|
|
70955
70950
|
}
|
|
70956
70951
|
|
|
70957
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70952
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/canonicalStringify.js
|
|
70958
70953
|
var canonicalStringify = Object.assign(function canonicalStringify2(value) {
|
|
70959
70954
|
return JSON.stringify(value, stableObjectReplacer);
|
|
70960
70955
|
}, {
|
|
@@ -71001,7 +70996,7 @@ spurious results.`);
|
|
|
71001
70996
|
return i === 0 || keys[i - 1] <= key;
|
|
71002
70997
|
}
|
|
71003
70998
|
|
|
71004
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
70999
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/storeUtils.js
|
|
71005
71000
|
function makeReference(id) {
|
|
71006
71001
|
return { __ref: String(id) };
|
|
71007
71002
|
}
|
|
@@ -71186,7 +71181,7 @@ spurious results.`);
|
|
|
71186
71181
|
return selection.kind === "InlineFragment";
|
|
71187
71182
|
}
|
|
71188
71183
|
|
|
71189
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
71184
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/getFromAST.js
|
|
71190
71185
|
function checkDocument(doc) {
|
|
71191
71186
|
invariant2(doc && doc.kind === "Document", 77);
|
|
71192
71187
|
var operations = doc.definitions.filter(function(d) {
|
|
@@ -71745,7 +71740,7 @@ spurious results.`);
|
|
|
71745
71740
|
return Object.freeze(optimistic);
|
|
71746
71741
|
}
|
|
71747
71742
|
|
|
71748
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
71743
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js
|
|
71749
71744
|
function identity(document2) {
|
|
71750
71745
|
return document2;
|
|
71751
71746
|
}
|
|
@@ -71829,7 +71824,7 @@ spurious results.`);
|
|
|
71829
71824
|
})()
|
|
71830
71825
|
);
|
|
71831
71826
|
|
|
71832
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
71827
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/print.js
|
|
71833
71828
|
var printCache;
|
|
71834
71829
|
var print2 = Object.assign(function(ast) {
|
|
71835
71830
|
var result2 = printCache.get(ast);
|
|
@@ -71853,13 +71848,13 @@ spurious results.`);
|
|
|
71853
71848
|
});
|
|
71854
71849
|
}
|
|
71855
71850
|
|
|
71856
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
71851
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/arrays.js
|
|
71857
71852
|
var isArray2 = Array.isArray;
|
|
71858
71853
|
function isNonEmptyArray(value) {
|
|
71859
71854
|
return Array.isArray(value) && value.length > 0;
|
|
71860
71855
|
}
|
|
71861
71856
|
|
|
71862
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
71857
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/graphql/transform.js
|
|
71863
71858
|
var TYPENAME_FIELD = {
|
|
71864
71859
|
kind: Kind.FIELD,
|
|
71865
71860
|
name: {
|
|
@@ -72151,7 +72146,7 @@ spurious results.`);
|
|
|
72151
72146
|
return modifiedDoc;
|
|
72152
72147
|
}
|
|
72153
72148
|
|
|
72154
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72149
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/mergeDeep.js
|
|
72155
72150
|
var hasOwnProperty4 = Object.prototype.hasOwnProperty;
|
|
72156
72151
|
function mergeDeep() {
|
|
72157
72152
|
var sources = [];
|
|
@@ -72787,7 +72782,7 @@ spurious results.`);
|
|
|
72787
72782
|
}
|
|
72788
72783
|
var result = symbolObservablePonyfill(root);
|
|
72789
72784
|
|
|
72790
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72785
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/observables/Observable.js
|
|
72791
72786
|
var prototype3 = Observable.prototype;
|
|
72792
72787
|
var fakeObsSymbol = "@@observable";
|
|
72793
72788
|
if (!prototype3[fakeObsSymbol]) {
|
|
@@ -72796,7 +72791,7 @@ spurious results.`);
|
|
|
72796
72791
|
};
|
|
72797
72792
|
}
|
|
72798
72793
|
|
|
72799
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72794
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/cloneDeep.js
|
|
72800
72795
|
var toString4 = Object.prototype.toString;
|
|
72801
72796
|
function cloneDeep(value) {
|
|
72802
72797
|
return cloneDeepHelper(value);
|
|
@@ -72830,7 +72825,7 @@ spurious results.`);
|
|
|
72830
72825
|
}
|
|
72831
72826
|
}
|
|
72832
72827
|
|
|
72833
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72828
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/maybeDeepFreeze.js
|
|
72834
72829
|
function deepFreeze(value) {
|
|
72835
72830
|
var workSet = /* @__PURE__ */ new Set([value]);
|
|
72836
72831
|
workSet.forEach(function(obj) {
|
|
@@ -72862,7 +72857,7 @@ spurious results.`);
|
|
|
72862
72857
|
return obj;
|
|
72863
72858
|
}
|
|
72864
72859
|
|
|
72865
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72860
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/observables/iteration.js
|
|
72866
72861
|
function iterateObserversSafely(observers, method, argument) {
|
|
72867
72862
|
var observersWithMethod = [];
|
|
72868
72863
|
observers.forEach(function(obs) {
|
|
@@ -72873,7 +72868,7 @@ spurious results.`);
|
|
|
72873
72868
|
});
|
|
72874
72869
|
}
|
|
72875
72870
|
|
|
72876
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72871
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/observables/asyncMap.js
|
|
72877
72872
|
function asyncMap(observable, mapFn, catchFn) {
|
|
72878
72873
|
return new Observable(function(observer) {
|
|
72879
72874
|
var promiseQueue = {
|
|
@@ -72921,7 +72916,7 @@ spurious results.`);
|
|
|
72921
72916
|
});
|
|
72922
72917
|
}
|
|
72923
72918
|
|
|
72924
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72919
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/observables/subclassing.js
|
|
72925
72920
|
function fixObservableSubclass(subclass) {
|
|
72926
72921
|
function set(key) {
|
|
72927
72922
|
Object.defineProperty(subclass, key, { value: Observable });
|
|
@@ -72933,7 +72928,7 @@ spurious results.`);
|
|
|
72933
72928
|
return subclass;
|
|
72934
72929
|
}
|
|
72935
72930
|
|
|
72936
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
72931
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/observables/Concast.js
|
|
72937
72932
|
function isPromiseLike(value) {
|
|
72938
72933
|
return value && typeof value.then === "function";
|
|
72939
72934
|
}
|
|
@@ -73074,7 +73069,7 @@ spurious results.`);
|
|
|
73074
73069
|
);
|
|
73075
73070
|
fixObservableSubclass(Concast);
|
|
73076
73071
|
|
|
73077
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73072
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/incrementalResult.js
|
|
73078
73073
|
function isExecutionPatchIncrementalResult(value) {
|
|
73079
73074
|
return "incremental" in value;
|
|
73080
73075
|
}
|
|
@@ -73106,7 +73101,7 @@ spurious results.`);
|
|
|
73106
73101
|
return mergedData;
|
|
73107
73102
|
}
|
|
73108
73103
|
|
|
73109
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73104
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/errorHandling.js
|
|
73110
73105
|
function graphQLResultHasError(result2) {
|
|
73111
73106
|
var errors2 = getGraphQLErrorsFromResult(result2);
|
|
73112
73107
|
return isNonEmptyArray(errors2);
|
|
@@ -73123,7 +73118,7 @@ spurious results.`);
|
|
|
73123
73118
|
return graphQLErrors;
|
|
73124
73119
|
}
|
|
73125
73120
|
|
|
73126
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73121
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/compact.js
|
|
73127
73122
|
function compact() {
|
|
73128
73123
|
var objects = [];
|
|
73129
73124
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -73143,21 +73138,21 @@ spurious results.`);
|
|
|
73143
73138
|
return result2;
|
|
73144
73139
|
}
|
|
73145
73140
|
|
|
73146
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73141
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/utilities/common/mergeOptions.js
|
|
73147
73142
|
function mergeOptions(defaults2, options) {
|
|
73148
73143
|
return compact(defaults2, options, options.variables && {
|
|
73149
73144
|
variables: compact(__assign(__assign({}, defaults2 && defaults2.variables), options.variables))
|
|
73150
73145
|
});
|
|
73151
73146
|
}
|
|
73152
73147
|
|
|
73153
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73148
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/utils/fromError.js
|
|
73154
73149
|
function fromError(errorValue) {
|
|
73155
73150
|
return new Observable(function(observer) {
|
|
73156
73151
|
observer.error(errorValue);
|
|
73157
73152
|
});
|
|
73158
73153
|
}
|
|
73159
73154
|
|
|
73160
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73155
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/utils/throwServerError.js
|
|
73161
73156
|
var throwServerError = function(response, result2, message) {
|
|
73162
73157
|
var error2 = new Error(message);
|
|
73163
73158
|
error2.name = "ServerError";
|
|
@@ -73167,7 +73162,7 @@ spurious results.`);
|
|
|
73167
73162
|
throw error2;
|
|
73168
73163
|
};
|
|
73169
73164
|
|
|
73170
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73165
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/utils/validateOperation.js
|
|
73171
73166
|
function validateOperation(operation) {
|
|
73172
73167
|
var OPERATION_FIELDS = [
|
|
73173
73168
|
"query",
|
|
@@ -73185,7 +73180,7 @@ spurious results.`);
|
|
|
73185
73180
|
return operation;
|
|
73186
73181
|
}
|
|
73187
73182
|
|
|
73188
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73183
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/utils/createOperation.js
|
|
73189
73184
|
function createOperation(starting, operation) {
|
|
73190
73185
|
var context = __assign({}, starting);
|
|
73191
73186
|
var setContext = function(next) {
|
|
@@ -73209,7 +73204,7 @@ spurious results.`);
|
|
|
73209
73204
|
return operation;
|
|
73210
73205
|
}
|
|
73211
73206
|
|
|
73212
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73207
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/utils/transformOperation.js
|
|
73213
73208
|
function transformOperation(operation) {
|
|
73214
73209
|
var transformedOperation = {
|
|
73215
73210
|
variables: operation.variables || {},
|
|
@@ -73223,7 +73218,7 @@ spurious results.`);
|
|
|
73223
73218
|
return transformedOperation;
|
|
73224
73219
|
}
|
|
73225
73220
|
|
|
73226
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73221
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/utils/filterOperationVariables.js
|
|
73227
73222
|
function filterOperationVariables(variables, query) {
|
|
73228
73223
|
var result2 = __assign({}, variables);
|
|
73229
73224
|
var unusedNames = new Set(Object.keys(variables));
|
|
@@ -73240,7 +73235,7 @@ spurious results.`);
|
|
|
73240
73235
|
return result2;
|
|
73241
73236
|
}
|
|
73242
73237
|
|
|
73243
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73238
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/core/ApolloLink.js
|
|
73244
73239
|
function passthrough(op, forward) {
|
|
73245
73240
|
return forward ? forward(op) : Observable.of();
|
|
73246
73241
|
}
|
|
@@ -73334,10 +73329,10 @@ spurious results.`);
|
|
|
73334
73329
|
})()
|
|
73335
73330
|
);
|
|
73336
73331
|
|
|
73337
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73332
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/core/execute.js
|
|
73338
73333
|
var execute = ApolloLink.execute;
|
|
73339
73334
|
|
|
73340
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73335
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/iterators/async.js
|
|
73341
73336
|
function asyncIterator(source) {
|
|
73342
73337
|
var _a21;
|
|
73343
73338
|
var iterator2 = source[Symbol.asyncIterator]();
|
|
@@ -73350,7 +73345,7 @@ spurious results.`);
|
|
|
73350
73345
|
}, _a21;
|
|
73351
73346
|
}
|
|
73352
73347
|
|
|
73353
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73348
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/iterators/nodeStream.js
|
|
73354
73349
|
function nodeStreamIterator(stream) {
|
|
73355
73350
|
var cleanup = null;
|
|
73356
73351
|
var error2 = null;
|
|
@@ -73421,7 +73416,7 @@ spurious results.`);
|
|
|
73421
73416
|
return iterator2;
|
|
73422
73417
|
}
|
|
73423
73418
|
|
|
73424
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73419
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/iterators/promise.js
|
|
73425
73420
|
function promiseIterator(promise) {
|
|
73426
73421
|
var resolved = false;
|
|
73427
73422
|
var iterator2 = {
|
|
@@ -73447,7 +73442,7 @@ spurious results.`);
|
|
|
73447
73442
|
return iterator2;
|
|
73448
73443
|
}
|
|
73449
73444
|
|
|
73450
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73445
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/iterators/reader.js
|
|
73451
73446
|
function readerIterator(reader) {
|
|
73452
73447
|
var iterator2 = {
|
|
73453
73448
|
next: function() {
|
|
@@ -73462,7 +73457,7 @@ spurious results.`);
|
|
|
73462
73457
|
return iterator2;
|
|
73463
73458
|
}
|
|
73464
73459
|
|
|
73465
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73460
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/responseIterator.js
|
|
73466
73461
|
function isNodeResponse(value) {
|
|
73467
73462
|
return !!value.body;
|
|
73468
73463
|
}
|
|
@@ -73499,7 +73494,7 @@ spurious results.`);
|
|
|
73499
73494
|
throw new Error("Unknown body type for responseIterator. Please pass a streamable response.");
|
|
73500
73495
|
}
|
|
73501
73496
|
|
|
73502
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73497
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/errors/index.js
|
|
73503
73498
|
var PROTOCOL_ERRORS_SYMBOL = Symbol();
|
|
73504
73499
|
function graphQLResultHasProtocolErrors(result2) {
|
|
73505
73500
|
if (result2.extensions) {
|
|
@@ -73544,7 +73539,7 @@ spurious results.`);
|
|
|
73544
73539
|
})(Error)
|
|
73545
73540
|
);
|
|
73546
73541
|
|
|
73547
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73542
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js
|
|
73548
73543
|
var hasOwnProperty5 = Object.prototype.hasOwnProperty;
|
|
73549
73544
|
function readMultipartBody(response, nextValue) {
|
|
73550
73545
|
return __awaiter(this, void 0, void 0, function() {
|
|
@@ -73688,7 +73683,7 @@ spurious results.`);
|
|
|
73688
73683
|
};
|
|
73689
73684
|
}
|
|
73690
73685
|
|
|
73691
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73686
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/serializeFetchParameter.js
|
|
73692
73687
|
var serializeFetchParameter = function(p, label) {
|
|
73693
73688
|
var serialized;
|
|
73694
73689
|
try {
|
|
@@ -73701,7 +73696,7 @@ spurious results.`);
|
|
|
73701
73696
|
return serialized;
|
|
73702
73697
|
};
|
|
73703
73698
|
|
|
73704
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73699
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js
|
|
73705
73700
|
var defaultHttpOptions = {
|
|
73706
73701
|
includeQuery: true,
|
|
73707
73702
|
includeExtensions: false,
|
|
@@ -73785,14 +73780,14 @@ spurious results.`);
|
|
|
73785
73780
|
return normalizedHeaders;
|
|
73786
73781
|
}
|
|
73787
73782
|
|
|
73788
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73783
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/checkFetcher.js
|
|
73789
73784
|
var checkFetcher = function(fetcher) {
|
|
73790
73785
|
if (!fetcher && typeof fetch === "undefined") {
|
|
73791
73786
|
throw newInvariantError(38);
|
|
73792
73787
|
}
|
|
73793
73788
|
};
|
|
73794
73789
|
|
|
73795
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73790
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/selectURI.js
|
|
73796
73791
|
var selectURI = function(operation, fallbackURI) {
|
|
73797
73792
|
var context = operation.getContext();
|
|
73798
73793
|
var contextURI = context.uri;
|
|
@@ -73805,7 +73800,7 @@ spurious results.`);
|
|
|
73805
73800
|
}
|
|
73806
73801
|
};
|
|
73807
73802
|
|
|
73808
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73803
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/rewriteURIForGET.js
|
|
73809
73804
|
function rewriteURIForGET(chosenURI, body) {
|
|
73810
73805
|
var queryParams = [];
|
|
73811
73806
|
var addQueryParam = function(key, value) {
|
|
@@ -73846,7 +73841,7 @@ spurious results.`);
|
|
|
73846
73841
|
return { newURI };
|
|
73847
73842
|
}
|
|
73848
73843
|
|
|
73849
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73844
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/createHttpLink.js
|
|
73850
73845
|
var backupFetch = maybe(function() {
|
|
73851
73846
|
return fetch;
|
|
73852
73847
|
});
|
|
@@ -73966,7 +73961,7 @@ spurious results.`);
|
|
|
73966
73961
|
});
|
|
73967
73962
|
};
|
|
73968
73963
|
|
|
73969
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
73964
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/link/http/HttpLink.js
|
|
73970
73965
|
var HttpLink = (
|
|
73971
73966
|
/** @class */
|
|
73972
73967
|
(function(_super) {
|
|
@@ -74119,7 +74114,7 @@ spurious results.`);
|
|
|
74119
74114
|
return false;
|
|
74120
74115
|
}
|
|
74121
74116
|
|
|
74122
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
74117
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/equalByQuery.js
|
|
74123
74118
|
function equalByQuery(query, _a21, _b, variables) {
|
|
74124
74119
|
var aData = _a21.data, aRest = __rest(_a21, ["data"]);
|
|
74125
74120
|
var bData = _b.data, bRest = __rest(_b, ["data"]);
|
|
@@ -74192,7 +74187,7 @@ spurious results.`);
|
|
|
74192
74187
|
return dir.name.value === "nonreactive";
|
|
74193
74188
|
}
|
|
74194
74189
|
|
|
74195
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
74190
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/core/cache.js
|
|
74196
74191
|
var ApolloCache = (
|
|
74197
74192
|
/** @class */
|
|
74198
74193
|
(function() {
|
|
@@ -74324,7 +74319,7 @@ spurious results.`);
|
|
|
74324
74319
|
ApolloCache.prototype.getMemoryInternals = getApolloCacheMemoryInternals;
|
|
74325
74320
|
}
|
|
74326
74321
|
|
|
74327
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
74322
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/core/types/common.js
|
|
74328
74323
|
var MissingFieldError = (
|
|
74329
74324
|
/** @class */
|
|
74330
74325
|
(function(_super) {
|
|
@@ -74351,7 +74346,7 @@ spurious results.`);
|
|
|
74351
74346
|
})(Error)
|
|
74352
74347
|
);
|
|
74353
74348
|
|
|
74354
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
74349
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/helpers.js
|
|
74355
74350
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
74356
74351
|
function isNullish(value) {
|
|
74357
74352
|
return value === null || value === void 0;
|
|
@@ -74427,7 +74422,7 @@ spurious results.`);
|
|
|
74427
74422
|
};
|
|
74428
74423
|
}
|
|
74429
74424
|
|
|
74430
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
74425
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/entityStore.js
|
|
74431
74426
|
var DELETE = /* @__PURE__ */ Object.create(null);
|
|
74432
74427
|
var delModifier = function() {
|
|
74433
74428
|
return DELETE;
|
|
@@ -74944,7 +74939,7 @@ spurious results.`);
|
|
|
74944
74939
|
return !!(store instanceof EntityStore && store.group.caching);
|
|
74945
74940
|
}
|
|
74946
74941
|
|
|
74947
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
74942
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/object-canon.js
|
|
74948
74943
|
function shallowCopy(value) {
|
|
74949
74944
|
if (isNonNullObject(value)) {
|
|
74950
74945
|
return isArray2(value) ? value.slice(0) : __assign({ __proto__: Object.getPrototypeOf(value) }, value);
|
|
@@ -75038,7 +75033,7 @@ spurious results.`);
|
|
|
75038
75033
|
})()
|
|
75039
75034
|
);
|
|
75040
75035
|
|
|
75041
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
75036
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/readFromStore.js
|
|
75042
75037
|
function execSelectionSetKeyArgs(options) {
|
|
75043
75038
|
return [
|
|
75044
75039
|
options.selectionSet,
|
|
@@ -75307,7 +75302,7 @@ spurious results.`);
|
|
|
75307
75302
|
}
|
|
75308
75303
|
}
|
|
75309
75304
|
|
|
75310
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
75305
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/reactiveVars.js
|
|
75311
75306
|
var cacheSlot = new Slot();
|
|
75312
75307
|
var cacheInfoMap = /* @__PURE__ */ new WeakMap();
|
|
75313
75308
|
function getCacheInfo(cache) {
|
|
@@ -75378,7 +75373,7 @@ spurious results.`);
|
|
|
75378
75373
|
}
|
|
75379
75374
|
}
|
|
75380
75375
|
|
|
75381
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
75376
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/key-extractor.js
|
|
75382
75377
|
var specifierInfoCache = /* @__PURE__ */ Object.create(null);
|
|
75383
75378
|
function lookupSpecifierInfo(spec) {
|
|
75384
75379
|
var cacheKey = JSON.stringify(spec);
|
|
@@ -75511,7 +75506,7 @@ spurious results.`);
|
|
|
75511
75506
|
return value;
|
|
75512
75507
|
}
|
|
75513
75508
|
|
|
75514
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
75509
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/policies.js
|
|
75515
75510
|
function argsFromFieldSpecifier(spec) {
|
|
75516
75511
|
return spec.args !== void 0 ? spec.args : spec.field ? argumentsObjectFromField(spec.field, spec.variables) : null;
|
|
75517
75512
|
}
|
|
@@ -75946,7 +75941,7 @@ spurious results.`);
|
|
|
75946
75941
|
};
|
|
75947
75942
|
}
|
|
75948
75943
|
|
|
75949
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
75944
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/writeToStore.js
|
|
75950
75945
|
function getContextFlavor(context, clientOnly, deferred) {
|
|
75951
75946
|
var key = "".concat(clientOnly).concat(deferred);
|
|
75952
75947
|
var flavored = context.flavors.get(key);
|
|
@@ -76351,7 +76346,7 @@ spurious results.`);
|
|
|
76351
76346
|
globalThis.__DEV__ !== false && invariant2.warn(14, fieldName, parentType, childTypenames.length ? "either ensure all objects of type " + childTypenames.join(" and ") + " have an ID or a custom merge function, or " : "", typeDotName, __assign({}, existing), __assign({}, incoming));
|
|
76352
76347
|
}
|
|
76353
76348
|
|
|
76354
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
76349
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js
|
|
76355
76350
|
var InMemoryCache = (
|
|
76356
76351
|
/** @class */
|
|
76357
76352
|
(function(_super) {
|
|
@@ -76660,7 +76655,7 @@ spurious results.`);
|
|
|
76660
76655
|
InMemoryCache.prototype.getMemoryInternals = getInMemoryCacheMemoryInternals;
|
|
76661
76656
|
}
|
|
76662
76657
|
|
|
76663
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
76658
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/networkStatus.js
|
|
76664
76659
|
var NetworkStatus;
|
|
76665
76660
|
(function(NetworkStatus2) {
|
|
76666
76661
|
NetworkStatus2[NetworkStatus2["loading"] = 1] = "loading";
|
|
@@ -76675,7 +76670,7 @@ spurious results.`);
|
|
|
76675
76670
|
return networkStatus ? networkStatus < 7 : false;
|
|
76676
76671
|
}
|
|
76677
76672
|
|
|
76678
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
76673
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/ObservableQuery.js
|
|
76679
76674
|
var assign2 = Object.assign;
|
|
76680
76675
|
var hasOwnProperty7 = Object.hasOwnProperty;
|
|
76681
76676
|
var ObservableQuery = (
|
|
@@ -77283,7 +77278,7 @@ spurious results.`);
|
|
|
77283
77278
|
return fetchPolicy === "network-only" || fetchPolicy === "no-cache" || fetchPolicy === "standby";
|
|
77284
77279
|
}
|
|
77285
77280
|
|
|
77286
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
77281
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/QueryInfo.js
|
|
77287
77282
|
var destructiveMethodCounts = new (canUseWeakMap ? WeakMap : Map)();
|
|
77288
77283
|
function wrapDestructiveCacheMethod(cache, methodName) {
|
|
77289
77284
|
var original = cache[methodName];
|
|
@@ -77575,7 +77570,7 @@ spurious results.`);
|
|
|
77575
77570
|
return writeWithErrors;
|
|
77576
77571
|
}
|
|
77577
77572
|
|
|
77578
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
77573
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/QueryManager.js
|
|
77579
77574
|
var hasOwnProperty8 = Object.prototype.hasOwnProperty;
|
|
77580
77575
|
var IGNORE = /* @__PURE__ */ Object.create(null);
|
|
77581
77576
|
var QueryManager = (
|
|
@@ -78561,7 +78556,7 @@ spurious results.`);
|
|
|
78561
78556
|
})()
|
|
78562
78557
|
);
|
|
78563
78558
|
|
|
78564
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
78559
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/LocalState.js
|
|
78565
78560
|
var LocalState = (
|
|
78566
78561
|
/** @class */
|
|
78567
78562
|
(function() {
|
|
@@ -78911,7 +78906,7 @@ spurious results.`);
|
|
|
78911
78906
|
})()
|
|
78912
78907
|
);
|
|
78913
78908
|
|
|
78914
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
78909
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/ApolloClient.js
|
|
78915
78910
|
var hasSuggestedDevtools = false;
|
|
78916
78911
|
var ApolloClient = (
|
|
78917
78912
|
/** @class */
|
|
@@ -79199,7 +79194,7 @@ spurious results.`);
|
|
|
79199
79194
|
ApolloClient.prototype.getMemoryInternals = getApolloClientMemoryInternals;
|
|
79200
79195
|
}
|
|
79201
79196
|
|
|
79202
|
-
// node_modules/.pnpm/graphql-tag@2.12.6_graphql@16.
|
|
79197
|
+
// node_modules/.pnpm/graphql-tag@2.12.6_graphql@16.9.0/node_modules/graphql-tag/lib/index.js
|
|
79203
79198
|
var docCache = /* @__PURE__ */ new Map();
|
|
79204
79199
|
var fragmentSourceMap = /* @__PURE__ */ new Map();
|
|
79205
79200
|
var printFragmentWarnings = true;
|
|
@@ -79313,7 +79308,7 @@ spurious results.`);
|
|
|
79313
79308
|
})(gql || (gql = {}));
|
|
79314
79309
|
gql["default"] = gql;
|
|
79315
79310
|
|
|
79316
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.
|
|
79311
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0_react@19.1.0/node_modules/@apollo/client/core/index.js
|
|
79317
79312
|
setVerbosity(globalThis.__DEV__ !== false ? "log" : "silent");
|
|
79318
79313
|
|
|
79319
79314
|
// src/modules/apollo-client.ts
|
|
@@ -90715,20 +90710,12 @@ spurious results.`);
|
|
|
90715
90710
|
logger2.verbose(`${this.metadata.name}::netAPY: positions: ${JSON.stringify(positions)}`);
|
|
90716
90711
|
const baseAPYs = [];
|
|
90717
90712
|
const rewardAPYs = [];
|
|
90718
|
-
const collateralAddresses = vesuAdapters.map((adapter) => adapter.config.collateral.address);
|
|
90719
|
-
let lstAPRs;
|
|
90720
|
-
try {
|
|
90721
|
-
lstAPRs = await LSTAPRService.getLSTAPRs(collateralAddresses);
|
|
90722
|
-
} catch (error2) {
|
|
90723
|
-
logger2.warn(`${this.metadata.name}::netAPY: Failed to fetch LST APRs from Endur API, using fallback: ${error2}`);
|
|
90724
|
-
lstAPRs = /* @__PURE__ */ new Map();
|
|
90725
|
-
}
|
|
90726
90713
|
for (const [index, pool] of pools.entries()) {
|
|
90727
90714
|
const vesuAdapter = vesuAdapters[index];
|
|
90728
90715
|
const collateralAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.collateral.symbol.toLowerCase())?.stats;
|
|
90729
90716
|
const debtAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.debt.symbol.toLowerCase())?.stats;
|
|
90730
90717
|
const supplyApy = Number(collateralAsset.supplyApy.value || 0) / 1e18;
|
|
90731
|
-
const lstAPY =
|
|
90718
|
+
const lstAPY = await this.getLSTAPR(vesuAdapter.config.collateral.address);
|
|
90732
90719
|
logger2.verbose(`${this.metadata.name}::netAPY: ${vesuAdapter.config.collateral.symbol} LST APR from Endur: ${lstAPY}`);
|
|
90733
90720
|
baseAPYs.push(...[supplyApy + lstAPY, Number(debtAsset.borrowApr.value) / 1e18]);
|
|
90734
90721
|
rewardAPYs.push(...[Number(collateralAsset.defiSpringSupplyApr?.value || "0") / 1e18, 0]);
|
|
@@ -90957,13 +90944,8 @@ spurious results.`);
|
|
|
90957
90944
|
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
90958
90945
|
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
90959
90946
|
*/
|
|
90960
|
-
async getLSTAPR() {
|
|
90961
|
-
|
|
90962
|
-
return await LSTAPRService.getLSTAPR(this.asset().address);
|
|
90963
|
-
} catch (error2) {
|
|
90964
|
-
logger2.warn(`${this.getTag()}: Failed to get LST APR: ${error2}`);
|
|
90965
|
-
return 0;
|
|
90966
|
-
}
|
|
90947
|
+
async getLSTAPR(address) {
|
|
90948
|
+
return 0;
|
|
90967
90949
|
}
|
|
90968
90950
|
async getVesuHealthFactors() {
|
|
90969
90951
|
return await Promise.all(this.getVesuAdapters().map((v) => v.getHealthFactor()));
|
|
@@ -91656,6 +91638,19 @@ spurious results.`);
|
|
|
91656
91638
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
91657
91639
|
return vesuAdapter1.config.debt;
|
|
91658
91640
|
}
|
|
91641
|
+
/**
|
|
91642
|
+
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
91643
|
+
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
91644
|
+
*/
|
|
91645
|
+
async getLSTAPR(_address) {
|
|
91646
|
+
try {
|
|
91647
|
+
const vesuAdapter1 = this.getVesuAdapters()[0];
|
|
91648
|
+
return await LSTAPRService.getLSTAPR(vesuAdapter1.config.debt.address);
|
|
91649
|
+
} catch (error2) {
|
|
91650
|
+
logger2.warn(`${this.getTag()}: Failed to get LST APR: ${error2}`);
|
|
91651
|
+
return 0;
|
|
91652
|
+
}
|
|
91653
|
+
}
|
|
91659
91654
|
async getLSTExchangeRate() {
|
|
91660
91655
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
91661
91656
|
const lstTokenInfo = vesuAdapter1.config.collateral;
|
package/dist/index.browser.mjs
CHANGED
|
@@ -26806,20 +26806,12 @@ var UniversalStrategy = class _UniversalStrategy extends BaseStrategy {
|
|
|
26806
26806
|
logger.verbose(`${this.metadata.name}::netAPY: positions: ${JSON.stringify(positions)}`);
|
|
26807
26807
|
const baseAPYs = [];
|
|
26808
26808
|
const rewardAPYs = [];
|
|
26809
|
-
const collateralAddresses = vesuAdapters.map((adapter) => adapter.config.collateral.address);
|
|
26810
|
-
let lstAPRs;
|
|
26811
|
-
try {
|
|
26812
|
-
lstAPRs = await LSTAPRService.getLSTAPRs(collateralAddresses);
|
|
26813
|
-
} catch (error) {
|
|
26814
|
-
logger.warn(`${this.metadata.name}::netAPY: Failed to fetch LST APRs from Endur API, using fallback: ${error}`);
|
|
26815
|
-
lstAPRs = /* @__PURE__ */ new Map();
|
|
26816
|
-
}
|
|
26817
26809
|
for (const [index, pool] of pools.entries()) {
|
|
26818
26810
|
const vesuAdapter = vesuAdapters[index];
|
|
26819
26811
|
const collateralAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.collateral.symbol.toLowerCase())?.stats;
|
|
26820
26812
|
const debtAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.debt.symbol.toLowerCase())?.stats;
|
|
26821
26813
|
const supplyApy = Number(collateralAsset.supplyApy.value || 0) / 1e18;
|
|
26822
|
-
const lstAPY =
|
|
26814
|
+
const lstAPY = await this.getLSTAPR(vesuAdapter.config.collateral.address);
|
|
26823
26815
|
logger.verbose(`${this.metadata.name}::netAPY: ${vesuAdapter.config.collateral.symbol} LST APR from Endur: ${lstAPY}`);
|
|
26824
26816
|
baseAPYs.push(...[supplyApy + lstAPY, Number(debtAsset.borrowApr.value) / 1e18]);
|
|
26825
26817
|
rewardAPYs.push(...[Number(collateralAsset.defiSpringSupplyApr?.value || "0") / 1e18, 0]);
|
|
@@ -27048,13 +27040,8 @@ var UniversalStrategy = class _UniversalStrategy extends BaseStrategy {
|
|
|
27048
27040
|
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
27049
27041
|
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
27050
27042
|
*/
|
|
27051
|
-
async getLSTAPR() {
|
|
27052
|
-
|
|
27053
|
-
return await LSTAPRService.getLSTAPR(this.asset().address);
|
|
27054
|
-
} catch (error) {
|
|
27055
|
-
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
27056
|
-
return 0;
|
|
27057
|
-
}
|
|
27043
|
+
async getLSTAPR(address) {
|
|
27044
|
+
return 0;
|
|
27058
27045
|
}
|
|
27059
27046
|
async getVesuHealthFactors() {
|
|
27060
27047
|
return await Promise.all(this.getVesuAdapters().map((v) => v.getHealthFactor()));
|
|
@@ -27748,6 +27735,19 @@ var UniversalLstMultiplierStrategy = class _UniversalLstMultiplierStrategy exten
|
|
|
27748
27735
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
27749
27736
|
return vesuAdapter1.config.debt;
|
|
27750
27737
|
}
|
|
27738
|
+
/**
|
|
27739
|
+
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
27740
|
+
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
27741
|
+
*/
|
|
27742
|
+
async getLSTAPR(_address) {
|
|
27743
|
+
try {
|
|
27744
|
+
const vesuAdapter1 = this.getVesuAdapters()[0];
|
|
27745
|
+
return await LSTAPRService.getLSTAPR(vesuAdapter1.config.debt.address);
|
|
27746
|
+
} catch (error) {
|
|
27747
|
+
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
27748
|
+
return 0;
|
|
27749
|
+
}
|
|
27750
|
+
}
|
|
27751
27751
|
async getLSTExchangeRate() {
|
|
27752
27752
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
27753
27753
|
const lstTokenInfo = vesuAdapter1.config.collateral;
|
package/dist/index.d.ts
CHANGED
|
@@ -1229,7 +1229,7 @@ declare class UniversalStrategy<S extends UniversalStrategySettings> extends Bas
|
|
|
1229
1229
|
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
1230
1230
|
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
1231
1231
|
*/
|
|
1232
|
-
getLSTAPR(): Promise<number>;
|
|
1232
|
+
getLSTAPR(address: ContractAddr): Promise<number>;
|
|
1233
1233
|
getVesuHealthFactors(): Promise<number[]>;
|
|
1234
1234
|
computeRebalanceConditionAndReturnCalls(): Promise<Call[]>;
|
|
1235
1235
|
private getNewHealthFactor;
|
|
@@ -1299,6 +1299,11 @@ declare class UniversalLstMultiplierStrategy extends UniversalStrategy<Universal
|
|
|
1299
1299
|
leg1DepositAmount: Web3Number;
|
|
1300
1300
|
}): Promise<Call[]>;
|
|
1301
1301
|
getLSTUnderlyingTokenInfo(): TokenInfo;
|
|
1302
|
+
/**
|
|
1303
|
+
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
1304
|
+
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
1305
|
+
*/
|
|
1306
|
+
getLSTAPR(_address: ContractAddr): Promise<number>;
|
|
1302
1307
|
getLSTExchangeRate(): Promise<number>;
|
|
1303
1308
|
/**
|
|
1304
1309
|
*
|
package/dist/index.js
CHANGED
|
@@ -49,7 +49,7 @@ __export(index_exports, {
|
|
|
49
49
|
HyperLSTStrategies: () => HyperLSTStrategies,
|
|
50
50
|
ILending: () => ILending,
|
|
51
51
|
Initializable: () => Initializable,
|
|
52
|
-
LSTAPRService: () =>
|
|
52
|
+
LSTAPRService: () => LSTAPRService2,
|
|
53
53
|
MarginType: () => MarginType,
|
|
54
54
|
Network: () => Network,
|
|
55
55
|
PRICE_ROUTER: () => PRICE_ROUTER,
|
|
@@ -26802,20 +26802,12 @@ var UniversalStrategy = class _UniversalStrategy extends BaseStrategy {
|
|
|
26802
26802
|
logger.verbose(`${this.metadata.name}::netAPY: positions: ${JSON.stringify(positions)}`);
|
|
26803
26803
|
const baseAPYs = [];
|
|
26804
26804
|
const rewardAPYs = [];
|
|
26805
|
-
const collateralAddresses = vesuAdapters.map((adapter) => adapter.config.collateral.address);
|
|
26806
|
-
let lstAPRs;
|
|
26807
|
-
try {
|
|
26808
|
-
lstAPRs = await LSTAPRService.getLSTAPRs(collateralAddresses);
|
|
26809
|
-
} catch (error) {
|
|
26810
|
-
logger.warn(`${this.metadata.name}::netAPY: Failed to fetch LST APRs from Endur API, using fallback: ${error}`);
|
|
26811
|
-
lstAPRs = /* @__PURE__ */ new Map();
|
|
26812
|
-
}
|
|
26813
26805
|
for (const [index, pool] of pools.entries()) {
|
|
26814
26806
|
const vesuAdapter = vesuAdapters[index];
|
|
26815
26807
|
const collateralAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.collateral.symbol.toLowerCase())?.stats;
|
|
26816
26808
|
const debtAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.debt.symbol.toLowerCase())?.stats;
|
|
26817
26809
|
const supplyApy = Number(collateralAsset.supplyApy.value || 0) / 1e18;
|
|
26818
|
-
const lstAPY =
|
|
26810
|
+
const lstAPY = await this.getLSTAPR(vesuAdapter.config.collateral.address);
|
|
26819
26811
|
logger.verbose(`${this.metadata.name}::netAPY: ${vesuAdapter.config.collateral.symbol} LST APR from Endur: ${lstAPY}`);
|
|
26820
26812
|
baseAPYs.push(...[supplyApy + lstAPY, Number(debtAsset.borrowApr.value) / 1e18]);
|
|
26821
26813
|
rewardAPYs.push(...[Number(collateralAsset.defiSpringSupplyApr?.value || "0") / 1e18, 0]);
|
|
@@ -27044,13 +27036,8 @@ var UniversalStrategy = class _UniversalStrategy extends BaseStrategy {
|
|
|
27044
27036
|
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
27045
27037
|
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
27046
27038
|
*/
|
|
27047
|
-
async getLSTAPR() {
|
|
27048
|
-
|
|
27049
|
-
return await LSTAPRService.getLSTAPR(this.asset().address);
|
|
27050
|
-
} catch (error) {
|
|
27051
|
-
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
27052
|
-
return 0;
|
|
27053
|
-
}
|
|
27039
|
+
async getLSTAPR(address) {
|
|
27040
|
+
return 0;
|
|
27054
27041
|
}
|
|
27055
27042
|
async getVesuHealthFactors() {
|
|
27056
27043
|
return await Promise.all(this.getVesuAdapters().map((v) => v.getHealthFactor()));
|
|
@@ -27744,6 +27731,19 @@ var UniversalLstMultiplierStrategy = class _UniversalLstMultiplierStrategy exten
|
|
|
27744
27731
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
27745
27732
|
return vesuAdapter1.config.debt;
|
|
27746
27733
|
}
|
|
27734
|
+
/**
|
|
27735
|
+
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
27736
|
+
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
27737
|
+
*/
|
|
27738
|
+
async getLSTAPR(_address) {
|
|
27739
|
+
try {
|
|
27740
|
+
const vesuAdapter1 = this.getVesuAdapters()[0];
|
|
27741
|
+
return await LSTAPRService2.getLSTAPR(vesuAdapter1.config.debt.address);
|
|
27742
|
+
} catch (error) {
|
|
27743
|
+
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
27744
|
+
return 0;
|
|
27745
|
+
}
|
|
27746
|
+
}
|
|
27747
27747
|
async getLSTExchangeRate() {
|
|
27748
27748
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
27749
27749
|
const lstTokenInfo = vesuAdapter1.config.collateral;
|
|
@@ -28133,7 +28133,7 @@ var PricerLST2 = class extends Pricer {
|
|
|
28133
28133
|
};
|
|
28134
28134
|
|
|
28135
28135
|
// src/modules/lst-apr.ts
|
|
28136
|
-
var
|
|
28136
|
+
var LSTAPRService2 = class {
|
|
28137
28137
|
// 5 minutes
|
|
28138
28138
|
/**
|
|
28139
28139
|
* Fetches LST stats from Endur API with caching
|
|
@@ -28228,10 +28228,10 @@ var LSTAPRService = class {
|
|
|
28228
28228
|
logger.verbose(`LSTAPRService: Cache cleared`);
|
|
28229
28229
|
}
|
|
28230
28230
|
};
|
|
28231
|
-
|
|
28232
|
-
|
|
28233
|
-
|
|
28234
|
-
|
|
28231
|
+
LSTAPRService2.ENDUR_API_URL = "https://app.endur.fi/api/lst/stats";
|
|
28232
|
+
LSTAPRService2.cache = null;
|
|
28233
|
+
LSTAPRService2.cacheTimestamp = 0;
|
|
28234
|
+
LSTAPRService2.CACHE_DURATION = 5 * 60 * 1e3;
|
|
28235
28235
|
|
|
28236
28236
|
// src/notifs/telegram.ts
|
|
28237
28237
|
var import_node_telegram_bot_api = __toESM(require("node-telegram-bot-api"));
|
package/dist/index.mjs
CHANGED
|
@@ -26704,20 +26704,12 @@ var UniversalStrategy = class _UniversalStrategy extends BaseStrategy {
|
|
|
26704
26704
|
logger.verbose(`${this.metadata.name}::netAPY: positions: ${JSON.stringify(positions)}`);
|
|
26705
26705
|
const baseAPYs = [];
|
|
26706
26706
|
const rewardAPYs = [];
|
|
26707
|
-
const collateralAddresses = vesuAdapters.map((adapter) => adapter.config.collateral.address);
|
|
26708
|
-
let lstAPRs;
|
|
26709
|
-
try {
|
|
26710
|
-
lstAPRs = await LSTAPRService.getLSTAPRs(collateralAddresses);
|
|
26711
|
-
} catch (error) {
|
|
26712
|
-
logger.warn(`${this.metadata.name}::netAPY: Failed to fetch LST APRs from Endur API, using fallback: ${error}`);
|
|
26713
|
-
lstAPRs = /* @__PURE__ */ new Map();
|
|
26714
|
-
}
|
|
26715
26707
|
for (const [index, pool] of pools.entries()) {
|
|
26716
26708
|
const vesuAdapter = vesuAdapters[index];
|
|
26717
26709
|
const collateralAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.collateral.symbol.toLowerCase())?.stats;
|
|
26718
26710
|
const debtAsset = pool.assets.find((a) => a.symbol.toLowerCase() === vesuAdapter.config.debt.symbol.toLowerCase())?.stats;
|
|
26719
26711
|
const supplyApy = Number(collateralAsset.supplyApy.value || 0) / 1e18;
|
|
26720
|
-
const lstAPY =
|
|
26712
|
+
const lstAPY = await this.getLSTAPR(vesuAdapter.config.collateral.address);
|
|
26721
26713
|
logger.verbose(`${this.metadata.name}::netAPY: ${vesuAdapter.config.collateral.symbol} LST APR from Endur: ${lstAPY}`);
|
|
26722
26714
|
baseAPYs.push(...[supplyApy + lstAPY, Number(debtAsset.borrowApr.value) / 1e18]);
|
|
26723
26715
|
rewardAPYs.push(...[Number(collateralAsset.defiSpringSupplyApr?.value || "0") / 1e18, 0]);
|
|
@@ -26946,13 +26938,8 @@ var UniversalStrategy = class _UniversalStrategy extends BaseStrategy {
|
|
|
26946
26938
|
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
26947
26939
|
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
26948
26940
|
*/
|
|
26949
|
-
async getLSTAPR() {
|
|
26950
|
-
|
|
26951
|
-
return await LSTAPRService.getLSTAPR(this.asset().address);
|
|
26952
|
-
} catch (error) {
|
|
26953
|
-
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
26954
|
-
return 0;
|
|
26955
|
-
}
|
|
26941
|
+
async getLSTAPR(address) {
|
|
26942
|
+
return 0;
|
|
26956
26943
|
}
|
|
26957
26944
|
async getVesuHealthFactors() {
|
|
26958
26945
|
return await Promise.all(this.getVesuAdapters().map((v) => v.getHealthFactor()));
|
|
@@ -27646,6 +27633,19 @@ var UniversalLstMultiplierStrategy = class _UniversalLstMultiplierStrategy exten
|
|
|
27646
27633
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
27647
27634
|
return vesuAdapter1.config.debt;
|
|
27648
27635
|
}
|
|
27636
|
+
/**
|
|
27637
|
+
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
27638
|
+
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
27639
|
+
*/
|
|
27640
|
+
async getLSTAPR(_address) {
|
|
27641
|
+
try {
|
|
27642
|
+
const vesuAdapter1 = this.getVesuAdapters()[0];
|
|
27643
|
+
return await LSTAPRService2.getLSTAPR(vesuAdapter1.config.debt.address);
|
|
27644
|
+
} catch (error) {
|
|
27645
|
+
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
27646
|
+
return 0;
|
|
27647
|
+
}
|
|
27648
|
+
}
|
|
27649
27649
|
async getLSTExchangeRate() {
|
|
27650
27650
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
27651
27651
|
const lstTokenInfo = vesuAdapter1.config.collateral;
|
|
@@ -28035,7 +28035,7 @@ var PricerLST2 = class extends Pricer {
|
|
|
28035
28035
|
};
|
|
28036
28036
|
|
|
28037
28037
|
// src/modules/lst-apr.ts
|
|
28038
|
-
var
|
|
28038
|
+
var LSTAPRService2 = class {
|
|
28039
28039
|
// 5 minutes
|
|
28040
28040
|
/**
|
|
28041
28041
|
* Fetches LST stats from Endur API with caching
|
|
@@ -28130,10 +28130,10 @@ var LSTAPRService = class {
|
|
|
28130
28130
|
logger.verbose(`LSTAPRService: Cache cleared`);
|
|
28131
28131
|
}
|
|
28132
28132
|
};
|
|
28133
|
-
|
|
28134
|
-
|
|
28135
|
-
|
|
28136
|
-
|
|
28133
|
+
LSTAPRService2.ENDUR_API_URL = "https://app.endur.fi/api/lst/stats";
|
|
28134
|
+
LSTAPRService2.cache = null;
|
|
28135
|
+
LSTAPRService2.cacheTimestamp = 0;
|
|
28136
|
+
LSTAPRService2.CACHE_DURATION = 5 * 60 * 1e3;
|
|
28137
28137
|
|
|
28138
28138
|
// src/notifs/telegram.ts
|
|
28139
28139
|
import TelegramBot from "node-telegram-bot-api";
|
|
@@ -28662,7 +28662,7 @@ export {
|
|
|
28662
28662
|
HyperLSTStrategies,
|
|
28663
28663
|
ILending,
|
|
28664
28664
|
Initializable,
|
|
28665
|
-
LSTAPRService,
|
|
28665
|
+
LSTAPRService2 as LSTAPRService,
|
|
28666
28666
|
MarginType,
|
|
28667
28667
|
Network,
|
|
28668
28668
|
PRICE_ROUTER,
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { Global } from "@/global";
|
|
|
6
6
|
import { ApproveCallParams, CommonAdapter, getVesuSingletonAddress, ManageCall, Swap, VesuAdapter, VesuModifyDelegationCallParams, VesuMultiplyCallParams, VesuPools } from "./universal-adapters";
|
|
7
7
|
import { AVNU_MIDDLEWARE } from "./universal-adapters/adapter-utils";
|
|
8
8
|
import { DepegRiskLevel, LiquidationRiskLevel, SmartContractRiskLevel, TechnicalRiskLevel } from "@/interfaces/risks";
|
|
9
|
-
import { EkuboQuoter, ERC20, PricerLST } from "@/modules";
|
|
9
|
+
import { EkuboQuoter, ERC20, LSTAPRService, PricerLST } from "@/modules";
|
|
10
10
|
import { assert, logger } from "@/utils";
|
|
11
11
|
import { SingleTokenInfo } from "./base-strategy";
|
|
12
12
|
import { Call, Contract, uint256 } from "starknet";
|
|
@@ -151,6 +151,20 @@ export class UniversalLstMultiplierStrategy extends UniversalStrategy<UniversalS
|
|
|
151
151
|
return vesuAdapter1.config.debt;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
156
|
+
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
157
|
+
*/
|
|
158
|
+
async getLSTAPR(_address: ContractAddr): Promise<number> {
|
|
159
|
+
try {
|
|
160
|
+
const vesuAdapter1 = this.getVesuAdapters()[0];
|
|
161
|
+
return await LSTAPRService.getLSTAPR(vesuAdapter1.config.debt.address);
|
|
162
|
+
} catch (error) {
|
|
163
|
+
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
164
|
+
return 0;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
154
168
|
async getLSTExchangeRate() {
|
|
155
169
|
const [vesuAdapter1] = this.getVesuAdapters();
|
|
156
170
|
const lstTokenInfo = vesuAdapter1.config.collateral;
|
|
@@ -228,16 +228,6 @@ export class UniversalStrategy<
|
|
|
228
228
|
const baseAPYs: number[] = [];
|
|
229
229
|
const rewardAPYs: number[] = [];
|
|
230
230
|
|
|
231
|
-
// Get LST APRs for all collateral assets with fallback
|
|
232
|
-
const collateralAddresses = vesuAdapters.map(adapter => adapter.config.collateral.address);
|
|
233
|
-
let lstAPRs: Map<string, number>;
|
|
234
|
-
try {
|
|
235
|
-
lstAPRs = await LSTAPRService.getLSTAPRs(collateralAddresses);
|
|
236
|
-
} catch (error) {
|
|
237
|
-
logger.warn(`${this.metadata.name}::netAPY: Failed to fetch LST APRs from Endur API, using fallback: ${error}`);
|
|
238
|
-
// Fallback: create empty map (will result in 0 LST APR)
|
|
239
|
-
lstAPRs = new Map();
|
|
240
|
-
}
|
|
241
231
|
|
|
242
232
|
for (const [index, pool] of pools.entries()) {
|
|
243
233
|
const vesuAdapter = vesuAdapters[index];
|
|
@@ -246,7 +236,7 @@ export class UniversalStrategy<
|
|
|
246
236
|
const supplyApy = Number(collateralAsset.supplyApy.value || 0) / 1e18;
|
|
247
237
|
|
|
248
238
|
// Use LST APR from Endur API instead of Vesu's lstApr
|
|
249
|
-
const lstAPY =
|
|
239
|
+
const lstAPY = await this.getLSTAPR(vesuAdapter.config.collateral.address);
|
|
250
240
|
logger.verbose(`${this.metadata.name}::netAPY: ${vesuAdapter.config.collateral.symbol} LST APR from Endur: ${lstAPY}`);
|
|
251
241
|
|
|
252
242
|
baseAPYs.push(...[supplyApy + lstAPY, Number(debtAsset.borrowApr.value) / 1e18]);
|
|
@@ -521,13 +511,8 @@ export class UniversalStrategy<
|
|
|
521
511
|
* Gets LST APR for the strategy's underlying asset from Endur API
|
|
522
512
|
* @returns Promise<number> The LST APR (not divided by 1e18)
|
|
523
513
|
*/
|
|
524
|
-
async getLSTAPR(): Promise<number> {
|
|
525
|
-
|
|
526
|
-
return await LSTAPRService.getLSTAPR(this.asset().address);
|
|
527
|
-
} catch (error) {
|
|
528
|
-
logger.warn(`${this.getTag()}: Failed to get LST APR: ${error}`);
|
|
529
|
-
return 0;
|
|
530
|
-
}
|
|
514
|
+
async getLSTAPR(address: ContractAddr): Promise<number> {
|
|
515
|
+
return 0;
|
|
531
516
|
}
|
|
532
517
|
|
|
533
518
|
async getVesuHealthFactors() {
|