@1delta/margin-fetcher 5.0.127 → 5.0.129

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 CHANGED
@@ -3,7 +3,7 @@ import { Lender } from '@1delta/lender-registry';
3
3
  export { hasCrossMarginRisk, isAaveType, isAaveV2Type, isAaveV32Type, isAaveV3Type, isCompoundV3, isCompoundV3Type, isInit, isMorphoType, isMultiMarket, isYLDR } from '@1delta/lender-registry';
4
4
  import { DebitData, LenderDebitData, LendingMode as LendingMode$1, LstAcceptedInput } from '@1delta/calldata-sdk';
5
5
  import { RelayProxyConfig } from '@1delta/proxy-fetch';
6
- import { TermMarketConfig, LiquityBranchConfig, LiquityConfigChain, RiverMarketConfig, RiverConfigChain, RiverChainData, InverseMarketConfig, InverseConfigChain, InverseChainData, FraxlendConfigChain, ResupplyConfigChain, CoolerConfigChain, LlamaLendMarketConfig, LlamaLendConfigChain, LlamaLendChainData, UsddMarketConfig, UsddConfigChain, UsddChainData, FrankencoinMarketConfig, FrankencoinConfigChain, FrankencoinChainData, TellerPoolConfig, MorphoTypeVaultEntry } from '@1delta/data-sdk';
6
+ import { TermMarketConfig, LiquityBranchConfig, LiquityConfigChain, RiverMarketConfig, RiverConfigChain, RiverChainData, InverseMarketConfig, InverseConfigChain, InverseChainData, FraxlendConfigChain, ResupplyConfigChain, CoolerConfigChain, AlchemixMarketEntry, LlamaLendMarketConfig, LlamaLendConfigChain, LlamaLendChainData, UsddMarketConfig, UsddConfigChain, UsddChainData, FrankencoinMarketConfig, FrankencoinConfigChain, FrankencoinChainData, TellerPoolConfig, MorphoTypeVaultEntry } from '@1delta/data-sdk';
7
7
  export { MorphoLensAbi } from '@1delta/abis';
8
8
 
