@1delta/margin-fetcher 5.0.144 → 5.0.145
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.d.ts +40 -2
- package/dist/index.js +339 -55
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -21209,7 +21209,7 @@ var getFluidPublicDataConverter = (_lender, chainId, prices, additionalYields, t
|
|
|
21209
21209
|
];
|
|
21210
21210
|
};
|
|
21211
21211
|
var SMART_DEBT_TRADING_SIGN = -1;
|
|
21212
|
-
var splitSide = (tokens, rawTotal, rawAvailable, simpleDecimals, shares,
|
|
21212
|
+
var splitSide = (tokens, rawTotal, rawAvailable, simpleDecimals, shares, rateFor2) => {
|
|
21213
21213
|
if (!shares) {
|
|
21214
21214
|
const token = tokens[0];
|
|
21215
21215
|
if (!token) return [];
|
|
@@ -21221,7 +21221,7 @@ var splitSide = (tokens, rawTotal, rawAvailable, simpleDecimals, shares, rateFor
|
|
|
21221
21221
|
available: Number(
|
|
21222
21222
|
parseRawAmount(rawAvailable.toString(), simpleDecimals)
|
|
21223
21223
|
),
|
|
21224
|
-
rate:
|
|
21224
|
+
rate: rateFor2(token, 0)
|
|
21225
21225
|
}
|
|
21226
21226
|
];
|
|
21227
21227
|
}
|
|
@@ -21238,7 +21238,7 @@ var splitSide = (tokens, rawTotal, rawAvailable, simpleDecimals, shares, rateFor
|
|
|
21238
21238
|
decimals: decimals[i],
|
|
21239
21239
|
amount: Number(parseRawAmount(amountRaw.toString(), decimals[i])),
|
|
21240
21240
|
available: Number(parseRawAmount(availableRaw.toString(), decimals[i])),
|
|
21241
|
-
rate:
|
|
21241
|
+
rate: rateFor2(token, i)
|
|
21242
21242
|
});
|
|
21243
21243
|
}
|
|
21244
21244
|
return legs;
|
|
@@ -26633,7 +26633,7 @@ var fetchInverseChainWide = async (chainId, config, multicallRetry) => {
|
|
|
26633
26633
|
return { dbrPriceDola: null, replenishmentPriceBps: null };
|
|
26634
26634
|
}
|
|
26635
26635
|
};
|
|
26636
|
-
var resolveDbrPriceDola = async (onChain,
|
|
26636
|
+
var resolveDbrPriceDola = async (onChain, snapshot2) => {
|
|
26637
26637
|
if (onChain !== null) return onChain;
|
|
26638
26638
|
try {
|
|
26639
26639
|
const d = await fetchJson(DBR_URL);
|
|
@@ -26641,7 +26641,7 @@ var resolveDbrPriceDola = async (onChain, snapshot) => {
|
|
|
26641
26641
|
if (Number.isFinite(p) && p > 0) return p;
|
|
26642
26642
|
} catch {
|
|
26643
26643
|
}
|
|
26644
|
-
const snap = Number(
|
|
26644
|
+
const snap = Number(snapshot2);
|
|
26645
26645
|
return Number.isFinite(snap) && snap > 0 ? snap : null;
|
|
26646
26646
|
};
|
|
26647
26647
|
async function fetchInverseMarkets(lender, chainId, multicallRetry = multicallRetryUniversal) {
|
|
@@ -65556,28 +65556,101 @@ var onycFetcher = {
|
|
|
65556
65556
|
}
|
|
65557
65557
|
};
|
|
65558
65558
|
|
|
65559
|
+
// src/yields/intrinsic/fetchers/perena.ts
|
|
65560
|
+
var PERENA_API = "https://api.perena.org/api";
|
|
65561
|
+
var PERENA_USD_STAR_KEY = "USD Star::USD*";
|
|
65562
|
+
var PERENA_USD_STAR_JUNIOR_KEY = "Junior USD*::USD*-J";
|
|
65563
|
+
var SERIES = [
|
|
65564
|
+
[PERENA_USD_STAR_KEY, "usdstar"],
|
|
65565
|
+
[PERENA_USD_STAR_JUNIOR_KEY, "usdstarJunior"]
|
|
65566
|
+
];
|
|
65567
|
+
var WINDOW_DAYS = 30;
|
|
65568
|
+
var MIN_WINDOW_DAYS2 = 7;
|
|
65569
|
+
var DAY_MS3 = 864e5;
|
|
65570
|
+
var getJson4 = (path) => fetch(`${PERENA_API}/${path}`, {
|
|
65571
|
+
headers: { Accept: "application/json" }
|
|
65572
|
+
}).then((r) => {
|
|
65573
|
+
if (!r.ok) throw new Error(`Perena ${path}: HTTP ${r.status}`);
|
|
65574
|
+
return r.json();
|
|
65575
|
+
});
|
|
65576
|
+
var snapshot = (r) => {
|
|
65577
|
+
const price2 = Number(r?.price);
|
|
65578
|
+
const t = Date.parse(String(r?.timestamp));
|
|
65579
|
+
return Number.isFinite(price2) && price2 > 0 && Number.isFinite(t) ? { price: price2, t } : void 0;
|
|
65580
|
+
};
|
|
65581
|
+
function perenaWindowApr(then, now) {
|
|
65582
|
+
const days = (now.t - then.t) / DAY_MS3;
|
|
65583
|
+
if (days < MIN_WINDOW_DAYS2)
|
|
65584
|
+
throw new Error(`Perena: window too short (${days.toFixed(1)}d)`);
|
|
65585
|
+
const apr = (now.price / then.price - 1) * 365 * 100 / days;
|
|
65586
|
+
if (!Number.isFinite(apr) || Math.abs(apr) > 100)
|
|
65587
|
+
throw new Error(`Perena: implausible rate ${apr}`);
|
|
65588
|
+
return apr;
|
|
65589
|
+
}
|
|
65590
|
+
async function rateFor(series, nowMs) {
|
|
65591
|
+
try {
|
|
65592
|
+
const back = new Date(nowMs - WINDOW_DAYS * DAY_MS3).toISOString();
|
|
65593
|
+
const [then, now] = await Promise.all([
|
|
65594
|
+
getJson4(`${series}/price?time=${encodeURIComponent(back)}`).then(
|
|
65595
|
+
snapshot
|
|
65596
|
+
),
|
|
65597
|
+
getJson4(`${series}/price`).then(snapshot)
|
|
65598
|
+
]);
|
|
65599
|
+
if (!then || !now) throw new Error(`Perena ${series}: no snapshot`);
|
|
65600
|
+
return perenaWindowApr(then, now);
|
|
65601
|
+
} catch (e) {
|
|
65602
|
+
const r = await getJson4(`${series}/apy`);
|
|
65603
|
+
const apr = Number(r?.apy);
|
|
65604
|
+
if (r?.period !== "7d" || !Number.isFinite(apr) || Math.abs(apr) > 100)
|
|
65605
|
+
throw e;
|
|
65606
|
+
return apr;
|
|
65607
|
+
}
|
|
65608
|
+
}
|
|
65609
|
+
var perenaFetcher = {
|
|
65610
|
+
label: "PERENA_USD_STAR",
|
|
65611
|
+
fetch: async () => {
|
|
65612
|
+
const now = Date.now();
|
|
65613
|
+
const out = {};
|
|
65614
|
+
const results = await Promise.allSettled(
|
|
65615
|
+
SERIES.map(([, series]) => rateFor(series, now))
|
|
65616
|
+
);
|
|
65617
|
+
results.forEach((r, i) => {
|
|
65618
|
+
if (r.status === "fulfilled") out[SERIES[i][0]] = r.value;
|
|
65619
|
+
});
|
|
65620
|
+
if (!Object.keys(out).length) {
|
|
65621
|
+
const why = results.find((r) => r.status === "rejected");
|
|
65622
|
+
throw why?.reason ?? new Error("Perena: no rate");
|
|
65623
|
+
}
|
|
65624
|
+
return out;
|
|
65625
|
+
}
|
|
65626
|
+
};
|
|
65627
|
+
|
|
65559
65628
|
// src/yields/intrinsic/fetchers/exponentTranching.ts
|
|
65560
65629
|
var EXPONENT_APP_API = "https://app.exponent.finance/api/tranching-markets";
|
|
65561
|
-
var
|
|
65562
|
-
FvQP1fjox2GPSwkEhENuZisz8UeRURLWf7GYF9n2mURD: "Exponent Senior eHYUSD::srEHYUSD::solana",
|
|
65563
|
-
F17tzaQaFf1x3tC5gQFVvXAF2hcgq1qX6Mc9595zo3FD: "Exponent Senior AUTO::srAUTO::solana",
|
|
65564
|
-
"9J8VvigcjFTkN3jhZH2ieTi2hdGVBVpEXbcA1JDo7QpA": "Exponent Senior ONyc::srONyc::solana",
|
|
65565
|
-
"4tnzVYkaXKwMt7p86wpDzeTyzHSZhj2BvdGwBem7peH5": "Exponent Senior nOPAL::srnOPAL::solana"
|
|
65566
|
-
};
|
|
65630
|
+
var EXPONENT_TOKEN_API = "https://api.exponent.finance/tranching-token";
|
|
65567
65631
|
var EXPONENT_BASE_GROUPS = {
|
|
65568
65632
|
HnnGv3HrSqjRpgdFmx7vQGjntNEoex1SU4e9Lxcxuihz: "Earn Hylo USD::eHYUSD::solana"
|
|
65569
65633
|
};
|
|
65570
|
-
var MAX_PLAUSIBLE_APY2 =
|
|
65571
|
-
function
|
|
65634
|
+
var MAX_PLAUSIBLE_APY2 = 1;
|
|
65635
|
+
function trancheApy(stats, side2) {
|
|
65572
65636
|
const s = stats;
|
|
65573
|
-
|
|
65574
|
-
|
|
65575
|
-
|
|
65637
|
+
const p = side2 === "senior" ? "seniorApy" : "juniorApy";
|
|
65638
|
+
for (const w of ["30d", "7d", "1d"]) {
|
|
65639
|
+
const raw = s?.[`${p}${w}`];
|
|
65640
|
+
if (raw == null) continue;
|
|
65641
|
+
const v = Number(raw);
|
|
65642
|
+
if (Number.isFinite(v) && v > -MAX_PLAUSIBLE_APY2 && v < MAX_PLAUSIBLE_APY2)
|
|
65576
65643
|
return v;
|
|
65577
65644
|
}
|
|
65578
65645
|
return void 0;
|
|
65579
65646
|
}
|
|
65580
|
-
|
|
65647
|
+
function trancheGroup(meta) {
|
|
65648
|
+
const m = meta;
|
|
65649
|
+
const name = typeof m?.name === "string" ? m.name.trim() : "";
|
|
65650
|
+
const symbol = typeof m?.symbol === "string" ? m.symbol.trim() : "";
|
|
65651
|
+
return name && symbol ? `${name}::${symbol}::solana` : void 0;
|
|
65652
|
+
}
|
|
65653
|
+
var getJson5 = async (url) => {
|
|
65581
65654
|
const res = await fetch(url, {
|
|
65582
65655
|
headers: { accept: "application/json" },
|
|
65583
65656
|
signal: AbortSignal.timeout(8e3)
|
|
@@ -65585,30 +65658,46 @@ var getJson4 = async (url) => {
|
|
|
65585
65658
|
if (!res.ok) throw new Error(`Exponent HTTP ${res.status} for ${url}`);
|
|
65586
65659
|
return res.json();
|
|
65587
65660
|
};
|
|
65588
|
-
var
|
|
65589
|
-
label: "
|
|
65661
|
+
var exponentTrancheFetcher = {
|
|
65662
|
+
label: "EXPONENT_TRANCHING",
|
|
65590
65663
|
fetch: async () => {
|
|
65591
|
-
const markets = await
|
|
65592
|
-
const
|
|
65593
|
-
(m) => m.address && m.mintLpSenior && EXPONENT_SENIOR_GROUPS[m.mintLpSenior]
|
|
65594
|
-
);
|
|
65664
|
+
const markets = await getJson5(EXPONENT_APP_API);
|
|
65665
|
+
const list = Array.isArray(markets) ? markets : [];
|
|
65595
65666
|
const out = {};
|
|
65596
|
-
for (const m of
|
|
65667
|
+
for (const m of list) {
|
|
65597
65668
|
const group = m.mintBase ? EXPONENT_BASE_GROUPS[m.mintBase] : void 0;
|
|
65598
65669
|
const apy = Number(m.underlyingApy7d);
|
|
65599
65670
|
if (group && m.underlyingApy7d != null && apy > 0 && apy < MAX_PLAUSIBLE_APY2)
|
|
65600
65671
|
out[group] = apyToAprPercent(apy * 100);
|
|
65601
65672
|
}
|
|
65602
65673
|
await Promise.all(
|
|
65603
|
-
|
|
65604
|
-
const
|
|
65674
|
+
list.filter((m) => m.address).map(async (m) => {
|
|
65675
|
+
const stats = await getJson5(
|
|
65676
|
+
`${EXPONENT_APP_API}/${m.address}/stats`
|
|
65677
|
+
).catch((e) => {
|
|
65605
65678
|
console.warn(`[exponent] ${m.address} stats: ${e.message}`);
|
|
65606
65679
|
return void 0;
|
|
65607
65680
|
});
|
|
65608
|
-
if (
|
|
65609
|
-
|
|
65610
|
-
|
|
65611
|
-
|
|
65681
|
+
if (!stats) return;
|
|
65682
|
+
await Promise.all(
|
|
65683
|
+
[
|
|
65684
|
+
["senior", m.mintLpSenior],
|
|
65685
|
+
["junior", m.mintLpJunior]
|
|
65686
|
+
].map(async ([side2, mint]) => {
|
|
65687
|
+
if (!mint) return;
|
|
65688
|
+
const apy = trancheApy(stats, side2);
|
|
65689
|
+
if (apy === void 0) return;
|
|
65690
|
+
const group = trancheGroup(
|
|
65691
|
+
await getJson5(`${EXPONENT_TOKEN_API}/${mint}`).catch(
|
|
65692
|
+
(e) => {
|
|
65693
|
+
console.warn(`[exponent] ${mint} metadata: ${e.message}`);
|
|
65694
|
+
return void 0;
|
|
65695
|
+
}
|
|
65696
|
+
)
|
|
65697
|
+
);
|
|
65698
|
+
if (group) out[group] = apyToAprPercent(apy * 100);
|
|
65699
|
+
})
|
|
65700
|
+
);
|
|
65612
65701
|
})
|
|
65613
65702
|
);
|
|
65614
65703
|
return out;
|
|
@@ -65908,7 +65997,7 @@ var getGmxApiHost = (chainId) => GMX_API_HOSTS[chainId];
|
|
|
65908
65997
|
|
|
65909
65998
|
// src/vaults/gmx/api.ts
|
|
65910
65999
|
var GMX_DEFAULT_APY_PERIOD = "1d";
|
|
65911
|
-
var
|
|
66000
|
+
var getJson6 = async (url) => {
|
|
65912
66001
|
const res = await fetch(url, {
|
|
65913
66002
|
method: "GET",
|
|
65914
66003
|
headers: { Accept: "application/json" }
|
|
@@ -65920,12 +66009,12 @@ var fetchGmxRawData = async (chainId, period, apiUrlOverride) => {
|
|
|
65920
66009
|
const host = apiUrlOverride ?? getGmxApiHost(chainId);
|
|
65921
66010
|
if (!host) throw new Error(`GMX not supported on chain ${chainId}`);
|
|
65922
66011
|
const [apy, marketsRes, glvsRes, tokensRes] = await Promise.all([
|
|
65923
|
-
|
|
65924
|
-
|
|
66012
|
+
getJson6(`${host}/apy?period=${encodeURIComponent(period)}`),
|
|
66013
|
+
getJson6(`${host}/markets`).catch(() => ({
|
|
65925
66014
|
markets: []
|
|
65926
66015
|
})),
|
|
65927
|
-
|
|
65928
|
-
|
|
66016
|
+
getJson6(`${host}/glvs`).catch(() => ({ glvs: [] })),
|
|
66017
|
+
getJson6(`${host}/tokens`).catch(() => ({
|
|
65929
66018
|
tokens: []
|
|
65930
66019
|
}))
|
|
65931
66020
|
]);
|
|
@@ -67209,6 +67298,9 @@ var LENDING_ONLY_FETCHERS = [
|
|
|
67209
67298
|
// ONyc (OnRe reinsurance, Solana): NAV-accruing collateral on Loopscale /
|
|
67210
67299
|
// Kamino / Jupiter Lend, no vault row.
|
|
67211
67300
|
onycFetcher,
|
|
67301
|
+
// USD* / USD*-J (Perena, Solana): the vault's share price, collateral on
|
|
67302
|
+
// Project 0; the earn rows live in margin-fetcher-sol (`vaults/perena`).
|
|
67303
|
+
perenaFetcher,
|
|
67212
67304
|
// INF (Sanctum Infinity, Solana): the SOL-value accrual of the multi-LST
|
|
67213
67305
|
// pool, collateral on Kamino / Jupiter Lend / Project 0 / Save. Its earn
|
|
67214
67306
|
// row lives in margin-fetcher-sol, so it is lending-only here.
|
|
@@ -67216,9 +67308,11 @@ var LENDING_ONLY_FETCHERS = [
|
|
|
67216
67308
|
// ezSOL (Renzo, Solana): a Jito Restaking VRT over JitoSOL, Kamino
|
|
67217
67309
|
// collateral. Its earn row lives in margin-fetcher-sol (`jito-vault`).
|
|
67218
67310
|
ezsolFetcher,
|
|
67219
|
-
// Exponent
|
|
67220
|
-
//
|
|
67221
|
-
|
|
67311
|
+
// Exponent tranching (Solana): EVERY senior AND junior LP of the roster
|
|
67312
|
+
// (srEHYUSD / jrEHYUSD …), keyed from Exponent's own LP metadata. The
|
|
67313
|
+
// seniors are Loopscale loop collateral; the earn rows live in
|
|
67314
|
+
// margin-fetcher-sol (`exponent-tranching`).
|
|
67315
|
+
exponentTrancheFetcher,
|
|
67222
67316
|
// DAWN sUSD.infra (Solana): a Loopscale vault LP that circulates as a token
|
|
67223
67317
|
// (Exponent PT underlying) — net interest + the USD.infra-paid stream.
|
|
67224
67318
|
loopscaleVaultSharesFetcher,
|
|
@@ -68527,7 +68621,7 @@ var num5 = (v) => {
|
|
|
68527
68621
|
const n = Number(v);
|
|
68528
68622
|
return Number.isFinite(n) ? n : 0;
|
|
68529
68623
|
};
|
|
68530
|
-
async function
|
|
68624
|
+
async function getJson7(path, fetchImpl) {
|
|
68531
68625
|
const res = await fetchImpl(`${LISTA_API}${path}`, {
|
|
68532
68626
|
headers: { accept: "application/json" },
|
|
68533
68627
|
signal: AbortSignal.timeout(8e3)
|
|
@@ -68542,7 +68636,7 @@ async function getPaged(path, fetchImpl) {
|
|
|
68542
68636
|
const out = [];
|
|
68543
68637
|
for (let page = 1; page <= MAX_PAGES2; page++) {
|
|
68544
68638
|
const sep = path.includes("?") ? "&" : "?";
|
|
68545
|
-
const data = await
|
|
68639
|
+
const data = await getJson7(
|
|
68546
68640
|
`${path}${sep}page=${page}&pageSize=${PAGE_SIZE2}`,
|
|
68547
68641
|
fetchImpl
|
|
68548
68642
|
);
|
|
@@ -68553,7 +68647,7 @@ async function getPaged(path, fetchImpl) {
|
|
|
68553
68647
|
return out;
|
|
68554
68648
|
}
|
|
68555
68649
|
async function fetchListaRewardTokens(fetchImpl = fetch) {
|
|
68556
|
-
const data = await
|
|
68650
|
+
const data = await getJson7("/api/moolah/emission/rewardTokens", fetchImpl);
|
|
68557
68651
|
const out = {};
|
|
68558
68652
|
for (const t of Array.isArray(data) ? data : [])
|
|
68559
68653
|
if (t?.symbol && t?.token)
|
|
@@ -78874,7 +78968,7 @@ function rescaleExchangeRate(exchangeRate, shareDecimals) {
|
|
|
78874
78968
|
}
|
|
78875
78969
|
var EULER_API_CACHE_TTL_MS = 6e4;
|
|
78876
78970
|
var jsonCache = /* @__PURE__ */ new Map();
|
|
78877
|
-
function
|
|
78971
|
+
function getJson8(url) {
|
|
78878
78972
|
const hit = jsonCache.get(url);
|
|
78879
78973
|
if (hit && Date.now() - hit.at < EULER_API_CACHE_TTL_MS) return hit.promise;
|
|
78880
78974
|
const entry2 = { at: Date.now(), promise: fetchJsonOnce(url) };
|
|
@@ -78981,7 +79075,7 @@ async function mapWithConcurrency(items, limit, fn2) {
|
|
|
78981
79075
|
return out;
|
|
78982
79076
|
}
|
|
78983
79077
|
async function fetchEulerEarnVaultsFromApi(chainId, prices = {}, tokenList = {}, multicallRetry) {
|
|
78984
|
-
const list = await
|
|
79078
|
+
const list = await getJson8(
|
|
78985
79079
|
`${EULER_DATA_API_BASE2}/earn/vaults?chainId=${chainId}&limit=200&visibility=${VISIBILITY_ALL}`
|
|
78986
79080
|
);
|
|
78987
79081
|
if (!list) return void 0;
|
|
@@ -78998,7 +79092,7 @@ async function fetchEulerEarnVaultsFromApi(chainId, prices = {}, tokenList = {},
|
|
|
78998
79092
|
mapWithConcurrency(
|
|
78999
79093
|
rows,
|
|
79000
79094
|
DETAIL_CONCURRENCY,
|
|
79001
|
-
(row) =>
|
|
79095
|
+
(row) => getJson8(
|
|
79002
79096
|
`${EULER_DATA_API_BASE2}/earn/vaults/${chainId}/${row.address}?include=strategies`
|
|
79003
79097
|
).then((d) => d?.data)
|
|
79004
79098
|
),
|
|
@@ -93657,7 +93751,7 @@ function clearPendleMarketsCache() {
|
|
|
93657
93751
|
marketsCache = void 0;
|
|
93658
93752
|
assetsCache = void 0;
|
|
93659
93753
|
}
|
|
93660
|
-
async function
|
|
93754
|
+
async function getJson9(url, label) {
|
|
93661
93755
|
const response = await fetch(url, { headers: { Accept: "application/json" } });
|
|
93662
93756
|
if (!response.ok) {
|
|
93663
93757
|
throw new Error(
|
|
@@ -93678,7 +93772,7 @@ function cache5(slot, build9, store) {
|
|
|
93678
93772
|
function fetchPendleApiMarkets() {
|
|
93679
93773
|
return cache5(
|
|
93680
93774
|
marketsCache,
|
|
93681
|
-
async () => (await
|
|
93775
|
+
async () => (await getJson9(PENDLE_MARKETS_URL2, "markets"))?.markets ?? [],
|
|
93682
93776
|
(c) => {
|
|
93683
93777
|
marketsCache = c;
|
|
93684
93778
|
}
|
|
@@ -93689,7 +93783,7 @@ function fetchPendleApiAssets() {
|
|
|
93689
93783
|
return cache5(
|
|
93690
93784
|
assetsCache,
|
|
93691
93785
|
async () => {
|
|
93692
|
-
const json = await
|
|
93786
|
+
const json = await getJson9(PENDLE_ASSETS_URL, "assets");
|
|
93693
93787
|
const map = /* @__PURE__ */ new Map();
|
|
93694
93788
|
for (const a of json?.assets ?? []) {
|
|
93695
93789
|
if (a?.chainId == null || !a?.address) continue;
|
|
@@ -97278,17 +97372,94 @@ var FALLBACK_TRAITS = {
|
|
|
97278
97372
|
};
|
|
97279
97373
|
|
|
97280
97374
|
// src/terms/vault/svmCuration.ts
|
|
97375
|
+
var KESTREL_DESCRIPTION = "A Perena carry token: the collateral deposited is lent on Kamino, USDC is borrowed against it at a target loan-to-value, and the USDC is held in USD*, so the token keeps the collateral\u2019s price exposure and earns USD*\u2019s yield less the borrow rate, accrued into a price denominated in the collateral. The carry can turn negative when borrowing costs more than USD* earns, and the Kamino positions carry liquidation risk if the collateral falls fast. A deposit mints at the stored price in the same transaction; a burn pays collateral in the transaction only out of the token\u2019s unlent reserve, a larger one queues into a redemption epoch Perena unwinds.";
|
|
97281
97376
|
var SVM_SAVINGS_CURATION = {
|
|
97282
97377
|
// OnRe ONyc — a reinsurance fund's NAV share (margin-fetcher-sol `ONYC_DESCRIPTION`)
|
|
97283
97378
|
"5Y8NV33Vv7WbnLfq3zBcKSdYPrk7g2KoiQoe7M2tcxp5": {
|
|
97284
97379
|
solvency: "nav-attested",
|
|
97285
97380
|
description: "ONyc is a share of OnRe\u2019s Bermuda reinsurance fund: the fund writes reinsurance contracts and holds stablecoin collateral against them, and the premiums plus the collateral\u2019s yield accrue as a rising dollar NAV per ONyc. This is REINSURANCE risk, not a dollar deposit: a catastrophe the contracts cover (a hurricane, an earthquake) is paid out of the fund and writes the NAV down, and the NAV is OnRe\u2019s own published figure over an off-chain book. OnRe keeps a freeze authority over the token. ONyc is minted at OnRe\u2019s offer price on chain; it exits by selling into OnRe\u2019s USDG pool (instant, a fee plus a haircut that grows with the order\u2019s size and the day\u2019s selling, capped by what the pool holds) or by a redemption request OnRe\u2019s operator fulfils at its later NAV less a fee, paid straight to the wallet \u2014 OnRe publishes no time for that."
|
|
97381
|
+
},
|
|
97382
|
+
// Perena USD* — the vault NAV over off-chain + on-chain venues (margin-fetcher-sol `PERENA_USD_STAR_MECHANICS`)
|
|
97383
|
+
star9agSpjiFe3M49B3RniVU4CMBBEK3Qnaqn3RGiFM: {
|
|
97384
|
+
solvency: "nav-attested",
|
|
97385
|
+
description: "A deposit of USDC mints USD* at the vault price in the same transaction. A withdrawal also settles in the transaction, but only out of the USDC the vault holds idle: Perena deploys the rest to off-chain and on-chain venues (delta-neutral funds, private credit, RWA vaults, Kamino and Project 0), so a larger exit waits until the operator returns capital. The price is the vault\u2019s net asset value, pushed by a two-of-N signer consensus for the off-chain positions and cranked permissionlessly."
|
|
97386
|
+
},
|
|
97387
|
+
// Perena USD*-J — the first-loss tranche (`PERENA_JUNIOR_MECHANICS`)
|
|
97388
|
+
"3AJYCjrhKitmBd8tRUurPA5dGHCAQh6A8L9DkuSC37Rm": {
|
|
97389
|
+
solvency: "nav-attested",
|
|
97390
|
+
description: "USD*-J is the first-loss tranche of the USD* vault: a deposit of USDC buys junior shares, the junior takes a levered share of the vault\u2019s yield, and any loss is charged to it before the protected tranche or plain USD* is touched \u2014 it had already absorbed one on 2026-10-29. An instant exit pays out of the vault\u2019s idle USDC at the early-unstake fee; a queued exit escrows the shares for the lockup at the lower standard fee, and is paid when Perena fulfils it or, after the lockup, when the holder claims it. A request can be cancelled for the shares back."
|
|
97391
|
+
},
|
|
97392
|
+
// Perena USD*-P — the fixed-rate senior tranche (`PERENA_SENIOR_MECHANICS`)
|
|
97393
|
+
CPFZ7wUFpg5obsGB2GKXQ8rPY5ALuxs87dEjQjsrVxWw: {
|
|
97394
|
+
solvency: "nav-attested",
|
|
97395
|
+
description: "USD*-P is the senior tranche of the USD* vault: a deposit of USDC buys shares that accrue a FIXED rate set on chain, paid out of the vault\u2019s yield, with the junior tranche taking losses first; Perena describes an insurance fund for anything beyond it, which is a promise, not a program state. A withdrawal settles in the transaction out of the vault\u2019s idle USDC at the vault\u2019s burn fee."
|
|
97396
|
+
},
|
|
97397
|
+
// Perena BTC* — a Kestrel carry token over cbBTC
|
|
97398
|
+
YXyMDi4y5aUDmxUFgUvxbm2hXR945yhYaoY9nFnM1KN: {
|
|
97399
|
+
solvency: "nav-attested",
|
|
97400
|
+
description: KESTREL_DESCRIPTION
|
|
97401
|
+
},
|
|
97402
|
+
// Perena SOL* — a Kestrel carry token over SOL
|
|
97403
|
+
FDhu9642aPYNnbTnSoHdAsR9tgSxftPDPjEVdbD58nP2: {
|
|
97404
|
+
solvency: "nav-attested",
|
|
97405
|
+
description: KESTREL_DESCRIPTION
|
|
97406
|
+
},
|
|
97407
|
+
// Perena GOLD* — a Kestrel carry token over PAXG
|
|
97408
|
+
"4uNpwqFP97Hd5xKVS2a1wC7frqBY9yZi7x4Dgtwwi2FU": {
|
|
97409
|
+
solvency: "nav-attested",
|
|
97410
|
+
description: KESTREL_DESCRIPTION
|
|
97411
|
+
},
|
|
97412
|
+
// Forest Road sUSD-FR — a Perena curator vault (`PERENA_CURATOR_MECHANICS`)
|
|
97413
|
+
"3TPJDfcAx438Ait2cg9fs98jenJ9nDCWJF1hneh7fPdw": {
|
|
97414
|
+
solvency: "nav-attested",
|
|
97415
|
+
description: "A deposit mints shares at the vault price in the same transaction; a withdrawal settles in the transaction out of the vault\u2019s idle balance only, the rest being deployed by the curator off the vault. The price accrues at a fixed rate set on chain, bounded by the curator\u2019s reported net asset value."
|
|
97286
97416
|
}
|
|
97287
97417
|
};
|
|
97418
|
+
function exponentTrancheDescription(side2, base) {
|
|
97419
|
+
const common = `The rate is the measured growth of the LP price in the market's quote unit, so it already includes ${base}'s own yield; it is a trailing figure, not a promise. Deposits take ${base} and withdrawals pay ${base} in the same transaction, at the LP price less the side's fee, capped by the ${side2} side's own holdings, and only while the market is Active.`;
|
|
97420
|
+
return side2 === "senior" ? `The SENIOR side of an Exponent tranching market over ${base}. Senior and junior deposits are pooled; the senior is paid a smaller, protected share of ${base}'s yield, and any fall in ${base}'s value is written off the junior side first. The protection is only as deep as the junior's NAV: a loss larger than it reaches the senior. A senior deposit is refused when it would push the junior's coverage of the market below its minimum, or while either side is recovering a loss. ` + common : `The JUNIOR, FIRST-LOSS side of an Exponent tranching market over ${base}. The junior is paid a larger share of ${base}'s yield \u2014 the senior's premium, less Exponent's fee on the junior's return \u2014 for absorbing any fall in ${base}'s value before the senior does. A drawdown in ${base} lands on the junior's NAV first and is LEVERED by the senior book it protects, so the junior can lose more than ${base} itself, and its rate can be negative. Junior exits carry no coverage gate \u2014 only senior deposits do. ` + common;
|
|
97421
|
+
}
|
|
97422
|
+
function reflectTrancheDescription(side2, base) {
|
|
97423
|
+
return side2 === "senior" ? `The SENIOR side of a Reflect tranche over ${base}: a wrapper that holds ${base} and keeps ${base}'s yield less a fee on that yield, which Reflect routes to the junior pool as its premium. The protection is the junior pool: when the senior vault is worth less than its principal, Reflect's operator may move junior reserves into it, capped by the program at the shortfall. Moving them is the operator's call, not automatic, and the protection is only as deep as the junior pool. Deposits and withdrawals settle in the transaction at an oracle price, a withdrawal capped by the ${base} the vault holds; deposits close at the deposit cap. Reflect's tranche authority, a single key, sets the fee and the cap, can freeze the wrapper and can freeze any holder's senior token account.` : `The JUNIOR, FIRST-LOSS side of a Reflect tranche over ${base}: a pool of ${base} that earns ${base}'s own yield plus the senior's fee as a premium, levered by how much larger the senior book is. In exchange its reserves are what restores the senior's principal: when the senior vault is worth less than its principal, Reflect's operator may move junior reserves into it, up to the shortfall, so a drawdown in ${base} lands on the junior first and LEVERED, and its return can be negative. Deposits settle in the transaction; the exit is a request that locks the LP for the pool's cooldown, then a withdrawal paying at most the value snapshotted at the request (a later slash can still reduce it) inside a claim window as long as the cooldown \u2014 an expired request returns the LP instead.`;
|
|
97424
|
+
}
|
|
97425
|
+
var REFLECT_TRANCHE_SIDES = {
|
|
97426
|
+
sro4agJ6nJ89MJgj2DfDdx8zXVqSyZfCZjbhBfQaJU5: ["senior", "syrupUSDC"],
|
|
97427
|
+
jrByePxMbHAevzMG4kjUrfMWoZ7bQYwwKJTPcq2WysG: ["junior", "syrupUSDC"],
|
|
97428
|
+
sRr4h6qhdZAqQjstXbqKNvtdj1pNDPczLr49HQ5QaRS: ["senior", "PRIME"],
|
|
97429
|
+
JrGsMfJodyVEqLGnyAKa9qHzRqZ9dzFfeSjouV3qEeG: ["junior", "PRIME"],
|
|
97430
|
+
SRcbNRqXP585fbxMNo2NkCbrgjZNZv9y8JMcwXonUap: ["senior", "eHYUSD"],
|
|
97431
|
+
jrZjCWLJMu5rabYcu1fbkZPK6daMdjLbyQM5NVeVGNG: ["junior", "eHYUSD"],
|
|
97432
|
+
SrBhwwen83jYAkgpMqT9k1yjjeM3ciYdoCNyMzVY1eH: ["senior", "reUSD"],
|
|
97433
|
+
jrFLwUZLRwk6JyQhqnVR2vkBgziNapAu6aJiS8MeWac: ["junior", "reUSD"],
|
|
97434
|
+
sRTteWAWvtdmNPMRvhbJWBsa687CYeRt2jJFnUfTQfr: ["senior", "SUSDG"],
|
|
97435
|
+
jrsLHAvEaeyyWSqey33Vm8oaddxTNRx4vbD7ZvyTn8E: ["junior", "SUSDG"]
|
|
97436
|
+
};
|
|
97437
|
+
var EXPONENT_TRANCHE_NAME = /^Exponent (Senior|Junior) (\S+)/;
|
|
97288
97438
|
var CI = new Map(
|
|
97289
97439
|
Object.entries(SVM_SAVINGS_CURATION).map(([m, c]) => [m.toLowerCase(), c])
|
|
97290
97440
|
);
|
|
97291
|
-
var
|
|
97441
|
+
var REFLECT_CI = new Map(
|
|
97442
|
+
Object.entries(REFLECT_TRANCHE_SIDES).map(([m, x]) => [m.toLowerCase(), x])
|
|
97443
|
+
);
|
|
97444
|
+
var svmSavingsCuration = (mint, row) => {
|
|
97445
|
+
const pinned = SVM_SAVINGS_CURATION[mint] ?? CI.get(mint.toLowerCase());
|
|
97446
|
+
if (pinned) return pinned;
|
|
97447
|
+
const reflect = REFLECT_TRANCHE_SIDES[mint] ?? REFLECT_CI.get(mint.toLowerCase());
|
|
97448
|
+
if (reflect)
|
|
97449
|
+
return {
|
|
97450
|
+
description: reflectTrancheDescription(reflect[0], reflect[1]),
|
|
97451
|
+
solvency: reflect[0] === "senior" ? "tranched-senior" : "tranched-junior"
|
|
97452
|
+
};
|
|
97453
|
+
if (row?.brand !== "Exponent") return void 0;
|
|
97454
|
+
const t = EXPONENT_TRANCHE_NAME.exec(row.name ?? "");
|
|
97455
|
+
if (!t) return void 0;
|
|
97456
|
+
return {
|
|
97457
|
+
description: exponentTrancheDescription(
|
|
97458
|
+
t[1] === "Senior" ? "senior" : "junior",
|
|
97459
|
+
t[2]
|
|
97460
|
+
)
|
|
97461
|
+
};
|
|
97462
|
+
};
|
|
97292
97463
|
var VAULT_VENUE_PREFIX = "vault.";
|
|
97293
97464
|
function isVaultVenue(uidOrVenue) {
|
|
97294
97465
|
return uidOrVenue.startsWith(VAULT_VENUE_PREFIX);
|
|
@@ -98168,6 +98339,40 @@ function sum(a, b) {
|
|
|
98168
98339
|
return (a ?? 0) + (b ?? 0);
|
|
98169
98340
|
}
|
|
98170
98341
|
|
|
98342
|
+
// src/terms/vault/managedVaultCuration.ts
|
|
98343
|
+
function syntropiaTrancheDescription(t) {
|
|
98344
|
+
const common = `All three Syntropia vaults (synUSD+ senior, synUSD mezzanine, synUSDx junior) fund ONE portfolio of delta-neutral strategies on on-chain venues, run by Syntropia's trading software out of a treasury of multisigs, cold wallets and the software's own ephemeral keys. The share price is the NAV Syntropia reports into the Lagoon vault, not a value any contract computes; deposits and redemptions settle in batches. The tranche order is Syntropia's own accounting between three separate vaults \u2014 no contract enforces it.`;
|
|
98345
|
+
switch (t) {
|
|
98346
|
+
case "senior":
|
|
98347
|
+
return `The SENIOR tranche (synUSD+). Its USDC is lent to the junior tranche, whose holders use it as leverage, at a rate Syntropia sets; USDC the junior does not take is deployed into the strategies directly, with 1:1 loss exposure. The protection is the junior tranche's capital and ends when that is gone. ` + common;
|
|
98348
|
+
case "mezzanine":
|
|
98349
|
+
return `The MEZZANINE tranche (synUSD): every USDC is deployed into the strategies, so a holder carries the portfolio's gains and losses 1:1 \u2014 no senior protection and no leverage. ` + common;
|
|
98350
|
+
case "junior":
|
|
98351
|
+
return `The JUNIOR, FIRST-LOSS tranche (synUSDx). Its USDC is the margin for a position Syntropia targets at about 5x the junior's size in the portfolio, funded by the senior tranche, plus a 1\u20132 % share of the portfolio's yield. A loss in the portfolio lands on the junior LEVERED \u2014 at 5x, a 1 % loss is about 5 % \u2014 so its return can be negative. ` + common;
|
|
98352
|
+
}
|
|
98353
|
+
}
|
|
98354
|
+
var SYNTROPIA = [
|
|
98355
|
+
["0xd17049ed25d8f99fe3bfd10cef2263da9995cfd8", "senior"],
|
|
98356
|
+
["0x1b2cb79a4564206f53ba80b4d780f251b4ae6765", "mezzanine"],
|
|
98357
|
+
["0x8df3deba711ae4a9af16cbca5e4fbb1402f036d5", "junior"]
|
|
98358
|
+
];
|
|
98359
|
+
var SOLVENCY = {
|
|
98360
|
+
senior: "tranched-senior",
|
|
98361
|
+
// 1:1 over a curator-reported NAV — the trust class with no tranche.
|
|
98362
|
+
mezzanine: "nav-attested",
|
|
98363
|
+
junior: "tranched-junior"
|
|
98364
|
+
};
|
|
98365
|
+
var MANAGED_VAULT_CURATION = Object.fromEntries(
|
|
98366
|
+
SYNTROPIA.map(([address, t]) => [
|
|
98367
|
+
`1:${address}`,
|
|
98368
|
+
{ description: syntropiaTrancheDescription(t), solvency: SOLVENCY[t] }
|
|
98369
|
+
])
|
|
98370
|
+
);
|
|
98371
|
+
function managedVaultCuration(provider, chainId, address) {
|
|
98372
|
+
if (provider !== "lagoon") return void 0;
|
|
98373
|
+
return MANAGED_VAULT_CURATION[`${chainId}:${address.toLowerCase()}`];
|
|
98374
|
+
}
|
|
98375
|
+
|
|
98171
98376
|
// src/terms/vault/input.ts
|
|
98172
98377
|
var num16 = (v) => {
|
|
98173
98378
|
if (typeof v === "number") return Number.isFinite(v) ? v : void 0;
|
|
@@ -98290,9 +98495,12 @@ function toVaultTermInput(vault, provider, chainId) {
|
|
|
98290
98495
|
exposures: Array.isArray(row.exposures) ? row.exposures : void 0
|
|
98291
98496
|
};
|
|
98292
98497
|
}
|
|
98293
|
-
function savingsCuration(provider, chainId, address) {
|
|
98294
|
-
if (provider !== "savings")
|
|
98295
|
-
|
|
98498
|
+
function savingsCuration(provider, chainId, address, row) {
|
|
98499
|
+
if (provider !== "savings") {
|
|
98500
|
+
const managed = managedVaultCuration(provider, chainId, address);
|
|
98501
|
+
return managed ? { description: managed.description, solvency: managed.solvency } : {};
|
|
98502
|
+
}
|
|
98503
|
+
const svm = svmSavingsCuration(address, row);
|
|
98296
98504
|
if (svm)
|
|
98297
98505
|
return {
|
|
98298
98506
|
description: svm.description || void 0,
|
|
@@ -98322,7 +98530,10 @@ function vaultTermInputFromEarnMarket(m) {
|
|
|
98322
98530
|
const provider = m.venue.startsWith(VAULT_VENUE_PREFIX) ? m.venue.slice(VAULT_VENUE_PREFIX.length) : void 0;
|
|
98323
98531
|
if (!provider) return void 0;
|
|
98324
98532
|
const meta = m.providerMeta ?? {};
|
|
98325
|
-
const curated = savingsCuration(provider, m.chainId, m.ref
|
|
98533
|
+
const curated = savingsCuration(provider, m.chainId, m.ref, {
|
|
98534
|
+
brand: m.brand,
|
|
98535
|
+
name: m.name
|
|
98536
|
+
});
|
|
98326
98537
|
return {
|
|
98327
98538
|
provider,
|
|
98328
98539
|
chainId: m.chainId,
|
|
@@ -98410,7 +98621,10 @@ function vaultTermInputFromSourceRow(row, chainId) {
|
|
|
98410
98621
|
const info = row.vaultInfo ?? {};
|
|
98411
98622
|
const assetInfo = row.underlyingInfo?.asset;
|
|
98412
98623
|
const assetDecimals = num16(row.assetDecimals) ?? num16(assetInfo?.decimals) ?? num16(row.decimals);
|
|
98413
|
-
const curated = savingsCuration(provider, chainId, address
|
|
98624
|
+
const curated = savingsCuration(provider, chainId, address, {
|
|
98625
|
+
brand: str7(row.curatorName) ?? str7(meta.brand),
|
|
98626
|
+
name: str7(info.name) ?? str7(row.displayName) ?? str7(row.name)
|
|
98627
|
+
});
|
|
98414
98628
|
return {
|
|
98415
98629
|
provider,
|
|
98416
98630
|
chainId,
|
|
@@ -103871,6 +104085,22 @@ var SVM_EARN_VAULT_BUILDERS = {
|
|
|
103871
104085
|
requestVerbs: ["deposit", "request-withdraw", "claim", "cancel"],
|
|
103872
104086
|
requires: { withdraw: SHARES, "request-withdraw": SHARES }
|
|
103873
104087
|
},
|
|
104088
|
+
// Perena (bankineco): USD*, USD*-P and any curator vault of the program —
|
|
104089
|
+
// execute_deposit / execute_(tranche_)withdraw in the transaction, the base
|
|
104090
|
+
// asset (USDC) in, SHARES out, paid only out of the vault's idle balance.
|
|
104091
|
+
// The share resolves from the chain (its mint authority is the Vault PDA)
|
|
104092
|
+
"savings:Perena": {
|
|
104093
|
+
verbs: ["deposit", "withdraw"],
|
|
104094
|
+
requires: { withdraw: SHARES }
|
|
104095
|
+
},
|
|
104096
|
+
// USD*-J — the junior tranche: the same instant exit (at the early-unstake
|
|
104097
|
+
// fee) plus a queued one: request (shares) → Perena's fulfiller pays it, or
|
|
104098
|
+
// the holder claims it after the lockup (`requestId` = the queue account,
|
|
104099
|
+
// none = every due one) — or cancel
|
|
104100
|
+
"savings:Perena-junior": {
|
|
104101
|
+
verbs: ["deposit", "withdraw", "request-withdraw", "claim", "cancel"],
|
|
104102
|
+
requires: { withdraw: SHARES, "request-withdraw": SHARES }
|
|
104103
|
+
},
|
|
103874
104104
|
// GLAM single-asset vaults (Solstice stSLX): subscribe in the transaction;
|
|
103875
104105
|
// a queued redeem by SHARES (7-day hard notice), a permissionless fulfil +
|
|
103876
104106
|
// claim in one transaction, and a cancel inside the window
|
|
@@ -103878,6 +104108,31 @@ var SVM_EARN_VAULT_BUILDERS = {
|
|
|
103878
104108
|
verbs: ["deposit", "request-withdraw", "claim", "cancel"],
|
|
103879
104109
|
requires: { "request-withdraw": SHARES }
|
|
103880
104110
|
},
|
|
104111
|
+
// Exponent tranching (srEHYUSD / jrEHYUSD … — every side of every market
|
|
104112
|
+
// in Exponent's roster): the market's own `wrapper_deposit` /
|
|
104113
|
+
// `wrapper_withdraw`, same transaction (calldata-sdk-sol
|
|
104114
|
+
// `ComposerExponentTrancheActions`). The base in (or any mint with a direct
|
|
104115
|
+
// Jupiter hop into it), LP SHARES out into the base — capped by the side's
|
|
104116
|
+
// own SY, refused outside `Active`
|
|
104117
|
+
"savings:Exponent": {
|
|
104118
|
+
verbs: ["deposit", "withdraw"],
|
|
104119
|
+
payAsset: true,
|
|
104120
|
+
requires: { withdraw: SHARES }
|
|
104121
|
+
},
|
|
104122
|
+
// Reflect tranches (calldata-sdk-sol `ComposerReflectActions`): the SENIOR
|
|
104123
|
+
// wraps / unwraps in the transaction at the proxy's oracle price — the
|
|
104124
|
+
// underlying in, SHARES out, capped by the vault; the JUNIOR deposits in
|
|
104125
|
+
// the transaction and exits by a cooldown request (by SHARES), then a claim
|
|
104126
|
+
// inside the claim window (`requestId` = the cooldown account, or none =
|
|
104127
|
+
// every claimable one). No cancel exists.
|
|
104128
|
+
"savings:ReflectSenior": {
|
|
104129
|
+
verbs: ["deposit", "withdraw"],
|
|
104130
|
+
requires: { withdraw: SHARES }
|
|
104131
|
+
},
|
|
104132
|
+
"savings:ReflectJunior": {
|
|
104133
|
+
verbs: ["deposit", "request-withdraw", "claim"],
|
|
104134
|
+
requires: { "request-withdraw": SHARES }
|
|
104135
|
+
},
|
|
103881
104136
|
// INF: Sanctum Infinity's own add / remove liquidity against wSOL; the
|
|
103882
104137
|
// remove by SHARES
|
|
103883
104138
|
"savings:Sanctum": {
|
|
@@ -103942,9 +104197,33 @@ var SVM_EARN_MINT_BUILDERS = {
|
|
|
103942
104197
|
"5Y8NV33Vv7WbnLfq3zBcKSdYPrk7g2KoiQoe7M2tcxp5": "savings:OnRe",
|
|
103943
104198
|
// JLP
|
|
103944
104199
|
"27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4": "savings:Jupiter",
|
|
104200
|
+
// Perena USD*-J (the junior tranche has a queued exit the other classes lack)
|
|
104201
|
+
"3AJYCjrhKitmBd8tRUurPA5dGHCAQh6A8L9DkuSC37Rm": "savings:Perena-junior",
|
|
103945
104202
|
// Hastra PRIME, AUTO
|
|
103946
104203
|
"3b8X44fLF9ooXaUm3hhSgjpmVs6rZZ3pPoGnGahc3Uu7": "savings:Hastra",
|
|
103947
104204
|
GNE6oDS6jHrfaV3GQVVCCp37fDnT7PiPuewMKBj2bqNm: "savings:Hastra",
|
|
104205
|
+
// Reflect tranches — senior (Protected …) and junior (Amplified …) per
|
|
104206
|
+
// market, margin-fetcher-sol `REFLECT_MARKETS`
|
|
104207
|
+
sro4agJ6nJ89MJgj2DfDdx8zXVqSyZfCZjbhBfQaJU5: "savings:ReflectSenior",
|
|
104208
|
+
// pSyrupUSDC
|
|
104209
|
+
jrByePxMbHAevzMG4kjUrfMWoZ7bQYwwKJTPcq2WysG: "savings:ReflectJunior",
|
|
104210
|
+
// aSyrupUSDC
|
|
104211
|
+
sRr4h6qhdZAqQjstXbqKNvtdj1pNDPczLr49HQ5QaRS: "savings:ReflectSenior",
|
|
104212
|
+
// pPRIME
|
|
104213
|
+
JrGsMfJodyVEqLGnyAKa9qHzRqZ9dzFfeSjouV3qEeG: "savings:ReflectJunior",
|
|
104214
|
+
// aPRIME
|
|
104215
|
+
SRcbNRqXP585fbxMNo2NkCbrgjZNZv9y8JMcwXonUap: "savings:ReflectSenior",
|
|
104216
|
+
// pEHYUSD
|
|
104217
|
+
jrZjCWLJMu5rabYcu1fbkZPK6daMdjLbyQM5NVeVGNG: "savings:ReflectJunior",
|
|
104218
|
+
// aEHYUSD
|
|
104219
|
+
SrBhwwen83jYAkgpMqT9k1yjjeM3ciYdoCNyMzVY1eH: "savings:ReflectSenior",
|
|
104220
|
+
// pREUSD
|
|
104221
|
+
jrFLwUZLRwk6JyQhqnVR2vkBgziNapAu6aJiS8MeWac: "savings:ReflectJunior",
|
|
104222
|
+
// aREUSD
|
|
104223
|
+
sRTteWAWvtdmNPMRvhbJWBsa687CYeRt2jJFnUfTQfr: "savings:ReflectSenior",
|
|
104224
|
+
// pSUSDG
|
|
104225
|
+
jrsLHAvEaeyyWSqey33Vm8oaddxTNRx4vbD7ZvyTn8E: "savings:ReflectJunior",
|
|
104226
|
+
// aSUSDG
|
|
103948
104227
|
// Sanctum INF
|
|
103949
104228
|
"5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm": "savings:Sanctum",
|
|
103950
104229
|
// Jito Restaking VRTs: Renzo ezSOL, Kyros kySOL
|
|
@@ -104001,7 +104280,12 @@ var ROSTER_BRAND_BUILDERS = /* @__PURE__ */ new Set([
|
|
|
104001
104280
|
"savings:Nest",
|
|
104002
104281
|
// any share mint of the shared august_vault program: its mint authority is
|
|
104003
104282
|
// the VaultState, so the route resolves the vault from the chain
|
|
104004
|
-
"savings:Upshift"
|
|
104283
|
+
"savings:Upshift",
|
|
104284
|
+
// any LP mint of Exponent's tranching roster (both sides of every market)
|
|
104285
|
+
"savings:Exponent",
|
|
104286
|
+
// any share mint of the bankineco program (USD*, USD*-P, curator vaults):
|
|
104287
|
+
// its mint authority is the Vault PDA
|
|
104288
|
+
"savings:Perena"
|
|
104005
104289
|
]);
|
|
104006
104290
|
var UNBUILT_REASONS = {
|
|
104007
104291
|
lst: "Solana LST staking is not built in this API yet"
|
|
@@ -105503,6 +105787,6 @@ function hedgeImplications(h, p) {
|
|
|
105503
105787
|
return out;
|
|
105504
105788
|
}
|
|
105505
105789
|
|
|
105506
|
-
export { ALCHEMIX_BLOCK_SECONDS, ApiBookSource, BOROS_API_BASE, BOROS_GOVERNANCE, BOROS_MIN_CASH_USD, BOROS_PROFILE_ID, BorosApiError, DEFAULT_CONSENSUS_DEMOTION, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, EXACTLY_LENDER_KEY, EXPONENT_MATURED_REASON, FIXED_YIELD_EARN_VENUE_PREFIXES, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, FUNDING_EXPOSURE_PROFILES, FUNDING_HEDGE_REFERENCE_USD, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, HYPERCORE_VAULT_REGISTRY, IDLE_MARKET_ID, INTERFACE_IDS, LAGOON_API_URL, LAGOON_CHAIN_IDS, MORPHO_LENS, MULTICALL_FAILURE, MaxParamThresholds, NON_EVM_VAULT_PROVIDERS, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL2 as PENDLE_MARKETS_URL, PREFIX_LENDERS, RATE_QUEUE_MAX_LEVELS, RATE_QUEUE_STEP, RIPE_LENDER_KEY, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, SVM_EARN_MINT_BUILDERS, SVM_EARN_VAULT_BUILDERS, SVM_SAVINGS_CURATION, SVM_VAULT_PROVIDERS, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, TermMaxApiSource, TermSubgraphSource, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, USER_REWARD_SOURCES, USER_SET_RATE_PICKS, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VENUS_CORE_POOL_ID, VOLATILE_VAULT_OVERRIDES, VenusEModeAbi, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, alchemixLenderKey, alchemixMytRate, alchemixRedemptionPace, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borosApi, borosInitialMargin, borosMaintenanceMargin, borosRateMoveToLiquidation, borosSideTerms, borosTakerFee, borrowDescription, borrowFindings, borrowHeadline, buildBorosTermSheet, buildExposures2 as buildExposures, buildFluidFTokensCall, buildFundingHedgeTerms, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildRateQueue, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta2 as computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta2 as computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta2 as computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta2 as computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertAlchemixMarketsToResponse, convertBorosCandle, convertBorosMarket, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlexMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRipeMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMultiAccountTypeUserState, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, debtAheadOf, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, deriveSwapTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, disambiguateOrderBookNames, discoverFlexTroves, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowFundingProfile, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchAaveIncentivesUserRewards, fetchAlchemixMarkets, fetchBorosAccount, fetchBorosCollaterals, fetchBorosMarket, fetchBorosMarketById, fetchBorosMarkets, fetchBorosOrderBook, fetchBorosRateHistory, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFlexMarkets, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFlyingTulipUserRewards, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaMarketEmissions, fetchListaUserRewards, fetchListaVaultEmissions, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMerklUserRewards, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRipeMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchUserRewards, fetchUsualRewardsClaimData, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, flexAverageRate, flexLenderApr, flexLenderKey, flexMarketIndex, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fundingExposureOf, fundingSymbolBase, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedFluidDexState, getCachedLiquityTroves, getCachedTellerBids, getCachedTermMaxDiscovery, getCachedTermMaxMarket, getCachedTermMaxMarkets, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMidnightChainBooks, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, getVenusEModeSetup, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isFixedYieldEarnRow, isIlliquid, isLenderVenueKey, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isOrderBookCollateralLeg, isOrderBookLendRow, isPrincipalTokenSymbol, isRollingBookLendRow, isSecondaryMarketOnly, isStablecoinSymbol, isSyntheticQuoteUnit, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, lenderLiquidityPressure, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, listaEmissionRewardFetcher, listaLoginMessage, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi2 as multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, pegPressure, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart2 as positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, protocolConsensus, protocolOf, pruneFeedStats, quoteBorosHedgeLeg, rankBorosHedgeMarkets, rankFindings, ratePercent, readLstPauseState, readTransmuterLots, readUserPositions, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveMerklOpportunityMarkets, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, selectUsualRewardEntry, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampOrderBookLendRow, stampRollingBookLendRow, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, svmEarnBuildability, svmEarnBuilderKey, svmSavingsCuration, swapRoutedProvidersArePriceConsistent, swapSideDescription, swapSideHeadline, swapSideImplications, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toDolomiteSubAccountId, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, walkBorosBook, withMaturityLabel, withTrancheLabel };
|
|
105790
|
+
export { ALCHEMIX_BLOCK_SECONDS, ApiBookSource, BOROS_API_BASE, BOROS_GOVERNANCE, BOROS_MIN_CASH_USD, BOROS_PROFILE_ID, BorosApiError, DEFAULT_CONSENSUS_DEMOTION, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, EXACTLY_LENDER_KEY, EXPONENT_MATURED_REASON, FIXED_YIELD_EARN_VENUE_PREFIXES, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, FUNDING_EXPOSURE_PROFILES, FUNDING_HEDGE_REFERENCE_USD, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, HYPERCORE_VAULT_REGISTRY, IDLE_MARKET_ID, INTERFACE_IDS, LAGOON_API_URL, LAGOON_CHAIN_IDS, MORPHO_LENS, MULTICALL_FAILURE, MaxParamThresholds, NON_EVM_VAULT_PROVIDERS, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL2 as PENDLE_MARKETS_URL, PREFIX_LENDERS, RATE_QUEUE_MAX_LEVELS, RATE_QUEUE_STEP, REFLECT_TRANCHE_SIDES, RIPE_LENDER_KEY, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, SVM_EARN_MINT_BUILDERS, SVM_EARN_VAULT_BUILDERS, SVM_SAVINGS_CURATION, SVM_VAULT_PROVIDERS, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, TermMaxApiSource, TermSubgraphSource, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, USER_REWARD_SOURCES, USER_SET_RATE_PICKS, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VENUS_CORE_POOL_ID, VOLATILE_VAULT_OVERRIDES, VenusEModeAbi, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, alchemixLenderKey, alchemixMytRate, alchemixRedemptionPace, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borosApi, borosInitialMargin, borosMaintenanceMargin, borosRateMoveToLiquidation, borosSideTerms, borosTakerFee, borrowDescription, borrowFindings, borrowHeadline, buildBorosTermSheet, buildExposures2 as buildExposures, buildFluidFTokensCall, buildFundingHedgeTerms, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildRateQueue, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta2 as computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta2 as computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta2 as computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta2 as computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertAlchemixMarketsToResponse, convertBorosCandle, convertBorosMarket, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlexMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRipeMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMultiAccountTypeUserState, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, debtAheadOf, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, deriveSwapTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, disambiguateOrderBookNames, discoverFlexTroves, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowFundingProfile, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, exponentTrancheDescription, feePhrase, feedKeyOf, feedStatKey, fetchAaveIncentivesUserRewards, fetchAlchemixMarkets, fetchBorosAccount, fetchBorosCollaterals, fetchBorosMarket, fetchBorosMarketById, fetchBorosMarkets, fetchBorosOrderBook, fetchBorosRateHistory, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFlexMarkets, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFlyingTulipUserRewards, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaMarketEmissions, fetchListaUserRewards, fetchListaVaultEmissions, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMerklUserRewards, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRipeMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchUserRewards, fetchUsualRewardsClaimData, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, flexAverageRate, flexLenderApr, flexLenderKey, flexMarketIndex, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fundingExposureOf, fundingSymbolBase, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedFluidDexState, getCachedLiquityTroves, getCachedTellerBids, getCachedTermMaxDiscovery, getCachedTermMaxMarket, getCachedTermMaxMarkets, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMidnightChainBooks, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, getVenusEModeSetup, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isFixedYieldEarnRow, isIlliquid, isLenderVenueKey, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isOrderBookCollateralLeg, isOrderBookLendRow, isPrincipalTokenSymbol, isRollingBookLendRow, isSecondaryMarketOnly, isStablecoinSymbol, isSyntheticQuoteUnit, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, lenderLiquidityPressure, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, listaEmissionRewardFetcher, listaLoginMessage, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi2 as multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, pegPressure, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart2 as positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, protocolConsensus, protocolOf, pruneFeedStats, quoteBorosHedgeLeg, rankBorosHedgeMarkets, rankFindings, ratePercent, readLstPauseState, readTransmuterLots, readUserPositions, readVaultSharePrices, reflectTrancheDescription, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveMerklOpportunityMarkets, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, selectUsualRewardEntry, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampOrderBookLendRow, stampRollingBookLendRow, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, svmEarnBuildability, svmEarnBuilderKey, svmSavingsCuration, swapRoutedProvidersArePriceConsistent, swapSideDescription, swapSideHeadline, swapSideImplications, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toDolomiteSubAccountId, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, walkBorosBook, withMaturityLabel, withTrancheLabel };
|
|
105507
105791
|
//# sourceMappingURL=index.js.map
|
|
105508
105792
|
//# sourceMappingURL=index.js.map
|