@1delta/margin-fetcher 0.0.342 → 0.0.402
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 +114 -17
- package/dist/index.js +2127 -240
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -592,6 +592,18 @@ declare const getLenderPublicDataViaApi: (chainId: string, lenders: string[], pr
|
|
|
592
592
|
[lender: string]: any;
|
|
593
593
|
}>;
|
|
594
594
|
|
|
595
|
+
/**
|
|
596
|
+
* Returns true when the lender should ONLY use the API path (no on-chain
|
|
597
|
+
* fallback). Currently Morpho-type only — the Morpho GraphQL indexer has
|
|
598
|
+
* been reliable on every chain it supports, so there's no benefit to
|
|
599
|
+
* double-fetching.
|
|
600
|
+
*
|
|
601
|
+
* Exported so the config-consistency test can assert the invariant that makes
|
|
602
|
+
* the Morpho list safe: a chain routed to the on-chain path MUST have a
|
|
603
|
+
* `MORPHO_LENS` entry, otherwise `buildMorphoCall` produces a call with an
|
|
604
|
+
* undefined address and the chain silently yields no markets at all.
|
|
605
|
+
*/
|
|
606
|
+
declare function lenderApiOnly(lender: string, chainId: string): boolean;
|
|
595
607
|
declare const getLenderPublicDataAll: (chainId: string, lenders: string[], prices: {
|
|
596
608
|
[asset: string]: number;
|
|
597
609
|
}, additionalYields: AdditionalYields, multicallRetry: MulticallRetryFunction, tokenList?: () => Promise<GenericTokenList>, includeUnlistedMorphoMarkets?: boolean) => Promise<{
|
|
@@ -4529,7 +4541,7 @@ declare const resolveStCeloDepositGroup: (user: Address, requestedGroup?: string
|
|
|
4529
4541
|
* kept separate so the two providers can evolve independently without
|
|
4530
4542
|
* one provider's withdrawal taxonomy creep affecting the other.
|
|
4531
4543
|
*/
|
|
4532
|
-
type SavingsWithdrawalMode = 'instant' | 'fixed-cooldown' | 'queued' | 'request-based' | 'fee-or-queued';
|
|
4544
|
+
type SavingsWithdrawalMode = 'instant' | 'instant-capped' | 'fixed-cooldown' | 'queued' | 'request-based' | 'fee-or-queued';
|
|
4533
4545
|
/**
|
|
4534
4546
|
* Parsed savings-vault entry.
|
|
4535
4547
|
*
|
|
@@ -4591,9 +4603,13 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
4591
4603
|
/** Sum of `supplyRate + rewardsRate` — what a depositor actually
|
|
4592
4604
|
* earns. */
|
|
4593
4605
|
depositRate: number;
|
|
4594
|
-
/**
|
|
4595
|
-
*
|
|
4596
|
-
|
|
4606
|
+
/** Whether the share token implements ERC-4626. True for every entry
|
|
4607
|
+
* except Native's wNLP, which is a bespoke wrapper (`asset()`,
|
|
4608
|
+
* `totalAssets()` and `convertToAssets()` all revert) — the
|
|
4609
|
+
* `convertTo*` / `exchangeRate` fields below are still populated for
|
|
4610
|
+
* it, derived from its own rate getter. Parity with
|
|
4611
|
+
* `LstShareToken.isErc4626`. */
|
|
4612
|
+
isErc4626: boolean;
|
|
4597
4613
|
/** Whether the share token itself rebases. False for nearly every
|
|
4598
4614
|
* savings vault (they're the non-rebasing wrapper); rebasing
|
|
4599
4615
|
* surfaces sit on the underlying (e.g. USDe inside sUSDe). */
|
|
@@ -4607,12 +4623,51 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
4607
4623
|
mintContract?: string;
|
|
4608
4624
|
/** Withdrawal mechanism. */
|
|
4609
4625
|
withdrawalMode: SavingsWithdrawalMode;
|
|
4610
|
-
/**
|
|
4611
|
-
*
|
|
4612
|
-
*
|
|
4613
|
-
*
|
|
4614
|
-
*
|
|
4626
|
+
/** Waiting period in seconds before a requested redemption can be
|
|
4627
|
+
* claimed. For `fixed-cooldown` entries (Ethena, Avant) this is the
|
|
4628
|
+
* registry-pinned value. For `fee-or-queued` entries it is the
|
|
4629
|
+
* **live** on-chain queue window, which varies per asset (Native
|
|
4630
|
+
* runs 8 h on some pools and 3 days on most). */
|
|
4615
4631
|
withdrawalCooldownSeconds?: number;
|
|
4632
|
+
/**
|
|
4633
|
+
* Exit fee in basis points (`10` = 0.10 %) — same units and name as
|
|
4634
|
+
* `GearboxV3Pool.withdrawFeeBps`, so consumers read one field across
|
|
4635
|
+
* providers.
|
|
4636
|
+
*
|
|
4637
|
+
* **How it is charged** (Native): it is *not* a deposit fee, a
|
|
4638
|
+
* management fee, or a skim on yield — `exchangeRate` and `supplyRate`
|
|
4639
|
+
* are already net of everything Native takes on the way in. It is a
|
|
4640
|
+
* one-off haircut on the **instant** exit only, taken out of the
|
|
4641
|
+
* underlying paid to the receiver:
|
|
4642
|
+
*
|
|
4643
|
+
* received = shares × exchangeRate × (1 − withdrawFeeBps/10_000)
|
|
4644
|
+
*
|
|
4645
|
+
* so redeeming 9,867.98 wNLP-USDC worth 10,000 USDC returns 9,900 USDC
|
|
4646
|
+
* at 100 bps. The shares burn in full — the fee is deducted from the
|
|
4647
|
+
* payout, never charged as a separate transfer, so a caller does not
|
|
4648
|
+
* need to fund it or approve anything extra.
|
|
4649
|
+
*
|
|
4650
|
+
* The **queued** leg (`withdrawQueue`, after
|
|
4651
|
+
* `withdrawalCooldownSeconds`) pays out at par and does not touch this
|
|
4652
|
+
* field. Its cost is implicit instead: the payout is snapshotted when
|
|
4653
|
+
* the request is made, so yield accruing during the wait goes to the
|
|
4654
|
+
* protocol rather than the requester.
|
|
4655
|
+
*
|
|
4656
|
+
* `0` means the instant leg is free. Absent when the vault has no
|
|
4657
|
+
* instant leg at all.
|
|
4658
|
+
*/
|
|
4659
|
+
withdrawFeeBps?: number;
|
|
4660
|
+
/** Whether the instant leg is enabled at all — some assets are
|
|
4661
|
+
* queue-only. When `false`, `liquidity` is `0` regardless of the
|
|
4662
|
+
* protocol's inventory and `withdrawFeeBps` is unreachable. */
|
|
4663
|
+
instantRedeemEnabled?: boolean;
|
|
4664
|
+
/** Contract the instant leg draws from — Native's per-chain
|
|
4665
|
+
* `CreditVault`. Its underlying balance is what `liquidity`
|
|
4666
|
+
* measures. */
|
|
4667
|
+
inventoryContract?: string;
|
|
4668
|
+
/** Contract a delayed redemption is requested from and claimed
|
|
4669
|
+
* against, when it is not the share token itself. */
|
|
4670
|
+
withdrawQueue?: string;
|
|
4616
4671
|
/** Hydrated asset metadata from the provided token list, if any. */
|
|
4617
4672
|
asset?: GenericCurrency;
|
|
4618
4673
|
/** USD price of one underlying unit, if prices were supplied. */
|
|
@@ -4621,18 +4676,60 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
4621
4676
|
totalAssetsFormatted: number;
|
|
4622
4677
|
/** Human-formatted total assets in USD. */
|
|
4623
4678
|
totalAssetsUsd: number;
|
|
4624
|
-
/**
|
|
4625
|
-
*
|
|
4626
|
-
*
|
|
4627
|
-
*
|
|
4628
|
-
*
|
|
4629
|
-
*
|
|
4630
|
-
*
|
|
4679
|
+
/** Withdrawable underlying **right now**, raw integer string, per
|
|
4680
|
+
* `withdrawalMode`:
|
|
4681
|
+
* - `instant` — fully liquid (`= totalAssets`).
|
|
4682
|
+
* - `instant-capped` — settles in the same transaction, but only up
|
|
4683
|
+
* to a live inventory that is smaller than the vault: Spark
|
|
4684
|
+
* Savings V1 is capped by the PSM3 pocket's underlying balance
|
|
4685
|
+
* (6–29 % of TVL on the L2 deployments) and Spark Vaults V2 by the
|
|
4686
|
+
* vault's own idle balance (the rest is lent out through the Spark
|
|
4687
|
+
* Liquidity Layer). No fee and no cooldown on this leg — the
|
|
4688
|
+
* difference from `instant` is purely the size cap, and the
|
|
4689
|
+
* difference from `fee-or-queued` is that exceeding it costs
|
|
4690
|
+
* nothing extra, it simply cannot be done this block.
|
|
4691
|
+
* - `fee-or-queued` — the protocol's live instant-exit inventory,
|
|
4692
|
+
* clamped to `totalAssets`; `0` when the instant leg is disabled.
|
|
4693
|
+
* This is a **gross** figure: pulling it out instantly nets
|
|
4694
|
+
* `withdrawFeeBps` less (see that field). The queued leg is not
|
|
4695
|
+
* inventory-capped and pays at par, so `liquidity` is not a cap on
|
|
4696
|
+
* what the vault can ultimately return.
|
|
4697
|
+
* - `fixed-cooldown` / `queued` / `request-based` — `0`; these
|
|
4698
|
+
* require a waiting period.
|
|
4699
|
+
* A cooldown vault's underlying may still be redeemable after the
|
|
4700
|
+
* wait — this field is the *right now* figure, matching the
|
|
4701
|
+
* cross-provider `liquidity` semantic. */
|
|
4631
4702
|
liquidity: string;
|
|
4632
4703
|
/** Human-formatted withdrawable liquidity. */
|
|
4633
4704
|
liquidityFormatted: number;
|
|
4634
4705
|
/** Withdrawable liquidity in USD. */
|
|
4635
4706
|
liquidityUsd: number;
|
|
4707
|
+
/**
|
|
4708
|
+
* `liquidity / totalAssets`, clamped to `0…1` — the share of the vault a
|
|
4709
|
+
* holder could exit **this block**. `1 − instantLiquidityRatio` is the
|
|
4710
|
+
* share that must wait, so this is the vault's **lockup indicator**.
|
|
4711
|
+
*
|
|
4712
|
+
* Deliberately *not* called `utilization`. For a lending vault
|
|
4713
|
+
* utilization is `borrowed / supplied`, read from a debt accumulator;
|
|
4714
|
+
* none of these protocols expose one (Native's CreditVault and NTLP have
|
|
4715
|
+
* no debt getter at all, and the CreditVault commingles market-maker
|
|
4716
|
+
* collateral with pool inventory, so its balance can exceed the pool).
|
|
4717
|
+
* What this measures is exit **coverage**, which is the quantity that
|
|
4718
|
+
* actually predicts lockup — and unlike utilization it stays meaningful
|
|
4719
|
+
* for cooldown vaults that have no borrow side whatsoever.
|
|
4720
|
+
*
|
|
4721
|
+
* Reads per mode:
|
|
4722
|
+
* - `instant` → always `1` (fully liquid by construction).
|
|
4723
|
+
* - `fee-or-queued` → the live CreditVault coverage; the observed spread
|
|
4724
|
+
* across Native pools is the full `0…1` range, so it carries real
|
|
4725
|
+
* information (BNB `wNLP-T4B` sits near `0`, Ethereum `wNLP-USDC` at
|
|
4726
|
+
* `1`). Below `1` the remainder is not lost, just queued.
|
|
4727
|
+
* - `fixed-cooldown` / `queued` / `request-based` → always `0`; nothing
|
|
4728
|
+
* is redeemable without waiting.
|
|
4729
|
+
*
|
|
4730
|
+
* An empty vault reports `1` — there is nothing to be locked up.
|
|
4731
|
+
*/
|
|
4732
|
+
instantLiquidityRatio: number;
|
|
4636
4733
|
}
|
|
4637
4734
|
/**
|
|
4638
4735
|
* Full parsed payload: per-share-token-address map.
|
|
@@ -6658,4 +6755,4 @@ interface FetchTokenBalancesOptions {
|
|
|
6658
6755
|
*/
|
|
6659
6756
|
declare function fetchTokenBalances(chainId: string, account: string, tokens: string[], options?: FetchTokenBalancesOptions): Promise<TokenBalanceResult>;
|
|
6660
6757
|
|
|
6661
|
-
export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, ApiBookSource, type AprData, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type CoreValidators, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_STALE_REJECT_SECONDS, type Denomination, type DepthMap, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, type EulerEarnVault, type EulerEarnVaults, type EulerV2Metadata, type ExactlyFixedPool, type ExactlyFixedPosition, type ExactlyMarketAccount, type ExactlyMarketsRaw, type ExactlyUserFixedPosition, type ExtraValidationCall, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchTokenBalancesOptions, type FlattenPriorityConfig, type FluidFToken, type FluidFTokens, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MaxParamThresholds, type MergedUserData, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallRpcBatch, type NumberMap, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OutlierGuardConfig, type ParsedBalanceData, type ParsedResponse, type ParsedUserBalance, type PermissionParams, type PoolData, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type SiloVault, type SiloVaults, type StCeloValidatorGroup, type StaleFeedEntry, type StructuredOraclePrices, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, TELLER_CALLS_PER_BID, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermListing, type TermMarketRaw, TermSubgraphSource, 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 UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, VAULT_SHARE_PRICE_PROBE, VOLATILE_VAULT_OVERRIDES, type VaultAprResult, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultPublicDataAll, type VaultPublicDataResult, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyPositionDelta, attachPricesToFlashLiquidity, buildFluidFTokensCall, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildVaultLookup, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertExactlyMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, detectInterfaceKinds, encodeBalanceFetcherCalldata, exactlyLenderKey, exactlyMarketFromLenderKey, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feedKeyOf, feedStatKey, fetchDolomiteAccountNumbers, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidFTokens, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendlePrices, fetchRiverMarkets, fetchSiloVaults, fetchTellerMarkets, fetchTermMarkets, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchYearnApiVaults, fetchYearnVaults, filterActiveLenders, filterLendersByProtocol, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedLiquityTroves, getCachedTellerBids, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMorphoTypeMarketConverter, getResolvedDolomiteAccountNumbers, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getVaultPublicDataAll, getVaultWithdrawalRequests, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasUpshiftVaults, hasYearnVaults, isStablecoinSymbol, isYearnV3, keysFromMaps, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, parseBalanceFetcherResult, parseMergedResult, parseMulticallRpcResponses, parseRawRpcBatchResponses, parseRawRpcResponses, parseTokenBalanceResult, positivePart, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, resolveDerivation, resolveStCeloDepositGroup, riverKeyParts, riverLenderKey, selectAssetGroupPrices, stampVaultClassification, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termLenderKey, tickToAprNumber, tickToPrice, unflattenLenderData, updateFeedStats };
|
|
6758
|
+
export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, ApiBookSource, type AprData, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type CoreValidators, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_STALE_REJECT_SECONDS, type Denomination, type DepthMap, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, type EulerEarnVault, type EulerEarnVaults, type EulerV2Metadata, type ExactlyFixedPool, type ExactlyFixedPosition, type ExactlyMarketAccount, type ExactlyMarketsRaw, type ExactlyUserFixedPosition, type ExtraValidationCall, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchTokenBalancesOptions, type FlattenPriorityConfig, type FluidFToken, type FluidFTokens, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MaxParamThresholds, type MergedUserData, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallRpcBatch, type NumberMap, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OutlierGuardConfig, type ParsedBalanceData, type ParsedResponse, type ParsedUserBalance, type PermissionParams, type PoolData, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type SiloVault, type SiloVaults, type StCeloValidatorGroup, type StaleFeedEntry, type StructuredOraclePrices, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, TELLER_CALLS_PER_BID, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermListing, type TermMarketRaw, TermSubgraphSource, 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 UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, VAULT_SHARE_PRICE_PROBE, VOLATILE_VAULT_OVERRIDES, type VaultAprResult, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultPublicDataAll, type VaultPublicDataResult, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyPositionDelta, attachPricesToFlashLiquidity, buildFluidFTokensCall, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildVaultLookup, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertExactlyMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, detectInterfaceKinds, encodeBalanceFetcherCalldata, exactlyLenderKey, exactlyMarketFromLenderKey, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feedKeyOf, feedStatKey, fetchDolomiteAccountNumbers, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidFTokens, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendlePrices, fetchRiverMarkets, fetchSiloVaults, fetchTellerMarkets, fetchTermMarkets, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchYearnApiVaults, fetchYearnVaults, filterActiveLenders, filterLendersByProtocol, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedLiquityTroves, getCachedTellerBids, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMorphoTypeMarketConverter, getResolvedDolomiteAccountNumbers, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getVaultPublicDataAll, getVaultWithdrawalRequests, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasUpshiftVaults, hasYearnVaults, isStablecoinSymbol, isYearnV3, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, parseBalanceFetcherResult, parseMergedResult, parseMulticallRpcResponses, parseRawRpcBatchResponses, parseRawRpcResponses, parseTokenBalanceResult, positivePart, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, resolveDerivation, resolveStCeloDepositGroup, riverKeyParts, riverLenderKey, selectAssetGroupPrices, stampVaultClassification, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termLenderKey, tickToAprNumber, tickToPrice, unflattenLenderData, updateFeedStats };
|