@1delta/margin-fetcher 5.0.128 → 5.0.130
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 -28
- package/dist/index.js +790 -145
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -3270,6 +3270,32 @@ interface MidnightBookSource {
|
|
|
3270
3270
|
top: MidnightBookTop;
|
|
3271
3271
|
book: MidnightBook;
|
|
3272
3272
|
} | null>;
|
|
3273
|
+
/**
|
|
3274
|
+
* EVERY book on a chain in a few batch calls (`/markets` for full depth plus
|
|
3275
|
+
* the two sorted `/books` walks for the best levels), or null when the walk
|
|
3276
|
+
* failed. Optional: a source without it is read market by market.
|
|
3277
|
+
*/
|
|
3278
|
+
getAllTops?(chainId: string): Promise<MidnightChainBooks | null>;
|
|
3279
|
+
}
|
|
3280
|
+
/**
|
|
3281
|
+
* One chain's books, read in a handful of batch calls rather than one call per
|
|
3282
|
+
* market (see `ApiBookSource.getAllTops` and MIDNIGHT_UNIVERSE_PLAN.md §3.2).
|
|
3283
|
+
* Keyed by LOWER-CASED market id. A market absent from `tops` has an empty book
|
|
3284
|
+
* (it never appeared in either sorted walk) — not a failed read.
|
|
3285
|
+
*/
|
|
3286
|
+
interface MidnightChainBooks {
|
|
3287
|
+
tops: Map<string, MidnightBookTop>;
|
|
3288
|
+
/**
|
|
3289
|
+
* The levels the batch carried, best-first. `/books` caps each side at the
|
|
3290
|
+
* best THREE levels, so a side here can be a prefix of the real ladder — see
|
|
3291
|
+
* `partial`. `top`'s depth is always the FULL depth (from `/markets`).
|
|
3292
|
+
*/
|
|
3293
|
+
books: Map<string, MidnightBook>;
|
|
3294
|
+
/** Per side: `true` when `books` holds only a prefix of that side's ladder. */
|
|
3295
|
+
partial: Map<string, {
|
|
3296
|
+
bids: boolean;
|
|
3297
|
+
asks: boolean;
|
|
3298
|
+
}>;
|
|
3273
3299
|
}
|
|
3274
3300
|
|
|
3275
3301
|
/** Default hosted Midnight API (see @morpho-org/midnight-sdk MidnightApi). */
|
|
@@ -3284,6 +3310,37 @@ declare class ApiBookSource implements MidnightBookSource {
|
|
|
3284
3310
|
private readonly baseUrl;
|
|
3285
3311
|
private readonly fetchImpl;
|
|
3286
3312
|
constructor(baseUrl: string, fetchImpl?: FetchLike$2);
|
|
3313
|
+
private getJson;
|
|
3314
|
+
/**
|
|
3315
|
+
* Full per-side depth for every market on a chain, from `GET /markets`.
|
|
3316
|
+
*
|
|
3317
|
+
* NAMING TRAP: `lend_depth` is the BORROWABLE side — the assets lenders have
|
|
3318
|
+
* on offer, i.e. the sum of the BIDS. `borrow_depth` is what borrowers ask
|
|
3319
|
+
* for (the asks). Both are loan-token assets; `/markets` has no units.
|
|
3320
|
+
*
|
|
3321
|
+
* The filter is `chain_ids` (snake case); `chainId=` is ignored, so every row
|
|
3322
|
+
* is still checked against its own `chain_id`.
|
|
3323
|
+
*/
|
|
3324
|
+
private walkMarketDepth;
|
|
3325
|
+
/**
|
|
3326
|
+
* Every non-empty book on ONE side, from `GET /books` sorted best-first on
|
|
3327
|
+
* that side. Empty books sort last, so the walk stops on the first book whose
|
|
3328
|
+
* side is empty (or when the cursor runs out). Each side carries at most the
|
|
3329
|
+
* best 3 levels — exact best tick, partial depth.
|
|
3330
|
+
*/
|
|
3331
|
+
private walkBooksSide;
|
|
3332
|
+
/**
|
|
3333
|
+
* Every book on a chain in ~3 + N/20 requests instead of one per market:
|
|
3334
|
+
* `/markets` for FULL depth per side, plus the `-bid` and `-ask` sorted
|
|
3335
|
+
* `/books` walks for the best tick and the best levels. Today that is 2
|
|
3336
|
+
* `/markets` pages and ~13 `/books` pages for both chains together.
|
|
3337
|
+
*
|
|
3338
|
+
* Throws away nothing silently: a failing `/books` walk fails the whole call
|
|
3339
|
+
* (null — the caller's last-known-good snapshot covers it). A failing
|
|
3340
|
+
* `/markets` read degrades depth to the levels the walk carried, flagged
|
|
3341
|
+
* `partial`, rather than dropping the rates.
|
|
3342
|
+
*/
|
|
3343
|
+
getAllTops(chainId: string): Promise<MidnightChainBooks | null>;
|
|
3287
3344
|
getBookTop(marketId: string): Promise<MidnightBookTop | null>;
|
|
3288
3345
|
/**
|
|
3289
3346
|
* Full ladder for a market — every level per side, best-first (unlike
|
|
@@ -3316,6 +3373,18 @@ declare class ApiBookSource implements MidnightBookSource {
|
|
|
3316
3373
|
/** Build the default (hosted-API) book source for a chain. */
|
|
3317
3374
|
declare function createMidnightBookSource(chainId: string, fetchImpl?: FetchLike$2): MidnightBookSource;
|
|
3318
3375
|
|
|
3376
|
+
/**
|
|
3377
|
+
* One chain's batch book read, reusing a snapshot younger than `maxAgeSec`
|
|
3378
|
+
* (the public refresh writes it). For callers that need depth across MANY
|
|
3379
|
+
* markets at once — e.g. narrowing quote candidates before calling `/quote` on
|
|
3380
|
+
* each — where ~13 batch requests beat one request per market. Null when the
|
|
3381
|
+
* read failed and nothing usable is cached.
|
|
3382
|
+
*/
|
|
3383
|
+
declare function getMidnightChainBooks(chainId: string, opts?: {
|
|
3384
|
+
maxAgeSec?: number;
|
|
3385
|
+
source?: MidnightBookSource;
|
|
3386
|
+
}): Promise<MidnightChainBooks | null>;
|
|
3387
|
+
|
|
3319
3388
|
/**
|
|
3320
3389
|
* Top-of-book snapshot for a single Term repo, already reduced to best
|
|
3321
3390
|
* executable APR per side + aggregate depth. Unlike Midnight (tick math), the
|
|
@@ -4275,6 +4344,20 @@ interface InverseMarketRaw {
|
|
|
4275
4344
|
* this is a protocol/bot split, not an extra borrower charge.
|
|
4276
4345
|
*/
|
|
4277
4346
|
replenishmentIncentiveBps: number | null;
|
|
4347
|
+
/**
|
|
4348
|
+
* USD value of ALL collateral deposited in the market — API only
|
|
4349
|
+
* (`/api/f2/tvl`). Collateral sits in one escrow per user and the Market
|
|
4350
|
+
* keeps no aggregate, so there is nothing on chain to read.
|
|
4351
|
+
*/
|
|
4352
|
+
collateralTvlUsd: number | null;
|
|
4353
|
+
/**
|
|
4354
|
+
* Yield the collateral earns ONLY because FiRM's escrow stakes it (cvxCRV
|
|
4355
|
+
* staking, CVX rewards, INV → DBR, DAI → DSR, Convex LP rewards), as the
|
|
4356
|
+
* API's PERCENT APY (`supplyApy + extraApy`). `null` for the plain-holding
|
|
4357
|
+
* escrow, whose collateral yield — if any — is the token's own and arrives
|
|
4358
|
+
* through the intrinsic-yield join instead.
|
|
4359
|
+
*/
|
|
4360
|
+
escrowYieldApy: number | null;
|
|
4278
4361
|
}
|
|
4279
4362
|
/** Raw public-data batch for the FiRM deployment (one chain). */
|
|
4280
4363
|
interface InverseMarketsRaw {
|
|
@@ -4726,7 +4809,8 @@ declare function resupplyKeyParts(key: string): {
|
|
|
4726
4809
|
* magnitude.
|
|
4727
4810
|
* - **The collateral carries the wrapped market's yield.** A Resupply deposit
|
|
4728
4811
|
* is a Curve Lend / Fraxlend supply position, so `getUnderlyingSupplyRate`
|
|
4729
|
-
* is published as the collateral row's `
|
|
4812
|
+
* is published as the collateral row's `depositRate` (row-level, persisted;
|
|
4813
|
+
* NOT `intrinsicYield`, which yield-tracer only stores per assetGroup). Without it the
|
|
4730
4814
|
* position looks like it pays nothing, when in fact the whole product is
|
|
4731
4815
|
* the spread between that and the ~half-of-it borrow rate.
|
|
4732
4816
|
* - **`borrowLimit == 0` means PAUSED.** `pause()` zeroes it and there is no
|
|
@@ -12552,32 +12636,6 @@ interface VaultPublicDataResult {
|
|
|
12552
12636
|
error: string;
|
|
12553
12637
|
}>;
|
|
12554
12638
|
}
|
|
12555
|
-
/**
|
|
12556
|
-
* Universal vault fetcher — the vaults-side analogue of
|
|
12557
|
-
* `getLenderPublicDataAll`.
|
|
12558
|
-
*
|
|
12559
|
-
* Dispatches each requested provider to its dedicated fetcher and runs
|
|
12560
|
-
* them concurrently. Sources are mixed (Fluid + Gearbox use multicall;
|
|
12561
|
-
* Morpho + Silo are HTTP GraphQL), so there's no API-vs-on-chain split
|
|
12562
|
-
* like the lender path — every provider runs in parallel and a single
|
|
12563
|
-
* provider's failure does not sink the others.
|
|
12564
|
-
*
|
|
12565
|
-
* @param chainId target chain
|
|
12566
|
-
* @param providers which providers to fetch (any subset of
|
|
12567
|
-
* `'fluid' | 'gearbox' | 'morpho' | 'silo' | 'euler-earn'`)
|
|
12568
|
-
* @param multicallRetry provider-level multicall executor — used by
|
|
12569
|
-
* Fluid and Gearbox; ignored when only HTTP
|
|
12570
|
-
* providers are requested
|
|
12571
|
-
* @param prices optional price map keyed by oracle key /
|
|
12572
|
-
* underlying address
|
|
12573
|
-
* @param tokenList optional token list for hydrating `asset`
|
|
12574
|
-
* metadata on each parsed vault
|
|
12575
|
-
* @param options provider-specific knobs (Silo version filter, …)
|
|
12576
|
-
*
|
|
12577
|
-
* @returns `VaultPublicDataAll` — one key per requested provider that
|
|
12578
|
-
* resolved successfully; failed providers are omitted (and
|
|
12579
|
-
* logged when `VAULTS_DEBUG` is on).
|
|
12580
|
-
*/
|
|
12581
12639
|
declare const getVaultPublicDataAll: (chainId: string, providers: VaultProvider[], multicallRetry: MulticallRetryFunction, prices?: {
|
|
12582
12640
|
[asset: string]: number;
|
|
12583
12641
|
}, tokenList?: GenericTokenList, options?: GetVaultPublicDataAllOptions) => Promise<VaultPublicDataResult>;
|
|
@@ -13944,10 +14002,24 @@ interface EarnMarket {
|
|
|
13944
14002
|
basket?: EarnBasket;
|
|
13945
14003
|
/** What the user earns. ALWAYS PERCENT — see `EarnRate`. */
|
|
13946
14004
|
rate: EarnRate;
|
|
14005
|
+
/**
|
|
14006
|
+
* What a lender's money is lent against, on a market whose collateral IS
|
|
14007
|
+
* the risk (the order-book lenders Midnight and Term today). One entry per
|
|
14008
|
+
* collateral leg, in the market's own leg order, so no client has to parse
|
|
14009
|
+
* `cbBTC-USDC 86 2026-12-25` out of the name.
|
|
14010
|
+
*/
|
|
14011
|
+
collateral?: EarnCollateralLeg[];
|
|
13947
14012
|
/** Size and room. */
|
|
13948
14013
|
tvl: EarnAmount;
|
|
13949
14014
|
/** What can actually leave right now. Absent ⇒ not reported by the source. */
|
|
13950
14015
|
liquidity?: EarnAmount;
|
|
14016
|
+
/**
|
|
14017
|
+
* What a DEPOSIT can fill right now, on an order book: the lend side of the
|
|
14018
|
+
* book (borrowers' bids a lender takes). Set on order-book lend rows
|
|
14019
|
+
* (Midnight, Term), which carry no `liquidity` — the book's other side is
|
|
14020
|
+
* what a BORROWER can take, never what a lender can leave with.
|
|
14021
|
+
*/
|
|
14022
|
+
depth?: EarnAmount;
|
|
13951
14023
|
/**
|
|
13952
14024
|
* Room for new deposits, raw base units. `undefined` = uncapped,
|
|
13953
14025
|
* `'0'` = full. Distinct from `availability.canDeposit`, which is a
|
|
@@ -14223,6 +14295,13 @@ interface EarnBasketLeg {
|
|
|
14223
14295
|
* `raw` is present only where the source genuinely carries base units. Never
|
|
14224
14296
|
* infer one from the other without `asset.decimals`.
|
|
14225
14297
|
*/
|
|
14298
|
+
/** One collateral leg of an order-book market (see `EarnMarket.collateral`). */
|
|
14299
|
+
interface EarnCollateralLeg {
|
|
14300
|
+
address: string;
|
|
14301
|
+
symbol?: string;
|
|
14302
|
+
/** Liquidation LTV as a fraction (0.86), where the market states one. */
|
|
14303
|
+
lltv?: number;
|
|
14304
|
+
}
|
|
14226
14305
|
interface EarnAmount {
|
|
14227
14306
|
/**
|
|
14228
14307
|
* Raw base-unit integer STRING — never a number; these overflow float64 well
|
|
@@ -14542,6 +14621,12 @@ interface EarnCapability {
|
|
|
14542
14621
|
async?: boolean;
|
|
14543
14622
|
/** Cost hint for the CTA, before quoting. */
|
|
14544
14623
|
feeBps?: number;
|
|
14624
|
+
/**
|
|
14625
|
+
* Unix seconds before which the action cannot succeed (a Term repo token
|
|
14626
|
+
* redeems only after its repurchase window closes). Absent ⇒ usable now.
|
|
14627
|
+
* The route refuses before this time rather than build a reverting tx.
|
|
14628
|
+
*/
|
|
14629
|
+
availableFrom?: number;
|
|
14545
14630
|
/**
|
|
14546
14631
|
* HOW the action is executed.
|
|
14547
14632
|
*
|
|
@@ -14648,6 +14733,18 @@ interface EarnExclusions {
|
|
|
14648
14733
|
* ZERO rate — for a holder who needs to redeem.
|
|
14649
14734
|
*/
|
|
14650
14735
|
matured?: number;
|
|
14736
|
+
/**
|
|
14737
|
+
* Fixed-yield order-book / auction rows (Morpho Midnight, Term Finance,
|
|
14738
|
+
* TermMax, Loopscale, Jupiter Offerbook), hidden unless
|
|
14739
|
+
* `?includeFixedTerm=true`. The rate is the best executable quote for ONE
|
|
14740
|
+
* maturity and the size is that book's depth — not a pool.
|
|
14741
|
+
*/
|
|
14742
|
+
fixedTerm?: number;
|
|
14743
|
+
/**
|
|
14744
|
+
* Morpho Midnight COLLATERAL legs — always dropped, no switch: they pay
|
|
14745
|
+
* nothing and their size is a capacity derived from the borrow book.
|
|
14746
|
+
*/
|
|
14747
|
+
collateralLeg?: number;
|
|
14651
14748
|
}
|
|
14652
14749
|
interface EarnAppliedDefaults {
|
|
14653
14750
|
minTvlUsd: number;
|
|
@@ -14658,6 +14755,8 @@ interface EarnAppliedDefaults {
|
|
|
14658
14755
|
excludeLp: boolean;
|
|
14659
14756
|
/** Matured fixed-term rows are hidden unless `?includeExpired=true`. */
|
|
14660
14757
|
excludeMatured?: boolean;
|
|
14758
|
+
/** Fixed-yield order-book rows are hidden unless `?includeFixedTerm=true`. */
|
|
14759
|
+
excludeFixedTerm?: boolean;
|
|
14661
14760
|
}
|
|
14662
14761
|
/**
|
|
14663
14762
|
* The filter vocabulary, published rather than hard-coded.
|
|
@@ -15645,6 +15744,43 @@ declare function resolveEarnIdentity(venue: string, brand: string | undefined,
|
|
|
15645
15744
|
*/
|
|
15646
15745
|
publishedProtocol?: string): EarnProtocolAndCurator;
|
|
15647
15746
|
|
|
15747
|
+
/**
|
|
15748
|
+
* Lend rows on an ORDER BOOK (Morpho Midnight, Term Finance) read as a pool's
|
|
15749
|
+
* row by default, and every pool field means something else here
|
|
15750
|
+
* (FIXED_RATE_EARN_GAPS.md):
|
|
15751
|
+
*
|
|
15752
|
+
* - `liquidity` / `utilization` / `exit.history` are the BORROW side of the
|
|
15753
|
+
* book — what a borrower can take, $24.7m against a $300 lend book — not
|
|
15754
|
+
* anything a lender can leave with. They are dropped; `depth` carries the
|
|
15755
|
+
* lend side (the converters' `totalDeposits`, i.e. `tvl`).
|
|
15756
|
+
* - `exit.mode` was `instant-capped`. A Midnight lender exits by SELLING units
|
|
15757
|
+
* into the bids before maturity (`market-sale`; `/earn/withdraw` builds the
|
|
15758
|
+
* sale until the date), a Term lender only by redeeming after the
|
|
15759
|
+
* repurchase window (`at-maturity`).
|
|
15760
|
+
* - The maturity is lifted to the row root, so the `matured` default
|
|
15761
|
+
* exclusion and `withMaturityLabel` see it.
|
|
15762
|
+
* - `withdraw` on Term says when it starts to work (`availableFrom`).
|
|
15763
|
+
* - The collateral is published as data, and a name that does not mention it
|
|
15764
|
+
* (`USDC · 0x6CB9`) is rebuilt from it.
|
|
15765
|
+
*/
|
|
15766
|
+
interface OrderBookLendFacts {
|
|
15767
|
+
/** Unix seconds. */
|
|
15768
|
+
maturity: number;
|
|
15769
|
+
/** Unix seconds the lender's exit opens (Term redemption); absent ⇒ any time. */
|
|
15770
|
+
exitOpensAt?: number;
|
|
15771
|
+
collateral: EarnCollateralLeg[];
|
|
15772
|
+
}
|
|
15773
|
+
/** True for a lend row on an order-book venue (Midnight / Term). */
|
|
15774
|
+
declare function isOrderBookLendRow(m: EarnMarket): boolean;
|
|
15775
|
+
/** Stamp the order-book facts on one row, in place. */
|
|
15776
|
+
declare function stampOrderBookLendRow(m: EarnMarket, facts: OrderBookLendFacts, nowSec?: number): void;
|
|
15777
|
+
/**
|
|
15778
|
+
* Re-suffix rows a rebuild left with the same name on one chain (two books
|
|
15779
|
+
* over the same collateral and date), with the short market id the origin's
|
|
15780
|
+
* disambiguation used. Only colliding rows change.
|
|
15781
|
+
*/
|
|
15782
|
+
declare function disambiguateOrderBookNames(rows: EarnMarket[]): void;
|
|
15783
|
+
|
|
15648
15784
|
/**
|
|
15649
15785
|
* Multiply a formatted (human-unit) amount by a USD price.
|
|
15650
15786
|
*
|
|
@@ -16021,6 +16157,32 @@ interface PoolSourceRow {
|
|
|
16021
16157
|
};
|
|
16022
16158
|
[key: string]: unknown;
|
|
16023
16159
|
}
|
|
16160
|
+
/**
|
|
16161
|
+
* Lending venues whose EARN row is a FIXED yield bought on an order book or in
|
|
16162
|
+
* an auction (Morpho Midnight, Term Finance, TermMax, Loopscale, Jupiter
|
|
16163
|
+
* Offerbook): the rate is a quote for one maturity, the "deposit" fills a
|
|
16164
|
+
* borrower's offer, and the size is that book's depth. `/earn` hides them
|
|
16165
|
+
* unless `includeFixedTerm=true`. EXACTLY and TELLER are fixed-TERM for the
|
|
16166
|
+
* borrower but pools for the depositor, so they are not here. Mirrored by
|
|
16167
|
+
* yield-tracer `FIXED_YIELD_EARN_VENUE_PREFIXES` (`utils/getLenders.ts`) — the
|
|
16168
|
+
* origin and the edge fallback must ask the same question.
|
|
16169
|
+
*/
|
|
16170
|
+
declare const FIXED_YIELD_EARN_VENUE_PREFIXES: readonly ["MORPHO_MIDNIGHT", "TERM_FINANCE", "TERMMAX", "LOOPSCALE", "JUPITER_OFFERBOOK"];
|
|
16171
|
+
/** Is this a fixed-yield order-book / auction earn row? See {@link FIXED_YIELD_EARN_VENUE_PREFIXES}. */
|
|
16172
|
+
declare function isFixedYieldEarnRow(m: {
|
|
16173
|
+
venueKind?: string;
|
|
16174
|
+
venue: string;
|
|
16175
|
+
}): boolean;
|
|
16176
|
+
/**
|
|
16177
|
+
* A Midnight COLLATERAL leg (`…:<token>-c<i>`). Not an earn product: it pays
|
|
16178
|
+
* nothing and its size is a capacity derived from the borrow book, not money
|
|
16179
|
+
* deposited. Both `/earn` paths drop it unconditionally.
|
|
16180
|
+
*/
|
|
16181
|
+
declare function isOrderBookCollateralLeg(m: {
|
|
16182
|
+
venueKind?: string;
|
|
16183
|
+
venue: string;
|
|
16184
|
+
earnUid: string;
|
|
16185
|
+
}): boolean;
|
|
16024
16186
|
/**
|
|
16025
16187
|
* Collateral symbols per venue, derived from the listing ITSELF.
|
|
16026
16188
|
*
|
|
@@ -16613,4 +16775,4 @@ declare const fetchFluidDexState: (chainId: string, multicallRetry: MulticallRet
|
|
|
16613
16775
|
/** Synchronous read of whatever `fetchFluidDexState` last cached for a chain. */
|
|
16614
16776
|
declare const getCachedFluidDexState: (chainId: string) => FluidDexStateMap | undefined;
|
|
16615
16777
|
|
|
16616
|
-
export { ALCHEMIX_BLOCK_SECONDS, type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, type AlchemixMarketRaw, type AlchemixMarketsRaw, type AlchemixTransmuterRaw, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetIssuerAttribution, 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 ConsensusDemotionConfig, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, type CreditDesk, DEFAULT_CONSENSUS_DEMOTION, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, 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, EXPONENT_MATURED_REASON, 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, type IssuerExposure, type IssuerRef, 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 PairRowDesks, 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, RIPE_LENDER_KEY, 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 RewardsDataByMarketUid, type RipeAccountInfo, type RipeAssetRaw, type RipeMarketsRaw, 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, SVM_EARN_MINT_BUILDERS, SVM_EARN_VAULT_BUILDERS, SVM_VAULT_PROVIDERS, 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, type SvmEarnBuildability, type SvmEarnBuilder, type SvmVaultProvider, 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 TermSheetVaultProvider, 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 UsualRewardsClaimData, 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 YieldDataByMarketUid, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, alchemixLenderKey, alchemixMytRate, alchemixRedemptionPace, 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, convertAlchemixMarketsToResponse, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRipeMarketsToResponse, 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, fetchAlchemixMarkets, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRipeMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchUsualRewardsClaimData, 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, isSyntheticQuoteUnit, 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, protocolConsensus, protocolOf, 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, selectUsualRewardEntry, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, svmEarnBuildability, svmEarnBuilderKey, 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 };
|
|
16778
|
+
export { ALCHEMIX_BLOCK_SECONDS, type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, type AlchemixMarketRaw, type AlchemixMarketsRaw, type AlchemixTransmuterRaw, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetIssuerAttribution, 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 ConsensusDemotionConfig, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, type CreditDesk, DEFAULT_CONSENSUS_DEMOTION, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, 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, EXPONENT_MATURED_REASON, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCollateralLeg, 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, FIXED_YIELD_EARN_VENUE_PREFIXES, 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, type IssuerExposure, type IssuerRef, 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 MidnightChainBooks, 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 OrderBookLendFacts, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, PREFIX_LENDERS, type PairRowDesks, 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, RIPE_LENDER_KEY, 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 RewardsDataByMarketUid, type RipeAccountInfo, type RipeAssetRaw, type RipeMarketsRaw, 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, SVM_EARN_MINT_BUILDERS, SVM_EARN_VAULT_BUILDERS, SVM_VAULT_PROVIDERS, 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, type SvmEarnBuildability, type SvmEarnBuilder, type SvmVaultProvider, 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 TermSheetVaultProvider, 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 UsualRewardsClaimData, 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 YieldDataByMarketUid, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, alchemixLenderKey, alchemixMytRate, alchemixRedemptionPace, 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, convertAlchemixMarketsToResponse, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRipeMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMultiAccountTypeUserState, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, disambiguateOrderBookNames, 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, fetchAlchemixMarkets, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRipeMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchUsualRewardsClaimData, 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, getMidnightChainBooks, 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, isFixedYieldEarnRow, isIlliquid, isLenderVenueKey, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isOrderBookCollateralLeg, isOrderBookLendRow, isSecondaryMarketOnly, isStablecoinSymbol, isSyntheticQuoteUnit, 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, protocolConsensus, protocolOf, 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, selectUsualRewardEntry, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampOrderBookLendRow, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, svmEarnBuildability, svmEarnBuilderKey, 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 };
|