@1delta/margin-fetcher 5.0.159 → 5.0.160
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 +670 -5
- package/dist/index.js +840 -502
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -3195,6 +3195,19 @@ interface YieldDataByMarketUid {
|
|
|
3195
3195
|
* `fetchLenderRewardsByMarketUid` returns.
|
|
3196
3196
|
*/
|
|
3197
3197
|
type RewardsDataByMarketUid = Omit<YieldDataByMarketUid, 'intrinsicYields'>;
|
|
3198
|
+
/**
|
|
3199
|
+
* Every fetcher returns a map of asset keys to yield values.
|
|
3200
|
+
*/
|
|
3201
|
+
type YieldResult = Record<string, number>;
|
|
3202
|
+
/**
|
|
3203
|
+
* Unified interface for all yield fetchers.
|
|
3204
|
+
*/
|
|
3205
|
+
interface YieldFetcher {
|
|
3206
|
+
/** Human-readable label, used for error logging in safeFetch */
|
|
3207
|
+
label: string;
|
|
3208
|
+
/** The async function that fetches and returns the yield data */
|
|
3209
|
+
fetch: () => Promise<YieldResult>;
|
|
3210
|
+
}
|
|
3198
3211
|
|
|
3199
3212
|
declare const fetchGeneralYields: () => Promise<YieldDataWithTimestamp>;
|
|
3200
3213
|
declare const fetchGeneralYieldsByMarketUid: () => Promise<YieldDataByMarketUid>;
|
|
@@ -10450,7 +10463,11 @@ interface SupplyTermSheet {
|
|
|
10450
10463
|
/** Is the supplied principal at risk beyond ordinary credit risk? */
|
|
10451
10464
|
principal: {
|
|
10452
10465
|
protected: boolean;
|
|
10453
|
-
|
|
10466
|
+
/**
|
|
10467
|
+
* `slashing`: the principal is MARGIN posted against an obligation, and
|
|
10468
|
+
* the protocol takes it when the obligation is missed (3Jane LCC).
|
|
10469
|
+
*/
|
|
10470
|
+
risks: Open<'bad-debt' | 'physical-delivery' | 'nav-drawdown' | 'first-loss' | 'depeg' | 'slashing'>[];
|
|
10454
10471
|
};
|
|
10455
10472
|
info: TermInfo;
|
|
10456
10473
|
/** Namespaced escape hatch — see the promotion rule in TERM_SHEET_PLAN §13.5. */
|
|
@@ -11209,6 +11226,9 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
11209
11226
|
* `termSheet.supply.rate.warmupSecs`.
|
|
11210
11227
|
*/
|
|
11211
11228
|
yieldWarmupSeconds?: number;
|
|
11229
|
+
/** `true` ⇒ an exit takes the whole position or nothing (3Jane LCC's
|
|
11230
|
+
* unstake). Absent ⇒ partial exits work. */
|
|
11231
|
+
exitWholeOnly?: boolean;
|
|
11212
11232
|
/** `linear` when the accrual does not compound on its own; absent ⇒
|
|
11213
11233
|
* compounding, which is right for any growing share price. */
|
|
11214
11234
|
accrual?: 'linear' | 'compounding';
|
|
@@ -11220,7 +11240,7 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
11220
11240
|
* token. `savings-account` marks an address that is NOT a token — the
|
|
11221
11241
|
* Frankencoin module keeps an internal ledger and `balanceOf` reverts on it.
|
|
11222
11242
|
*/
|
|
11223
|
-
balanceKind?: 'erc20' | 'savings-account' | 'transmuter-positions';
|
|
11243
|
+
balanceKind?: 'erc20' | 'savings-account' | 'transmuter-positions' | 'lcc-account';
|
|
11224
11244
|
/**
|
|
11225
11245
|
* What the base rate IS — see the registry's `rateBasis`. `entry-discount`:
|
|
11226
11246
|
* the market discount of the entry asset annualised over `termSeconds`,
|
|
@@ -11436,6 +11456,604 @@ type SavingsVaults = {
|
|
|
11436
11456
|
[shareAddress: string]: SavingsVault;
|
|
11437
11457
|
};
|
|
11438
11458
|
|
|
11459
|
+
/**
|
|
11460
|
+
* How the reader prices the alAsset in its underlying. ONE pool per
|
|
11461
|
+
* transmuter, quoted at `unit` (the 1,000-alAsset / 1-alETH size a retail
|
|
11462
|
+
* entry is), in the same multicall round as the queue's state.
|
|
11463
|
+
*/
|
|
11464
|
+
type AlchemixTransmuterQuote = {
|
|
11465
|
+
kind: 'curve-ng';
|
|
11466
|
+
pool: string;
|
|
11467
|
+
/** Coin indexes — asserted against `coins(i)` by the live test. */
|
|
11468
|
+
i: number;
|
|
11469
|
+
j: number;
|
|
11470
|
+
unit: bigint;
|
|
11471
|
+
} | {
|
|
11472
|
+
kind: 'velo-v2';
|
|
11473
|
+
router: string;
|
|
11474
|
+
factory: string;
|
|
11475
|
+
stable: boolean;
|
|
11476
|
+
unit: bigint;
|
|
11477
|
+
};
|
|
11478
|
+
/**
|
|
11479
|
+
* Pins the `alchemix-transmuter` reader needs and cannot discover in one
|
|
11480
|
+
* multicall round. All of it is a data-sdk fact (`alchemix.ts`) re-stated
|
|
11481
|
+
* here so the savings orchestrator's one round has a call TARGET for each.
|
|
11482
|
+
*/
|
|
11483
|
+
interface AlchemixTransmuterConfig {
|
|
11484
|
+
/** The Alchemist whose `totalSyntheticsIssued()` caps `totalLocked`. */
|
|
11485
|
+
alchemist: string;
|
|
11486
|
+
/** The MYT the vested part is paid in, and its `asset()` — what a claim
|
|
11487
|
+
* through the router redeems to. */
|
|
11488
|
+
myt: string;
|
|
11489
|
+
underlyingToken: string;
|
|
11490
|
+
underlyingDecimals: number;
|
|
11491
|
+
/** The per-Alchemist `AlchemistRouter` (`claimRedemption` → underlying). */
|
|
11492
|
+
router: string;
|
|
11493
|
+
/**
|
|
11494
|
+
* Wall-clock seconds per `block.number` increment on this chain, because
|
|
11495
|
+
* `timeToTransmute` is in BLOCKS. Ethereum 12, OP / Base 2 — and Arbitrum
|
|
11496
|
+
* 12 as well, since its `block.number` is the L1 block number (the Arbitrum
|
|
11497
|
+
* transmuters read 1,095,750, the figure Ethereum's shipped with). Pinned,
|
|
11498
|
+
* measured by the live test.
|
|
11499
|
+
*/
|
|
11500
|
+
secondsPerBlock: number;
|
|
11501
|
+
quote: AlchemixTransmuterQuote;
|
|
11502
|
+
}
|
|
11503
|
+
|
|
11504
|
+
/**
|
|
11505
|
+
* Pins the `threejane-lcc` reader needs and cannot discover in one multicall
|
|
11506
|
+
* round. Every address is a facility's own `assetConfig()` / the static
|
|
11507
|
+
* aToken's `aToken()`/`POOL()`, re-stated so the round has a call target.
|
|
11508
|
+
*/
|
|
11509
|
+
interface ThreeJaneLccConfig {
|
|
11510
|
+
/** The margin asset: an Aave static aToken (waEthUSDC / waEthUSDT). */
|
|
11511
|
+
marginAsset: string;
|
|
11512
|
+
marginDecimals: number;
|
|
11513
|
+
/** Aave V3 Pool the margin asset wraps, and the reserve it wraps there. */
|
|
11514
|
+
aavePool: string;
|
|
11515
|
+
aaveReserve: string;
|
|
11516
|
+
/**
|
|
11517
|
+
* The promise fee, PERCENT per year on the active promise. Not on-chain:
|
|
11518
|
+
* 3Jane pays it weekly in USDC to the staker's address (docs, "Stakers →
|
|
11519
|
+
* The promise fee", 1.25 % at launch). Pinned with its source date.
|
|
11520
|
+
*/
|
|
11521
|
+
promiseFeePct: number;
|
|
11522
|
+
/** `LCCMarginDepositHelper` — the entry that wraps USDC/USDT and stakes. */
|
|
11523
|
+
depositHelper: string;
|
|
11524
|
+
/** USDC — what the promise fee is paid in on EVERY facility, the USDT one too. */
|
|
11525
|
+
feeToken: string;
|
|
11526
|
+
}
|
|
11527
|
+
|
|
11528
|
+
/**
|
|
11529
|
+
* Pins the `morpho-vault-v2` reader needs and cannot discover in one
|
|
11530
|
+
* multicall round.
|
|
11531
|
+
*
|
|
11532
|
+
* A Morpho **Vault V2** pays an exit out of its idle balance first and then
|
|
11533
|
+
* deallocates the shortfall from ONE adapter, its `liquidityAdapter()`
|
|
11534
|
+
* (`VaultV2.exit`). Every other adapter is reachable only through the
|
|
11535
|
+
* penalised `forceDeallocate`, so the instant exit capacity is
|
|
11536
|
+
*
|
|
11537
|
+
* asset.balanceOf(vault)
|
|
11538
|
+
* + asset.balanceOf(liquidityAdapter) (adapter idle)
|
|
11539
|
+
* + liquidityVault.maxWithdraw(liquidityAdapter) (what it can pull)
|
|
11540
|
+
*
|
|
11541
|
+
* The liquidity adapter is discoverable (`liquidityAdapter()`), and the
|
|
11542
|
+
* 4626 it deposits into is too (`adapter.vault()`) — but each is one hop too
|
|
11543
|
+
* deep to be a call TARGET in the same round, so both are pinned here and
|
|
11544
|
+
* re-checked against the chain by `ethSavingsBLive.test.ts` (and
|
|
11545
|
+
* `alchemixL2Live.test.ts` for the L2 MYTs). The reader also
|
|
11546
|
+
* reads the live `liquidityAdapter()` and, when the curator has rotated it
|
|
11547
|
+
* away from the pin, counts only the vault's own idle balance — the
|
|
11548
|
+
* conservative direction (a stale pin under-reports, never over-reports).
|
|
11549
|
+
*
|
|
11550
|
+
* Alchemix v3's MYT ("Mix Yield Token") vaults are the case: Vault V2
|
|
11551
|
+
* instances whose adapters are Alchemix strategies (`ERC4626Strategy`,
|
|
11552
|
+
* `SiUSDStrategy`, `WstETHEthereumStrategy`, …) rather than Morpho-market
|
|
11553
|
+
* adapters, which is why they are savings rows and not served by the Morpho
|
|
11554
|
+
* vault provider's market-allocation walk.
|
|
11555
|
+
*/
|
|
11556
|
+
interface MorphoVaultV2Config {
|
|
11557
|
+
/** `vault.liquidityAdapter()` at integration, lowercased. */
|
|
11558
|
+
liquidityAdapter: string;
|
|
11559
|
+
/**
|
|
11560
|
+
* What the liquidity adapter allocates into, lowercased: `adapter.vault()`
|
|
11561
|
+
* for an ERC-4626 leg, `adapter.aToken()` for an Aave V3 leg.
|
|
11562
|
+
*/
|
|
11563
|
+
liquidityVault: string;
|
|
11564
|
+
/**
|
|
11565
|
+
* How to size what the adapter can pull out of `liquidityVault` (default
|
|
11566
|
+
* `'erc4626'`). The L2 MYTs are why there is more than one shape:
|
|
11567
|
+
*
|
|
11568
|
+
* - `'erc4626'` — `liquidityVault.maxWithdraw(adapter)` (Yearn, Euler EVK,
|
|
11569
|
+
* MetaMorpho V1), and `maxDeposit(adapter)` is the deposit cap.
|
|
11570
|
+
* - `'aave-v3'` — an Alchemix Aave V3 strategy (`aToken()`, no `vault()`).
|
|
11571
|
+
* An aToken has no `maxWithdraw`; what the adapter can pull is
|
|
11572
|
+
* `min(aToken.balanceOf(adapter), asset.balanceOf(aToken))` — its
|
|
11573
|
+
* position, bounded by the reserve's cash. No deposit cap is read (the
|
|
11574
|
+
* reserve's supply cap is not on this surface), so none is claimed.
|
|
11575
|
+
* - `'vault-v2'` — the leg is ANOTHER Morpho Vault V2 (Base mixUSDC →
|
|
11576
|
+
* Steakhouse High Yield USDC), whose `maxWithdraw` is hard-coded 0. Its
|
|
11577
|
+
* own exit pays from its idle and then from ONE Morpho Blue market (its
|
|
11578
|
+
* `liquidityAdapter()` + `liquidityData()` = that market's params), so
|
|
11579
|
+
* what our adapter can pull is
|
|
11580
|
+
* `min(adapter.realAssets(), innerIdle + min(marketCash, innerPosition))`
|
|
11581
|
+
* with the market pinned in `innerLiquidity` and re-verified in-round
|
|
11582
|
+
* (`keccak256(liquidityData()) == marketId`, live adapter == pin). If the
|
|
11583
|
+
* pin is absent or the inner curator rotated it, the bound falls back to
|
|
11584
|
+
* `min(realAssets, innerIdle)` — under-reports, never over-reports. No
|
|
11585
|
+
* deposit cap is claimed (the inner `maxDeposit` is 0 by design).
|
|
11586
|
+
*/
|
|
11587
|
+
liquidityKind?: 'erc4626' | 'aave-v3' | 'vault-v2';
|
|
11588
|
+
/** `'vault-v2'` only: the inner Vault V2's own liquidity market. */
|
|
11589
|
+
innerLiquidity?: {
|
|
11590
|
+
/** Morpho Blue singleton on this chain, lowercased. */
|
|
11591
|
+
morpho: string;
|
|
11592
|
+
/** `liquidityVault.liquidityAdapter()` (a Morpho-market adapter), lowercased. */
|
|
11593
|
+
adapter: string;
|
|
11594
|
+
/** `keccak256(liquidityVault.liquidityData())` — the market id. */
|
|
11595
|
+
marketId: `0x${string}`;
|
|
11596
|
+
};
|
|
11597
|
+
}
|
|
11598
|
+
|
|
11599
|
+
/**
|
|
11600
|
+
* Everything the `venus-hub` reader needs that it cannot discover in a single
|
|
11601
|
+
* multicall round.
|
|
11602
|
+
*
|
|
11603
|
+
* A Hub's YieldGroups are enumerable on-chain (`registeredYieldGroups()`) and
|
|
11604
|
+
* its Core market is enumerable from the group (`resources()`), but both are
|
|
11605
|
+
* one hop too deep: a discovered address cannot be a call target in the same
|
|
11606
|
+
* round, and the savings orchestrator issues exactly one. So the roster is
|
|
11607
|
+
* pinned and `test/vaults/venusHub.live.test.ts` asserts it against the chain
|
|
11608
|
+
* — the same pin-and-test discipline the Aave e-mode count uses.
|
|
11609
|
+
*
|
|
11610
|
+
* An UNPINNED group added on-chain is simply not counted, which under-reports
|
|
11611
|
+
* liquidity and under-weights the rate. That is the safe direction for both,
|
|
11612
|
+
* which is what makes the pin acceptable at all.
|
|
11613
|
+
*/
|
|
11614
|
+
interface VenusHubConfig {
|
|
11615
|
+
/** Every registered YieldGroup, in `registeredYieldGroups()` order. Their
|
|
11616
|
+
* `maxWithdraw()` sums into the row's liquidity and their
|
|
11617
|
+
* `totalAssets()`/`spotAPYBps()` into its rate. */
|
|
11618
|
+
yieldGroups: string[];
|
|
11619
|
+
/**
|
|
11620
|
+
* The Venus Core leg, for the emission read. Absent ⇒ no emission figure is
|
|
11621
|
+
* published for the row at all (rather than a comfortable `0`).
|
|
11622
|
+
*
|
|
11623
|
+
* Only the Core family has claim-based incentives that bypass the share
|
|
11624
|
+
* price: Fluid's rewards are already inside `AdapterFlux.spotAPYBps` and
|
|
11625
|
+
* reach depositors through the fToken's exchange price, and an FRV pays a
|
|
11626
|
+
* contractual coupon with no emission at all.
|
|
11627
|
+
*/
|
|
11628
|
+
core?: {
|
|
11629
|
+
/** The Core YieldGroup — must be one of `yieldGroups`, matched by
|
|
11630
|
+
* identity, and supplies both the emission weight and the
|
|
11631
|
+
* `blocksPerYear()` annualiser the Core adapter itself uses. */
|
|
11632
|
+
yieldGroup: string;
|
|
11633
|
+
/** The vToken that group supplies into. */
|
|
11634
|
+
vToken: string;
|
|
11635
|
+
/** Comptroller holding `venusSupplySpeeds`. */
|
|
11636
|
+
comptroller: string;
|
|
11637
|
+
/** `ResilientOracle` pricing both the reward token and the underlying. */
|
|
11638
|
+
oracle: string;
|
|
11639
|
+
/** Emission token (XVS). */
|
|
11640
|
+
rewardToken: string;
|
|
11641
|
+
};
|
|
11642
|
+
}
|
|
11643
|
+
/**
|
|
11644
|
+
* Incentive programs layered ON TOP of a row whose base yield already accrues
|
|
11645
|
+
* into the share price. This is the additive case that `yieldLeg: 'rewards'`
|
|
11646
|
+
* cannot express, because that field moves the WHOLE yield out of
|
|
11647
|
+
* `supplyRate`.
|
|
11648
|
+
*
|
|
11649
|
+
* Superform's SuperVaults are the case. The validator-signed PPS carries the
|
|
11650
|
+
* strategy yield (`supplyRate`), while Superform pays sUP, and USDC on the
|
|
11651
|
+
* stock vaults, through Merkl to the HOLDING address. Those programs are
|
|
11652
|
+
* summed into `rewardsRate` and published as `rewardStreams`.
|
|
11653
|
+
*
|
|
11654
|
+
* `fetch` returns streams keyed by `key`. It runs once per fetcher identity
|
|
11655
|
+
* per savings fetch, and a failure means "no incentives known", never a
|
|
11656
|
+
* dropped row.
|
|
11657
|
+
*/
|
|
11658
|
+
interface SavingsIncentivesFetcher {
|
|
11659
|
+
label: string;
|
|
11660
|
+
fetch: () => Promise<Record<string, RewardStream[]>>;
|
|
11661
|
+
}
|
|
11662
|
+
/**
|
|
11663
|
+
* What the `superform-supervault` reader needs beyond the share token. The
|
|
11664
|
+
* entry fee lives on the vault's STRATEGY (`getConfigInfo()`), and the
|
|
11665
|
+
* strategy's address cannot be discovered and called in the same multicall
|
|
11666
|
+
* round, so it is pinned. `test/vaults/savings/superformLive.test.ts`
|
|
11667
|
+
* re-reads `strategy()` against it.
|
|
11668
|
+
*/
|
|
11669
|
+
interface SuperformVaultConfig {
|
|
11670
|
+
/** `SuperVaultStrategy` clone holding the assets. */
|
|
11671
|
+
strategy: string;
|
|
11672
|
+
/** `SuperVaultEscrow` holding request shares and fulfilled payouts. */
|
|
11673
|
+
escrow: string;
|
|
11674
|
+
}
|
|
11675
|
+
/**
|
|
11676
|
+
* A reward stream a savings position earns OUTSIDE its share price — paid in a
|
|
11677
|
+
* separate token and claimed separately. Surfaces as
|
|
11678
|
+
* `SavingsVault.rewardStreams` in the `RewardStream` vocabulary the lending
|
|
11679
|
+
* side already uses (`yields/types.ts`).
|
|
11680
|
+
*
|
|
11681
|
+
* Usual's bUSD0 is the case: its share price is par forever and the whole
|
|
11682
|
+
* yield is a USUAL stream from an off-chain cumulative merkle.
|
|
11683
|
+
*/
|
|
11684
|
+
interface SavingsRewardStreamConfig {
|
|
11685
|
+
/** The token it pays in. `priceUsd` is filled in at fetch time. */
|
|
11686
|
+
token: Omit<RewardTokenRef, 'priceUsd'>;
|
|
11687
|
+
source: RewardSourceRef;
|
|
11688
|
+
claim: RewardStream['claim'];
|
|
11689
|
+
/**
|
|
11690
|
+
* Reward tokens paid per ONE share per DAY. When it resolves and both the
|
|
11691
|
+
* reward token and the underlying are priced, the APR is computed on the
|
|
11692
|
+
* row's own basis — `exchangeRate`, i.e. what a share redeems for — rather
|
|
11693
|
+
* than on whatever price the protocol divides by. `undefined` ⇒ fall back to
|
|
11694
|
+
* the entry's `yieldFetcher` APR.
|
|
11695
|
+
*/
|
|
11696
|
+
emissionPerSharePerDay?: () => Promise<number | undefined>;
|
|
11697
|
+
}
|
|
11698
|
+
/**
|
|
11699
|
+
* What the `usual-bond` reader needs that the bond itself will not say.
|
|
11700
|
+
*
|
|
11701
|
+
* bUSD0 stores its redemption token at storage slot
|
|
11702
|
+
* `Usd0PPStorageV0Location + 18` with NO getter, so the address cannot be
|
|
11703
|
+
* discovered through a multicall and is pinned here (verified on-chain
|
|
11704
|
+
* 2026-10-07; `test/vaults/savings/usualBondLive.test.ts` re-reads the slot).
|
|
11705
|
+
*/
|
|
11706
|
+
interface UsualBondConfig {
|
|
11707
|
+
/** rt-bUSD0 — burnt one-for-one by `reconstruct`. */
|
|
11708
|
+
redemptionToken: string;
|
|
11709
|
+
/** USUAL — what `unlockUSD0ppWithUsual` charges for a par early exit. */
|
|
11710
|
+
parUnlockToken: string;
|
|
11711
|
+
/** Its symbol, for the route label. */
|
|
11712
|
+
parUnlockTokenSymbol: string;
|
|
11713
|
+
}
|
|
11714
|
+
/**
|
|
11715
|
+
* Static registry entry for a savings vault.
|
|
11716
|
+
*
|
|
11717
|
+
* Per-chain entries live in {@link SAVINGS_REGISTRY}. Each pins the
|
|
11718
|
+
* on-chain identity (address, decimals), brand metadata, the
|
|
11719
|
+
* withdrawal mechanism (drives UX), and a pointer to the existing
|
|
11720
|
+
* intrinsic-yield fetcher whose APR is surfaced as `supplyRate`.
|
|
11721
|
+
*
|
|
11722
|
+
* `reader` defaults to the generic ERC-4626 reader; entries whose
|
|
11723
|
+
* share token exposes a bespoke surface (Native's wNLP) set it and get
|
|
11724
|
+
* a case in [`readers/`](./readers/).
|
|
11725
|
+
*/
|
|
11726
|
+
interface SavingsRegistryEntry {
|
|
11727
|
+
/** Read surface. Omit for plain ERC-4626 (the overwhelming majority). */
|
|
11728
|
+
reader?: SavingsReaderKind;
|
|
11729
|
+
/** Share-token contract address, lowercased. */
|
|
11730
|
+
address: string;
|
|
11731
|
+
/** Underlying ERC-20 address, lowercased. */
|
|
11732
|
+
underlying: string;
|
|
11733
|
+
/** Share-token symbol — usually the on-chain `symbol()`. */
|
|
11734
|
+
symbol: string;
|
|
11735
|
+
/**
|
|
11736
|
+
* What to call the PRODUCT when its symbol is not a name.
|
|
11737
|
+
*
|
|
11738
|
+
* Almost every row leaves this absent: the share token has a symbol of its
|
|
11739
|
+
* own (`sUSDe`, `wstETH`, `svZCHF`) and a listing that reads
|
|
11740
|
+
* "Ethena · sUSDe" says exactly what it is. The exception is a position
|
|
11741
|
+
* that is NOT a token — Frankencoin's savings module books a balance into
|
|
11742
|
+
* an internal account, so its honest `symbol` is the UNDERLYING's ticker
|
|
11743
|
+
* (see `frankencoinSavingsBase`). Composing a name from that ticker names
|
|
11744
|
+
* the row after the money it holds rather than after the product, which is
|
|
11745
|
+
* both uninformative and — since the module's own tokenised wrapper is a
|
|
11746
|
+
* separate row on the same chain — ambiguous.
|
|
11747
|
+
*
|
|
11748
|
+
* Set it only when the symbol is the underlying's; do not use it to
|
|
11749
|
+
* decorate a row that already has a share ticker.
|
|
11750
|
+
*/
|
|
11751
|
+
label?: string;
|
|
11752
|
+
/** Brand label (`Ethena`, `Sky`, `Maker`, …). */
|
|
11753
|
+
brand: string;
|
|
11754
|
+
/** One-to-three-sentence user-facing explainer: what the underlying
|
|
11755
|
+
* is, where the yield comes from, and the exit mechanics / trust
|
|
11756
|
+
* caveat when load-bearing. Surfaced verbatim as
|
|
11757
|
+
* `SavingsVault.description`. */
|
|
11758
|
+
description: string;
|
|
11759
|
+
/** Share decimals. Most are 18; Maple syrup* are 6. */
|
|
11760
|
+
decimals: number;
|
|
11761
|
+
/** Underlying ERC-20 decimals. Defaults to `decimals` when absent
|
|
11762
|
+
* — every ERC-4626 vault except a handful keep share/underlying
|
|
11763
|
+
* decimals aligned. yUSD breaks this (18-decimal shares over
|
|
11764
|
+
* 6-decimal USDC) so it must set this explicitly. */
|
|
11765
|
+
underlyingDecimals?: number;
|
|
11766
|
+
/** True if the share token rebases. False for nearly every
|
|
11767
|
+
* savings vault — the rebase lives on the underlying. */
|
|
11768
|
+
isRebasing: boolean;
|
|
11769
|
+
/** Whether deposits are permissionless. */
|
|
11770
|
+
isMintable: boolean;
|
|
11771
|
+
/** Mint entry — undefined ⇒ share token itself (ERC-4626
|
|
11772
|
+
* `deposit/mint`). */
|
|
11773
|
+
mintContract?: string;
|
|
11774
|
+
/**
|
|
11775
|
+
* The protocol's own mint/redeem is PERMISSIONED (KYC, allowlist) while the
|
|
11776
|
+
* share token itself transfers freely and has real secondary depth — so the
|
|
11777
|
+
* only route our users have, in BOTH directions, is a trade.
|
|
11778
|
+
*
|
|
11779
|
+
* Distinct from `isMintable: false`, which states the permission and stops
|
|
11780
|
+
* there: a merely-gated row has no entry at all and the earn surface renders
|
|
11781
|
+
* a disabled CTA. A `secondaryMarketOnly` row DOES have an entry — a swap,
|
|
11782
|
+
* priced by pool depth rather than by the vault, so both legs need a
|
|
11783
|
+
* slippage bound and neither may be built without one.
|
|
11784
|
+
*
|
|
11785
|
+
* NB the row's `exchangeRate` stays the NAV. The trade fills at the MARKET
|
|
11786
|
+
* price, which may sit at a discount or a premium to it — Re documents that
|
|
11787
|
+
* gap as the point of the trade ("buying below NAV"). Never present the two
|
|
11788
|
+
* as the same number.
|
|
11789
|
+
*/
|
|
11790
|
+
secondaryMarketOnly?: boolean;
|
|
11791
|
+
/**
|
|
11792
|
+
* Seconds a FRESH deposit earns nothing before the rate starts applying.
|
|
11793
|
+
*
|
|
11794
|
+
* NOT a withdrawal lock — `withdrawalCooldownSeconds` is how long the money
|
|
11795
|
+
* is stuck, and on the one entry that sets this the exit is instant. It is a
|
|
11796
|
+
* warm-up: Frankencoin's savings modules stamp a new account's tick counter
|
|
11797
|
+
* 3 days into the future (`INTEREST_DELAY`), so a shorter stay realises
|
|
11798
|
+
* EXACTLY zero, and a top-up re-weights the whole position's clock pro-rata
|
|
11799
|
+
* rather than only the new money.
|
|
11800
|
+
*
|
|
11801
|
+
* Surfaces as `termSheet.supply.rate.warmupSecs` and in the headline, which
|
|
11802
|
+
* would otherwise read "3.5 % · withdraw any time" and be misleading by
|
|
11803
|
+
* omission.
|
|
11804
|
+
*/
|
|
11805
|
+
yieldWarmupSeconds?: number;
|
|
11806
|
+
/**
|
|
11807
|
+
* `linear` when the accrual does NOT compound on its own.
|
|
11808
|
+
*
|
|
11809
|
+
* Absent ⇒ compounding, correct for any vault whose share price grows
|
|
11810
|
+
* continuously. Frankencoin books `Δticks × saved / 1e6 / 365 days` and only
|
|
11811
|
+
* compounds when someone calls `refresh`, so a per-second label would imply
|
|
11812
|
+
* an APY ~2 % relative above what it pays.
|
|
11813
|
+
*/
|
|
11814
|
+
accrual?: 'linear' | 'compounding';
|
|
11815
|
+
/**
|
|
11816
|
+
* `false` when a deposit needs NO ERC-20 approval.
|
|
11817
|
+
*
|
|
11818
|
+
* Absent ⇒ true, which is right for every vault that pulls with
|
|
11819
|
+
* `transferFrom` against an ordinary token. Frankencoin's modules are
|
|
11820
|
+
* registered ZCHF minters and the token grants a registered minter an
|
|
11821
|
+
* implicit infinite allowance, so their deposit route emits no approval —
|
|
11822
|
+
* and a term sheet claiming one would contradict the envelope beside it.
|
|
11823
|
+
*/
|
|
11824
|
+
needsDepositApproval?: boolean;
|
|
11825
|
+
/**
|
|
11826
|
+
* How a USER's position is read. Absent ⇒ `balanceOf` on `address`.
|
|
11827
|
+
*
|
|
11828
|
+
* `savings-account` is for an address that is NOT a token: Frankencoin's
|
|
11829
|
+
* module answers `savings(address)`, and `balanceOf` REVERTS on it — which
|
|
11830
|
+
* the balance route swallowed into a zero, so a funded account rendered
|
|
11831
|
+
* empty.
|
|
11832
|
+
*
|
|
11833
|
+
* `lcc-account` is a 3Jane LCC facility: the position is `getAccount(user)`
|
|
11834
|
+
* state in margin-asset units, never a token balance.
|
|
11835
|
+
*/
|
|
11836
|
+
balanceKind?: 'erc20' | 'savings-account' | 'transmuter-positions' | 'lcc-account';
|
|
11837
|
+
/**
|
|
11838
|
+
* What the base rate IS. Absent ⇒ a yield the share price (or a reward
|
|
11839
|
+
* stream) accrues. `entry-discount`: the rate is the entry asset's market
|
|
11840
|
+
* discount to par, annualised over the position's term, and so FIXED the
|
|
11841
|
+
* moment a position is opened (Alchemix's Transmuter). The sheet reads it
|
|
11842
|
+
* as `fixed-term` once a term backs it.
|
|
11843
|
+
*/
|
|
11844
|
+
rateBasis?: 'entry-discount';
|
|
11845
|
+
/** Withdrawal mechanism. */
|
|
11846
|
+
withdrawalMode: SavingsWithdrawalMode;
|
|
11847
|
+
/** Fixed cooldown in seconds for `fixed-cooldown` mode. Pinned
|
|
11848
|
+
* here; read on-chain if the precise governance-current value is
|
|
11849
|
+
* needed. Also the pinned fallback for `fee-or-queued` entries whose
|
|
11850
|
+
* reader re-reads the live queue window. */
|
|
11851
|
+
withdrawalCooldownSeconds?: number;
|
|
11852
|
+
/**
|
|
11853
|
+
* Pinned exit fee in basis points, for a plain-4626 vault that charges one
|
|
11854
|
+
* the generic reader cannot see. When set it WINS over the reader's figure:
|
|
11855
|
+
* the generic readers publish a house default (`erc4626-idle` says 0 for
|
|
11856
|
+
* every vault), and a fee pinned here is a per-vault fact someone read off
|
|
11857
|
+
* the contract. Absent on every row that does not need it.
|
|
11858
|
+
*
|
|
11859
|
+
* Fluid Lite is the case: iETHv2's `withdrawalFeePercentage()` is 500 / 1e6
|
|
11860
|
+
* (5 bps) but its `previewRedeem` does NOT net it (it equals
|
|
11861
|
+
* `convertToAssets`), while fLiteUSD's does — so the reader's
|
|
11862
|
+
* `convertToAssets` price is right and the fee has to be stated beside it.
|
|
11863
|
+
*/
|
|
11864
|
+
withdrawFeeBps?: number;
|
|
11865
|
+
/**
|
|
11866
|
+
* Pinned fees for a vault whose reader cannot read the dial. Same units as
|
|
11867
|
+
* the row (`depositFeeBps` in bps, `performanceFeePct` in percent of yield,
|
|
11868
|
+
* `managementFeePct` in percent of assets per year), same discipline: a live
|
|
11869
|
+
* read wins, absent means not read. Each pin is a fact read off the contract
|
|
11870
|
+
* — say where in a comment beside it.
|
|
11871
|
+
*/
|
|
11872
|
+
depositFeeBps?: number;
|
|
11873
|
+
performanceFeePct?: number;
|
|
11874
|
+
managementFeePct?: number;
|
|
11875
|
+
/**
|
|
11876
|
+
* Date (`YYYY-MM-DD`) the vault's WHOLE fee schedule was read on-chain and
|
|
11877
|
+
* every fee it charges was put on the row (live read or pin above). With it
|
|
11878
|
+
* the term sheet states an empty fee list as free; without it the list is
|
|
11879
|
+
* declared `pending`. Re-check when the date gets old.
|
|
11880
|
+
*/
|
|
11881
|
+
feeScheduleCheckedAt?: string;
|
|
11882
|
+
/** Contract a delayed redemption is requested from, when it is not the
|
|
11883
|
+
* share token itself (Native's per-wNLP `WithdrawQueue`). */
|
|
11884
|
+
withdrawQueue?: string;
|
|
11885
|
+
/** Contract holding the inventory an *instant* exit is drawn from,
|
|
11886
|
+
* when the share token itself does not custody it (Native's per-chain
|
|
11887
|
+
* `CreditVault`, Spark V1's PSM3 pocket). Read as
|
|
11888
|
+
* `underlying.balanceOf(inventoryContract)` to get the real
|
|
11889
|
+
* this-block redemption cap. */
|
|
11890
|
+
inventoryContract?: string;
|
|
11891
|
+
/** Second contract holding the state that caps **deposits**, when the
|
|
11892
|
+
* share token exposes no `maxDeposit()`. Yield Basis's per-market
|
|
11893
|
+
* LEVAMM: the gate is `max_debt()/2 >= value_oracle().value`, and a
|
|
11894
|
+
* full market reverts `"Debt too high"` with nothing to read on the
|
|
11895
|
+
* share token itself. Only consumed by the `yieldbasis-lt` reader. */
|
|
11896
|
+
capacityContract?: string;
|
|
11897
|
+
/** External price feed for share tokens that do not price themselves —
|
|
11898
|
+
* Re Protocol's per-chain NAV oracle, Theo's RedStone `sthUSD_FUNDAMENTAL`
|
|
11899
|
+
* feed on Stable. Chainlink-shaped (`latestRoundData`). Only read by the
|
|
11900
|
+
* `nav-oracle` reader. */
|
|
11901
|
+
priceOracle?: string;
|
|
11902
|
+
/** Decimals of `priceOracle`'s `answer`. Defaults to **18**, which is what
|
|
11903
|
+
* Re's four feeds publish. Theo's RedStone feed publishes **8** — a
|
|
11904
|
+
* per-feed fact with no house convention behind it, and getting it wrong
|
|
11905
|
+
* is silent: the row prices at 1e-10 of par and renders as dust rather
|
|
11906
|
+
* than as an error. Only read by the `nav-oracle` reader. */
|
|
11907
|
+
priceOracleDecimals?: number;
|
|
11908
|
+
/** Which getter the `erc4626-cooldown` reader calls for the live exit lock.
|
|
11909
|
+
* Defaults to `cooldownDuration` (StakedUSDeV2 and its forks); Theo's
|
|
11910
|
+
* sthUSD spells the same dial `lockupPeriod`. */
|
|
11911
|
+
cooldownGetter?: 'cooldownDuration' | 'lockupPeriod';
|
|
11912
|
+
/**
|
|
11913
|
+
* The TRUST question, curated: what actually stands behind a share, and
|
|
11914
|
+
* where this vault sits in the loss waterfall.
|
|
11915
|
+
*
|
|
11916
|
+
* Absent ⇒ NOT ASSESSED, which is not the same as safe. Consumers see the
|
|
11917
|
+
* difference through `termSheet.coverage` (`present.counterparty` vs
|
|
11918
|
+
* `pending.counterparty`), so an assumed `overcollateralized` can never be
|
|
11919
|
+
* mistaken for an asserted one.
|
|
11920
|
+
*
|
|
11921
|
+
* The distinction is per-VAULT, not per-provider, and that is why it lives
|
|
11922
|
+
* here: Strata's senior and junior tranches are two registry rows one address
|
|
11923
|
+
* apart, and they are opposite sides of the same first-loss agreement.
|
|
11924
|
+
*/
|
|
11925
|
+
solvency?: CounterpartyTerms['solvency'];
|
|
11926
|
+
/** Venus Liquidity Hub topology — see {@link VenusHubConfig}. Only read by
|
|
11927
|
+
* the `venus-hub` reader. */
|
|
11928
|
+
venusHub?: VenusHubConfig;
|
|
11929
|
+
/** Usual bond pins — see {@link UsualBondConfig}. Only read by the
|
|
11930
|
+
* `usual-bond` reader and its exit routes. */
|
|
11931
|
+
usualBond?: UsualBondConfig;
|
|
11932
|
+
/**
|
|
11933
|
+
* Which leg of the row the entry's yield lands in. Absent ⇒ `'supply'`, the
|
|
11934
|
+
* savings default: the yield accrues INTO the share price, so it is
|
|
11935
|
+
* `supplyRate`.
|
|
11936
|
+
*
|
|
11937
|
+
* `'rewards'` is for a position whose share price does not move and whose
|
|
11938
|
+
* yield is a separately paid, separately CLAIMED token (bUSD0 → USUAL):
|
|
11939
|
+
* `supplyRate` is then 0 and the APR is `rewardsRate`, with
|
|
11940
|
+
* `rewardStream` describing what is paid and how to claim it. Opt-in, so
|
|
11941
|
+
* no existing row changes.
|
|
11942
|
+
*/
|
|
11943
|
+
yieldLeg?: 'supply' | 'rewards';
|
|
11944
|
+
/** The stream behind a `yieldLeg: 'rewards'` entry — see
|
|
11945
|
+
* {@link SavingsRewardStreamConfig}. */
|
|
11946
|
+
rewardStream?: SavingsRewardStreamConfig;
|
|
11947
|
+
/**
|
|
11948
|
+
* Maturity, unix seconds, for a dated bond. A FALLBACK: the reader's live
|
|
11949
|
+
* `getEndTime()` wins on a fetched row. It exists for the sheets built from
|
|
11950
|
+
* proxied origin rows (`/vaults/latest`, `/earn/latest`), which carry no
|
|
11951
|
+
* per-vault maturity column — without it a bond would render as perpetual
|
|
11952
|
+
* there. See `savingsCuration` in `terms/vault/input.ts`.
|
|
11953
|
+
*/
|
|
11954
|
+
expiry?: number;
|
|
11955
|
+
/**
|
|
11956
|
+
* Fixed DURATION of a position, seconds — the per-deposit counterpart of
|
|
11957
|
+
* `expiry`, and a FALLBACK in the same sense: the reader's live
|
|
11958
|
+
* `timeToTransmute × secondsPerBlock` wins on a fetched row, and this keeps
|
|
11959
|
+
* a proxied Transmuter sheet from rendering as perpetual.
|
|
11960
|
+
*/
|
|
11961
|
+
termSeconds?: number;
|
|
11962
|
+
/** Alchemix Transmuter pins — see {@link AlchemixTransmuterConfig}. Only
|
|
11963
|
+
* read by the `alchemix-transmuter` reader. */
|
|
11964
|
+
alchemixTransmuter?: AlchemixTransmuterConfig;
|
|
11965
|
+
/** `true` ⇒ an exit takes the whole position or nothing (3Jane LCC). Feeds
|
|
11966
|
+
* the term sheet's `exit.partialAllowed`. */
|
|
11967
|
+
exitWholeOnly?: boolean;
|
|
11968
|
+
/** 3Jane LCC facility pins — see {@link ThreeJaneLccConfig}. Only read by
|
|
11969
|
+
* the `threejane-lcc` reader. */
|
|
11970
|
+
threeJaneLcc?: ThreeJaneLccConfig;
|
|
11971
|
+
/** Incentives ON TOP of the supply leg, added into `rewardsRate` — see
|
|
11972
|
+
* {@link SavingsIncentivesFetcher}. Read with `incentivesKey`. */
|
|
11973
|
+
incentives?: SavingsIncentivesFetcher;
|
|
11974
|
+
/** Key inside the incentives fetcher's result. */
|
|
11975
|
+
incentivesKey?: string;
|
|
11976
|
+
/** Superform SuperVault pins — see {@link SuperformVaultConfig}. Only read
|
|
11977
|
+
* by the `superform-supervault` reader. */
|
|
11978
|
+
superform?: SuperformVaultConfig;
|
|
11979
|
+
/** IPOR Fusion pins — the vault's AccessManager and WithdrawManager (the
|
|
11980
|
+
* latter has no getter on the vault) and whether it has instant-withdrawal
|
|
11981
|
+
* fuses. From calldata-sdk `IPOR_FUSION_VAULTS`. Only read by the
|
|
11982
|
+
* `ipor-fusion` reader. */
|
|
11983
|
+
iporFusion?: {
|
|
11984
|
+
accessManager: string;
|
|
11985
|
+
withdrawManager: string;
|
|
11986
|
+
instantFuses: boolean;
|
|
11987
|
+
};
|
|
11988
|
+
/** Mezzanine pins, every target outside the tranche. From calldata-sdk
|
|
11989
|
+
* `MEZZANINE_TRANCHES`. Only read by the `mezzanine-tranche` reader. */
|
|
11990
|
+
mezzanine?: {
|
|
11991
|
+
issuanceVault: string;
|
|
11992
|
+
mzusd: string;
|
|
11993
|
+
reservoir: string;
|
|
11994
|
+
allowlist: string;
|
|
11995
|
+
pauseManager: string;
|
|
11996
|
+
/** The deposit asset's `symbol()`, for the exit prose. */
|
|
11997
|
+
depositSymbol: string;
|
|
11998
|
+
/** The deposit asset is itself minted from USDC (Hastra's wYLDS). */
|
|
11999
|
+
funded: boolean;
|
|
12000
|
+
};
|
|
12001
|
+
/** Makina: the Machine that prices this share token (`convertToAssets`,
|
|
12002
|
+
* `lastTotalAum`). Only read by the `makina-machine` reader. */
|
|
12003
|
+
makinaMachine?: string;
|
|
12004
|
+
/** Mellow core-vault pins (vault, oracle, fee manager, the four queues) —
|
|
12005
|
+
* only read by the `mellow-core` reader. From calldata-sdk
|
|
12006
|
+
* `MELLOW_VAULTS`, the one address table. */
|
|
12007
|
+
mellow?: {
|
|
12008
|
+
vault: string;
|
|
12009
|
+
oracle: string;
|
|
12010
|
+
feeManager: string;
|
|
12011
|
+
syncDepositQueue: string;
|
|
12012
|
+
syncRedeemQueue: string;
|
|
12013
|
+
redeemQueue: string;
|
|
12014
|
+
};
|
|
12015
|
+
/** Veda BoringVault pins for THIS chain — only read by the `veda-boring`
|
|
12016
|
+
* reader, and preferred over the address-keyed `VEDA_BORING_CONFIG`. A
|
|
12017
|
+
* Veda vault keeps ONE address on every chain it spans (ether.fi Liquid
|
|
12018
|
+
* on Ethereum and Optimism) while its exit asset and base differ per
|
|
12019
|
+
* chain, so a row on a second chain must carry its own pins rather than
|
|
12020
|
+
* inherit the home chain's by address. */
|
|
12021
|
+
veda?: {
|
|
12022
|
+
accountant: string;
|
|
12023
|
+
teller: string;
|
|
12024
|
+
queue: string;
|
|
12025
|
+
exitAsset: string;
|
|
12026
|
+
solveCadenceSeconds?: number;
|
|
12027
|
+
};
|
|
12028
|
+
/** Aera V3 pins — only read by the `aera-v3` reader. From calldata-sdk
|
|
12029
|
+
* `AERA_VAULTS`. */
|
|
12030
|
+
aera?: {
|
|
12031
|
+
provisioner: string;
|
|
12032
|
+
priceFeeCalculator: string;
|
|
12033
|
+
/** Provisioner generation — selects the `tokensDetails` layout. */
|
|
12034
|
+
provisionerVersion: 1 | 2;
|
|
12035
|
+
};
|
|
12036
|
+
/** Origin's OETH vault (the OToken → WETH queue) — only read by the
|
|
12037
|
+
* `origin-wrapper` reader. From calldata-sdk `ORIGIN_WRAPPERS`. */
|
|
12038
|
+
origin?: {
|
|
12039
|
+
vault: string;
|
|
12040
|
+
/** What the queue pays (WETH). */
|
|
12041
|
+
asset: string;
|
|
12042
|
+
/** The OToken the instant unwrap pays (`OETH` / `superOETHb`). */
|
|
12043
|
+
oTokenSymbol: string;
|
|
12044
|
+
};
|
|
12045
|
+
/** Morpho Vault V2 liquidity-leg pins — see {@link MorphoVaultV2Config}.
|
|
12046
|
+
* Only read by the `morpho-vault-v2` reader. */
|
|
12047
|
+
morphoVaultV2?: MorphoVaultV2Config;
|
|
12048
|
+
/** Existing intrinsic-yield fetcher whose APR is surfaced as
|
|
12049
|
+
* `supplyRate`. Optional — `sDAI` for example has no dedicated
|
|
12050
|
+
* fetcher today; entry still works, `supplyRate` defaults to 0. */
|
|
12051
|
+
yieldFetcher?: YieldFetcher;
|
|
12052
|
+
/** Key inside the yield fetcher's `YieldResult` to read. Yield
|
|
12053
|
+
* fetchers return maps keyed by symbol or by a free-text label;
|
|
12054
|
+
* this is the exact key. */
|
|
12055
|
+
yieldKey?: string;
|
|
12056
|
+
}
|
|
11439
12057
|
/** Returns the registry entries for a chain, or `[]` when unsupported. */
|
|
11440
12058
|
/**
|
|
11441
12059
|
* How a user's position in `address` is read, from OUR registry.
|
|
@@ -11451,7 +12069,7 @@ type SavingsVaults = {
|
|
|
11451
12069
|
* Returns `undefined` for anything unregistered, which callers must treat as
|
|
11452
12070
|
* the ordinary `balanceOf` shape.
|
|
11453
12071
|
*/
|
|
11454
|
-
declare const savingsBalanceKind: (chainId: string, address: string) => "
|
|
12072
|
+
declare const savingsBalanceKind: (chainId: string, address: string) => SavingsRegistryEntry["balanceKind"];
|
|
11455
12073
|
/**
|
|
11456
12074
|
* Is this row one whose only route in and out — for a caller without the
|
|
11457
12075
|
* protocol's KYC/allowlist — is a trade on the secondary market?
|
|
@@ -11472,6 +12090,9 @@ declare const secondaryMarketVault: (chainId: string, address: string) => {
|
|
|
11472
12090
|
/** Every savings vault we register on a chain, addresses lowercased. */
|
|
11473
12091
|
declare const savingsAddresses: (chainId: string) => string[];
|
|
11474
12092
|
|
|
12093
|
+
/** Reader discriminant on a registry entry. Absent ⇒ `erc4626`. */
|
|
12094
|
+
type SavingsReaderKind = 'erc4626' | 'erc4626-cooldown' | 'erc4626-idle' | 'erc4626-withdraw-limit' | 'native-wnlp' | 'nav-oracle' | 'frankencoin-savings' | 'hyperbeat-vault' | 'bitway-vault' | 'zerobase-vault' | 'bitfi-bfbtc' | 'bitfi-vault' | 'yieldbasis-lt' | 'wren-nav' | 'vesper-pool' | 'yearn-v2-vault' | 'venus-hub' | 'saturn-vault' | 'nest-vault' | 'usual-bond' | 'lista-rwa-pool' | 'lista-xaut-staking' | 'aster-asusdf-earn' | 'superform-supervault' | 'ipor-fusion' | 'mezzanine-tranche' | 'ember-vault' | 'mellow-core' | 'aera-v3' | 'origin-wrapper' | 'liminal-pipe' | 'veda-boring' | 'unitas-xgld' | 'royco-tranche' | 'inverter-oracle' | 'erc4626-cooldown-instant-fee' | 'sbold' | 'morpho-vault-v2' | 'accountable-vault' | 'inverse-jrdola' | 'inverse-sinv' | 'alchemix-transmuter' | 'threejane-lcc' | 'usdai-staked' | 'yuzu-ilp' | 'makina-machine';
|
|
12095
|
+
|
|
11475
12096
|
/** One Transmuter position NFT. Amounts are RAW alAsset (18-dec). */
|
|
11476
12097
|
interface TransmuterLot {
|
|
11477
12098
|
/** The ERC-721 id — what `claimRedemption` takes. */
|
|
@@ -11511,6 +12132,44 @@ declare function readTransmuterLots(multicallRetry: MulticallRetryFunction, chai
|
|
|
11511
12132
|
count: bigint;
|
|
11512
12133
|
}[]): Promise<Map<string, TransmuterHolding>>;
|
|
11513
12134
|
|
|
12135
|
+
/**
|
|
12136
|
+
* The `lcc-account` balance read — a 3Jane LCC facility is not a token, so a
|
|
12137
|
+
* user's position is `getAccount(user)` on the facility, never `balanceOf`
|
|
12138
|
+
* (which does not exist there). One call, so it slots into the balance
|
|
12139
|
+
* multicall beside every ERC-20 read.
|
|
12140
|
+
*/
|
|
12141
|
+
declare const lccAccountCall: (facility: string, account: string) => {
|
|
12142
|
+
call: {
|
|
12143
|
+
address: string;
|
|
12144
|
+
name: string;
|
|
12145
|
+
params: string[];
|
|
12146
|
+
};
|
|
12147
|
+
abi: readonly [{
|
|
12148
|
+
readonly name: string;
|
|
12149
|
+
readonly type: "function";
|
|
12150
|
+
readonly stateMutability: "view";
|
|
12151
|
+
readonly inputs: {
|
|
12152
|
+
name: string;
|
|
12153
|
+
type: string;
|
|
12154
|
+
}[];
|
|
12155
|
+
readonly outputs: {
|
|
12156
|
+
name: string;
|
|
12157
|
+
type: string;
|
|
12158
|
+
components?: unknown[];
|
|
12159
|
+
}[];
|
|
12160
|
+
}];
|
|
12161
|
+
};
|
|
12162
|
+
/**
|
|
12163
|
+
* The margin the account owns in the facility, raw margin-asset units:
|
|
12164
|
+
* active + pending + exited-and-claimable — the same sum
|
|
12165
|
+
* `claimRemainingMargin` pays out on a shutdown. Margin queued in an exit
|
|
12166
|
+
* bucket is still inside `activeMargin` until the exit matures.
|
|
12167
|
+
*
|
|
12168
|
+
* `undefined` when the read failed (the multicall ladder answers `'0x'`),
|
|
12169
|
+
* never zero.
|
|
12170
|
+
*/
|
|
12171
|
+
declare const lccAccountMargin: (decoded: unknown) => bigint | undefined;
|
|
12172
|
+
|
|
11514
12173
|
type UsualRewardSelection = {
|
|
11515
12174
|
status: 'ok';
|
|
11516
12175
|
/** Cumulative USUAL in the approved root; `0n` when never in a root. */
|
|
@@ -13863,7 +14522,7 @@ interface VaultLookupEntry {
|
|
|
13863
14522
|
* looks like a legitimate zero is the worst shape this bug could take, which
|
|
13864
14523
|
* is why the read is dispatched rather than probed.
|
|
13865
14524
|
*/
|
|
13866
|
-
balanceKind?: 'erc20' | 'savings-account' | 'transmuter-positions';
|
|
14525
|
+
balanceKind?: 'erc20' | 'savings-account' | 'transmuter-positions' | 'lcc-account';
|
|
13867
14526
|
}
|
|
13868
14527
|
/**
|
|
13869
14528
|
* Flattens the per-provider maps from `VaultPublicDataAll` into a
|
|
@@ -16620,6 +17279,12 @@ interface VaultTermInput {
|
|
|
16620
17279
|
* ~2 % relative above what it pays.
|
|
16621
17280
|
*/
|
|
16622
17281
|
accrual?: 'linear' | 'compounding';
|
|
17282
|
+
/**
|
|
17283
|
+
* `true` when an exit takes the WHOLE position or nothing (3Jane LCC's
|
|
17284
|
+
* unstake is full-position and irrevocable). Absent ⇒ partial exits work,
|
|
17285
|
+
* the case for every other vault we serve.
|
|
17286
|
+
*/
|
|
17287
|
+
exitWholeOnly?: boolean;
|
|
16623
17288
|
/**
|
|
16624
17289
|
* Does a deposit need an ERC-20 approval?
|
|
16625
17290
|
*
|
|
@@ -19081,4 +19746,4 @@ interface FundingHedgeInput {
|
|
|
19081
19746
|
/** `undefined` when no profile asset has a market at all — nothing to state. */
|
|
19082
19747
|
declare function buildFundingHedgeTerms(i: FundingHedgeInput): FundingHedgeTerms | undefined;
|
|
19083
19748
|
|
|
19084
|
-
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 BorosBasisStats, 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 ChoiceEffects, type ChoiceOption, type ChoicePreset, type ChoiceRequest, type ChoiceResolution, type ChoiceStance, type ChoiceWarning, 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, type EModeSwitchRule, 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, FUNDING_HEDGE_REFERENCE_USD, 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, type FundingHedgeInput, type FundingHedgeLeg, type FundingHedgeRowRef, type FundingHedgeTerms, 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 ListaRewardProgram, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstPauseState, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MerklOpportunityResolver, 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 ParameterLevel, 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 PositionChoice, type PositionChoiceDigest, 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, REFLECT_TRANCHE_SIDES, 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_SAVINGS_CURATION, 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 SvmSavingsCuration, 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, type TransmuterHolding, type TransmuterLot, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, USER_REWARD_SOURCES, 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 UserRewardAuthRequired, type UserRewardBreakdown, type UserRewardClaim, type UserRewardEntry, type UserRewardMarketRef, type UserRewardSource, type UserRewardSourceError, type UserRewardsResult, type UsualRewardsClaimData, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VENUS_CORE_POOL_ID, 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, VenusEModeAbi, type VenusEModeSetup, 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, bandsForStance, blockNumberFromTag, borosApi, borosInitialMargin, borosMaintenanceMargin, borosRateMoveToLiquidation, borosSideTerms, borosTakerFee, borrowDescription, borrowFindings, borrowHeadline, buildBorosTermSheet, buildExposures, buildFluidFTokensCall, buildFundingHedgeTerms, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildPositionChoices, 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, digestChoices, disambiguateEarnNames, disambiguateOrderBookNames, discoverFlexTroves, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowFundingProfile, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, encodeChoiceValue, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, exponentTrancheDescription, feePhrase, feedKeyOf, feedStatKey, fetchAaveIncentivesUserRewards, fetchAlchemixMarkets, fetchBorosAccount, fetchBorosCollaterals, fetchBorosMarket, fetchBorosMarketById, fetchBorosMarkets, fetchBorosOrderBook, fetchBorosRateHistory, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFlexMarkets, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFlyingTulipUserRewards, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaMarketEmissions, fetchListaUserRewards, fetchListaVaultEmissions, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMerklUserRewards, 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, fetchUserRewards, fetchUsualRewardsClaimData, fetchYearnApiVaults, fetchYearnVaults, fillCapacityAt, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, flexAverageRate, flexLenderApr, flexLenderKey, flexMarketIndex, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fundingExposureOf, fundingSymbolBase, 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, getVenusEModeSetup, 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, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, lenderLiquidityPressure, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, listaEmissionRewardFetcher, listaLoginMessage, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parameterLadder, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, pegPressure, assetKey as pendleAssetKey, pickRates, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, protocolConsensus, protocolOf, pruneFeedStats, quoteBorosHedgeLeg, rankBorosHedgeMarkets, rankFindings, ratePercent, readLstPauseState, readTransmuterLots, readUserPositions, readVaultSharePrices, reflectTrancheDescription, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveChoices, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveMerklOpportunityMarkets, resolveModeConfig, resolveRatePicks, resolveStCeloDepositGroup, resolveStance, 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, svmSavingsCuration, 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 };
|
|
19749
|
+
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 BorosBasisStats, 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 ChoiceEffects, type ChoiceOption, type ChoicePreset, type ChoiceRequest, type ChoiceResolution, type ChoiceStance, type ChoiceWarning, 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, type EModeSwitchRule, 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, FUNDING_HEDGE_REFERENCE_USD, 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, type FundingHedgeInput, type FundingHedgeLeg, type FundingHedgeRowRef, type FundingHedgeTerms, 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 ListaRewardProgram, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstPauseState, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MerklOpportunityResolver, 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 ParameterLevel, 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 PositionChoice, type PositionChoiceDigest, 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, REFLECT_TRANCHE_SIDES, 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_SAVINGS_CURATION, 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 SvmSavingsCuration, 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, type TransmuterHolding, type TransmuterLot, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, USER_REWARD_SOURCES, 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 UserRewardAuthRequired, type UserRewardBreakdown, type UserRewardClaim, type UserRewardEntry, type UserRewardMarketRef, type UserRewardSource, type UserRewardSourceError, type UserRewardsResult, type UsualRewardsClaimData, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VENUS_CORE_POOL_ID, 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, VenusEModeAbi, type VenusEModeSetup, 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, bandsForStance, blockNumberFromTag, borosApi, borosInitialMargin, borosMaintenanceMargin, borosRateMoveToLiquidation, borosSideTerms, borosTakerFee, borrowDescription, borrowFindings, borrowHeadline, buildBorosTermSheet, buildExposures, buildFluidFTokensCall, buildFundingHedgeTerms, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildPositionChoices, 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, digestChoices, disambiguateEarnNames, disambiguateOrderBookNames, discoverFlexTroves, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowFundingProfile, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, encodeChoiceValue, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, exponentTrancheDescription, feePhrase, feedKeyOf, feedStatKey, fetchAaveIncentivesUserRewards, fetchAlchemixMarkets, fetchBorosAccount, fetchBorosCollaterals, fetchBorosMarket, fetchBorosMarketById, fetchBorosMarkets, fetchBorosOrderBook, fetchBorosRateHistory, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFlexMarkets, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFlyingTulipUserRewards, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLenderRewards, fetchLenderRewardsByMarketUid, fetchLiquityMarkets, fetchListaMarketEmissions, fetchListaUserRewards, fetchListaVaultEmissions, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMerklUserRewards, 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, fetchUserRewards, fetchUsualRewardsClaimData, fetchYearnApiVaults, fetchYearnVaults, fillCapacityAt, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, flexAverageRate, flexLenderApr, flexLenderKey, flexMarketIndex, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fundingExposureOf, fundingSymbolBase, 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, getVenusEModeSetup, 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, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lccAccountCall, lccAccountMargin, lenderApiOnly, lenderFamily, lenderLiquidityPressure, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, listaEmissionRewardFetcher, listaLoginMessage, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parameterLadder, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, pegPressure, assetKey as pendleAssetKey, pickRates, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, protocolConsensus, protocolOf, pruneFeedStats, quoteBorosHedgeLeg, rankBorosHedgeMarkets, rankFindings, ratePercent, readLstPauseState, readTransmuterLots, readUserPositions, readVaultSharePrices, reflectTrancheDescription, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveChoices, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveMerklOpportunityMarkets, resolveModeConfig, resolveRatePicks, resolveStCeloDepositGroup, resolveStance, 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, svmSavingsCuration, 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 };
|