@1delta/margin-fetcher 5.0.58 → 5.0.60
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/ccip-UXZECBO3.js +5 -0
- package/dist/{ccip-VK5PCUV6.js.map → ccip-UXZECBO3.js.map} +1 -1
- package/dist/{chunk-YILYOOYB.js → chunk-JUYF2XLF.js} +52 -4
- package/dist/chunk-JUYF2XLF.js.map +1 -0
- package/dist/index.d.ts +333 -19
- package/dist/index.js +2359 -912
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/ccip-VK5PCUV6.js +0 -5
- package/dist/chunk-YILYOOYB.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -270,6 +270,13 @@ declare interface GeneralCall {
|
|
|
270
270
|
address: string;
|
|
271
271
|
name: string;
|
|
272
272
|
params?: any[];
|
|
273
|
+
/**
|
|
274
|
+
* Per-call ABI override. The multicall layer already honours this
|
|
275
|
+
* (`call.abi ?? abi` in `getLenderUserDataResult`) — it was simply untyped, so
|
|
276
|
+
* every builder that needs it declared its array as `any[]` and lost checking
|
|
277
|
+
* on the rest of the call shape too.
|
|
278
|
+
*/
|
|
279
|
+
abi?: any;
|
|
273
280
|
}
|
|
274
281
|
type TokenList = {
|
|
275
282
|
[address: string]: {
|
|
@@ -315,6 +322,23 @@ interface LenderUserQuery {
|
|
|
315
322
|
/** custom parameters for spceifying assets */
|
|
316
323
|
assets?: any[];
|
|
317
324
|
}
|
|
325
|
+
/**
|
|
326
|
+
* Collapse per-market queries whose builder + RPC call are identical
|
|
327
|
+
* across every market key into a single query. Without this, a chain
|
|
328
|
+
* with N Gearbox CMs (or N Morpho markets) would fan out into N
|
|
329
|
+
* identical RPC calls — all returning the same owner-scoped data.
|
|
330
|
+
*
|
|
331
|
+
* - **Morpho** (`MORPHO_BLUE_*` / `LISTA_DAO_*`): one query per family,
|
|
332
|
+
* `params` carries the original per-market lender keys.
|
|
333
|
+
* - **Gearbox V3** (`GEARBOX_V3_*`): one `Lender.GEARBOX_V3` query per
|
|
334
|
+
* chain; `AccountCompressor.getCreditAccounts` already scopes by
|
|
335
|
+
* `configurators` + `owner`, so we only need to run the call once.
|
|
336
|
+
* `params` carries the requested per-CM lender keys in case the
|
|
337
|
+
* parser wants to emit empty buckets for CMs the user has no CAs
|
|
338
|
+
* in (currently it only emits populated ones — same outcome, but
|
|
339
|
+
* without the 24-duplicate-RPC-call penalty).
|
|
340
|
+
*/
|
|
341
|
+
declare function organizeUserQueries(queries: LenderUserQuery[]): LenderUserQuery[];
|
|
318
342
|
interface UserLendingPosition {
|
|
319
343
|
deposits: string;
|
|
320
344
|
debt: string;
|
|
@@ -530,8 +554,39 @@ interface FixedTermInfo {
|
|
|
530
554
|
* Origination window, for `provider.kind: 'auction'` markets only (Term
|
|
531
555
|
* Finance). Absent for lenders whose terms are continuously available — a
|
|
532
556
|
* missing `auction` means "no window applies", NOT "closed".
|
|
557
|
+
*
|
|
558
|
+
* Where a FILL-NOW surface also exists (Term Terminal 1 limit orders),
|
|
559
|
+
* `canBorrow`/`canLend` reflect ALL entry paths — they can be true while
|
|
560
|
+
* `status` is `closed`. `fillNow` below carries the instant-path detail.
|
|
533
561
|
*/
|
|
534
562
|
auction?: FixedTermAuction;
|
|
563
|
+
/**
|
|
564
|
+
* Instant (limit-order) origination liquidity, where the lender has one
|
|
565
|
+
* (Term Finance Terminal 1). Unlike the auction, these rates are obtainable
|
|
566
|
+
* at fill time: a taker settles a maker's standing order at the order's own
|
|
567
|
+
* rate. Absent = the lender has no fill-now surface or none is live.
|
|
568
|
+
*/
|
|
569
|
+
fillNow?: FixedTermFillNow;
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Fill-now (limit-order) origination summary for a fixed-term market. Rates
|
|
573
|
+
* are best-executable percents in the lender's own day-count convention;
|
|
574
|
+
* liquidity is loan-token assets (human-scaled). The per-level book lives on
|
|
575
|
+
* `params.market.book` — this is the CTA-gating summary.
|
|
576
|
+
*/
|
|
577
|
+
interface FixedTermFillNow {
|
|
578
|
+
/** A NEW borrow can be filled instantly against standing lend orders. */
|
|
579
|
+
canBorrow: boolean;
|
|
580
|
+
/** A NEW lend can be filled instantly against standing borrow orders. */
|
|
581
|
+
canLend: boolean;
|
|
582
|
+
/** Best instantly-executable borrow APR, percent. */
|
|
583
|
+
borrowAprPct?: number;
|
|
584
|
+
/** Best instantly-executable lend APR, percent. */
|
|
585
|
+
lendAprPct?: number;
|
|
586
|
+
/** Instantly-borrowable depth, loan-token assets. */
|
|
587
|
+
borrowLiquidity?: number;
|
|
588
|
+
/** Instantly-lendable depth, loan-token assets. */
|
|
589
|
+
lendLiquidity?: number;
|
|
535
590
|
}
|
|
536
591
|
/**
|
|
537
592
|
* A single fixed-term loan, attached to its own entry in the positions array.
|
|
@@ -2846,6 +2901,32 @@ interface TermAuctionWindow {
|
|
|
2846
2901
|
/** Highest accepted offer rate, WAD (raw string; '0' when unset). */
|
|
2847
2902
|
maxOfferPriceWad: string;
|
|
2848
2903
|
}
|
|
2904
|
+
/**
|
|
2905
|
+
* One side of the Terminal 1 FILL-NOW book (limit orders on the intent
|
|
2906
|
+
* diamond), reduced to the best executable rate + depth + best-first levels.
|
|
2907
|
+
* Unlike the auction clearing rate this IS obtainable right now: a taker
|
|
2908
|
+
* settles against the maker's order at the order's own rate.
|
|
2909
|
+
*/
|
|
2910
|
+
interface TermFillNowSide {
|
|
2911
|
+
/** Best executable APR at this instant, percent (Term 360-day convention). */
|
|
2912
|
+
aprPct: number;
|
|
2913
|
+
/** Aggregate fillable depth, loan-token base units (raw string). */
|
|
2914
|
+
units: string;
|
|
2915
|
+
/** Same depth decimal-scaled to loan-token assets (human number). */
|
|
2916
|
+
assets: number;
|
|
2917
|
+
/** Best-first per-order levels (real per-level rates). */
|
|
2918
|
+
levels: TermBookLevel[];
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* Fill-now liquidity for one repo from the Terminal 1 order store, taker
|
|
2922
|
+
* perspective: `borrow` aggregates maker LEND orders (what our user can borrow
|
|
2923
|
+
* against, cheapest first), `lend` aggregates maker BORROW orders (what our
|
|
2924
|
+
* user can lend into, highest rate first).
|
|
2925
|
+
*/
|
|
2926
|
+
interface TermFillNow {
|
|
2927
|
+
borrow?: TermFillNowSide;
|
|
2928
|
+
lend?: TermFillNowSide;
|
|
2929
|
+
}
|
|
2849
2930
|
/** A Term repo paired with its current top-of-book (null when the fetch failed). */
|
|
2850
2931
|
interface TermMarketRaw {
|
|
2851
2932
|
config: TermMarketConfig;
|
|
@@ -2857,7 +2938,94 @@ interface TermMarketRaw {
|
|
|
2857
2938
|
* (the common case between auctions — the repo is then lend-only).
|
|
2858
2939
|
*/
|
|
2859
2940
|
auction?: TermAuctionWindow | null;
|
|
2941
|
+
/**
|
|
2942
|
+
* Terminal 1 fill-now order liquidity, or null when the order store is
|
|
2943
|
+
* unreachable / has no fillable orders for this repo. Independent of the
|
|
2944
|
+
* auction window — this is what makes a repo borrowable BETWEEN rounds.
|
|
2945
|
+
*/
|
|
2946
|
+
fillNow?: TermFillNow | null;
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* Term Finance Terminal 1 order store — the FILL-NOW limit-order surface.
|
|
2951
|
+
*
|
|
2952
|
+
* Between sealed-bid auction rounds a Term repo used to be display-only on the
|
|
2953
|
+
* borrow side. Terminal 1 adds a maker/taker limit-order book settling into the
|
|
2954
|
+
* SAME repo markets: makers post EIP-712 (or on-chain presigned) lend/borrow
|
|
2955
|
+
* orders keyed by `repoServicer`, takers fill them on the Terminal 1 diamond
|
|
2956
|
+
* (`settleLimitLend` / `settleLimitBorrow`), and the resulting position is an
|
|
2957
|
+
* ordinary Term repo position (repo tokens / collateralized debt).
|
|
2958
|
+
*
|
|
2959
|
+
* Discovery is an open, unauthenticated REST store. Enforcement is on-chain,
|
|
2960
|
+
* so a stale store can only under-report — never mis-settle. See
|
|
2961
|
+
* TERM_TERMINAL1.md for the full surface.
|
|
2962
|
+
*
|
|
2963
|
+
* Side semantics (taker/our-user perspective):
|
|
2964
|
+
* - a maker LEND order = fill-now BORROW liquidity (taker borrows at its rate)
|
|
2965
|
+
* - a maker BORROW order = fill-now LEND liquidity (taker lends at its rate)
|
|
2966
|
+
*/
|
|
2967
|
+
declare const DEFAULT_TERM_ORDER_STORE = "https://api.global.termfinance.io/protocol";
|
|
2968
|
+
/** Order-store base for a chain: override → config → public hosted store. */
|
|
2969
|
+
declare function termOrderStoreBaseUrl(chainId: string): string;
|
|
2970
|
+
/** One order as served by `GET {base}/orders?chainId=` (fields we consume). */
|
|
2971
|
+
interface TermStoreOrder {
|
|
2972
|
+
id: string;
|
|
2973
|
+
orderKind: 'lend' | 'borrow';
|
|
2974
|
+
chainId: number;
|
|
2975
|
+
/** THE market join key — the repo's TermRepoServicer (NOT termRepoId). */
|
|
2976
|
+
repoServicer: string;
|
|
2977
|
+
/** Order size, purchase-token base units (raw string). */
|
|
2978
|
+
purchaseTokenAmount: string;
|
|
2979
|
+
/**
|
|
2980
|
+
* Fixed rate, 1e18-scaled FRACTION annualized on Term's 360-day year — the
|
|
2981
|
+
* same convention as auction clearing prices (`termOfferRateToAprPct`).
|
|
2982
|
+
*/
|
|
2983
|
+
offerRate: string;
|
|
2984
|
+
maker: string;
|
|
2985
|
+
/** Pinned counterparty; zero address = anyone may fill. */
|
|
2986
|
+
taker: string;
|
|
2987
|
+
/** Unix seconds (stringified uint256; max-uint = good-til-cancelled). */
|
|
2988
|
+
expiry: string;
|
|
2989
|
+
salt: string;
|
|
2990
|
+
sigType: number;
|
|
2991
|
+
sigData: string;
|
|
2992
|
+
isPreSigned: boolean;
|
|
2993
|
+
orderState: string;
|
|
2994
|
+
/** Unfilled remainder, purchase-token base units (raw string). */
|
|
2995
|
+
remainingAmount: string;
|
|
2996
|
+
filledAmount: string;
|
|
2997
|
+
/** Maker's live spendable balance (lend orders; raw string). */
|
|
2998
|
+
cachedAvailableBalance?: string;
|
|
2999
|
+
hasSufficientApproval?: boolean;
|
|
3000
|
+
/** True for auto-quoted Blue Sheets VAULT liquidity (not a human maker). */
|
|
3001
|
+
isSynthetic?: boolean;
|
|
3002
|
+
/** Fee the order charges the taker (raw string; semantics per order kind). */
|
|
3003
|
+
borrowFee?: string;
|
|
3004
|
+
feeRecipient?: string;
|
|
3005
|
+
repoToken?: string;
|
|
2860
3006
|
}
|
|
3007
|
+
/**
|
|
3008
|
+
* A maker order is fillable by an arbitrary taker when it is live, open to
|
|
3009
|
+
* anyone, and (for lend orders) actually funded. The store pre-computes the
|
|
3010
|
+
* funding checks (`cachedAvailableBalance` / `hasSufficientApproval`); trust
|
|
3011
|
+
* them for DISPLAY — actions re-validate on-chain at settle time anyway.
|
|
3012
|
+
*/
|
|
3013
|
+
declare function fillableRemaining(order: TermStoreOrder, nowSec: number): bigint;
|
|
3014
|
+
/**
|
|
3015
|
+
* Fetch the full order store for a chain (ONE request) and group orders by
|
|
3016
|
+
* `repoServicer` (lowercased). Returns null on transport failure so callers
|
|
3017
|
+
* can distinguish "store down" from "no orders".
|
|
3018
|
+
*
|
|
3019
|
+
* `filter` (default `'fillable'`) keeps only orders an ARBITRARY taker can
|
|
3020
|
+
* fill right now — the book/rate view. `'all'` keeps taker-pinned, unfunded
|
|
3021
|
+
* and exhausted rows too: the view a MAKER needs of their own orders.
|
|
3022
|
+
*/
|
|
3023
|
+
declare function fetchTermStoreOrders(chainId: string, fetchImpl?: typeof fetch, filter?: 'fillable' | 'all'): Promise<Map<string, TermStoreOrder[]> | null>;
|
|
3024
|
+
/**
|
|
3025
|
+
* Reduce one repo's store orders to the fill-now summary consumed by the
|
|
3026
|
+
* converter: best-executable APR per side + depth + best-first levels.
|
|
3027
|
+
*/
|
|
3028
|
+
declare function toTermFillNow(orders: TermStoreOrder[] | undefined, loanDecimals: number, nowSec?: number): TermFillNow | null;
|
|
2861
3029
|
|
|
2862
3030
|
/**
|
|
2863
3031
|
* Fetch the current top-of-book + a bounded book chunk for every configured
|
|
@@ -2870,7 +3038,7 @@ interface TermMarketRaw {
|
|
|
2870
3038
|
* null when the fetch failed and no recent snapshot is cached, and when no data
|
|
2871
3039
|
* endpoint is configured (rates fall back to 0).
|
|
2872
3040
|
*/
|
|
2873
|
-
declare function fetchTermMarkets(chainId: string, source?: TermBookSource): Promise<TermMarketRaw[]>;
|
|
3041
|
+
declare function fetchTermMarkets(chainId: string, source?: TermBookSource, fetchOrders?: (chainId: string) => Promise<Map<string, TermStoreOrder[]> | null>): Promise<TermMarketRaw[]>;
|
|
2874
3042
|
|
|
2875
3043
|
/** Synthesized per-market lender key, e.g. `TERM_FINANCE_<TERM_REPO_ID_HEX_UPPER>`. */
|
|
2876
3044
|
declare function termLenderKey(termRepoId: string): string;
|
|
@@ -2889,6 +3057,8 @@ declare function convertTermMarketsToResponse(raw: TermMarketRaw[], chainId: str
|
|
|
2889
3057
|
};
|
|
2890
3058
|
|
|
2891
3059
|
type FetchLike$1 = typeof fetch;
|
|
3060
|
+
/** Resolve a chain's Term subgraph URL (override/config → per-chain default → ''). */
|
|
3061
|
+
declare function termApiBaseUrl(chainId: string): string;
|
|
2892
3062
|
/**
|
|
2893
3063
|
* GraphQL subgraph source. `getBookTop` derives the fixed APR from the repo's
|
|
2894
3064
|
* latest completed auction clearing price and open-order depth; `getListings`
|
|
@@ -2934,6 +3104,15 @@ declare class TermSubgraphSource implements TermBookSource {
|
|
|
2934
3104
|
/** Default Term public-data source for a chain (subgraph via resolved URL). */
|
|
2935
3105
|
declare function createTermBookSource(chainId: string, fetchImpl?: FetchLike$1): TermBookSource;
|
|
2936
3106
|
|
|
3107
|
+
/**
|
|
3108
|
+
* Convert a Terminal 1 order `offerRate` (1e18-scaled fraction, annualized on
|
|
3109
|
+
* Term's 360-day year) into the display APR percent. Deliberately the SAME
|
|
3110
|
+
* treatment as auction clearing prices (`rate / WAD * 100`, no 365/360
|
|
3111
|
+
* adjustment) so fill-now and auction rates on one row stay comparable —
|
|
3112
|
+
* both carry Term's own day-count convention.
|
|
3113
|
+
*/
|
|
3114
|
+
declare function termOfferRateToAprPct(offerRate: string | undefined): number;
|
|
3115
|
+
|
|
2937
3116
|
/**
|
|
2938
3117
|
* Decoded shapes of the Exactly `Previewer.exactly(account)` aggregate view.
|
|
2939
3118
|
* Field names/order mirror the on-chain struct (verified IDENTICAL on Optimism
|
|
@@ -4779,7 +4958,9 @@ declare function getCachedTermMaxMarkets(chainId: string | number): TermMaxMarke
|
|
|
4779
4958
|
* from upstream entirely rather than lingering with a flag, and ~15% of the
|
|
4780
4959
|
* book can roll on a single maturity date.
|
|
4781
4960
|
*/
|
|
4782
|
-
declare function fetchTermMaxMarkets(chainId: string, source?: TermMaxDataSource
|
|
4961
|
+
declare function fetchTermMaxMarkets(chainId: string, source?: TermMaxDataSource, options?: {
|
|
4962
|
+
includeMatured?: boolean;
|
|
4963
|
+
}): Promise<TermMaxMarketRaw[]>;
|
|
4783
4964
|
|
|
4784
4965
|
/**
|
|
4785
4966
|
* Map fetched TermMax markets into the shared `MorphoGeneralPublicResponse`
|
|
@@ -4929,11 +5110,20 @@ declare function parseTermMaxLtv(v: string | number | bigint | undefined): numbe
|
|
|
4929
5110
|
* from LTVs + oracle prices in `createMultiAccountTypeUserState`, exactly as
|
|
4930
5111
|
* Midnight does. That keeps this to one call.
|
|
4931
5112
|
*/
|
|
4932
|
-
/**
|
|
4933
|
-
|
|
5113
|
+
/**
|
|
5114
|
+
* Markets per `getPositionDetails` call.
|
|
5115
|
+
*
|
|
5116
|
+
* Measured against the live Ethereum viewer: 200 markets answer cleanly (44.9 KB
|
|
5117
|
+
* of return data), 706 in one array REVERTS on gas. Matured markets are not the
|
|
5118
|
+
* problem — a market matured 2025-04-02 reads fine on its own — the ARRAY SIZE is.
|
|
5119
|
+
* 180 leaves headroom under the observed ceiling.
|
|
5120
|
+
*/
|
|
5121
|
+
declare const TERMMAX_MARKETS_PER_CALL = 180;
|
|
4934
5122
|
interface TermMaxDiscovery {
|
|
4935
5123
|
/** Markets passed to the viewer, IN ORDER — the parser slices results by index. */
|
|
4936
5124
|
markets: TermMaxMarketConfig[];
|
|
5125
|
+
/** How many `getPositionDetails` calls the roster was split across. */
|
|
5126
|
+
chunks: number;
|
|
4937
5127
|
at: number;
|
|
4938
5128
|
}
|
|
4939
5129
|
/**
|
|
@@ -6109,20 +6299,35 @@ interface SiloVault extends VaultClassificationFields {
|
|
|
6109
6299
|
/** Raw `convertToAssets(10**shareDecimals)` — 1 share → X underlying,
|
|
6110
6300
|
* asset-scaled. Derived from `totalAssets / totalSupply`. */
|
|
6111
6301
|
convertToAssets: string;
|
|
6112
|
-
/**
|
|
6113
|
-
*
|
|
6302
|
+
/** BASE supply APR in percent, net of the performance fee (Silo's
|
|
6303
|
+
* `userApr`). Interest only — incentives are a separate leg, see
|
|
6304
|
+
* `rewardsRate`. Verified live across the whole book:
|
|
6305
|
+
* `userApr === apr × (1 − performanceFee)` on 16/16 vaults, so this field
|
|
6306
|
+
* carries no rewards. (It was documented as rewards-inclusive for months;
|
|
6307
|
+
* it never was.) */
|
|
6114
6308
|
supplyRate: number;
|
|
6115
6309
|
/** Gross pre-fee APR in percent (mirrors Silo's `apr`). Present for
|
|
6116
6310
|
* vaults with a non-zero performance fee where `supplyRate < grossRate`. */
|
|
6117
6311
|
grossRate: number;
|
|
6118
|
-
/**
|
|
6119
|
-
*
|
|
6312
|
+
/** Incentive APR in percent — the sum over `rewards` of every LIVE program
|
|
6313
|
+
* whose reward token we could price. `0` means either no live campaign or
|
|
6314
|
+
* none we could value; `rewardsIncomplete` distinguishes the two. */
|
|
6120
6315
|
rewardsRate: number;
|
|
6121
6316
|
/** Sum of `supplyRate + rewardsRate` — what a depositor actually earns. */
|
|
6122
6317
|
depositRate: number;
|
|
6318
|
+
/** Live incentive programs paying this vault's depositors, with
|
|
6319
|
+
* provenance. Absent when none are running. */
|
|
6320
|
+
rewards?: SiloVaultReward[];
|
|
6321
|
+
/** `true` when at least one live program could NOT be priced, so
|
|
6322
|
+
* `rewardsRate` is a FLOOR rather than the whole incentive yield. Absent
|
|
6323
|
+
* when every live program was valued (including when there are none). */
|
|
6324
|
+
rewardsIncomplete?: boolean;
|
|
6123
6325
|
/** Performance fee in percent (e.g. `15.0` = 15 %). */
|
|
6124
6326
|
fee: number;
|
|
6125
|
-
/** Timelock for vault
|
|
6327
|
+
/** Timelock for vault CONFIG changes, in seconds — a depositor's notice
|
|
6328
|
+
* period before the curator can change the deal. This is NOT a withdrawal
|
|
6329
|
+
* cooldown: Silo vaults are plain ERC-4626 and a holder's own exit is
|
|
6330
|
+
* never delayed by it. Do not sum or merge the two. */
|
|
6126
6331
|
timelock: number;
|
|
6127
6332
|
/** Owner address, lowercased. */
|
|
6128
6333
|
owner?: string;
|
|
@@ -6130,12 +6335,17 @@ interface SiloVault extends VaultClassificationFields {
|
|
|
6130
6335
|
curator?: string;
|
|
6131
6336
|
/** Guardian address, lowercased — may be absent if not set. */
|
|
6132
6337
|
guardian?: string;
|
|
6338
|
+
/** Allocator addresses, lowercased. An allocator reallocates the vault
|
|
6339
|
+
* between silos WITHOUT the timelock, so this is the curation power that
|
|
6340
|
+
* can change a depositor's exposure in the next block. Absent when none
|
|
6341
|
+
* are set. */
|
|
6342
|
+
allocators?: string[];
|
|
6133
6343
|
/** Fee recipient, lowercased — may be absent. */
|
|
6134
6344
|
feeRecipient?: string;
|
|
6135
|
-
/** Human-readable curator label for UI
|
|
6136
|
-
*
|
|
6137
|
-
*
|
|
6138
|
-
* `
|
|
6345
|
+
/** Human-readable curator label for UI, derived from the vault's own name
|
|
6346
|
+
* (`curatorNameFromVaultName`) — the Silo indexer exposes only
|
|
6347
|
+
* `curatorId`, an address. Undefined when the name carries no curator
|
|
6348
|
+
* prefix, in which case `displayName` falls back to `Silo <symbol>`. */
|
|
6139
6349
|
curatorName?: string;
|
|
6140
6350
|
/** Hydrated asset metadata from the provided token list, if any. */
|
|
6141
6351
|
asset?: GenericCurrency;
|
|
@@ -6146,21 +6356,79 @@ interface SiloVault extends VaultClassificationFields {
|
|
|
6146
6356
|
/** Human-formatted total assets in USD (authoritative value from the
|
|
6147
6357
|
* indexer when present). */
|
|
6148
6358
|
totalAssetsUsd: number;
|
|
6149
|
-
/** Currently withdrawable underlying, raw integer as string
|
|
6150
|
-
*
|
|
6151
|
-
*
|
|
6152
|
-
* cap. Kept for cross-vault field parity. */
|
|
6359
|
+
/** Currently withdrawable underlying, raw integer as string — reconstructed
|
|
6360
|
+
* as `idle + Σ min(allocation, market.liquidity)` across the vault's silos
|
|
6361
|
+
* and clamped to `totalAssets`. */
|
|
6153
6362
|
liquidity: string;
|
|
6154
6363
|
/** Human-formatted immediate withdrawable liquidity. */
|
|
6155
6364
|
liquidityFormatted: number;
|
|
6156
6365
|
/** Human-formatted immediate withdrawable liquidity in USD. */
|
|
6157
6366
|
liquidityUsd: number;
|
|
6367
|
+
/** Set to `'instant-capped'` ONLY when no allocation row resolved, so
|
|
6368
|
+
* `liquidity` fell back to `totalAssets` and does not prove a same-block
|
|
6369
|
+
* exit. Left undefined on a proven figure, where the term-sheet builder
|
|
6370
|
+
* decides `instant` vs `instant-capped` from the liquidity itself. */
|
|
6371
|
+
withdrawalMode?: 'instant' | 'instant-capped';
|
|
6372
|
+
/** The vault's assets that are currently lent out, raw integer as string —
|
|
6373
|
+
* the allocation-weighted `Σ allocation × marketUtilization`, with idle
|
|
6374
|
+
* counted at zero. Paired with `expectedLiquidity` as the utilization
|
|
6375
|
+
* numerator/denominator. Absent when no allocation resolved.
|
|
6376
|
+
*
|
|
6377
|
+
* Distinct from `liquidity` on purpose: liquidity is capped per market at
|
|
6378
|
+
* that market's cash, utilization is pro-rata. A small position in a deep,
|
|
6379
|
+
* heavily-borrowed market is fully withdrawable AND almost fully lent. */
|
|
6380
|
+
totalBorrowed?: string;
|
|
6381
|
+
/** Utilization denominator — the vault's total assets, raw integer as
|
|
6382
|
+
* string. Absent when `totalBorrowed` is. */
|
|
6383
|
+
expectedLiquidity?: string;
|
|
6158
6384
|
/** Per-silo allocation breakdown — which Silo markets the vault lends
|
|
6159
6385
|
* into and how much, ordered by weight descending. Collateral is the
|
|
6160
6386
|
* market's paired (`otherMarket`) input token. Undefined when the
|
|
6161
6387
|
* indexer returns no allocation rows. */
|
|
6162
6388
|
exposures?: VaultMarketExposure[];
|
|
6163
6389
|
}
|
|
6390
|
+
/**
|
|
6391
|
+
* One live incentive program paying a Silo vault's depositors, with enough
|
|
6392
|
+
* provenance to say what is being paid, in what, and until when.
|
|
6393
|
+
*
|
|
6394
|
+
* Sourced from the indexer's `incentivesPrograms` root, joined on
|
|
6395
|
+
* `shareTokenId === vault.address`. Only programs that are still emitting
|
|
6396
|
+
* (`emissionPerSecond > 0` and `distributionEnd` in the future) are carried —
|
|
6397
|
+
* an expired campaign is not a yield.
|
|
6398
|
+
*/
|
|
6399
|
+
interface SiloVaultReward {
|
|
6400
|
+
/** Indexer program id, e.g. `<controller>-ARB_soETH`. */
|
|
6401
|
+
programId: string;
|
|
6402
|
+
/** Program label from the indexer. Often just the reward token address. */
|
|
6403
|
+
name?: string;
|
|
6404
|
+
/** Reward token address, lowercased. */
|
|
6405
|
+
tokenAddress: string;
|
|
6406
|
+
tokenSymbol?: string;
|
|
6407
|
+
tokenDecimals: number;
|
|
6408
|
+
/** Raw reward-token wei emitted per second, as a string. */
|
|
6409
|
+
emissionPerSecond: string;
|
|
6410
|
+
/** Unix seconds at which emission stops. */
|
|
6411
|
+
endsAt: number;
|
|
6412
|
+
/**
|
|
6413
|
+
* This program's APR in percent, computed as
|
|
6414
|
+
* `emissionPerSecond × secondsPerYear × tokenPrice / vaultTvlUsd`.
|
|
6415
|
+
* Absent when the reward token has no price in the supplied map — the
|
|
6416
|
+
* program is real and is reported, but its value is unknown and it is NOT
|
|
6417
|
+
* counted into `SiloVault.rewardsRate`.
|
|
6418
|
+
*/
|
|
6419
|
+
apr?: number;
|
|
6420
|
+
/**
|
|
6421
|
+
* The indexer's own `apr` field, carried VERBATIM and deliberately unused.
|
|
6422
|
+
*
|
|
6423
|
+
* Its unit is unverified: every program in the Silo book is currently
|
|
6424
|
+
* expired or emitting zero, so there is no live figure to reconcile
|
|
6425
|
+
* against, and the two plausible readings — percent (like `vault.apr`) or
|
|
6426
|
+
* fraction (like `market.utilization`) — differ by 100×. Reconcile this
|
|
6427
|
+
* against `apr` on the first live program and then delete the field.
|
|
6428
|
+
* Never render it or sum it.
|
|
6429
|
+
*/
|
|
6430
|
+
indexerApr?: number;
|
|
6431
|
+
}
|
|
6164
6432
|
/** Full parsed payload: per-vault-address map. */
|
|
6165
6433
|
type SiloVaults = {
|
|
6166
6434
|
/** Keyed by lowercased vault address. */
|
|
@@ -7598,7 +7866,10 @@ interface PositionConstraints {
|
|
|
7598
7866
|
};
|
|
7599
7867
|
}
|
|
7600
7868
|
type AdminKind = Open<'EOA' | 'SAFE' | 'TIMELOCK' | 'GOVERNOR' | 'GOVERNANCE' | 'CUSTOM' | 'UNKNOWN'>;
|
|
7601
|
-
type GovernancePower = Open<'pause-deposits' | 'pause-withdrawals' | 'pause-borrows' | 'freeze-market' | 'change-ltv' | 'change-rate' | 'change-fees' | 'set-caps' | 'add-collateral' | 'swap-oracle' | 'upgrade-implementation' | 'blacklist' | 'seize-funds' | 'reprice-pending-redemptions'
|
|
7869
|
+
type GovernancePower = Open<'pause-deposits' | 'pause-withdrawals' | 'pause-borrows' | 'freeze-market' | 'change-ltv' | 'change-rate' | 'change-fees' | 'set-caps' | 'add-collateral' | 'swap-oracle' | 'upgrade-implementation' | 'blacklist' | 'seize-funds' | 'reprice-pending-redemptions'
|
|
7870
|
+
/** Move funds between already-approved markets — on curated vaults this is
|
|
7871
|
+
* an allocator power and is NOT gated by the config timelock. */
|
|
7872
|
+
| 'reallocate'>;
|
|
7602
7873
|
interface GovernanceTerms {
|
|
7603
7874
|
mutability: Open<'immutable' | 'governed' | 'unknown'>;
|
|
7604
7875
|
/** The governance root, after hopping proxy admins / timelock admins. */
|
|
@@ -7635,6 +7906,18 @@ interface GovernanceTerms {
|
|
|
7635
7906
|
curator?: string;
|
|
7636
7907
|
guardian?: string;
|
|
7637
7908
|
feeRecipient?: string;
|
|
7909
|
+
/**
|
|
7910
|
+
* Addresses that can REALLOCATE a curated vault between its markets.
|
|
7911
|
+
*
|
|
7912
|
+
* Load-bearing next to `timelockSecs`, and the reason the two must be
|
|
7913
|
+
* read together: on the MetaMorpho shape a timelock gates adding a market
|
|
7914
|
+
* or raising a cap, but moving money BETWEEN already-approved markets is
|
|
7915
|
+
* an allocator call that lands in the next block. So a vault can publish
|
|
7916
|
+
* a 24-hour notice period and still change what a depositor is exposed to
|
|
7917
|
+
* with no notice at all. A sheet showing the timelock alone overstates
|
|
7918
|
+
* how much warning the holder gets.
|
|
7919
|
+
*/
|
|
7920
|
+
allocators?: string[];
|
|
7638
7921
|
};
|
|
7639
7922
|
/** Governance screens refresh far slower than rates — own timestamp. */
|
|
7640
7923
|
asOfScreen?: number;
|
|
@@ -12539,6 +12822,10 @@ interface VaultTermInput {
|
|
|
12539
12822
|
/** Unix seconds. */
|
|
12540
12823
|
expiry?: number;
|
|
12541
12824
|
timelock?: number;
|
|
12825
|
+
/** Addresses that can REALLOCATE the vault between markets, typically with
|
|
12826
|
+
* no timelock — the curation power that moves a depositor's exposure
|
|
12827
|
+
* between blocks. */
|
|
12828
|
+
allocators?: string[];
|
|
12542
12829
|
owner?: string;
|
|
12543
12830
|
curator?: string;
|
|
12544
12831
|
guardian?: string;
|
|
@@ -13215,6 +13502,33 @@ declare function isIlliquid(input: {
|
|
|
13215
13502
|
tvlUsd?: number;
|
|
13216
13503
|
liquidityUsd?: number;
|
|
13217
13504
|
}): boolean;
|
|
13505
|
+
/**
|
|
13506
|
+
* Can at least `minUsd` actually leave this row, on ANY route?
|
|
13507
|
+
*
|
|
13508
|
+
* The predicate behind `?minLiquidityUsd=`. Its scalar predecessor
|
|
13509
|
+
* (`liquidity.usd >= X`) was 99 % false positive by dollar weight: it dropped
|
|
13510
|
+
* $31.4B of chain-1 TVL of which $31.4B had a working uncapped exit — every
|
|
13511
|
+
* large LST and cooldown vault — while the genuinely stuck rows it exists to
|
|
13512
|
+
* catch totaled ~$300M. Measured by `test/earn/liquidityFilterAudit.ts`,
|
|
13513
|
+
* which pins this predicate against the live catalogue.
|
|
13514
|
+
*
|
|
13515
|
+
* Three rules:
|
|
13516
|
+
*
|
|
13517
|
+
* - **A closed exit fails at any size.** `canWithdraw: false` means no route
|
|
13518
|
+
* is open, whatever the mode says.
|
|
13519
|
+
* - **An uncapped route passes at any size.** The buffer is a latency fact
|
|
13520
|
+
* on these rows, not a capacity fact.
|
|
13521
|
+
* - **On capped routes the buffer IS the capacity** — same-block redemption
|
|
13522
|
+
* (`instant`, `instant-capped`) and market exits (`market-sale`,
|
|
13523
|
+
* `dex-only`, where `liquidity` is book depth) compare it against the
|
|
13524
|
+
* floor. Unreported liquidity is kept, not dropped: the TVL floor's
|
|
13525
|
+
* "unknown is not worthless" rule, which `isIlliquid` already follows.
|
|
13526
|
+
*/
|
|
13527
|
+
declare function meetsLiquidityFloor(input: {
|
|
13528
|
+
exitMode?: string;
|
|
13529
|
+
canWithdraw?: boolean;
|
|
13530
|
+
liquidityUsd?: number;
|
|
13531
|
+
}, minUsd: number): boolean;
|
|
13218
13532
|
interface EarnProtocolAndCurator {
|
|
13219
13533
|
protocol: {
|
|
13220
13534
|
key: string;
|
|
@@ -13997,4 +14311,4 @@ declare const fetchFluidDexState: (chainId: string, multicallRetry: MulticallRet
|
|
|
13997
14311
|
/** Synchronous read of whatever `fetchFluidDexState` last cached for a chain. */
|
|
13998
14312
|
declare const getCachedFluidDexState: (chainId: string) => FluidDexStateMap | undefined;
|
|
13999
14313
|
|
|
14000
|
-
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 BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, type DeepPartial, type Denomination, type DepthMap, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCurator, type EarnExclusions, type EarnExit, type 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 EarnShareToken, type EarnSourceStatus, type EarnVaultNormalizeOptions, type EarnVaultPosition, type EarnVenueKind, type EarnVocabulary, 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, 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 FlattenPriorityConfig, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type 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, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type 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 DssPositionInfo as UsddPositionInfo, type UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, 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, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, filterActiveLenders, 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, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isIlliquid, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isSecondaryMarketOnly, isStablecoinSymbol, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, parseBalanceFetcherResult, parseEarnUid, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, ratePercent, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, resolveAdapter, resolveDerivation, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, supplyDescription, supplyFindings, supplyHeadline, swapRoutedProvidersArePriceConsistent, 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, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, withMaturityLabel, withTrancheLabel };
|
|
14314
|
+
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 BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, type DeepPartial, type Denomination, type DepthMap, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCurator, type EarnExclusions, type EarnExit, type 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 EarnShareToken, type EarnSourceStatus, type EarnVaultNormalizeOptions, type EarnVaultPosition, type EarnVenueKind, type EarnVocabulary, 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, 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 FlattenPriorityConfig, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type 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, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitTerms, type SupplyTermSheet, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, 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, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, 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, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isIlliquid, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isSecondaryMarketOnly, isStablecoinSymbol, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseEarnUid, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, ratePercent, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, resolveAdapter, resolveDerivation, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, supplyDescription, supplyFindings, supplyHeadline, swapRoutedProvidersArePriceConsistent, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, withMaturityLabel, withTrancheLabel };
|