@1delta/margin-fetcher 5.0.11 → 5.0.13

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
@@ -2336,13 +2336,101 @@ declare function noOpResult(balance: BalanceData, apr: AprData): LoopPostTradeMe
2336
2336
  /** Build the final post-trade metrics from updated balance and apr */
2337
2337
  declare function buildLoopResult(balance: BalanceData, newBalance: BalanceData, apr: AprData, newApr: AprData, useAllActive?: boolean): LoopPostTradeMetrics;
2338
2338
 
2339
+ /**
2340
+ * The token a reward is paid in.
2341
+ *
2342
+ * ABSENT on a points program — that absence IS the signal, mirroring
2343
+ * `RewardTerm.asset` in ../terms/types.ts, and it is what lets a consumer
2344
+ * refuse to fold an unpriceable program into a headline APR.
2345
+ */
2346
+ interface RewardTokenRef {
2347
+ /** Lowercased contract address. */
2348
+ address: string;
2349
+ chainId?: string;
2350
+ symbol?: string;
2351
+ decimals?: number;
2352
+ /** Icon URL from the source, where it supplies one (Merkl does). */
2353
+ logoURI?: string;
2354
+ /** USD price the SOURCE used to derive the APR — not our oracle. */
2355
+ priceUsd?: number;
2356
+ }
2357
+ /**
2358
+ * WHO is paying, as opposed to how it is claimed.
2359
+ *
2360
+ * The pre-existing `LenderAssetReward.distribution` conflates the two: it reads
2361
+ * `'merkle'` for every Merkl campaign regardless of protocol, so three
2362
+ * unrelated programs render one indistinguishable chip. `id` is a stable slug
2363
+ * (`merkl:aave`, `dtrinity:rebate`) safe to key on; `label` is the human string;
2364
+ * `link` is the exact deep link to the program, not a protocol homepage.
2365
+ */
2366
+ interface RewardSourceRef {
2367
+ /** Stable slug — `<platform>:<program>`. Safe to switch on. */
2368
+ id: string;
2369
+ /** Human label for display, e.g. `Merkl · Aave`. */
2370
+ label: string;
2371
+ /** Deep link to THIS program. */
2372
+ link?: string;
2373
+ /** Platform hosting the program: `merkl`, `protocol`, … */
2374
+ platform?: string;
2375
+ /** Per-platform identifiers, verbatim, for support + deduplication. */
2376
+ refs?: Record<string, string | number>;
2377
+ }
2378
+ /**
2379
+ * One reward program on one side of one market.
2380
+ *
2381
+ * This is the typed replacement for the untyped `additional*Data` bags, whose
2382
+ * shape differed per fetcher (Merkl emitted `{token, tokenAddress,
2383
+ * dailyUsdValue}`, the on-chain readers `{tokenAddress, emissionPerSecond,
2384
+ * distributionEnd}`) and which therefore could not be rendered generically.
2385
+ * Every field a UI needs to explain a reward without a second lookup lives
2386
+ * here: the APR, the token, the source, and the end date.
2387
+ */
2388
+ interface RewardStream {
2389
+ side: 'deposit' | 'borrow';
2390
+ /** Nominal APR in percent, on this side, from this program alone. */
2391
+ apr: number;
2392
+ /** `points` ⇒ not priceable; MUST be excluded from any headline APR. */
2393
+ kind: 'token' | 'points';
2394
+ /** Absent ⇔ `kind === 'points'`. */
2395
+ token?: RewardTokenRef;
2396
+ source: RewardSourceRef;
2397
+ /** How it is realized — decides whether the APR is actually bankable. */
2398
+ claim: 'accrual' | 'merkl' | 'manual';
2399
+ /** Unix seconds. An APR with two weeks left is not an APR. */
2400
+ endsAt?: number;
2401
+ /** Unix seconds, where the source publishes it. */
2402
+ startsAt?: number;
2403
+ /** Program-wide payout rate in USD/day, as the source reports it. */
2404
+ dailyRewardsUsd?: number;
2405
+ }
2339
2406
  interface LenderAssetReward {
2407
+ /**
2408
+ * Legacy source/mechanism tag (`merkle`, `onchain-incentives`, `native`).
2409
+ * Kept because the recorder's `market_rewards.source` column is derived from
2410
+ * it and is part of that table's primary key. Prefer `streams[].source.id`,
2411
+ * which distinguishes programs this cannot.
2412
+ */
2340
2413
  distribution: string;
2414
+ /** Summed deposit-side APR across every stream. */
2341
2415
  deposit: number;
2416
+ /** Summed borrow-side APR across every stream. */
2342
2417
  borrow: number;
2418
+ /**
2419
+ * @deprecated Untyped per-source bag, superseded by `streams`. Still
2420
+ * populated verbatim so the yield-tracer recorder keeps working unchanged
2421
+ * while it migrates; remove once nothing reads it.
2422
+ */
2343
2423
  additionalDepositData: any;
2424
+ /** @deprecated See `additionalDepositData`. */
2344
2425
  additionalBorrowData: any;
2426
+ /** @deprecated First program's link only. Prefer `streams[].source.link`. */
2345
2427
  link?: string;
2428
+ /**
2429
+ * Every reward program backing `deposit` / `borrow`, fully described. A
2430
+ * multi-token campaign produces one stream PER TOKEN, so nothing collapses
2431
+ * onto a first entry the way `additional*Data[0]` did.
2432
+ */
2433
+ streams?: RewardStream[];
2346
2434
  }