9
9
  interface GenericCurrency {
@@ -1014,8 +1014,9 @@ declare const getLenderPublicDataViaApi: (chainId: string, lenders: string[], pr
1014
1014
  /**
1015
1015
  * The caller's multicall, threaded into every on-chain family routed
1016
1016
  * through this slot (Teller, Liquity, Fraxlend, Exactly, River, Inverse,
1017
- * Cooler, Ripe, Resupply, Curvance, Twyne, dss, Frankencoin) so their reads
1018
- * use the box's RPC keys and chunk caps. Omit for the bare default.
1017
+ * Cooler, Ripe, Alchemix, Resupply, Curvance, Twyne, dss, Frankencoin) so
1018
+ * their reads use the box's RPC keys and chunk caps. Omit for the bare
1019
+ * default.
1019
1020
  */
1020
1021
  multicallRetry?: MulticallRetryFunction) => Promise<{
1021
1022
  [lender: string]: any;
@@ -3269,6 +3270,32 @@ interface MidnightBookSource {
3269
3270
  top: MidnightBookTop;
3270
3271
  book: MidnightBook;
3271
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
+ }>;
3272
3299
  }
3273
3300
 
3274
3301
  /** Default hosted Midnight API (see @morpho-org/midnight-sdk MidnightApi). */
@@ -3283,6 +3310,37 @@ declare class ApiBookSource implements MidnightBookSource {
3283
3310
  private readonly baseUrl;
3284
3311
  private readonly fetchImpl;
3285
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>;
3286
3344
  getBookTop(marketId: string): Promise<MidnightBookTop | null>;
3287
3345
  /**
3288
3346
  * Full ladder for a market — every level per side, best-first (unlike
@@ -3315,6 +3373,18 @@ declare class ApiBookSource implements MidnightBookSource {
3315
3373
  /** Build the default (hosted-API) book source for a chain. */
3316
3374
  declare function createMidnightBookSource(chainId: string, fetchImpl?: FetchLike$2): MidnightBookSource;
3317
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
+
3318
3388
  /**
3319
3389
  * Top-of-book snapshot for a single Term repo, already reduced to best
3320
3390
  * executable APR per side + aggregate depth. Unlike Midnight (tick math), the
@@ -4274,6 +4344,20 @@ interface InverseMarketRaw {
4274
4344
  * this is a protocol/bot split, not an extra borrower charge.
4275
4345
  */
4276
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;
4277
4361
  }
4278
4362
  /** Raw public-data batch for the FiRM deployment (one chain). */
4279
4363
  interface InverseMarketsRaw {
@@ -4725,7 +4809,8 @@ declare function resupplyKeyParts(key: string): {
4725
4809
  * magnitude.
4726
4810
  * - **The collateral carries the wrapped market's yield.** A Resupply deposit
4727
4811
  * is a Curve Lend / Fraxlend supply position, so `getUnderlyingSupplyRate`
4728
- * is published as the collateral row's `intrinsicYield`. Without it the
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
4729
4814
  * position looks like it pays nothing, when in fact the whole product is
4730
4815
  * the spread between that and the ~half-of-it borrow rate.
4731
4816
  * - **`borrowLimit == 0` means PAUSED.** `pause()` zeroes it and there is no
@@ -5060,6 +5145,139 @@ interface RipeAccountInfo {
5060
5145
  inLiquidation: boolean;
5061
5146
  }
5062
5147
 
5148
+ /**
5149
+ * Raw shapes for the Alchemix V3 public-data fetch — fully ON-CHAIN, one
5150
+ * multicall round per chain over every Alchemist on it. Every amount is a
5151
+ * bigint in the contract's own units; every ratio is in the contract's own
5152
+ * scale (1e18 = 1.0 for collateralization, 10_000 = 100 % for fees). The
5153
+ * converter is the only place that turns these into human numbers.
5154
+ */
5155
+ interface AlchemixMarketRaw {
5156
+ /** The roster row (addresses + display symbols). */
5157
+ entry: AlchemixMarketEntry;
5158
+ /** 1e18-scaled. 1.111e18 ⇒ a new borrow may reach 90 % LTV. */
5159
+ minimumCollateralization: bigint;
5160
+ /** 1e18-scaled. 1.0526e18 ⇒ liquidatable at 95 % LTV. */
5161
+ collateralizationLowerBound: bigint;
5162
+ /** 1e18-scaled. Where a liquidation restores the position to. */
5163
+ liquidationTargetCollateralization: bigint | null;
5164
+ /** Max MYT SHARES the Alchemist will hold (`depositCap`). */
5165
+ depositCap: bigint;
5166
+ /** MYT SHARES held (`getTotalDeposited` = `_mytSharesDeposited`). */
5167
+ totalDeposited: bigint;
5168
+ /** alAsset units (`totalDebt`) — the borrowers' book. */
5169
+ totalDebt: bigint;
5170
+ /** alAsset units ever minted and not yet burned / transmuted. */
5171
+ totalSyntheticsIssued: bigint | null;
5172
+ /** Underlying units — `convertToAssets(totalDeposited)`. */
5173
+ totalUnderlyingValue: bigint | null;
5174
+ depositsPaused: boolean;
5175
+ loansPaused: boolean;
5176
+ /** Borrower redemption fee, bps of 10_000, on EARMARKED debt only. */
5177
+ protocolFee: number;
5178
+ /** Liquidator fee, bps of 10_000. */
5179
+ liquidatorFee: number;
5180
+ /** 10^(18 − underlying decimals): alAsset (18-dec) units per underlying unit. */
5181
+ underlyingConversionFactor: bigint | null;
5182
+ /** Underlying raw units one WHOLE MYT share (1e18) redeems for. */
5183
+ mytSharePrice: bigint | null;
5184
+ /** MYT `totalAssets()` — the whole vault, not only the Alchemist's share. */
5185
+ mytTotalAssets: bigint | null;
5186
+ /** MYT share decimals (18 on every deployment). */
5187
+ mytDecimals: number;
5188
+ /** Underlying decimals (USDC 6, WETH 18). */
5189
+ underlyingDecimals: number;
5190
+ /** Position NFTs ever minted (`totalSupply` of the ERC721Enumerable). */
5191
+ positionCount: number | null;
5192
+ transmuter: AlchemixTransmuterRaw | null;
5193
+ }
5194
+ interface AlchemixTransmuterRaw {
5195
+ /** Redemption term, in `block.number` units of the chain it runs on. */
5196
+ timeToTransmute: bigint;
5197
+ /** alAsset currently queued for redemption (`totalLocked`). */
5198
+ totalLocked: bigint;
5199
+ /** alAsset cap on the queue (`depositCap`). */
5200
+ depositCap: bigint;
5201
+ /** Early-exit fee on the UNVESTED part, bps of 10_000. */
5202
+ exitFee: number;
5203
+ /** Fee on transmuted yield, bps of 10_000. */
5204
+ transmutationFee: number;
5205
+ }
5206
+ interface AlchemixMarketsRaw {
5207
+ lender: string;
5208
+ chainId: string;
5209
+ markets: AlchemixMarketRaw[];
5210
+ source: 'chain' | 'none';
5211
+ }
5212
+
5213
+ declare function fetchAlchemixMarkets(lender: string, chainId: string, multicallRetry?: MulticallRetryFunction): Promise<AlchemixMarketsRaw>;
5214
+
5215
+ /**
5216
+ * Seconds per unit of `block.number` as the Transmuter sees it. NOMINAL, and
5217
+ * per chain for a reason worth spelling out: on Arbitrum `block.number` is the
5218
+ * L1 block number, so the Arbitrum Transmuter's 1,095,750-block term is the
5219
+ * same ~152 days as Ethereum's, not ~3 days of 0.25 s L2 blocks. Optimism and
5220
+ * Base count their own 2 s blocks (6,574,500 blocks = 152 d; 1,209,600 =
5221
+ * 28 d). A chain missing here publishes the term in blocks only.
5222
+ */
5223
+ declare const ALCHEMIX_BLOCK_SECONDS: Record<string, number>;
5224
+ /** Per-market lender key (re-exported from data-sdk so callers need one import). */
5225
+ declare const alchemixLenderKey: (chainId: string | number, alchemist: string) => string;
5226
+ /** Underlying units one WHOLE MYT share redeems for, as a plain number. */
5227
+ declare const alchemixMytRate: (m: AlchemixMarketRaw) => number | undefined;
5228
+ /**
5229
+ * The Transmuter-driven redemption pace, derived from the queue alone:
5230
+ *
5231
+ * redeemed per year = totalLocked × (year ÷ term)
5232
+ * redemptionRate = redeemed per year ÷ totalDebt
5233
+ *
5234
+ * `totalLocked` vests linearly over `timeToTransmute`, so this is the rate the
5235
+ * CURRENT queue earmarks borrower debt at, if it is kept topped up — a
5236
+ * snapshot, not a forecast. Above 1 the whole book is redeemed within a year.
5237
+ */
5238
+ declare function alchemixRedemptionPace(m: AlchemixMarketRaw, chainId: string): {
5239
+ termBlocks: number;
5240
+ termSeconds?: number;
5241
+ redeemedPerYear?: number;
5242
+ redemptionRate?: number;
5243
+ } | undefined;
5244
+ /**
5245
+ * Map the Alchemix batch into the shared `MorphoGeneralPublicResponse` shape,
5246
+ * one entry per ALCHEMIST under `ALCHEMIX_<chainId>_<ALCHEMIST>` (multi-market,
5247
+ * the Inverse / Resupply shape). Two rows per market:
5248
+ *
5249
+ * - MYT (collateral only). Deposited = the Alchemist's MYT SHARES. It is
5250
+ * never lent out, so `depositRate` is 0 — the MYT earns its strategies'
5251
+ * yield through its share price, and that reaches the row as
5252
+ * `intrinsicYield` through the ordinary assetGroup join (the MYTs are
5253
+ * savings rows of their own), never as an invented market rate. Max LTV =
5254
+ * `1e18 / minimumCollateralization`, liquidation LTV =
5255
+ * `1e18 / collateralizationLowerBound`, both read live.
5256
+ * `depositsEnabled` = not paused AND room under `depositCap` (MYT shares).
5257
+ *
5258
+ * - alAsset (borrow only). There is NO supply side: alAssets are minted, so
5259
+ * `totalDeposits` is 0. There is NO interest: `variableBorrowRate` is 0
5260
+ * with `rateModel: 'zeroInterest'`. The borrower's cost is the redemption
5261
+ * fee on EARMARKED debt (a fee per redemption, not an APR — it rides in
5262
+ * `alchemix.protocolFeeBps`) plus whatever discount the alAsset trades at.
5263
+ * `borrowLiquidity` is the headroom the market could still mint if its
5264
+ * deposit cap were filled at max LTV (there is no separate debt ceiling).
5265
+ *
5266
+ * PRICING — debt is valued at FACE. The Alchemist has no price oracle in its
5267
+ * solvency path: one alAsset is worth exactly one underlying unit
5268
+ * (`normalizeDebtTokensToUnderlying`), and collateral is MYT shares at the
5269
+ * MYT's own share price. Both rows are therefore priced off the UNDERLYING's
5270
+ * USD price, so the USD totals and every health figure built on them agree
5271
+ * with the contract. The alAsset's MARKET price is lower (alUSD ≈ 0.955,
5272
+ * alETH ≈ 0.975 ETH on 2026-10-19); that discount is a borrower cost and a
5273
+ * deleverage opportunity, never an input to health.
5274
+ */
5275
+ declare function convertAlchemixMarketsToResponse(raw: AlchemixMarketsRaw, chainId: string, prices?: {
5276
+ [asset: string]: number;
5277
+ }, additionalYields?: AdditionalYields, tokens?: GenericTokenList): {
5278
+ [m: string]: MorphoGeneralPublicResponse;
5279
+ };
5280
+
5063
5281
  /**
5064
5282
  * Per-market snapshot of a LlamaLend market. Amounts are HUMAN units (the
5065
5283
  * Curve API serves human numbers; the on-chain fallback normalizes to match).
@@ -6109,6 +6327,12 @@ interface ShareRate {
6109
6327
  * is resolved against.
6110
6328
  */
6111
6329
  underlying: string;
6330
+ /**
6331
+ * The underlying's token-list group, when the producer knows it: a rate
6332
+ * read on another chain (`crossChainShareRateEntries`) names an underlying
6333
+ * this chain's list may not carry. Wins over the `underlying` lookup.
6334
+ */
6335
+ underlyingGroup?: string;
6112
6336
  /** What was read (`'convertToAssets'`, `'mellow:getReport'`) — diagnostics. */
6113
6337
  source?: string;
6114
6338
  }
@@ -6549,7 +6773,8 @@ interface FetchOraclePricesOptions {
6549
6773
  * Only run these fetcher groups. Useful for debugging individual protocols.
6550
6774
  * Values: 'aave', 'compoundV2', 'compoundV3', 'lista', 'llamalend',
6551
6775
  * 'eulerV2', 'aaveV4', 'morpho', 'midnight', 'exactly', 'term', 'liquity',
6552
- * 'river', 'teller', 'siloV2', 'siloV3', 'fluid', 'curvance', 'resupply'.
6776
+ * 'river', 'teller', 'siloV2', 'siloV3', 'fluid', 'curvance', 'resupply',
6777
+ * 'alchemix'.
6553
6778
  * If omitted, all fetchers run.
6554
6779
  */
6555
6780
  onlyFetchers?: string[];
@@ -9343,7 +9568,10 @@ interface BorrowTermSheet {
9343
9568
  * time? The single biggest departure from variable-rate intuition — four of
9344
9569
  * six fixed-term lenders are static.
9345
9570
  */
9346
- debtShape: Open<'accruing' | 'static-face' | 'prepaid'>;
9571
+ debtShape: Open<'accruing' | 'static-face' | 'prepaid'
9572
+ /** No accrual; the debt FALLS on its own as redemptions settle part of
9573
+ * it against the borrower's collateral at face (Alchemix V3). */
9574
+ | 'redemption-reduced'>;
9347
9575
  exit: BorrowExitTerms;
9348
9576
  /** Fully resolved for the DEFAULT mode. `modes[]` carries the rest. */
9349
9577
  liquidation: LiquidationTerms;
@@ -12408,32 +12636,6 @@ interface VaultPublicDataResult {
12408
12636
  error: string;
12409
12637
  }>;
12410
12638
  }
12411
- /**
12412
- * Universal vault fetcher — the vaults-side analogue of
12413
- * `getLenderPublicDataAll`.
12414
- *
12415
- * Dispatches each requested provider to its dedicated fetcher and runs
12416
- * them concurrently. Sources are mixed (Fluid + Gearbox use multicall;
12417
- * Morpho + Silo are HTTP GraphQL), so there's no API-vs-on-chain split
12418
- * like the lender path — every provider runs in parallel and a single
12419
- * provider's failure does not sink the others.
12420
- *
12421
- * @param chainId target chain
12422
- * @param providers which providers to fetch (any subset of
12423
- * `'fluid' | 'gearbox' | 'morpho' | 'silo' | 'euler-earn'`)
12424
- * @param multicallRetry provider-level multicall executor — used by
12425
- * Fluid and Gearbox; ignored when only HTTP
12426
- * providers are requested
12427
- * @param prices optional price map keyed by oracle key /
12428
- * underlying address
12429
- * @param tokenList optional token list for hydrating `asset`
12430
- * metadata on each parsed vault
12431
- * @param options provider-specific knobs (Silo version filter, …)
12432
- *
12433
- * @returns `VaultPublicDataAll` — one key per requested provider that
12434
- * resolved successfully; failed providers are omitted (and
12435
- * logged when `VAULTS_DEBUG` is on).
12436
- */
12437
12639
  declare const getVaultPublicDataAll: (chainId: string, providers: VaultProvider[], multicallRetry: MulticallRetryFunction, prices?: {
12438
12640
  [asset: string]: number;
12439
12641
  }, tokenList?: GenericTokenList, options?: GetVaultPublicDataAllOptions) => Promise<VaultPublicDataResult>;
@@ -14504,6 +14706,18 @@ interface EarnExclusions {
14504
14706
  * ZERO rate — for a holder who needs to redeem.
14505
14707
  */
14506
14708
  matured?: number;
14709
+ /**
14710
+ * Fixed-yield order-book / auction rows (Morpho Midnight, Term Finance,
14711
+ * TermMax, Loopscale, Jupiter Offerbook), hidden unless
14712
+ * `?includeFixedTerm=true`. The rate is the best executable quote for ONE
14713
+ * maturity and the size is that book's depth — not a pool.
14714
+ */
14715
+ fixedTerm?: number;
14716
+ /**
14717
+ * Morpho Midnight COLLATERAL legs — always dropped, no switch: they pay
14718
+ * nothing and their size is a capacity derived from the borrow book.
14719
+ */
14720
+ collateralLeg?: number;
14507
14721
  }
14508
14722
  interface EarnAppliedDefaults {
14509
14723
  minTvlUsd: number;
@@ -14514,6 +14728,8 @@ interface EarnAppliedDefaults {
14514
14728
  excludeLp: boolean;
14515
14729
  /** Matured fixed-term rows are hidden unless `?includeExpired=true`. */
14516
14730
  excludeMatured?: boolean;
14731
+ /** Fixed-yield order-book rows are hidden unless `?includeFixedTerm=true`. */
14732
+ excludeFixedTerm?: boolean;
14517
14733
  }
14518
14734
  /**
14519
14735
  * The filter vocabulary, published rather than hard-coded.
@@ -15877,6 +16093,32 @@ interface PoolSourceRow {
15877
16093
  };
15878
16094
  [key: string]: unknown;
15879
16095
  }
16096
+ /**
16097
+ * Lending venues whose EARN row is a FIXED yield bought on an order book or in
16098
+ * an auction (Morpho Midnight, Term Finance, TermMax, Loopscale, Jupiter
16099
+ * Offerbook): the rate is a quote for one maturity, the "deposit" fills a
16100
+ * borrower's offer, and the size is that book's depth. `/earn` hides them
16101
+ * unless `includeFixedTerm=true`. EXACTLY and TELLER are fixed-TERM for the
16102
+ * borrower but pools for the depositor, so they are not here. Mirrored by
16103
+ * yield-tracer `FIXED_YIELD_EARN_VENUE_PREFIXES` (`utils/getLenders.ts`) — the
16104
+ * origin and the edge fallback must ask the same question.
16105
+ */
16106
+ declare const FIXED_YIELD_EARN_VENUE_PREFIXES: readonly ["MORPHO_MIDNIGHT", "TERM_FINANCE", "TERMMAX", "LOOPSCALE", "JUPITER_OFFERBOOK"];
16107
+ /** Is this a fixed-yield order-book / auction earn row? See {@link FIXED_YIELD_EARN_VENUE_PREFIXES}. */
16108
+ declare function isFixedYieldEarnRow(m: {
16109
+ venueKind?: string;
16110
+ venue: string;
16111
+ }): boolean;
16112
+ /**
16113
+ * A Midnight COLLATERAL leg (`…:<token>-c<i>`). Not an earn product: it pays
16114
+ * nothing and its size is a capacity derived from the borrow book, not money
16115
+ * deposited. Both `/earn` paths drop it unconditionally.
16116
+ */
16117
+ declare function isOrderBookCollateralLeg(m: {
16118
+ venueKind?: string;
16119
+ venue: string;
16120
+ earnUid: string;
16121
+ }): boolean;
15880
16122
  /**
15881
16123
  * Collateral symbols per venue, derived from the listing ITSELF.
15882
16124
  *
@@ -16469,4 +16711,4 @@ declare const fetchFluidDexState: (chainId: string, multicallRetry: MulticallRet
16469
16711
  /** Synchronous read of whatever `fetchFluidDexState` last cached for a chain. */
16470
16712
  declare const getCachedFluidDexState: (chainId: string) => FluidDexStateMap | undefined;
16471
16713
 
16472
- export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, 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, 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, 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, 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 };
16714
+ 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, 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 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, 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, 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 };