@1delta/margin-fetcher 5.0.91 → 5.0.93
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 +190 -9
- package/dist/index.js +1079 -57
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -59,8 +59,11 @@ interface OpenParameter {
|
|
|
59
59
|
* `twyne-liq-ltv` is the IDENTITY case: the borrower's chosen value IS the
|
|
60
60
|
* liquidation threshold (1e4 on chain, a fraction here), so no `curve` is
|
|
61
61
|
* needed to price a position at its own parameter — see `identityMapping`.
|
|
62
|
+
* `loan-lqt` is the same identity case for a fixed-term loan whose
|
|
63
|
+
* liquidation threshold is PINNED at origination (Loopscale's per-loan
|
|
64
|
+
* `lqt_matrix`): the loan carries its own threshold, the market the domain.
|
|
62
65
|
*/
|
|
63
|
-
kind: 'llamalend-bands' | 'interest-rate' | 'twyne-liq-ltv';
|
|
66
|
+
kind: 'llamalend-bands' | 'interest-rate' | 'twyne-liq-ltv' | 'loan-lqt';
|
|
64
67
|
/** Which of this config's numbers moves with the parameter. */
|
|
65
68
|
dimension: 'collateralFactor' | 'rate';
|
|
66
69
|
/** Allowed values: a continuous range, or a discrete set. */
|
|
@@ -109,6 +112,8 @@ interface OpenParameter {
|
|
|
109
112
|
identityMapping?: boolean;
|
|
110
113
|
}
|
|
111
114
|
interface ConfigEntry {
|
|
115
|
+
/** Display name of the mode (`'Disabled'` for the base mode `'0'`, the e-mode's name otherwise); yield-tracer stores it and `/lending/mode` lists modes by it. */
|
|
116
|
+
label?: string;
|
|
112
117
|
category: number;
|
|
113
118
|
borrowCollateralFactor: number;
|
|
114
119
|
collateralFactor: number;
|
|
@@ -140,6 +145,30 @@ interface ConfigEntry {
|
|
|
140
145
|
debtDisabled?: boolean;
|
|
141
146
|
/** Borrower-chosen open-time parameter this config's numbers depend on. */
|
|
142
147
|
openParameter?: OpenParameter;
|
|
148
|
+
/**
|
|
149
|
+
* Debt weight for LIQUIDATION health where it differs from the opening
|
|
150
|
+
* weight in `borrowFactor` (marginfi / Project 0 `liability_weight_maint`
|
|
151
|
+
* vs `_init`). `undefined` = same as `borrowFactor`.
|
|
152
|
+
*/
|
|
153
|
+
liquidationBorrowFactor?: number;
|
|
154
|
+
/**
|
|
155
|
+
* Remaining NEW debt of this asset allowed in this mode, in token units
|
|
156
|
+
* (Kamino `borrowLimitOutsideElevationGroup − borrowedOutside` on `'0'`).
|
|
157
|
+
* `undefined` = no mode-level cap beyond the market's own caps.
|
|
158
|
+
*/
|
|
159
|
+
debtCapacity?: number;
|
|
160
|
+
/**
|
|
161
|
+
* Remaining new debt this asset may BACK as collateral in this mode,
|
|
162
|
+
* denominated in the mode's single debt asset (Kamino
|
|
163
|
+
* `borrowLimitAgainstThisCollateralInElevationGroup[g] − tracked[g]`). A cap
|
|
164
|
+
* of 0 blocks new debt only; existing collateral keeps counting. Only set by
|
|
165
|
+
* lenders whose mode has exactly one debt asset.
|
|
166
|
+
*/
|
|
167
|
+
collateralDebtCapacity?: number;
|
|
168
|
+
/** Max distinct collateral assets a position may hold in this mode (Kamino `maxReservesAsCollateral`). Mirrored on every entry of the mode. */
|
|
169
|
+
maxCollateralAssets?: number;
|
|
170
|
+
/** Every collateral of a position in this mode must be a member of it (Kamino elevation groups). Mirrored on every entry of the mode. */
|
|
171
|
+
exclusiveCollateral?: boolean;
|
|
143
172
|
}
|
|
144
173
|
interface PoolConfig {
|
|
145
174
|
[category: string]: ConfigEntry;
|
|
@@ -183,6 +212,20 @@ interface MarketAccumulator {
|
|
|
183
212
|
blockNumber?: number;
|
|
184
213
|
}
|
|
185
214
|
interface PoolData {
|
|
215
|
+
/**
|
|
216
|
+
* `<LENDER>:<chainId>:<ref>` — stamped on the row by every converter;
|
|
217
|
+
* yield-tracer's ingest takes the uid from HERE and rejects a node without
|
|
218
|
+
* it (the map key is not read).
|
|
219
|
+
*/
|
|
220
|
+
marketUid?: string;
|
|
221
|
+
/** Per-row protocol metadata as the ingest's shape guards read it: Compound V2 `{ metadata: { cToken, cTokenDecimals, exchangeRate } }`, Aave `{ metadata: { aToken, vToken, sToken } }`, Euler `{ metadata: { vault, … } }`. */
|
|
222
|
+
params?: {
|
|
223
|
+
metadata: Record<string, unknown>;
|
|
224
|
+
};
|
|
225
|
+
/** Origination (borrow) fee, PERCENT of the amount borrowed. */
|
|
226
|
+
originationFee?: number;
|
|
227
|
+
/** `undefined` = variable rate; `'fixedTerm'` / `'userSet'` / `'zeroInterest'` otherwise. */
|
|
228
|
+
rateModel?: string;
|
|
186
229
|
poolId: string;
|
|
187
230
|
/** Supply/borrow accumulator — see {@link MarketAccumulator}. Absent where
|
|
188
231
|
* the family's fetch does not read one. */
|
|
@@ -265,6 +308,12 @@ interface PoolData {
|
|
|
265
308
|
* `undefined` where the protocol has no such parameter.
|
|
266
309
|
*/
|
|
267
310
|
targetHealthFactor?: number;
|
|
311
|
+
/**
|
|
312
|
+
* Siloed borrowing: a position borrowing this asset may hold no other debt
|
|
313
|
+
* (Aave V3 siloed assets, Save isolated reserves, Project 0 isolated
|
|
314
|
+
* banks). `undefined` = not siloed.
|
|
315
|
+
*/
|
|
316
|
+
siloedBorrowing?: boolean;
|
|
268
317
|
}
|
|
269
318
|
type LenderData = {
|
|
270
319
|
[chainId: string]: {
|
|
@@ -609,7 +658,7 @@ interface FixedTermAuction {
|
|
|
609
658
|
*/
|
|
610
659
|
interface FixedTermInfo {
|
|
611
660
|
/** Underlying fixed-term protocol shape. */
|
|
612
|
-
model: 'lista' | 'midnight' | 'term' | 'exactly' | 'teller' | 'termmax';
|
|
661
|
+
model: 'lista' | 'midnight' | 'term' | 'exactly' | 'teller' | 'termmax' | 'loopscale';
|
|
613
662
|
/**
|
|
614
663
|
* Single fixed calendar maturity (unix secs). Undefined for rolling-duration
|
|
615
664
|
* menus (Lista) and multi-maturity markets (Exactly — the maturity menu lives
|
|
@@ -868,6 +917,30 @@ interface LenderConfigData {
|
|
|
868
917
|
* POSITION_PARAMETERS_PLAN.md.
|
|
869
918
|
*/
|
|
870
919
|
openParameter?: OpenParameter;
|
|
920
|
+
/**
|
|
921
|
+
* Debt weight for LIQUIDATION health where it differs from the opening
|
|
922
|
+
* weight in `borrowFactor` (marginfi / Project 0 `liability_weight_maint`
|
|
923
|
+
* vs `_init`). `undefined` = same as `borrowFactor`.
|
|
924
|
+
*/
|
|
925
|
+
liquidationBorrowFactor?: number;
|
|
926
|
+
/**
|
|
927
|
+
* Remaining NEW debt of this asset allowed in this mode, in token units
|
|
928
|
+
* (Kamino `borrowLimitOutsideElevationGroup − borrowedOutside` on `'0'`).
|
|
929
|
+
* `undefined` = no mode-level cap beyond the market's own caps.
|
|
930
|
+
*/
|
|
931
|
+
debtCapacity?: number;
|
|
932
|
+
/**
|
|
933
|
+
* Remaining new debt this asset may BACK as collateral in this mode,
|
|
934
|
+
* denominated in the mode's single debt asset (Kamino
|
|
935
|
+
* `borrowLimitAgainstThisCollateralInElevationGroup[g] − tracked[g]`). A cap
|
|
936
|
+
* of 0 blocks new debt only; existing collateral keeps counting. Only set by
|
|
937
|
+
* lenders whose mode has exactly one debt asset.
|
|
938
|
+
*/
|
|
939
|
+
collateralDebtCapacity?: number;
|
|
940
|
+
/** Max distinct collateral assets a position may hold in this mode (Kamino `maxReservesAsCollateral`). Mirrored on every entry of the mode. */
|
|
941
|
+
maxCollateralAssets?: number;
|
|
942
|
+
/** Every collateral of a position in this mode must be a member of it (Kamino elevation groups). Mirrored on every entry of the mode. */
|
|
943
|
+
exclusiveCollateral?: boolean;
|
|
871
944
|
}
|
|
872
945
|
interface ModeBase {
|
|
873
946
|
category: number;
|
|
@@ -1157,6 +1230,8 @@ interface BalanceData {
|
|
|
1157
1230
|
deposits: number;
|
|
1158
1231
|
debt: number;
|
|
1159
1232
|
adjustedDebt: number;
|
|
1233
|
+
/** Debt weighted by `liquidationBorrowFactor` (falls back to `borrowFactor`); present only where a config sets one. */
|
|
1234
|
+
liquidationAdjustedDebt?: number;
|
|
1160
1235
|
nav: number;
|
|
1161
1236
|
deposits24h: number;
|
|
1162
1237
|
debt24h: number;
|
|
@@ -1221,6 +1296,14 @@ type MarketConfigEntry = {
|
|
|
1221
1296
|
targetHealthFactor?: number | null;
|
|
1222
1297
|
debtDisabled: boolean;
|
|
1223
1298
|
collateralDisabled: boolean;
|
|
1299
|
+
/** See `ConfigEntry.liquidationBorrowFactor`. */
|
|
1300
|
+
liquidationBorrowFactor?: number | null;
|
|
1301
|
+
/** See `ConfigEntry.debtCapacity` (token units of this asset). */
|
|
1302
|
+
debtCapacity?: number | null;
|
|
1303
|
+
/** See `ConfigEntry.collateralDebtCapacity` (units of the mode's debt asset). */
|
|
1304
|
+
collateralDebtCapacity?: number | null;
|
|
1305
|
+
maxCollateralAssets?: number | null;
|
|
1306
|
+
exclusiveCollateral?: boolean | null;
|
|
1224
1307
|
/**
|
|
1225
1308
|
* Declares this market PARAMETERIZED: the position's `modes[posId]` slot
|
|
1226
1309
|
* carries a borrower-chosen VALUE (LlamaLend's band count), not a config
|
|
@@ -1254,6 +1337,8 @@ type MarketFlags = {
|
|
|
1254
1337
|
hasStable: boolean | null;
|
|
1255
1338
|
borrowingEnabled: boolean | null;
|
|
1256
1339
|
collateralActive: boolean | null;
|
|
1340
|
+
/** A position borrowing this asset may hold no other debt; see `PoolData.siloedBorrowing`. */
|
|
1341
|
+
siloedBorrowing?: boolean | null;
|
|
1257
1342
|
};
|
|
1258
1343
|
type AssetInfo = {
|
|
1259
1344
|
chainId: string | null;
|
|
@@ -1390,6 +1475,14 @@ interface UserDataForSubAccount {
|
|
|
1390
1475
|
*/
|
|
1391
1476
|
accountAddress?: string;
|
|
1392
1477
|
health: number | null;
|
|
1478
|
+
/**
|
|
1479
|
+
* Health against the LIQUIDATION thresholds: Σ collateral × `collateralFactor`
|
|
1480
|
+
* over Σ debt × (`liquidationBorrowFactor` ?? `borrowFactor`). Set by the
|
|
1481
|
+
* multi-account state only where a config carries a
|
|
1482
|
+
* `liquidationBorrowFactor` (Project 0), since `health` there is computed
|
|
1483
|
+
* on the opening factors.
|
|
1484
|
+
*/
|
|
1485
|
+
liquidationHealth?: number | null;
|
|
1393
1486
|
/** Total USD borrowable while maintaining health >= 1 */
|
|
1394
1487
|
borrowCapacityUSD: number;
|
|
1395
1488
|
balanceData: BalanceData;
|
|
@@ -1843,6 +1936,21 @@ declare function getBalanceForMarketUid(lender: string, marketUid: string, balan
|
|
|
1843
1936
|
[lender: string]: UserData;
|
|
1844
1937
|
}, subAccount?: string): BaseLendingPositions | undefined;
|
|
1845
1938
|
|
|
1939
|
+
declare function createMultiAccountTypeUserState(payload: InitUserReserveResponse, lenderData: LenderCrossPoolMeta, histData: {
|
|
1940
|
+
[a: string]: {
|
|
1941
|
+
totalDebt24h: number;
|
|
1942
|
+
totalDeposits24h: number;
|
|
1943
|
+
};
|
|
1944
|
+
},
|
|
1945
|
+
/**
|
|
1946
|
+
* Per position id, the ADDRESS that position acts as on chain when it is
|
|
1947
|
+
* not the owner's — a Dolomite isolation vault, a Twyne collateral vault, a
|
|
1948
|
+
* Gearbox credit account. Stated on the row (see
|
|
1949
|
+
* `UserDataForSubAccount.accountAddress`) so a consumer attributing logs to
|
|
1950
|
+
* a position does not have to re-derive it.
|
|
1951
|
+
*/
|
|
1952
|
+
accountAddresses?: Record<string, string | undefined>): UserData;
|
|
1953
|
+
|
|
1846
1954
|
interface BalanceInfo {
|
|
1847
1955
|
index: number;
|
|
1848
1956
|
supplyShares: bigint;
|
|
@@ -2116,7 +2224,11 @@ declare function fuseLenderData(userDataResult: UserDataResult, summary: Portfol
|
|
|
2116
2224
|
* family selects every one of its markets. Everything else matches exactly.
|
|
2117
2225
|
*/
|
|
2118
2226
|
declare const PREFIX_LENDERS: Set<string>;
|
|
2119
|
-
/**
|
|
2227
|
+
/**
|
|
2228
|
+
* Normalize a raw lender key: EVM keys upper-cased with hyphens to
|
|
2229
|
+
* underscores; a Solana key keeps its base58 suffix VERBATIM and only its
|
|
2230
|
+
* family prefix is upper-cased (`normalizeLenderKey`, UNIFIED_API_PLAN D1).
|
|
2231
|
+
*/
|
|
2120
2232
|
declare const parseLenderKey: (raw: string) => string;
|
|
2121
2233
|
interface MetaFilter {
|
|
2122
2234
|
/** exact keys, or a prefix family (`MORPHO_BLUE`); empty/absent = every lender */
|
|
@@ -8933,6 +9045,10 @@ interface TermSheetDigest {
|
|
|
8933
9045
|
settlement: SupplyExitTerms['settlement'];
|
|
8934
9046
|
canOpen: boolean;
|
|
8935
9047
|
headline: string;
|
|
9048
|
+
/** The 1–3 sentence explainer — curated where a vault has hand-written
|
|
9049
|
+
* copy, templated from the structured fields otherwise. Always a string;
|
|
9050
|
+
* `''` only when the sheet itself carries none. */
|
|
9051
|
+
description: string;
|
|
8936
9052
|
tags: TermTag[];
|
|
8937
9053
|
backedBy?: Omit<ExposureTerms, 'items'>;
|
|
8938
9054
|
};
|
|
@@ -8946,6 +9062,8 @@ interface TermSheetDigest {
|
|
|
8946
9062
|
liquidationTrigger: LiquidationTerms['trigger'];
|
|
8947
9063
|
canOpen: boolean;
|
|
8948
9064
|
headline: string;
|
|
9065
|
+
/** See the supply-side note above. */
|
|
9066
|
+
description: string;
|
|
8949
9067
|
tags: TermTag[];
|
|
8950
9068
|
acceptedCollateral?: Omit<ExposureTerms, 'items'>;
|
|
8951
9069
|
};
|
|
@@ -12636,6 +12754,16 @@ interface TermConfigEntry {
|
|
|
12636
12754
|
targetHealthFactor?: number;
|
|
12637
12755
|
collateralDisabled?: boolean;
|
|
12638
12756
|
debtDisabled?: boolean;
|
|
12757
|
+
/** Maintenance debt weight where it differs from `borrowFactor` (Project 0). */
|
|
12758
|
+
liquidationBorrowFactor?: number;
|
|
12759
|
+
/** Remaining new debt of this asset in this mode (token units). */
|
|
12760
|
+
debtCapacity?: number;
|
|
12761
|
+
/** Remaining new debt this collateral may back in this mode (units of the mode's debt asset). */
|
|
12762
|
+
collateralDebtCapacity?: number;
|
|
12763
|
+
maxCollateralAssets?: number;
|
|
12764
|
+
exclusiveCollateral?: boolean;
|
|
12765
|
+
/** Borrower-chosen / per-position parameter this entry's numbers depend on. */
|
|
12766
|
+
openParameter?: Record<string, unknown>;
|
|
12639
12767
|
}
|
|
12640
12768
|
interface TermRewardInput {
|
|
12641
12769
|
asset?: string;
|
|
@@ -12705,6 +12833,8 @@ interface TermSheetInput {
|
|
|
12705
12833
|
collateralActive?: boolean;
|
|
12706
12834
|
hasStable?: boolean;
|
|
12707
12835
|
variableBorrowDisabled?: boolean;
|
|
12836
|
+
/** A position borrowing this asset may hold no other debt (Aave siloed, Save isolated, Project 0 isolated tier). */
|
|
12837
|
+
siloedBorrowing?: boolean;
|
|
12708
12838
|
config?: Record<string, TermConfigEntry>;
|
|
12709
12839
|
closeFactor?: number;
|
|
12710
12840
|
targetHealthFactor?: number;
|
|
@@ -12948,7 +13078,7 @@ declare function isVaultVenue(uidOrVenue: string): boolean;
|
|
|
12948
13078
|
/** `savings` → `vault.savings`. */
|
|
12949
13079
|
declare function vaultVenue(provider: VaultProvider): string;
|
|
12950
13080
|
/**
|
|
12951
|
-
* Mint the vault form from its parts.
|
|
13081
|
+
* Mint the vault form from its parts. An EVM address is lowercased to match the
|
|
12952
13082
|
* canonical keying used across the vault pipeline (`buildVaultLookup` and the
|
|
12953
13083
|
* `${chainId}-${address}` DB convention both lowercase).
|
|
12954
13084
|
*
|
|
@@ -13103,6 +13233,21 @@ interface EarnMarket {
|
|
|
13103
13233
|
refs?: EarnRefs;
|
|
13104
13234
|
/** Provider-specific escape hatch. Semantics unchanged from the source. */
|
|
13105
13235
|
providerMeta?: Record<string, unknown>;
|
|
13236
|
+
/**
|
|
13237
|
+
* ISO timestamp of the state in this row — when the market was last
|
|
13238
|
+
* OBSERVED, not when the response was built.
|
|
13239
|
+
*
|
|
13240
|
+
* ORIGIN-ONLY (the recorded `data_ts`); the SDK path reads live, so a row it
|
|
13241
|
+
* builds is current by construction and leaves this absent. It matters
|
|
13242
|
+
* because every `*_latest` table upstream is upsert-only: a market that
|
|
13243
|
+
* drops out of the sweep keeps being served unchanged and indefinitely, and
|
|
13244
|
+
* on an earn LISTING that means a rate that cannot be earned still sorts to
|
|
13245
|
+
* the top. Absent ⇒ unknown, never "now".
|
|
13246
|
+
*/
|
|
13247
|
+
asOf?: string;
|
|
13248
|
+
/** Age of {@link asOf} in hours. Past a few hours every figure on the row —
|
|
13249
|
+
* rate, TVL, withdrawable — is history. */
|
|
13250
|
+
staleHours?: number;
|
|
13106
13251
|
}
|
|
13107
13252
|
interface EarnProtocol {
|
|
13108
13253
|
/**
|
|
@@ -13400,7 +13545,16 @@ interface EarnExitHistory {
|
|
|
13400
13545
|
dryEpisodes: number;
|
|
13401
13546
|
/** longest dry run, hours; null = never dry */
|
|
13402
13547
|
worstDrySpellHours: number | null;
|
|
13548
|
+
/**
|
|
13549
|
+
* The LATEST sample in the window is dry. Read with `staleHours`: on a row
|
|
13550
|
+
* whose recording has stopped, "currently" means as of `lastSampleAt`.
|
|
13551
|
+
*/
|
|
13403
13552
|
currentlyDry: boolean;
|
|
13553
|
+
/** ISO of the most recent sample behind these figures */
|
|
13554
|
+
lastSampleAt?: string | null;
|
|
13555
|
+
/** Age of `lastSampleAt`, hours. Past the 6 h outage cap the row's liquidity
|
|
13556
|
+
* is no longer being observed and every figure here describes the past. */
|
|
13557
|
+
staleHours?: number | null;
|
|
13404
13558
|
/**
|
|
13405
13559
|
* The month, one point per UTC calendar day with at least one sample — the
|
|
13406
13560
|
* series a lockup chart draws. A day with no sample is absent, so a gap in
|
|
@@ -13527,6 +13681,21 @@ interface EarnCapability {
|
|
|
13527
13681
|
acceptsPayAsset?: boolean;
|
|
13528
13682
|
/** Withdraw only — may the user receive something other than the asset? */
|
|
13529
13683
|
acceptsReceiveAsset?: boolean;
|
|
13684
|
+
/**
|
|
13685
|
+
* May the chain's NATIVE coin stand in for `asset.address` — `payAsset` on a
|
|
13686
|
+
* deposit, `receiveAsset` on a withdraw, both the zero address? Always set
|
|
13687
|
+
* on those two; true exactly where the row's token is the chain's 1:1 wrapped native and
|
|
13688
|
+
* the route serves the pair: a payable entry (gateway, bundler, composer) or,
|
|
13689
|
+
* on a venue with none, wrap / unwrap as their own ordered transactions.
|
|
13690
|
+
*
|
|
13691
|
+
* Separate from `acceptsPayAsset` on purpose: that one means "converts an
|
|
13692
|
+
* ARBITRARY asset through an aggregator", which a Lagoon or a Vesper vault
|
|
13693
|
+
* cannot do, while every one of them takes ETH for its WETH. Without this a
|
|
13694
|
+
* client either hid the native option there or offered it everywhere and
|
|
13695
|
+
* met the rows that answered with the ERC-20 approve as if nothing had been
|
|
13696
|
+
* asked.
|
|
13697
|
+
*/
|
|
13698
|
+
acceptsNative?: boolean;
|
|
13530
13699
|
/**
|
|
13531
13700
|
* Settles later (keeper ticket, cooldown, queue) — the client must poll
|
|
13532
13701
|
* `/v1/data/earn/withdrawals` rather than treat the tx as terminal.
|
|
@@ -14105,10 +14274,22 @@ declare function enrichmentIndexFromRows(rows: Record<string, any>[]): Enrichmen
|
|
|
14105
14274
|
/**
|
|
14106
14275
|
* Collapse a sheet to its digest form (`?terms=digest`).
|
|
14107
14276
|
*
|
|
14108
|
-
* Drops `items[]` from the exposure sets
|
|
14109
|
-
*
|
|
14110
|
-
*
|
|
14111
|
-
*
|
|
14277
|
+
* Drops `items[]` from the exposure sets — an Aave market with 30 accepted
|
|
14278
|
+
* collaterals is several kB on its own, and it is the SAME accepted set
|
|
14279
|
+
* repeated on every row of that lender. Every dropped item is still reachable:
|
|
14280
|
+
* each carries a `marketUid` for the bulk endpoint.
|
|
14281
|
+
*
|
|
14282
|
+
* `description` is NOT dropped, though it was. The digest is what every
|
|
14283
|
+
* listing actually requests — `full` is reserved for a detail view — so
|
|
14284
|
+
* withholding the prose from it meant no surface ever rendered a sentence
|
|
14285
|
+
* explaining what a row is, and the curated per-vault copy might as well not
|
|
14286
|
+
* have been written.
|
|
14287
|
+
*
|
|
14288
|
+
* Measured on a live 500-row `/earn/latest` page (chain 1, 205 vault rows,
|
|
14289
|
+
* mean 199 chars): +43 KB raw, +16.7 KB gzipped on a 378 KB page — +4.4 %,
|
|
14290
|
+
* because the templates repeat across rows and compress accordingly. Unlike
|
|
14291
|
+
* `items[]` it is bounded by construction: a sentence does not grow with the
|
|
14292
|
+
* size of the market.
|
|
14112
14293
|
*/
|
|
14113
14294
|
declare function toDigest(sheet: TermSheet): TermSheetDigest;
|
|
14114
14295
|
/** Row shape of `~/risk-data/data/oracles/oracle-risk-flat.json`. */
|
|
@@ -15462,4 +15643,4 @@ declare const fetchFluidDexState: (chainId: string, multicallRetry: MulticallRet
|
|
|
15462
15643
|
/** Synchronous read of whatever `fetchFluidDexState` last cached for a chain. */
|
|
15463
15644
|
declare const getCachedFluidDexState: (chainId: string) => FluidDexStateMap | undefined;
|
|
15464
15645
|
|
|
15465
|
-
export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, type DeepPartial, type Denomination, type DepthMap, type DolomiteIsolationRow, type DolomiteSubAccount, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCurator, type EarnExclusions, type EarnExit, type EarnExitHistory, type EarnExitHistoryDay, type EarnFacetBucket, type EarnFacets, type EarnGating, type EarnLabelDimension, type EarnLendingPosition, type EarnMarket, type EarnMarketLabelInput, type EarnPosition, type EarnPositionAsset, type EarnPositionBase, type EarnPositionLeg, type EarnPositionSourceStatus, type EarnPositionSubAccount, type EarnPositionTotals, type EarnPositionUid, type EarnPositionsResponse, type EarnProtocol, type EarnProtocolAndCurator, type EarnRate, type EarnRateSource, type EarnRefs, type EarnResponse, type EarnRisk, type EarnSanityResult, type EarnShareToken, type EarnSourceStatus, type EarnVaultNormalizeOptions, type EarnVaultPosition, type EarnVenueKind, type EarnVocabulary, type EmitterRole, type EmitterRow, type EmitterSide, type EndpointFailure, type EnrichmentIndex, type EulerEarnVault, type EulerEarnVaults, type EulerV2Metadata, type ExactlyFixedPool, type ExactlyFixedPosition, type ExactlyMarketAccount, type ExactlyMarketsRaw, type ExactlyUserFixedPosition, type ExposureEntry, type ExposureTerms, type ExtraValidationCall, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchPendlePtOptions, type FetchSpectraPtOptions, type FetchTokenBalancesOptions, type FetchTokenMetadataOptions, type FlattenPriorityConfig, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FlyingTulipAssetRaw, type FlyingTulipMarketsRaw, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserParams, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquidationPenaltyTerm, type LiquidationTerms, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MetaFilter, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, PREFIX_LENDERS, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type ReadUserPositionsParams, type ReadUserPositionsResult, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSelection, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitRoute, type SupplyExitTerms, type SupplyTermSheet, 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, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserCallOptions, type UserConfig, type UserData, type UserDataResult, type UserDataTransport, type UserLendingPosition, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, 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, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isIlliquid, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isSecondaryMarketOnly, isStablecoinSymbol, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, 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, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, ratePercent, readUserPositions, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, swapRoutedProvidersArePriceConsistent, 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, withMaturityLabel, withTrancheLabel };
|
|
15646
|
+
export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, type DeepPartial, type Denomination, type DepthMap, type DolomiteIsolationRow, type DolomiteSubAccount, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCurator, type EarnExclusions, type EarnExit, type EarnExitHistory, type EarnExitHistoryDay, type EarnFacetBucket, type EarnFacets, type EarnGating, type EarnLabelDimension, type EarnLendingPosition, type EarnMarket, type EarnMarketLabelInput, type EarnPosition, type EarnPositionAsset, type EarnPositionBase, type EarnPositionLeg, type EarnPositionSourceStatus, type EarnPositionSubAccount, type EarnPositionTotals, type EarnPositionUid, type EarnPositionsResponse, type EarnProtocol, type EarnProtocolAndCurator, type EarnRate, type EarnRateSource, type EarnRefs, type EarnResponse, type EarnRisk, type EarnSanityResult, type EarnShareToken, type EarnSourceStatus, type EarnVaultNormalizeOptions, type EarnVaultPosition, type EarnVenueKind, type EarnVocabulary, type EmitterRole, type EmitterRow, type EmitterSide, type EndpointFailure, type EnrichmentIndex, type EulerEarnVault, type EulerEarnVaults, type EulerV2Metadata, type ExactlyFixedPool, type ExactlyFixedPosition, type ExactlyMarketAccount, type ExactlyMarketsRaw, type ExactlyUserFixedPosition, type ExposureEntry, type ExposureTerms, type ExtraValidationCall, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchPendlePtOptions, type FetchSpectraPtOptions, type FetchTokenBalancesOptions, type FetchTokenMetadataOptions, type FlattenPriorityConfig, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FlyingTulipAssetRaw, type FlyingTulipMarketsRaw, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserParams, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquidationPenaltyTerm, type LiquidationTerms, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MetaFilter, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, PREFIX_LENDERS, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type ReadUserPositionsParams, type ReadUserPositionsResult, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSelection, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitRoute, type SupplyExitTerms, type SupplyTermSheet, 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, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserCallOptions, type UserConfig, type UserData, type UserDataResult, type UserDataTransport, type UserLendingPosition, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMultiAccountTypeUserState, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, 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, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isIlliquid, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isSecondaryMarketOnly, isStablecoinSymbol, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, 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, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, ratePercent, readUserPositions, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, swapRoutedProvidersArePriceConsistent, 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, withMaturityLabel, withTrancheLabel };
|