2347
2435
  interface LenderRewards {
2348
2436
  [chainId: number]: {
@@ -4800,6 +4888,64 @@ type ListaMarketOverrides = {
4800
4888
  [chainId: string]: ListaMarketOverride[];
4801
4889
  };
4802
4890
 
4891
+ /**
4892
+ * Curve LlamaLend oracle fetcher — DERIVED (Pass 2).
4893
+ *
4894
+ * Each market's price feed is `price_oracle()` on its own LLAMMA. Three
4895
+ * properties of that read drive every decision in this file:
4896
+ *
4897
+ * 1. **It is always WAD**, regardless of either token's decimals. Verified
4898
+ * on-chain across the decimal spread: the 8-decimal WBTC / crvUSD market
4899
+ * returns `65042815002675129318680` (= 65,042.82) and the 18-decimal
4900
+ * sfrxUSD market returns `1205489834170667241` (= 1.2055). So this fetcher
4901
+ * divides by 1e18 and NEVER consults token decimals — unlike Morpho, whose
4902
+ * oracles scale by `10^(36 + loanDec - collDec)`.
4903
+ * 2. **It is denominated in the BORROWED token**, not USD. Hence Pass 2 with
4904
+ * `updatePrices=false`: `collateralUSD = ratio × borrowedUSD`, where the
4905
+ * borrowed token's direct USD price came from Pass 1. This is the
4906
+ * Morpho/Midnight/Teller shape, so the derivation class is `'derived'`.
4907
+ * It matters for real markets, not just in theory — 8 of ~99 markets
4908
+ * borrow something other than crvUSD (CRV, WETH, tBTC, ynETH, USDC,
4909
+ * wstETH), where treating the ratio as USD would be badly wrong.
4910
+ * 3. **It lives on the AMM, and only on the AMM.** A Curve
4911
+ * `price_oracle_contract` is a different contract exposing `price()`, and
4912
+ * the LLAMMA does NOT implement `price()`. That distinction is the whole
4913
+ * reason this fetcher exists: LlamaLend markets used to fall through a
4914
+ * catch-all `else` into the MORPHO override bucket, which called `price()`
4915
+ * on the LLAMMA — reverting, mapping to '0x', and dropping every market
4916
+ * silently. Had the address been a `price_oracle_contract` instead, the
4917
+ * call would have SUCCEEDED and been rescaled by 1e36, i.e. ~1e18 off.
4918
+ *
4919
+ * Markets are sourced exclusively from overrides (the database), like Morpho
4920
+ * and Lista. There is no on-chain market enumeration to fall back on.
4921
+ */
4922
+ /**
4923
+ * One LlamaLend market, as supplied by the caller's database.
4924
+ */
4925
+ interface LlamaLendMarketOverride {
4926
+ /**
4927
+ * The market's LLAMMA. `price_oracle()` is read from here — NOT from the
4928
+ * generic `oracle` column, which is written as the AMM but would silently
4929
+ * become unreadable if a `price_oracle_contract` were ever stored there.
4930
+ */
4931
+ amm: string;
4932
+ /** Borrowed token — the oracle's unit of account. */
4933
+ loanAsset: string;
4934
+ collateralAsset: string;
4935
+ /** Present for symmetry with the other override types; NOT used for scaling. */
4936
+ loanAssetDecimals?: number;
4937
+ /** Present for symmetry with the other override types; NOT used for scaling. */
4938
+ collateralAssetDecimals?: number;
4939
+ /**
4940
+ * Controller address, 0x-stripped and uppercased — the suffix of the
4941
+ * per-market lender key the lending converter emits.
4942
+ */
4943
+ marketId: string;
4944
+ }
4945
+ type LlamaLendMarketOverrides = {
4946
+ [chainId: string]: LlamaLendMarketOverride[];
4947
+ };
4948
+
4803
4949
  /**
4804
4950
  * Token list type expected by this function
4805
4951
  * Token decimals are read from list[chainId].list[address].decimals
@@ -4851,9 +4997,9 @@ interface FetchOraclePricesOptions {
4851
4997
  probeFeedStaleness?: boolean;
4852
4998
  /**
4853
4999
  * Only run these fetcher groups. Useful for debugging individual protocols.
4854
- * Values: 'aave', 'compoundV2', 'compoundV3', 'lista', 'eulerV2', 'aaveV4',
4855
- * 'morpho', 'midnight', 'exactly', 'term', 'liquity', 'river', 'teller',
4856
- * 'siloV2', 'siloV3', 'fluid'.
5000
+ * Values: 'aave', 'compoundV2', 'compoundV3', 'lista', 'llamalend',
5001
+ * 'eulerV2', 'aaveV4', 'morpho', 'midnight', 'exactly', 'term', 'liquity',
5002
+ * 'river', 'teller', 'siloV2', 'siloV3', 'fluid'.
4857
5003
  * If omitted, all fetchers run.
4858
5004
  */
4859
5005
  onlyFetchers?: string[];
@@ -4873,7 +5019,14 @@ declare function fetchOraclePrices(chainIds: string[], rpcOverrides?: {
4873
5019
  [chainId: string]: string[];
4874
5020
  }, lists?: TokenListInput, retries?: number, batchSize?: {
4875
5021
  [chainId: string]: number;
4876
- } | undefined, allowFailure?: boolean, basePrices?: USDPriceMap, morphoMarketOverrides?: MorphoMarketOverrides, listaMarketOverrides?: ListaMarketOverrides, stalenessThresholdSeconds?: number, onlyFetchers?: string[], probeFeedStaleness?: boolean): Promise<OraclePricesResult>;
5022
+ } | undefined, allowFailure?: boolean, basePrices?: USDPriceMap, morphoMarketOverrides?: MorphoMarketOverrides, listaMarketOverrides?: ListaMarketOverrides, stalenessThresholdSeconds?: number, onlyFetchers?: string[], probeFeedStaleness?: boolean,
5023
+ /**
5024
+ * Curve LlamaLend markets. Appended LAST rather than slotted next to the
5025
+ * other two override params on purpose — ~50 call sites already pass all 12
5026
+ * positional arguments, and inserting here would silently shift
5027
+ * `onlyFetchers` / `probeFeedStaleness` in every one of them.
5028
+ */
5029
+ llamaLendMarketOverrides?: LlamaLendMarketOverrides): Promise<OraclePricesResult>;
4877
5030
 
