@1delta/margin-fetcher 5.0.135 → 5.0.136
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 +310 -22
- package/dist/index.js +485 -109
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -658,7 +658,7 @@ interface FixedTermAuction {
|
|
|
658
658
|
*/
|
|
659
659
|
interface FixedTermInfo {
|
|
660
660
|
/** Underlying fixed-term protocol shape. */
|
|
661
|
-
model: 'lista' | 'midnight' | 'term' | 'exactly' | 'teller' | 'termmax' | 'loopscale';
|
|
661
|
+
model: 'lista' | 'midnight' | 'term' | 'exactly' | 'teller' | 'termmax' | 'loopscale' | 'jupiter-offerbook';
|
|
662
662
|
/**
|
|
663
663
|
* Single fixed calendar maturity (unix secs). Undefined for rolling-duration
|
|
664
664
|
* menus (Lista) and multi-maturity markets (Exactly — the maturity menu lives
|
|
@@ -731,7 +731,7 @@ interface FixedTermFillNow {
|
|
|
731
731
|
* Named for Lista (the first producer) but SHARED by every fixed-term lender
|
|
732
732
|
* that emits per-loan rows — Lista, Exactly, TermMax, Teller. Fields are
|
|
733
733
|
* therefore mostly optional and several are lender-specific; see
|
|
734
|
-
* [FIXED_TERM_REPAY_TERMS.md](../../../../FIXED_TERM_REPAY_TERMS.md) for which
|
|
734
|
+
* [FIXED_TERM_REPAY_TERMS.md](../../../../docs/terms/FIXED_TERM_REPAY_TERMS.md) for which
|
|
735
735
|
* lender populates what and for the exact repay economics behind each number.
|
|
736
736
|
*
|
|
737
737
|
* `loanId` is the WRITE TARGET and its meaning differs per lender (Lista posId /
|
|
@@ -4027,18 +4027,23 @@ declare const FLYING_TULIP_LENDER_KEY = "FLYING_TULIP";
|
|
|
4027
4027
|
* under the SINGLE cross-margin {@link FLYING_TULIP_LENDER_KEY} — one entry
|
|
4028
4028
|
* per ASSET.
|
|
4029
4029
|
*
|
|
4030
|
-
* Risk factors (FLYING_TULIP.md §2.1): `maint` charges mmBps on BOTH legs
|
|
4031
|
-
*
|
|
4032
|
-
*
|
|
4033
|
-
*
|
|
4034
|
-
* `
|
|
4035
|
-
*
|
|
4036
|
-
*
|
|
4037
|
-
* ~0.35 pp on stables — deliberate: quotes never revert, warnings come early.
|
|
4030
|
+
* Risk factors (FLYING_TULIP.md §2.1): `maint` charges mmBps on BOTH legs
|
|
4031
|
+
* (`HF = equity / Σ legs × mm`), so solving `C − D ≥ hf·(C·mm_c + D·mm_d)`
|
|
4032
|
+
* gives `C·(1 − hf·mm_c) ≥ D·(1 + hf·mm_d)`. In the package convention
|
|
4033
|
+
* (`Σ coll × bcf ≥ Σ debt × borrowFactor`, pair LTV `bcf_i / borrowFactor_j`,
|
|
4034
|
+
* the same as Exactly's `1 / adjustFactor`) the debt weight is therefore
|
|
4035
|
+
* `1 + hf·mm`, NOT its reciprocal. The open gate uses `hfSafe` (1.50), the
|
|
4036
|
+
* liquidation trigger `hfTgt` (1.25):
|
|
4038
4037
|
*
|
|
4039
|
-
* borrowCollateralFactor_i
|
|
4040
|
-
* collateralFactor_i
|
|
4041
|
-
* borrowFactor_j
|
|
4038
|
+
* borrowCollateralFactor_i = 1 − hfSafe·mm_i (open)
|
|
4039
|
+
* collateralFactor_i = 1 − hfTgt ·mm_i (liquidation)
|
|
4040
|
+
* borrowFactor_j = 1 + hfSafe·mm_j (open)
|
|
4041
|
+
* liquidationBorrowFactor_j = 1 + hfTgt ·mm_j (liquidation)
|
|
4042
|
+
*
|
|
4043
|
+
* An earlier build emitted `borrowFactor = 1 / (1 + hfSafe·mm)` (written for a
|
|
4044
|
+
* `bcf × bf` LTV). Divided, the two mm terms cancel to first order: stable
|
|
4045
|
+
* pairs (mm 1.5 %) read LTV 0.9995 → ~1975× max leverage and four-digit loop
|
|
4046
|
+
* APRs instead of the protocol's 22.7×.
|
|
4042
4047
|
*
|
|
4043
4048
|
* `depositRate = variableBorrowRate × utilization`, with NO reserve factor.
|
|
4044
4049
|
*
|
|
@@ -4074,6 +4079,134 @@ declare function convertFlyingTulipMarketsToResponse(raw: FlyingTulipMarketsRaw,
|
|
|
4074
4079
|
[m: string]: MorphoGeneralPublicResponse;
|
|
4075
4080
|
};
|
|
4076
4081
|
|
|
4082
|
+
/**
|
|
4083
|
+
* The redemption queue of a USER-SET-RATE lender (the Liquity V2 family,
|
|
4084
|
+
* Flex), published in the order-book level shape.
|
|
4085
|
+
*
|
|
4086
|
+
* On these markets the borrower picks the rate, and redemptions take the
|
|
4087
|
+
* lowest rates first. So the number that decides whether a rate is any good
|
|
4088
|
+
* is how much debt sits AHEAD of it — the debt that is redeemed before a
|
|
4089
|
+
* trove at that rate is touched. The queue answers exactly that.
|
|
4090
|
+
*
|
|
4091
|
+
* Levels reuse {@link PublicBookLevel} (`{ apr, units, assets }`), the shape
|
|
4092
|
+
* Midnight / Term / Jupiter Offerbook rows already carry, but they MEAN
|
|
4093
|
+
* something else: a level is EXISTING debt at that rate, not a lot anyone can
|
|
4094
|
+
* take. That is why the queue lives under its own key
|
|
4095
|
+
* (`params.market.{liquity,flex}.queue`) and never under `params.market.book`
|
|
4096
|
+
* — yield-tracer ingests `book.bids` as a fillable borrow ladder and would
|
|
4097
|
+
* serve trove rates as a borrow price. On `/v1/data/lending/book` it is
|
|
4098
|
+
* `pricing: 'queue'`.
|
|
4099
|
+
*
|
|
4100
|
+
* Every rate here is a nominal APR in PERCENT, like every other rate field.
|
|
4101
|
+
* See docs/terms/USER_SET_RATE_PLAN.md.
|
|
4102
|
+
*/
|
|
4103
|
+
type RatePickId = 'cheapest' | 'balanced' | 'protected';
|
|
4104
|
+
/**
|
|
4105
|
+
* The pickable rates: the lowest rate with at least `share` of the market's
|
|
4106
|
+
* debt ahead of it. ONE constant, so a policy change moves every family.
|
|
4107
|
+
*/
|
|
4108
|
+
declare const USER_SET_RATE_PICKS: readonly {
|
|
4109
|
+
id: RatePickId;
|
|
4110
|
+
share: number;
|
|
4111
|
+
}[];
|
|
4112
|
+
/** Display cap on the published levels (the order-book slice uses the same order of magnitude). */
|
|
4113
|
+
declare const RATE_QUEUE_MAX_LEVELS = 24;
|
|
4114
|
+
/** Picks land on this grid, percent APR (1 bp). */
|
|
4115
|
+
declare const RATE_QUEUE_STEP = 0.01;
|
|
4116
|
+
interface RatePick {
|
|
4117
|
+
id: RatePickId;
|
|
4118
|
+
/** Percent APR, on the {@link RATE_QUEUE_STEP} grid, within `[min, max]`. */
|
|
4119
|
+
apr: number;
|
|
4120
|
+
/** Debt redeemed before a trove at `apr`, borrow-token units (human). */
|
|
4121
|
+
debtAhead: number;
|
|
4122
|
+
/** `debtAhead / totalDebt` (0 on an empty market). */
|
|
4123
|
+
share: number;
|
|
4124
|
+
/**
|
|
4125
|
+
* Upfront fee at this rate, percent of the borrowed amount. Both families
|
|
4126
|
+
* charge the market AVERAGE over a fixed period, so it barely depends on the
|
|
4127
|
+
* pick — but it is per pick so a family where it does can say so.
|
|
4128
|
+
*/
|
|
4129
|
+
upfrontFeePct: number;
|
|
4130
|
+
}
|
|
4131
|
+
type RedemptionDriver = 'below-peg' | 'lender-liquidity';
|
|
4132
|
+
type RedemptionPressure = 'low' | 'elevated' | 'high';
|
|
4133
|
+
interface RateQueue {
|
|
4134
|
+
/**
|
|
4135
|
+
* Existing debt by rate, ASCENDING (lowest = redeemed first), compressed to
|
|
4136
|
+
* at most {@link RATE_QUEUE_MAX_LEVELS}. A compressed level's `apr` is the
|
|
4137
|
+
* HIGHEST rate it holds, so "debt at or below `apr`" stays exact at every
|
|
4138
|
+
* level boundary.
|
|
4139
|
+
*/
|
|
4140
|
+
levels: PublicBookLevel[];
|
|
4141
|
+
/** Sum of every level, borrow-token units (human). */
|
|
4142
|
+
totalDebt: number;
|
|
4143
|
+
/** Allowed range, percent APR. */
|
|
4144
|
+
min: number;
|
|
4145
|
+
max: number;
|
|
4146
|
+
/** Empty when the market cannot be opened (a shut-down Liquity branch). */
|
|
4147
|
+
picks: RatePick[];
|
|
4148
|
+
/** The pick a ranked list prices this market at; absent with no picks. */
|
|
4149
|
+
recommended?: RatePickId;
|
|
4150
|
+
/** What triggers redemptions here — decides the copy and the recommendation. */
|
|
4151
|
+
pressure: {
|
|
4152
|
+
driver: RedemptionDriver;
|
|
4153
|
+
/** Liquity: the stable's USD price. Flex: the Lender's utilization (0..1). */
|
|
4154
|
+
signal: number | null;
|
|
4155
|
+
level: RedemptionPressure;
|
|
4156
|
+
};
|
|
4157
|
+
/** False when the distribution read stopped early (paging cap): levels are a floor. */
|
|
4158
|
+
complete: boolean;
|
|
4159
|
+
}
|
|
4160
|
+
/** One distribution entry: a trove (or a batch) at one rate. */
|
|
4161
|
+
interface RateQueueEntry {
|
|
4162
|
+
/** Percent APR. */
|
|
4163
|
+
rate: number;
|
|
4164
|
+
/** Raw debt, borrow-token base units. */
|
|
4165
|
+
debtRaw: bigint;
|
|
4166
|
+
}
|
|
4167
|
+
interface BuildRateQueueInput {
|
|
4168
|
+
entries: RateQueueEntry[];
|
|
4169
|
+
decimals: number;
|
|
4170
|
+
/** Percent APR bounds. */
|
|
4171
|
+
min: number;
|
|
4172
|
+
max: number;
|
|
4173
|
+
pressure: RateQueue['pressure'];
|
|
4174
|
+
/** Upfront fee for a pick at `apr`, percent of the borrow. */
|
|
4175
|
+
upfrontFeePct: (apr: number) => number;
|
|
4176
|
+
/** No picks: the market cannot be opened (shut-down branch). */
|
|
4177
|
+
closed?: boolean;
|
|
4178
|
+
complete?: boolean;
|
|
4179
|
+
maxLevels?: number;
|
|
4180
|
+
}
|
|
4181
|
+
/**
|
|
4182
|
+
* Debt redeemed before a trove at `apr`: every entry at a rate AT OR BELOW it.
|
|
4183
|
+
* Ties count as ahead — both families order equal rates by insertion, so a new
|
|
4184
|
+
* trove joins behind them.
|
|
4185
|
+
*/
|
|
4186
|
+
declare function debtAheadOf(levels: {
|
|
4187
|
+
apr: number;
|
|
4188
|
+
assets: number;
|
|
4189
|
+
}[], apr: number): number;
|
|
4190
|
+
/**
|
|
4191
|
+
* Build the queue from a family's raw rate distribution. Pure.
|
|
4192
|
+
*
|
|
4193
|
+
* Picks are computed from the FULL distribution, before compression, so the
|
|
4194
|
+
* display cap never moves a pick. A pick is the lowest grid rate strictly
|
|
4195
|
+
* above the entry that crosses its share (so it never ties the debt it should
|
|
4196
|
+
* be behind), clamped to `[min, max]`; on an empty market every pick is `min`.
|
|
4197
|
+
*/
|
|
4198
|
+
declare function buildRateQueue(input: BuildRateQueueInput): RateQueue;
|
|
4199
|
+
/**
|
|
4200
|
+
* Liquity redemptions are an arbitrage against the peg: they pay when the
|
|
4201
|
+
* stable trades under $1 by more than the redemption fee (≥ 0.5 %).
|
|
4202
|
+
*/
|
|
4203
|
+
declare function pegPressure(price: number | null | undefined): RateQueue['pressure'];
|
|
4204
|
+
/**
|
|
4205
|
+
* Flex redeems whenever a lender exit or a borrow exceeds the Lender's idle
|
|
4206
|
+
* cash, so pressure is the Lender's utilization.
|
|
4207
|
+
*/
|
|
4208
|
+
declare function lenderLiquidityPressure(utilization: number | null | undefined): RateQueue['pressure'];
|
|
4209
|
+
|
|
4077
4210
|
/**
|
|
4078
4211
|
* Raw per-branch on-chain snapshot of a Liquity-family deployment. All bigints
|
|
4079
4212
|
* are raw WAD/base units straight from the multicall; `null` marks a failed
|
|
@@ -4101,6 +4234,17 @@ interface LiquityBranchRaw {
|
|
|
4101
4234
|
collPrice: bigint | null;
|
|
4102
4235
|
/** SortedTroves.getSize() — live (non-zombie) trove count */
|
|
4103
4236
|
troveCount: bigint | null;
|
|
4237
|
+
/**
|
|
4238
|
+
* MultiTroveGetter.getDebtPerInterestRateAscending — raw rate (WAD) → debt
|
|
4239
|
+
* entries, lowest rate first (one entry per trove, or per batch). `null`
|
|
4240
|
+
* when the read failed; feeds the redemption queue.
|
|
4241
|
+
*/
|
|
4242
|
+
rateDistribution?: {
|
|
4243
|
+
rate: bigint;
|
|
4244
|
+
debt: bigint;
|
|
4245
|
+
}[] | null;
|
|
4246
|
+
/** False when paging stopped at the round cap (the queue is a floor). */
|
|
4247
|
+
rateDistributionComplete?: boolean;
|
|
4104
4248
|
}
|
|
4105
4249
|
/** Raw public-data batch for ONE deployment (lender) on one chain. */
|
|
4106
4250
|
interface LiquityMarketsRaw {
|
|
@@ -5335,6 +5479,15 @@ interface FlexMarketRaw {
|
|
|
5335
5479
|
lenderShutdown: boolean;
|
|
5336
5480
|
collateralDecimals: number;
|
|
5337
5481
|
borrowDecimals: number;
|
|
5482
|
+
/**
|
|
5483
|
+
* Every active trove's (rate, debt), raw (rate precision-scaled), from the
|
|
5484
|
+
* Flex explorer index the user-data path already caches. Feeds the
|
|
5485
|
+
* redemption queue; `null` when the index could not be read.
|
|
5486
|
+
*/
|
|
5487
|
+
rateDistribution?: {
|
|
5488
|
+
rate: bigint;
|
|
5489
|
+
debt: bigint;
|
|
5490
|
+
}[] | null;
|
|
5338
5491
|
}
|
|
5339
5492
|
interface FlexMarketsRaw {
|
|
5340
5493
|
lender: string;
|
|
@@ -5398,6 +5551,10 @@ declare function convertFlexMarketsToResponse(raw: FlexMarketsRaw, chainId: stri
|
|
|
5398
5551
|
interface FlexIndexedTrove {
|
|
5399
5552
|
troveId: string;
|
|
5400
5553
|
owner: string;
|
|
5554
|
+
/** Raw debt, borrow-token base units (the index's own read). */
|
|
5555
|
+
debt?: string;
|
|
5556
|
+
/** Raw annual rate, scaled by the market's `borrow_token_precision`. */
|
|
5557
|
+
rate?: string;
|
|
5401
5558
|
}
|
|
5402
5559
|
/**
|
|
5403
5560
|
* Every active trove of a market, from the shared per-market cache. On a
|
|
@@ -8657,7 +8814,7 @@ declare const resolveStCeloDepositGroup: (user: Address, requestedGroup?: string
|
|
|
8657
8814
|
*
|
|
8658
8815
|
* One shape for pool lenders, fixed-term lenders, CDPs and vaults, so an
|
|
8659
8816
|
* integrator reads ONE object instead of ~15 protocol-specific fields plus a
|
|
8660
|
-
* per-lender mental model. See [TERM_SHEET_PLAN.md](../../../../TERM_SHEET_PLAN.md)
|
|
8817
|
+
* per-lender mental model. See [TERM_SHEET_PLAN.md](../../../../docs/terms/TERM_SHEET_PLAN.md)
|
|
8661
8818
|
* for the design rationale and the per-lender coverage matrix.
|
|
8662
8819
|
*
|
|
8663
8820
|
* ## Conventions that hold everywhere in this file
|
|
@@ -8933,9 +9090,15 @@ interface RateTerms {
|
|
|
8933
9090
|
* that offers no input either cannot build the transaction or silently
|
|
8934
9091
|
* accepts a default the user never saw.
|
|
8935
9092
|
*
|
|
8936
|
-
* `default` is what the
|
|
8937
|
-
*
|
|
8938
|
-
* action would have done anyway.
|
|
9093
|
+
* `default` is what the action applies when the caller omits a rate — the
|
|
9094
|
+
* redemption queue's RECOMMENDED pick — so a UI can pre-fill it and stay
|
|
9095
|
+
* consistent with what the action would have done anyway.
|
|
9096
|
+
*
|
|
9097
|
+
* `picks` are the pickable rates of the queue (docs/terms/USER_SET_RATE_PLAN.md):
|
|
9098
|
+
* the lowest rate with at least 5 / 25 / 50 % of the market's debt ahead of
|
|
9099
|
+
* it. The full queue, in the order-book level shape, is on the row
|
|
9100
|
+
* descriptor (`params.market.{liquity,flex}.queue`) and live on
|
|
9101
|
+
* `/v1/data/lending/book` (`pricing: 'queue'`).
|
|
8939
9102
|
*/
|
|
8940
9103
|
userSet?: {
|
|
8941
9104
|
/** Is a rate part of the open call at all? */
|
|
@@ -8943,8 +9106,27 @@ interface RateTerms {
|
|
|
8943
9106
|
/** Inclusive bounds, PERCENT. Outside these the open reverts. */
|
|
8944
9107
|
min?: AprPercent;
|
|
8945
9108
|
max?: AprPercent;
|
|
8946
|
-
/** Applied when the caller omits one — the
|
|
9109
|
+
/** Applied when the caller omits one — the recommended pick. */
|
|
8947
9110
|
default?: AprPercent;
|
|
9111
|
+
/** The pickable rates, cheapest first. Absent when no queue was read. */
|
|
9112
|
+
picks?: {
|
|
9113
|
+
id: Open<'cheapest' | 'balanced' | 'protected'>;
|
|
9114
|
+
apr: AprPercent;
|
|
9115
|
+
/** Debt redeemed before a position at `apr`, borrow-token units. */
|
|
9116
|
+
debtAhead: number;
|
|
9117
|
+
/** `debtAhead` as a fraction of the market's debt. */
|
|
9118
|
+
share: number;
|
|
9119
|
+
/** Upfront fee at this rate, percent of the borrow. */
|
|
9120
|
+
upfrontFeePct: number;
|
|
9121
|
+
}[];
|
|
9122
|
+
/** The pick ranked lists price this market at. */
|
|
9123
|
+
recommended?: Open<'cheapest' | 'balanced' | 'protected'>;
|
|
9124
|
+
/** What triggers redemptions, and how hard it is pushing now. */
|
|
9125
|
+
pressure?: {
|
|
9126
|
+
driver: Open<'below-peg' | 'lender-liquidity'>;
|
|
9127
|
+
signal: number | null;
|
|
9128
|
+
level: Open<'low' | 'elevated' | 'high'>;
|
|
9129
|
+
};
|
|
8948
9130
|
/** Can it be changed after opening (Liquity `set-rate`)? */
|
|
8949
9131
|
adjustable: boolean;
|
|
8950
9132
|
/**
|
|
@@ -9943,6 +10125,17 @@ interface TermSheetDigest {
|
|
|
9943
10125
|
description: string;
|
|
9944
10126
|
tags: TermTag[];
|
|
9945
10127
|
acceptedCollateral?: Omit<ExposureTerms, 'items'>;
|
|
10128
|
+
/**
|
|
10129
|
+
* `rateKind: 'user-set'` only — the range and the queue's recommended pick
|
|
10130
|
+
* (percent APR), so a list can say "from X %, you choose" without the
|
|
10131
|
+
* full sheet. The picks themselves are on the sheet and the book.
|
|
10132
|
+
*/
|
|
10133
|
+
userSet?: {
|
|
10134
|
+
min?: AprPercent;
|
|
10135
|
+
max?: AprPercent;
|
|
10136
|
+
recommended?: Open<'cheapest' | 'balanced' | 'protected'>;
|
|
10137
|
+
recommendedApr?: AprPercent;
|
|
10138
|
+
};
|
|
9946
10139
|
};
|
|
9947
10140
|
swap?: {
|
|
9948
10141
|
kind: SwapTermSheet['kind'];
|
|
@@ -16100,6 +16293,21 @@ declare function stampOrderBookLendRow(m: EarnMarket, facts: OrderBookLendFacts,
|
|
|
16100
16293
|
* disambiguation used. Only colliding rows change.
|
|
16101
16294
|
*/
|
|
16102
16295
|
declare function disambiguateOrderBookNames(rows: EarnMarket[]): void;
|
|
16296
|
+
/**
|
|
16297
|
+
* Lend rows on a ROLLING-TENOR order book (Jupiter Offerbook, Loopscale):
|
|
16298
|
+
* Midnight's pool-field problem without a calendar date. The loan leg's
|
|
16299
|
+
* `totalDeposits` is the LEND side of the book (what lenders can place now —
|
|
16300
|
+
* the borrowers' resting offers on Offerbook), while `liquidity` /
|
|
16301
|
+
* `utilization` are the borrow side. There is no maturity to lift: each fill
|
|
16302
|
+
* starts its own 1–30-day term, stated on the term sheet.
|
|
16303
|
+
*
|
|
16304
|
+
* Exit: an Offerbook lender is locked until the borrower repays or the term
|
|
16305
|
+
* ends and the collateral is claimed (`at-maturity`); a Loopscale ledger
|
|
16306
|
+
* leaves early only by being sold to another strategy (`market-sale`).
|
|
16307
|
+
*/
|
|
16308
|
+
declare function isRollingBookLendRow(m: EarnMarket): boolean;
|
|
16309
|
+
/** Stamp a rolling-book lend row in place; `collateral` from the pair key when the caller can name it. */
|
|
16310
|
+
declare function stampRollingBookLendRow(m: EarnMarket, collateral?: EarnCollateralLeg[]): void;
|
|
16103
16311
|
|
|
16104
16312
|
/**
|
|
16105
16313
|
* Multiply a formatted (human-unit) amount by a USD price.
|
|
@@ -16494,9 +16702,16 @@ declare function isFixedYieldEarnRow(m: {
|
|
|
16494
16702
|
venue: string;
|
|
16495
16703
|
}): boolean;
|
|
16496
16704
|
/**
|
|
16497
|
-
*
|
|
16498
|
-
*
|
|
16499
|
-
* deposited. Both `/earn` paths drop it
|
|
16705
|
+
* An order-book COLLATERAL leg. Not an earn product: it pays nothing, and its
|
|
16706
|
+
* size is collateral locked in loans (or, on Midnight, a capacity derived
|
|
16707
|
+
* from the borrow book), not money deposited. Both `/earn` paths drop it
|
|
16708
|
+
* unconditionally.
|
|
16709
|
+
*
|
|
16710
|
+
* - Midnight: the ref is `<token>-c<i>` (`…:0xabc-c0`).
|
|
16711
|
+
* - Jupiter Offerbook / Loopscale: the key is `<FAMILY>_<principal>_<collateral>`
|
|
16712
|
+
* and the collateral leg's ref is that collateral mint — the key's LAST
|
|
16713
|
+
* `_` segment (base58 has no `_`). Mirrored by yield-tracer
|
|
16714
|
+
* `ORDERBOOK_COLLATERAL_LEG_SQL`.
|
|
16500
16715
|
*/
|
|
16501
16716
|
declare function isOrderBookCollateralLeg(m: {
|
|
16502
16717
|
venueKind?: string;
|
|
@@ -17282,6 +17497,16 @@ declare function fetchBorosMarkets(opts?: {
|
|
|
17282
17497
|
declare function fetchBorosMarket(marketId: number, opts?: {
|
|
17283
17498
|
fetchImpl?: typeof fetch;
|
|
17284
17499
|
}): Promise<BorosMarket | undefined>;
|
|
17500
|
+
/**
|
|
17501
|
+
* One market by id, INCLUDING matured and delisted ones — the market list
|
|
17502
|
+
* (`fetchBorosMarkets`) carries only the live whitelisted markets, while
|
|
17503
|
+
* `/v1/markets/{id}` and its chart keep answering after maturity. `undefined`
|
|
17504
|
+
* when the id does not exist (the API answers 404).
|
|
17505
|
+
*/
|
|
17506
|
+
declare function fetchBorosMarketById(marketId: number, opts?: {
|
|
17507
|
+
fetchImpl?: typeof fetch;
|
|
17508
|
+
collaterals?: BorosCollateral[];
|
|
17509
|
+
}): Promise<BorosMarket | undefined>;
|
|
17285
17510
|
|
|
17286
17511
|
/**
|
|
17287
17512
|
* The live book of one market, AMM liquidity merged in. The API keys sides by
|
|
@@ -17290,6 +17515,58 @@ declare function fetchBorosMarket(marketId: number, opts?: {
|
|
|
17290
17515
|
*/
|
|
17291
17516
|
declare function fetchBorosOrderBook(marketId: number, fetchImpl?: typeof fetch): Promise<BorosOrderBook>;
|
|
17292
17517
|
|
|
17518
|
+
/**
|
|
17519
|
+
* One candle of a Boros market's rate history, as `/v1/markets/chart` serves
|
|
17520
|
+
* it, in the package convention: every rate a nominal APR in PERCENT. The API
|
|
17521
|
+
* answers fractions (0.085 = 8.5 %).
|
|
17522
|
+
*/
|
|
17523
|
+
interface BorosRateCandle {
|
|
17524
|
+
/** Unix seconds, the START of the bucket. */
|
|
17525
|
+
ts: number;
|
|
17526
|
+
/** The market's implied (fixed) APR over the bucket: open / high / low / close. */
|
|
17527
|
+
impliedOpen: number;
|
|
17528
|
+
impliedHigh: number;
|
|
17529
|
+
impliedLow: number;
|
|
17530
|
+
impliedClose: number;
|
|
17531
|
+
/** The mark (fair-value) APR margin is computed on. */
|
|
17532
|
+
markApr: number;
|
|
17533
|
+
/**
|
|
17534
|
+
* The venue's floating funding the market settles against, annualised, from
|
|
17535
|
+
* the reference oracle — what a SHORT pays and a LONG receives.
|
|
17536
|
+
*/
|
|
17537
|
+
underlyingApr: number;
|
|
17538
|
+
/** The funding rate the external feed last reported, annualised. */
|
|
17539
|
+
oracleFundingApr: number;
|
|
17540
|
+
/** 7- and 30-day moving averages of the realtime funding, annualised. */
|
|
17541
|
+
fundingMa7dApr: number;
|
|
17542
|
+
fundingMa30dApr: number;
|
|
17543
|
+
/** Implied − underlying, as Boros computes it. */
|
|
17544
|
+
futurePremium: number;
|
|
17545
|
+
/** Traded volume in YU (collateral units of notional). */
|
|
17546
|
+
volume: number;
|
|
17547
|
+
}
|
|
17548
|
+
type BorosChartInterval = '5m' | '1h' | '1d' | '1w';
|
|
17549
|
+
declare function convertBorosCandle(c: any): BorosRateCandle | null;
|
|
17550
|
+
/**
|
|
17551
|
+
* A market's rate history between `from` and `to` (unix seconds, inclusive),
|
|
17552
|
+
* oldest first.
|
|
17553
|
+
*
|
|
17554
|
+
* The endpoint answers a WINDOW of 200 buckets ending at `endTimestamp` (fewer
|
|
17555
|
+
* when the market has fewer there), so a longer range is paged BACKWARDS: each
|
|
17556
|
+
* page ends one second before the oldest candle of the previous one, until a
|
|
17557
|
+
* page comes back empty (the market's launch) or `from` is passed. Hourly
|
|
17558
|
+
* history reaches back to launch and survives maturity (checked 2026-10-21:
|
|
17559
|
+
* May 2026 on a Dec-2026 market; a Jun-2026 market still answers). Pass `to`
|
|
17560
|
+
* near the maturity for a matured market — from "now" the first windows are
|
|
17561
|
+
* empty and cost a request each.
|
|
17562
|
+
*/
|
|
17563
|
+
declare function fetchBorosRateHistory(marketId: number, opts?: {
|
|
17564
|
+
interval?: BorosChartInterval;
|
|
17565
|
+
from?: number;
|
|
17566
|
+
to?: number;
|
|
17567
|
+
fetchImpl?: typeof fetch;
|
|
17568
|
+
}): Promise<BorosRateCandle[]>;
|
|
17569
|
+
|
|
17293
17570
|
/**
|
|
17294
17571
|
* The Boros term sheet — a `swap` sheet with BOTH sides (BOROS.md).
|
|
17295
17572
|
*
|
|
@@ -17375,6 +17652,17 @@ interface FundingExposureProfile {
|
|
|
17375
17652
|
notes: string[];
|
|
17376
17653
|
}
|
|
17377
17654
|
declare const FUNDING_EXPOSURE_PROFILES: Record<string, FundingExposureProfile>;
|
|
17655
|
+
/**
|
|
17656
|
+
* A Pendle / Spectra principal token: its yield was fixed at purchase, so it
|
|
17657
|
+
* carries NO floating funding. A SHORT YU sized on it would not hedge
|
|
17658
|
+
* anything — it would leave the holder paying floating funding unopposed.
|
|
17659
|
+
*/
|
|
17660
|
+
declare const isPrincipalTokenSymbol: (symbol: string | undefined) => boolean;
|
|
17661
|
+
/**
|
|
17662
|
+
* The funding a collateral token earns, or `undefined` when it earns none we
|
|
17663
|
+
* can lock — including every principal token (`isPrincipalTokenSymbol`): a
|
|
17664
|
+
* PT over sUSDe has already sold sUSDe's floating rate for a fixed one.
|
|
17665
|
+
*/
|
|
17378
17666
|
declare function fundingExposureOf(symbol: string | undefined): FundingExposureProfile | undefined;
|
|
17379
17667
|
interface HedgeMarketFilter {
|
|
17380
17668
|
/** Underlying asset of the funding (`BTC`, `ETH`). */
|
|
@@ -17450,4 +17738,4 @@ declare function quoteBorosHedgeLeg(p: {
|
|
|
17450
17738
|
existingFreeMargin?: number;
|
|
17451
17739
|
}): BorosHedgeLegQuote;
|
|
17452
17740
|
|
|
17453
|
-
export { ALCHEMIX_BLOCK_SECONDS, type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, type AlchemixMarketRaw, type AlchemixMarketsRaw, type AlchemixTransmuterRaw, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetIssuerAttribution, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, BOROS_API_BASE, BOROS_GOVERNANCE, BOROS_MIN_CASH_USD, BOROS_PROFILE_ID, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorosAccountState, BorosApiError, type BorosBookLevel, type BorosCollateral, type BorosCrossAccount, type BorosFill, type BorosHedgeLegQuote, type BorosMarket, type BorosOrderBook, type BorosPosition, type BorosSideTerms, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConsensusDemotionConfig, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, type CreditDesk, DEFAULT_CONSENSUS_DEMOTION, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, type DeepPartial, type Denomination, type DepthMap, type DolomiteIsolationRow, type DolomiteSubAccount, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, EXPONENT_MATURED_REASON, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCollateralLeg, type EarnCurator, type EarnExclusions, type EarnExit, type EarnExitHistory, type EarnExitHistoryDay, type EarnFacetBucket, type EarnFacets, type EarnGating, type EarnLabelDimension, type EarnLendingPosition, type EarnMarket, type EarnMarketLabelInput, type EarnPosition, type EarnPositionAsset, type EarnPositionBase, type EarnPositionLeg, type EarnPositionSourceStatus, type EarnPositionSubAccount, type EarnPositionTotals, type EarnPositionUid, type EarnPositionsResponse, type EarnProtocol, type EarnProtocolAndCurator, type EarnRate, type EarnRateSource, type EarnRefs, type EarnResponse, type EarnRisk, type EarnSanityResult, type EarnShareToken, type EarnSourceStatus, type EarnVaultNormalizeOptions, type EarnVaultPosition, type EarnVenueKind, type EarnVocabulary, type EmitterRole, type EmitterRow, type EmitterSide, type EndpointFailure, type EnrichmentIndex, type EulerEarnVault, type EulerEarnVaults, type EulerV2Metadata, type ExactlyFixedPool, type ExactlyFixedPosition, type ExactlyMarketAccount, type ExactlyMarketsRaw, type ExactlyUserFixedPosition, type ExposureEntry, type ExposureTerms, type ExtraValidationCall, FIXED_YIELD_EARN_VENUE_PREFIXES, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, FUNDING_EXPOSURE_PROFILES, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchPendlePtOptions, type FetchSpectraPtOptions, type FetchTokenBalancesOptions, type FetchTokenMetadataOptions, type FlattenPriorityConfig, type FlexMarketRaw, type FlexMarketsRaw, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FlyingTulipAssetRaw, type FlyingTulipMarketsRaw, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, type FundingExposureProfile, 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 HedgeMarketFilter, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, type IssuerExposure, type IssuerRef, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserParams, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquidationPenaltyTerm, type LiquidationTerms, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MetaFilter, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type MidnightChainBooks, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, NON_EVM_VAULT_PROVIDERS, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OrderBookLendFacts, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, PREFIX_LENDERS, type PairRowDesks, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, RIPE_LENDER_KEY, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type ReadUserPositionsParams, type ReadUserPositionsResult, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RewardsDataByMarketUid, type RipeAccountInfo, type RipeAssetRaw, type RipeMarketsRaw, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, SVM_EARN_MINT_BUILDERS, SVM_EARN_VAULT_BUILDERS, SVM_VAULT_PROVIDERS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSelection, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitRoute, type SupplyExitTerms, type SupplyTermSheet, type SvmEarnBuildability, type SvmEarnBuilder, type SvmVaultProvider, type SwapSideTerms, type SwapTermSheet, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetVaultProvider, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserCallOptions, type UserConfig, type UserData, type UserDataResult, type UserDataTransport, type UserLendingPosition, type UsualRewardsClaimData, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldDataByMarketUid, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, alchemixLenderKey, alchemixMytRate, alchemixRedemptionPace, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borosApi, borosInitialMargin, borosMaintenanceMargin, borosRateMoveToLiquidation, borosSideTerms, borosTakerFee, borrowDescription, borrowFindings, borrowHeadline, buildBorosTermSheet, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertAlchemixMarketsToResponse, convertBorosMarket, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlexMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRipeMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMultiAccountTypeUserState, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, deriveSwapTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, disambiguateOrderBookNames, discoverFlexTroves, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchAlchemixMarkets, fetchBorosAccount, fetchBorosCollaterals, fetchBorosMarket, fetchBorosMarkets, fetchBorosOrderBook, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFlexMarkets, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRipeMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchUsualRewardsClaimData, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, flexAverageRate, flexLenderApr, flexLenderKey, flexMarketIndex, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fundingExposureOf, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedFluidDexState, getCachedLiquityTroves, getCachedTellerBids, getCachedTermMaxDiscovery, getCachedTermMaxMarket, getCachedTermMaxMarkets, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMidnightChainBooks, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isFixedYieldEarnRow, isIlliquid, isLenderVenueKey, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isOrderBookCollateralLeg, isOrderBookLendRow, isSecondaryMarketOnly, isStablecoinSymbol, isSyntheticQuoteUnit, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, protocolConsensus, protocolOf, pruneFeedStats, quoteBorosHedgeLeg, rankBorosHedgeMarkets, rankFindings, ratePercent, readUserPositions, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, selectUsualRewardEntry, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampOrderBookLendRow, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, svmEarnBuildability, svmEarnBuilderKey, swapRoutedProvidersArePriceConsistent, swapSideDescription, swapSideHeadline, swapSideImplications, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toDolomiteSubAccountId, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, walkBorosBook, withMaturityLabel, withTrancheLabel };
|
|
17741
|
+
export { ALCHEMIX_BLOCK_SECONDS, type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, type AlchemixMarketRaw, type AlchemixMarketsRaw, type AlchemixTransmuterRaw, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetIssuerAttribution, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, BOROS_API_BASE, BOROS_GOVERNANCE, BOROS_MIN_CASH_USD, BOROS_PROFILE_ID, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorosAccountState, BorosApiError, type BorosBookLevel, type BorosChartInterval, type BorosCollateral, type BorosCrossAccount, type BorosFill, type BorosHedgeLegQuote, type BorosMarket, type BorosOrderBook, type BorosPosition, type BorosRateCandle, type BorosSideTerms, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConsensusDemotionConfig, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, type CreditDesk, DEFAULT_CONSENSUS_DEMOTION, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, type DeepPartial, type Denomination, type DepthMap, type DolomiteIsolationRow, type DolomiteSubAccount, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, EXPONENT_MATURED_REASON, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCollateralLeg, type EarnCurator, type EarnExclusions, type EarnExit, type EarnExitHistory, type EarnExitHistoryDay, type EarnFacetBucket, type EarnFacets, type EarnGating, type EarnLabelDimension, type EarnLendingPosition, type EarnMarket, type EarnMarketLabelInput, type EarnPosition, type EarnPositionAsset, type EarnPositionBase, type EarnPositionLeg, type EarnPositionSourceStatus, type EarnPositionSubAccount, type EarnPositionTotals, type EarnPositionUid, type EarnPositionsResponse, type EarnProtocol, type EarnProtocolAndCurator, type EarnRate, type EarnRateSource, type EarnRefs, type EarnResponse, type EarnRisk, type EarnSanityResult, type EarnShareToken, type EarnSourceStatus, type EarnVaultNormalizeOptions, type EarnVaultPosition, type EarnVenueKind, type EarnVocabulary, type EmitterRole, type EmitterRow, type EmitterSide, type EndpointFailure, type EnrichmentIndex, type EulerEarnVault, type EulerEarnVaults, type EulerV2Metadata, type ExactlyFixedPool, type ExactlyFixedPosition, type ExactlyMarketAccount, type ExactlyMarketsRaw, type ExactlyUserFixedPosition, type ExposureEntry, type ExposureTerms, type ExtraValidationCall, FIXED_YIELD_EARN_VENUE_PREFIXES, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, FUNDING_EXPOSURE_PROFILES, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchPendlePtOptions, type FetchSpectraPtOptions, type FetchTokenBalancesOptions, type FetchTokenMetadataOptions, type FlattenPriorityConfig, type FlexMarketRaw, type FlexMarketsRaw, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FlyingTulipAssetRaw, type FlyingTulipMarketsRaw, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, type FundingExposureProfile, 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 HedgeMarketFilter, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, type IssuerExposure, type IssuerRef, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserParams, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquidationPenaltyTerm, type LiquidationTerms, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MetaFilter, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type MidnightChainBooks, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, NON_EVM_VAULT_PROVIDERS, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OrderBookLendFacts, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, PREFIX_LENDERS, type PairRowDesks, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, RATE_QUEUE_MAX_LEVELS, RATE_QUEUE_STEP, RIPE_LENDER_KEY, type RateKind, type RateMenuEntry, type RatePick, type RatePickId, type RateQueue, type RateQueueEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type ReadUserPositionsParams, type ReadUserPositionsResult, type RedemptionDriver, type RedemptionPressure, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RewardsDataByMarketUid, type RipeAccountInfo, type RipeAssetRaw, type RipeMarketsRaw, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, SVM_EARN_MINT_BUILDERS, SVM_EARN_VAULT_BUILDERS, SVM_VAULT_PROVIDERS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSelection, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitRoute, type SupplyExitTerms, type SupplyTermSheet, type SvmEarnBuildability, type SvmEarnBuilder, type SvmVaultProvider, type SwapSideTerms, type SwapTermSheet, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetVaultProvider, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, USER_SET_RATE_PICKS, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserCallOptions, type UserConfig, type UserData, type UserDataResult, type UserDataTransport, type UserLendingPosition, type UsualRewardsClaimData, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldDataByMarketUid, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, alchemixLenderKey, alchemixMytRate, alchemixRedemptionPace, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borosApi, borosInitialMargin, borosMaintenanceMargin, borosRateMoveToLiquidation, borosSideTerms, borosTakerFee, borrowDescription, borrowFindings, borrowHeadline, buildBorosTermSheet, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildRateQueue, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertAlchemixMarketsToResponse, convertBorosCandle, convertBorosMarket, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlexMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRipeMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMultiAccountTypeUserState, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, debtAheadOf, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, deriveSwapTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, disambiguateOrderBookNames, discoverFlexTroves, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchAlchemixMarkets, fetchBorosAccount, fetchBorosCollaterals, fetchBorosMarket, fetchBorosMarketById, fetchBorosMarkets, fetchBorosOrderBook, fetchBorosRateHistory, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFlexMarkets, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRipeMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchUsualRewardsClaimData, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, flexAverageRate, flexLenderApr, flexLenderKey, flexMarketIndex, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fundingExposureOf, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedFluidDexState, getCachedLiquityTroves, getCachedTellerBids, getCachedTermMaxDiscovery, getCachedTermMaxMarket, getCachedTermMaxMarkets, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMidnightChainBooks, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isFixedYieldEarnRow, isIlliquid, isLenderVenueKey, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isOrderBookCollateralLeg, isOrderBookLendRow, isPrincipalTokenSymbol, isRollingBookLendRow, isSecondaryMarketOnly, isStablecoinSymbol, isSyntheticQuoteUnit, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, lenderLiquidityPressure, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, pegPressure, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, protocolConsensus, protocolOf, pruneFeedStats, quoteBorosHedgeLeg, rankBorosHedgeMarkets, rankFindings, ratePercent, readUserPositions, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, selectUsualRewardEntry, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampOrderBookLendRow, stampRollingBookLendRow, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, svmEarnBuildability, svmEarnBuilderKey, swapRoutedProvidersArePriceConsistent, swapSideDescription, swapSideHeadline, swapSideImplications, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toDolomiteSubAccountId, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, walkBorosBook, withMaturityLabel, withTrancheLabel };
|