@1delta/margin-fetcher 5.0.92 → 5.0.94
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 +186 -5
- package/dist/index.js +1056 -44
- 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 */
|
|
@@ -11529,6 +11641,14 @@ declare const detectInterfaceKinds: (addresses: string[], chainId: string, multi
|
|
|
11529
11641
|
* `addEntries<T extends {...}>` enforces this at compile time. If a
|
|
11530
11642
|
* future provider drops one, the TS build fails.
|
|
11531
11643
|
*/
|
|
11644
|
+
/**
|
|
11645
|
+
* Vault providers whose addresses are NOT EVM contracts, so a `balanceOf`
|
|
11646
|
+
* against them returns no data. A HyperCore vault is a Hyperliquid L1 address
|
|
11647
|
+
* surfaced under HyperEVM (999) with no code. Listings keep these rows (they
|
|
11648
|
+
* are real earn products); balance probes and the share-math lookup must skip
|
|
11649
|
+
* them, or every one reads as a failed (or, unguarded, ZERO) balance.
|
|
11650
|
+
*/
|
|
11651
|
+
declare const NON_EVM_VAULT_PROVIDERS: ReadonlySet<VaultProvider>;
|
|
11532
11652
|
interface VaultLookupEntry {
|
|
11533
11653
|
/** Provider key — `fluid | gearbox | morpho | silo | euler-earn` */
|
|
11534
11654
|
provider: VaultProvider;
|
|
@@ -12642,6 +12762,16 @@ interface TermConfigEntry {
|
|
|
12642
12762
|
targetHealthFactor?: number;
|
|
12643
12763
|
collateralDisabled?: boolean;
|
|
12644
12764
|
debtDisabled?: boolean;
|
|
12765
|
+
/** Maintenance debt weight where it differs from `borrowFactor` (Project 0). */
|
|
12766
|
+
liquidationBorrowFactor?: number;
|
|
12767
|
+
/** Remaining new debt of this asset in this mode (token units). */
|
|
12768
|
+
debtCapacity?: number;
|
|
12769
|
+
/** Remaining new debt this collateral may back in this mode (units of the mode's debt asset). */
|
|
12770
|
+
collateralDebtCapacity?: number;
|
|
12771
|
+
maxCollateralAssets?: number;
|
|
12772
|
+
exclusiveCollateral?: boolean;
|
|
12773
|
+
/** Borrower-chosen / per-position parameter this entry's numbers depend on. */
|
|
12774
|
+
openParameter?: Record<string, unknown>;
|
|
12645
12775
|
}
|
|
12646
12776
|
interface TermRewardInput {
|
|
12647
12777
|
asset?: string;
|
|
@@ -12711,6 +12841,8 @@ interface TermSheetInput {
|
|
|
12711
12841
|
collateralActive?: boolean;
|
|
12712
12842
|
hasStable?: boolean;
|
|
12713
12843
|
variableBorrowDisabled?: boolean;
|
|
12844
|
+
/** A position borrowing this asset may hold no other debt (Aave siloed, Save isolated, Project 0 isolated tier). */
|
|
12845
|
+
siloedBorrowing?: boolean;
|
|
12714
12846
|
config?: Record<string, TermConfigEntry>;
|
|
12715
12847
|
closeFactor?: number;
|
|
12716
12848
|
targetHealthFactor?: number;
|
|
@@ -12954,7 +13086,7 @@ declare function isVaultVenue(uidOrVenue: string): boolean;
|
|
|
12954
13086
|
/** `savings` → `vault.savings`. */
|
|
12955
13087
|
declare function vaultVenue(provider: VaultProvider): string;
|
|
12956
13088
|
/**
|
|
12957
|
-
* Mint the vault form from its parts.
|
|
13089
|
+
* Mint the vault form from its parts. An EVM address is lowercased to match the
|
|
12958
13090
|
* canonical keying used across the vault pipeline (`buildVaultLookup` and the
|
|
12959
13091
|
* `${chainId}-${address}` DB convention both lowercase).
|
|
12960
13092
|
*
|
|
@@ -13109,6 +13241,21 @@ interface EarnMarket {
|
|
|
13109
13241
|
refs?: EarnRefs;
|
|
13110
13242
|
/** Provider-specific escape hatch. Semantics unchanged from the source. */
|
|
13111
13243
|
providerMeta?: Record<string, unknown>;
|
|
13244
|
+
/**
|
|
13245
|
+
* ISO timestamp of the state in this row — when the market was last
|
|
13246
|
+
* OBSERVED, not when the response was built.
|
|
13247
|
+
*
|
|
13248
|
+
* ORIGIN-ONLY (the recorded `data_ts`); the SDK path reads live, so a row it
|
|
13249
|
+
* builds is current by construction and leaves this absent. It matters
|
|
13250
|
+
* because every `*_latest` table upstream is upsert-only: a market that
|
|
13251
|
+
* drops out of the sweep keeps being served unchanged and indefinitely, and
|
|
13252
|
+
* on an earn LISTING that means a rate that cannot be earned still sorts to
|
|
13253
|
+
* the top. Absent ⇒ unknown, never "now".
|
|
13254
|
+
*/
|
|
13255
|
+
asOf?: string;
|
|
13256
|
+
/** Age of {@link asOf} in hours. Past a few hours every figure on the row —
|
|
13257
|
+
* rate, TVL, withdrawable — is history. */
|
|
13258
|
+
staleHours?: number;
|
|
13112
13259
|
}
|
|
13113
13260
|
interface EarnProtocol {
|
|
13114
13261
|
/**
|
|
@@ -13406,7 +13553,16 @@ interface EarnExitHistory {
|
|
|
13406
13553
|
dryEpisodes: number;
|
|
13407
13554
|
/** longest dry run, hours; null = never dry */
|
|
13408
13555
|
worstDrySpellHours: number | null;
|
|
13556
|
+
/**
|
|
13557
|
+
* The LATEST sample in the window is dry. Read with `staleHours`: on a row
|
|
13558
|
+
* whose recording has stopped, "currently" means as of `lastSampleAt`.
|
|
13559
|
+
*/
|
|
13409
13560
|
currentlyDry: boolean;
|
|
13561
|
+
/** ISO of the most recent sample behind these figures */
|
|
13562
|
+
lastSampleAt?: string | null;
|
|
13563
|
+
/** Age of `lastSampleAt`, hours. Past the 6 h outage cap the row's liquidity
|
|
13564
|
+
* is no longer being observed and every figure here describes the past. */
|
|
13565
|
+
staleHours?: number | null;
|
|
13410
13566
|
/**
|
|
13411
13567
|
* The month, one point per UTC calendar day with at least one sample — the
|
|
13412
13568
|
* series a lockup chart draws. A day with no sample is absent, so a gap in
|
|
@@ -13533,6 +13689,21 @@ interface EarnCapability {
|
|
|
13533
13689
|
acceptsPayAsset?: boolean;
|
|
13534
13690
|
/** Withdraw only — may the user receive something other than the asset? */
|
|
13535
13691
|
acceptsReceiveAsset?: boolean;
|
|
13692
|
+
/**
|
|
13693
|
+
* May the chain's NATIVE coin stand in for `asset.address` — `payAsset` on a
|
|
13694
|
+
* deposit, `receiveAsset` on a withdraw, both the zero address? Always set
|
|
13695
|
+
* on those two; true exactly where the row's token is the chain's 1:1 wrapped native and
|
|
13696
|
+
* the route serves the pair: a payable entry (gateway, bundler, composer) or,
|
|
13697
|
+
* on a venue with none, wrap / unwrap as their own ordered transactions.
|
|
13698
|
+
*
|
|
13699
|
+
* Separate from `acceptsPayAsset` on purpose: that one means "converts an
|
|
13700
|
+
* ARBITRARY asset through an aggregator", which a Lagoon or a Vesper vault
|
|
13701
|
+
* cannot do, while every one of them takes ETH for its WETH. Without this a
|
|
13702
|
+
* client either hid the native option there or offered it everywhere and
|
|
13703
|
+
* met the rows that answered with the ERC-20 approve as if nothing had been
|
|
13704
|
+
* asked.
|
|
13705
|
+
*/
|
|
13706
|
+
acceptsNative?: boolean;
|
|
13536
13707
|
/**
|
|
13537
13708
|
* Settles later (keeper ticket, cooldown, queue) — the client must poll
|
|
13538
13709
|
* `/v1/data/earn/withdrawals` rather than treat the tx as terminal.
|
|
@@ -14226,6 +14397,16 @@ interface TermAdapter {
|
|
|
14226
14397
|
declare const TERM_ADAPTERS: TermAdapter[];
|
|
14227
14398
|
declare function resolveAdapter(lender: string): TermAdapter | undefined;
|
|
14228
14399
|
|
|
14400
|
+
/**
|
|
14401
|
+
* Whether `key` is a lender key we integrate — bare (`MORPHO_BLUE`) or
|
|
14402
|
+
* per-market (`MORPHO_BLUE_8BDB…`, `AAVE_V4_<HEX>`, `KAMINO_<pubkey>`).
|
|
14403
|
+
*
|
|
14404
|
+
* `venueBrand` never refuses (an unknown key still collapses to a terse
|
|
14405
|
+
* family), which is right for a facet but wrong for free text: a caller
|
|
14406
|
+
* scanning prose for lender keys must not rewrite a token that merely LOOKS
|
|
14407
|
+
* like one.
|
|
14408
|
+
*/
|
|
14409
|
+
declare function isLenderVenueKey(key: string): boolean;
|
|
14229
14410
|
/**
|
|
14230
14411
|
* The STABLE family key behind a venue — `MORPHO_BLUE_1E9D…` → `MORPHO_BLUE`,
|
|
14231
14412
|
* `FLUID_1_11` → `FLUID`, `vault.savings` → `vault.savings`.
|
|
@@ -15480,4 +15661,4 @@ declare const fetchFluidDexState: (chainId: string, multicallRetry: MulticallRet
|
|
|
15480
15661
|
/** Synchronous read of whatever `fetchFluidDexState` last cached for a chain. */
|
|
15481
15662
|
declare const getCachedFluidDexState: (chainId: string) => FluidDexStateMap | undefined;
|
|
15482
15663
|
|
|
15483
|
-
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 };
|
|
15664
|
+
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, NON_EVM_VAULT_PROVIDERS, 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, isLenderVenueKey, 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 };
|