4878
5031
  /**
4879
5032
  * Self-calibrating per-feed quality stats.
@@ -6103,7 +6256,7 @@ type LstWithdrawalStatus =
6103
6256
  | 'expired';
6104
6257
  /** Withdrawal-reader implementation kind — drives which enumeration
6105
6258
  * function the user is queried against. */
6106
- type LstWithdrawalReaderKind = 'lidoQueue' | 'etherfiNft' | 'yieldNestNft' | 'staderEthxQueue' | 'staderMaticXQueue' | 'renzoQueue' | 'kelpQueue' | 'benqiSavaxQueue' | 'beetsStSQueue' | 'hyperbeatBeHype7540' | 'erc7540' | 'ethenaCooldown' | 'susd3Cooldown' | 'strataCooldown' | 'swellNft' | 'stakeWiseSubgraph' | 'mantleCallerSuppliedIds' | 'pufferCallerSuppliedIds' | 'trufinCallerSuppliedIds' | 'lairCallerSuppliedIds' | 'stceloAccountQueue' | 'kinetiqQueue' | 'beHypeQueue' | 'valantisBurnQueue' | 'listaQueue' | 'iberaQueue' | 'primeStakingQueue' | 'berapawRedeemQueue' | 'eventsOnly' | 'noQueue' | 'unverified';
6259
+ type LstWithdrawalReaderKind = 'lidoQueue' | 'etherfiNft' | 'yieldNestNft' | 'staderEthxQueue' | 'staderMaticXQueue' | 'renzoQueue' | 'kelpQueue' | 'benqiSavaxQueue' | 'beetsStSQueue' | 'hyperbeatBeHype7540' | 'erc7540' | 'binanceWbethQueue' | 'ethenaCooldown' | 'susd3Cooldown' | 'strataCooldown' | 'swellNft' | 'stakeWiseSubgraph' | 'mantleCallerSuppliedIds' | 'pufferCallerSuppliedIds' | 'trufinCallerSuppliedIds' | 'lairCallerSuppliedIds' | 'stceloAccountQueue' | 'kinetiqQueue' | 'beHypeQueue' | 'valantisBurnQueue' | 'listaQueue' | 'iberaQueue' | 'primeStakingQueue' | 'berapawRedeemQueue' | 'eventsOnly' | 'noQueue' | 'unverified';
6107
6260
  /** Map keyed by lowercased LST share-token address. The orchestrator
6108
6261
  * fetches all LSTs on a chain in parallel and returns this map
6109
6262
  * (possibly with empty arrays for LSTs the user has no requests
@@ -7144,8 +7297,9 @@ interface YDaemonVault {
7144
7297
  /**
7145
7298
  * Fetch every endorsed Yearn **V3** vault on a chain, paginating until
7146
7299
  * yDaemon returns a short page. Returns the raw yDaemon items already
7147
- * filtered to V3 + endorsed; normalization to `YearnVault` happens in
7148
- * `fetchPublic`.
7300
+ * filtered to V3 + endorsed and **deduped by address** (see
7301
+ * {@link PAGE_SIZE} — pages can overlap); normalization to `YearnVault`
7302
+ * happens in `fetchPublic`.
7149
7303
  */
7150
7304
  declare function fetchYearnApiVaults(chainId: string): Promise<YDaemonVault[]>;
7151
7305
 
@@ -8959,9 +9113,11 @@ interface LiquidationTerms {
8959
9113
  * them. Describes the DOMAIN only; the value a given position chose lives in
8960
9114
  * the per-position `modes[posId]` slot.
8961
9115
  *
8962
- * Prefer this over {@link bandLtv}: the curve is sampled at four points and is
8963
- * absent whenever it could not be computed, whereas this is the whole domain
8964
- * and is always available. See POSITION_PARAMETERS_PLAN.md.
9116
+ * Prefer this over {@link bandLtv} to drive a CONTROL: the domain is always
9117
+ * known (`MIN_TICKS`/`MAX_TICKS`), whereas the curve is absent on any market
9118
+ * whose geometry could not be read. Where the curve IS present it now covers
9119
+ * the whole domain, so `bandLtv[N]` is the right source for the LTV that a
9120
+ * chosen `N` implies. See POSITION_PARAMETERS_PLAN.md.
8965
9121
  */
8966
9122
  openParameter?: {
8967
9123
  kind: 'llamalend-bands' | 'interest-rate';
@@ -9066,6 +9222,33 @@ interface AvailabilityTerms {
9066
9222
  /** 0..1 — how full the cap is. */
9067
9223
  capUtilization?: number;
9068
9224
  requires?: PermissionKind[];
9225
+ /**
9226
+ * Can a position be OPENED from this side alone, or only by supplying both
9227
+ * legs in one action?
9228
+ *
9229
+ * Absent / `'standalone'` ⇒ the ordinary pool case: a deposit on its own
9230
+ * creates a supply position, a borrow on its own draws against whatever
9231
+ * collateral the account already has.
9232
+ *
9233
+ * `'both-legs'` ⇒ the position does not exist until collateral AND debt are
9234
+ * committed together, so neither side can open it. This is the CDP shape and
9235
+ * it is enforced differently by each protocol — Liquity and its forks make it
9236
+ * structurally impossible (`openTrove` refuses anything under `minDebt`);
9237
+ * Frankencoin technically ACCEPTS `clone(…, initialMint = 0, …)` but the
9238
+ * result is a position that holds collateral, earns nothing and has no debt,
9239
+ * which is not a product. Either way the CTA belongs on the joint action
9240
+ * (`/v1/actions/lending/deposit-and-borrow`), not on this side.
9241
+ *
9242
+ * **This is about OPENING only.** Topping up or drawing further against an
9243
+ * EXISTING position is a normal standalone op on every one of these lenders,
9244
+ * which is exactly why `depositsEnabled` cannot carry this meaning — setting
9245
+ * it false would also block the top-up the protocol permits.
9246
+ *
9247
+ * The flag is genuinely discriminating, not a family label: Resupply is a CDP
9248
+ * too, and its `addCollateral(amount, borrower)` opens an unlevered
9249
+ * collateral-only position perfectly well, so it stays `'standalone'`.
9250
+ */
9251
+ opensWith?: Open<'standalone' | 'both-legs'>;
9069
9252
  }
9070
9253
  interface PositionConstraints {
9071
9254
  /** Aave isolation mode: capped debt, no collateral mixing. */
@@ -9838,4 +10021,4 @@ interface TermAdapter {
9838
10021
  declare const TERM_ADAPTERS: TermAdapter[];
9839
10022
  declare function resolveAdapter(lender: string): TermAdapter | undefined;
9840
10023
 
9841
- export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, ApiBookSource, type AprData, type AprPercent, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, type DeepPartial, type Denomination, type DepthMap, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, 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, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchTokenBalancesOptions, type FlattenPriorityConfig, type FluidFToken, type FluidFTokens, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, 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 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 MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OutlierGuardConfig, type ParsedBalanceData, type ParsedResponse, type ParsedUserBalance, type PermissionKind, type PermissionParams, type PoolData, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardTerm, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitTerms, type SupplyTermSheet, TELLER_CALLS_PER_BID, TERMMAX_CALLS_PER_ACCOUNT, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, 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 TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, 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 UsddPositionInfo, type UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, type UtilizationTerms, VAULT_SHARE_PRICE_PROBE, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultPublicDataAll, type VaultPublicDataResult, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultLookup, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertExactlyMarketsToResponse, convertFrankencoinMarketsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, duration, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchDolomiteAccountNumbers, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidFTokens, fetchFrankencoinMarkets, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendlePrices, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, filterActiveLenders, filterLendersByProtocol, finalizeInfo, findingsFor, frankencoinKeyParts, frankencoinLenderKey, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, 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, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasUpshiftVaults, hasYearnVaults, inverseKeyParts, inverseLenderKey, isFailedCall, isStablecoinSymbol, isYearnV3, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, parseBalanceFetcherResult, parseMergedResult, parseMulticallRpcResponses, parseRawRpcBatchResponses, parseRawRpcResponses, parseTermMaxLtv, parseTokenBalanceResult, pct, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, resolveAdapter, resolveDerivation, resolveStCeloDepositGroup, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, selectAssetGroupPrices, shortDate, stampVaultClassification, supplyDescription, supplyFindings, supplyHeadline, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, 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, tickToAprNumber, tickToPrice, toDigest, toTermSheetInput, unflattenLenderData, updateFeedStats, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData };
10024
+ export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, ApiBookSource, type AprData, type AprPercent, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, type DeepPartial, type Denomination, type DepthMap, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, 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, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchTokenBalancesOptions, type FlattenPriorityConfig, type FluidFToken, type FluidFTokens, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type 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 MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OutlierGuardConfig, type ParsedBalanceData, type ParsedResponse, type ParsedUserBalance, type PermissionKind, type PermissionParams, type PoolData, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitTerms, type SupplyTermSheet, TELLER_CALLS_PER_BID, TERMMAX_CALLS_PER_ACCOUNT, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, 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 TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, 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 UsddPositionInfo, type UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, type UtilizationTerms, VAULT_SHARE_PRICE_PROBE, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultPublicDataAll, type VaultPublicDataResult, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultLookup, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertExactlyMarketsToResponse, convertFrankencoinMarketsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, duration, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchDolomiteAccountNumbers, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidFTokens, fetchFrankencoinMarkets, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendlePrices, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, filterActiveLenders, filterLendersByProtocol, finalizeInfo, findingsFor, frankencoinKeyParts, frankencoinLenderKey, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, 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, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasUpshiftVaults, hasYearnVaults, inverseKeyParts, inverseLenderKey, isFailedCall, isStablecoinSymbol, isYearnV3, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, parseBalanceFetcherResult, parseMergedResult, parseMulticallRpcResponses, parseRawRpcBatchResponses, parseRawRpcResponses, parseTermMaxLtv, parseTokenBalanceResult, pct, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, resolveAdapter, resolveDerivation, resolveStCeloDepositGroup, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, selectAssetGroupPrices, shortDate, stampVaultClassification, supplyDescription, supplyFindings, supplyHeadline, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, 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, tickToAprNumber, tickToPrice, toDigest, toTermSheetInput, unflattenLenderData, updateFeedStats, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData };