@1delta/margin-fetcher 5.0.90 → 5.0.92
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 +270 -41
- package/dist/index.js +897 -581
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -353,16 +353,43 @@ interface GetEvmClientOptions {
|
|
|
353
353
|
type GetEvmClientFunction = (chain: string, rpcId?: number, options?: GetEvmClientOptions) => PublicClient;
|
|
354
354
|
|
|
355
355
|
type SerializedBigNumber = string;
|
|
356
|
+
/**
|
|
357
|
+
* What a query carries besides the account. Two shapes, both already on the
|
|
358
|
+
* wire — declared here because every caller was casting (`as any`) to get one
|
|
359
|
+
* of them past `params?: any[]`, which described neither:
|
|
360
|
+
*
|
|
361
|
+
* - a **string list**: the per-market lender keys a collapsed query stands for
|
|
362
|
+
* (`organizeUserQueries` builds it for Morpho / Lista / Silo / Gearbox /
|
|
363
|
+
* Term / TermMax / LlamaLend / …, and the builder reads it as its roster);
|
|
364
|
+
* - an **object**: the sub-accounts the caller wants read — Euler sub-account
|
|
365
|
+
* indexes, Dolomite account numbers (`<n>` or `iso:<marketId>:<n>`).
|
|
366
|
+
*
|
|
367
|
+
* The two never mix: a family that collapses per-market keys has no
|
|
368
|
+
* sub-accounts and vice versa.
|
|
369
|
+
*/
|
|
370
|
+
type LenderUserParams = string[] | {
|
|
371
|
+
/** Euler: sub-account indexes 0..255 (the EVC XOR of the low byte). */
|
|
372
|
+
subAccountIndexes?: number[];
|
|
373
|
+
/** Dolomite: account numbers — `uint256` or `iso:<marketId>:<n>`. */
|
|
374
|
+
accountNumbers?: string[];
|
|
375
|
+
};
|
|
356
376
|
interface LenderUserQuery {
|
|
357
377
|
/** the lender enum (Note that for multi-market ones, it is not the lender but the group) */
|
|
358
|
-
lender:
|
|
378
|
+
lender: string;
|
|
359
379
|
/** user address */
|
|
360
380
|
account: string;
|
|
361
381
|
/** custom parameters for fetching e.g. multi-market lenders */
|
|
362
|
-
params?:
|
|
382
|
+
params?: LenderUserParams;
|
|
363
383
|
/** custom parameters for spceifying assets */
|
|
364
384
|
assets?: any[];
|
|
365
385
|
}
|
|
386
|
+
/** The collapsed per-market keys of a query, or `undefined` for the other shape. */
|
|
387
|
+
declare const marketKeysOf: (params: LenderUserParams | undefined) => string[] | undefined;
|
|
388
|
+
/** The sub-account selection of a query, or `undefined` for the other shape. */
|
|
389
|
+
declare const subAccountsOf: (params: LenderUserParams | undefined) => {
|
|
390
|
+
subAccountIndexes?: number[];
|
|
391
|
+
accountNumbers?: string[];
|
|
392
|
+
} | undefined;
|
|
366
393
|
/**
|
|
367
394
|
* Collapse per-market queries whose builder + RPC call are identical
|
|
368
395
|
* across every market key into a single query. Without this, a chain
|
|
@@ -1038,6 +1065,52 @@ interface MulticallEndpointOptions {
|
|
|
1038
1065
|
}
|
|
1039
1066
|
declare function prepareMulticallInputs(abi: any[], calls: Call[]): PreparedCall[];
|
|
1040
1067
|
|
|
1068
|
+
/**
|
|
1069
|
+
* What a user-data READ knows besides the account — the context the batched
|
|
1070
|
+
* phase already had and the discovery phase did not.
|
|
1071
|
+
*
|
|
1072
|
+
* `prepareLenderUserDataRpcCalls` pins its `aggregate3` to a block, but the
|
|
1073
|
+
* families that must DISCOVER before they read (Liquity troves, Teller bids,
|
|
1074
|
+
* dss CDPs, Twyne vaults, Resupply pairs, Curvance markets, Lista's broker)
|
|
1075
|
+
* run their own multicall inside the build phase. Until these options existed
|
|
1076
|
+
* those reads went to the endpoint's HEAD through the global `LIST_OVERRIDES`
|
|
1077
|
+
* — so a read pinned to block N returned head-discovered troves with
|
|
1078
|
+
* block-N data, and a consumer storing an anchor at N stored a set that never
|
|
1079
|
+
* existed at N.
|
|
1080
|
+
*
|
|
1081
|
+
* Every field is optional and absent means exactly the old behaviour: no
|
|
1082
|
+
* block parameter on the request, the global endpoint lists, the default
|
|
1083
|
+
* client. Nothing here adds a call.
|
|
1084
|
+
*/
|
|
1085
|
+
interface UserCallOptions {
|
|
1086
|
+
/**
|
|
1087
|
+
* Pin the discovery reads to this block. The endpoint must be archival for
|
|
1088
|
+
* it, and it must be at or after Multicall3's deployment on the chain —
|
|
1089
|
+
* viem refuses a multicall pinned before `chain.contracts.multicall3
|
|
1090
|
+
* .blockCreated` outright. Absent = head.
|
|
1091
|
+
*/
|
|
1092
|
+
blockNumber?: bigint;
|
|
1093
|
+
/**
|
|
1094
|
+
* Endpoint lists per chain for the discovery reads, instead of the process
|
|
1095
|
+
* global `LIST_OVERRIDES`. A caller that serves its own RPCs (a fork, an
|
|
1096
|
+
* indexer's own endpoint roster) can route them per call instead of
|
|
1097
|
+
* mutating the global.
|
|
1098
|
+
*/
|
|
1099
|
+
rpcOverrides?: Record<string, string[]>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Client factory for the builders that read through viem directly rather
|
|
1102
|
+
* than through the multicall ladder (Lista's broker warm-up). Same shape
|
|
1103
|
+
* the e2e path already passed.
|
|
1104
|
+
*/
|
|
1105
|
+
getClient?: (chainId: string, rpcId?: number) => any;
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* The block tag a prepared batch carries, as a `blockNumber` for the
|
|
1109
|
+
* discovery reads that run beside it. `latest` / `pending` / `earliest` and
|
|
1110
|
+
* anything unparseable answer `undefined` — head, as before.
|
|
1111
|
+
*/
|
|
1112
|
+
declare const blockNumberFromTag: (blockTag: string | number | bigint | undefined) => bigint | undefined;
|
|
1113
|
+
|
|
1041
1114
|
interface PreparedUserDataRpcCalls {
|
|
1042
1115
|
batches: MulticallRpcBatch[];
|
|
1043
1116
|
preparedCalls: PreparedCall[];
|
|
@@ -1295,7 +1368,27 @@ type LenderYieldComplete = {
|
|
|
1295
1368
|
type LenderCrossPoolMeta = Record<string, LenderYieldComplete>;
|
|
1296
1369
|
type LenderToLenderCrossPoolMeta = Record<string, LenderCrossPoolMeta>;
|
|
1297
1370
|
interface UserDataForSubAccount {
|
|
1371
|
+
/**
|
|
1372
|
+
* The sub-account this set belongs to, as the FAMILY keys it: Euler's
|
|
1373
|
+
* sub-account index (`'0'` = the owner's own account), Dolomite's account
|
|
1374
|
+
* number (`<n>`, or `iso:<marketId>:<n>` for an isolation-mode vault),
|
|
1375
|
+
* a Gearbox credit account, `'0'` for every single-account lender.
|
|
1376
|
+
*
|
|
1377
|
+
* It is the position key a consumer joins on, so it must not be reinvented
|
|
1378
|
+
* downstream — see {@link UserDataForSubAccount.accountAddress} for the
|
|
1379
|
+
* address that key resolves to, where the family has one.
|
|
1380
|
+
*/
|
|
1298
1381
|
accountId: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* The ADDRESS the sub-account acts as on chain, when it is not the owner's:
|
|
1384
|
+
* Euler's EVC sub-account (`owner ^ index`) and Dolomite's isolation-mode
|
|
1385
|
+
* vault. Derived offline — it costs no call — and stated here because every
|
|
1386
|
+
* consumer that attributes a LOG to a position had to re-derive it, and one
|
|
1387
|
+
* that derives it differently silently splits the position in two.
|
|
1388
|
+
*
|
|
1389
|
+
* Absent where the account IS the owner's address.
|
|
1390
|
+
*/
|
|
1391
|
+
accountAddress?: string;
|
|
1299
1392
|
health: number | null;
|
|
1300
1393
|
/** Total USD borrowable while maintaining health >= 1 */
|
|
1301
1394
|
borrowCapacityUSD: number;
|
|
@@ -1401,6 +1494,15 @@ interface ConvertLenderUserDataOptions {
|
|
|
1401
1494
|
* `retryableFailedCalls`.
|
|
1402
1495
|
*/
|
|
1403
1496
|
permanentFailures?: Set<number>;
|
|
1497
|
+
/**
|
|
1498
|
+
* The block the reads were pinned to, when they were. The families that
|
|
1499
|
+
* DISCOVER before they read (Liquity, Teller, dss, Twyne, Resupply,
|
|
1500
|
+
* Curvance) hand the build phase's result to the parse phase through a
|
|
1501
|
+
* per-account cache, and that cache is keyed by the block — so a parse of a
|
|
1502
|
+
* pinned read must name the same block its build did, or it finds nothing
|
|
1503
|
+
* where a whole position set should be. Absent = head, as before.
|
|
1504
|
+
*/
|
|
1505
|
+
blockNumber?: bigint;
|
|
1404
1506
|
}
|
|
1405
1507
|
/**
|
|
1406
1508
|
* Converts the raw results into the desired format
|
|
@@ -1536,14 +1638,26 @@ declare const getLenderUserDataResult: (chainId: string, queriesRaw: LenderUserQ
|
|
|
1536
1638
|
* Prepares the RPC calls for fetching user data without executing them
|
|
1537
1639
|
* Uses multicall3 aggregate3 to batch all calls into a single RPC call
|
|
1538
1640
|
* This reduces multiple RPC calls to one, avoiding rate limiting
|
|
1641
|
+
*
|
|
1642
|
+
* `blockTag` pins the batch AND the build phase: the families that discover
|
|
1643
|
+
* before they read (Liquity, Teller, dss, Twyne, Resupply, Curvance, Lista's
|
|
1644
|
+
* broker) run their own multicall here, and until this was threaded they ran
|
|
1645
|
+
* it at HEAD — so a batch pinned to N returned a head-discovered position set
|
|
1646
|
+
* read at N. A caller that pins now gets one block for both phases; one that
|
|
1647
|
+
* does not is unchanged. Pass the same `blockNumber` to
|
|
1648
|
+
* {@link convertLenderUserDataResult} (`options.blockNumber`), which is how
|
|
1649
|
+
* the parse phase finds the discovery this build cached.
|
|
1650
|
+
*
|
|
1539
1651
|
* @param chainId - The chain ID
|
|
1540
1652
|
* @param queriesRaw - The queries to fetch data for
|
|
1541
1653
|
* @param batchSize - Multicall batch size, default is 4096
|
|
1542
1654
|
* @param blockTag - Block tag for the RPC calls, default is 'latest'
|
|
1543
1655
|
* @param allowFailure - Allow individual calls to fail within multicall, default is true
|
|
1656
|
+
* @param opts - read context for the discovery phase (endpoint lists, client).
|
|
1657
|
+
* The block comes from `blockTag`; an explicit `opts.blockNumber` wins.
|
|
1544
1658
|
* @returns The prepared RPC batches and metadata needed for parsing
|
|
1545
1659
|
*/
|
|
1546
|
-
declare const prepareLenderUserDataRpcCalls: (chainId: string, queriesRaw: LenderUserQuery[], batchSize?: number, blockTag?: string, allowFailure?: boolean) => Promise<PreparedUserDataRpcCalls>;
|
|
1660
|
+
declare const prepareLenderUserDataRpcCalls: (chainId: string, queriesRaw: LenderUserQuery[], batchSize?: number, blockTag?: string, allowFailure?: boolean, opts?: UserCallOptions) => Promise<PreparedUserDataRpcCalls>;
|
|
1547
1661
|
/**
|
|
1548
1662
|
* Fetch structured lender balance set for addresses
|
|
1549
1663
|
* @param account general account as override in queries
|
|
@@ -1772,7 +1886,7 @@ declare function decodePackedListaUserDataset(hex: string, marketsCount: number)
|
|
|
1772
1886
|
declare const MORPHO_LENS: {
|
|
1773
1887
|
[c: string]: string;
|
|
1774
1888
|
};
|
|
1775
|
-
declare const buildMorphoTypeUserCallWithLens: (chainId: string, account: string, lender: string, marketsToQuery: string[],
|
|
1889
|
+
declare const buildMorphoTypeUserCallWithLens: (chainId: string, account: string, lender: string, marketsToQuery: string[], opts?: UserCallOptions) => Call[] | Promise<Call[]>;
|
|
1776
1890
|
|
|
1777
1891
|
/**
|
|
1778
1892
|
* Back-compat alias. New callers should use `RelayProxyConfig` directly from
|
|
@@ -1997,6 +2111,131 @@ declare function filterActiveLenders(summary: PortfolioSummary): PortfolioSummar
|
|
|
1997
2111
|
*/
|
|
1998
2112
|
declare function fuseLenderData(userDataResult: UserDataResult, summary: PortfolioSummary): LenderDataEntry[];
|
|
1999
2113
|
|
|
2114
|
+
/**
|
|
2115
|
+
* Lender keys the meta publishes PER MARKET, as `<KEY>_<market>`: naming the
|
|
2116
|
+
* family selects every one of its markets. Everything else matches exactly.
|
|
2117
|
+
*/
|
|
2118
|
+
declare const PREFIX_LENDERS: Set<string>;
|
|
2119
|
+
/** Normalize a raw lender key: uppercase, hyphens to underscores. */
|
|
2120
|
+
declare const parseLenderKey: (raw: string) => string;
|
|
2121
|
+
interface MetaFilter {
|
|
2122
|
+
/** exact keys, or a prefix family (`MORPHO_BLUE`); empty/absent = every lender */
|
|
2123
|
+
lenders?: string[];
|
|
2124
|
+
/**
|
|
2125
|
+
* Market ids (hex, `0x` optional) a PREFIX family is narrowed to — the
|
|
2126
|
+
* caller already knows which markets the account is in and a chain can
|
|
2127
|
+
* carry a thousand. Ignored for exactly-matched keys.
|
|
2128
|
+
*/
|
|
2129
|
+
markets?: string[];
|
|
2130
|
+
}
|
|
2131
|
+
/**
|
|
2132
|
+
* The slice of a chain's meta a read should cover. Returns the input when
|
|
2133
|
+
* nothing is selected, so the "read everything" path allocates nothing.
|
|
2134
|
+
*/
|
|
2135
|
+
declare function filterLenderMeta<T extends Record<string, any>>(meta: T, filter?: MetaFilter): T;
|
|
2136
|
+
interface SubAccountSelection {
|
|
2137
|
+
/** Euler sub-account indexes (0..255). */
|
|
2138
|
+
subAccountIndexes?: number[];
|
|
2139
|
+
/** Dolomite account numbers — `<n>` or `iso:<marketId>:<n>`. */
|
|
2140
|
+
accountNumbers?: string[];
|
|
2141
|
+
}
|
|
2142
|
+
/**
|
|
2143
|
+
* One query per lender key in the meta, carrying the sub-account selection to
|
|
2144
|
+
* the two families that take one.
|
|
2145
|
+
*
|
|
2146
|
+
* Naming them matters: with no `subAccountIndexes`, Euler's upstream builds
|
|
2147
|
+
* ALL 256 indexes when its API is silent, and Dolomite reads account 0 alone
|
|
2148
|
+
* when the subgraph is.
|
|
2149
|
+
*/
|
|
2150
|
+
declare const buildQueriesFromMeta: (meta: Record<string, any>, account: string, selection?: SubAccountSelection) => LenderUserQuery[];
|
|
2151
|
+
/**
|
|
2152
|
+
* Attach each entry's lender info (name, logo) in place. Keyed by chain
|
|
2153
|
+
* because a read can span several and an entry names its own.
|
|
2154
|
+
*/
|
|
2155
|
+
declare const injectLenderInfoIntoEntries: (entries: {
|
|
2156
|
+
chainId: string;
|
|
2157
|
+
lender: string;
|
|
2158
|
+
lenderInfo?: LenderInfo;
|
|
2159
|
+
}[], infoByChain: Record<string, LenderInfoMap> | undefined) => void;
|
|
2160
|
+
|
|
2161
|
+
interface RawRpcResponse {
|
|
2162
|
+
jsonrpc: '2.0';
|
|
2163
|
+
id: number;
|
|
2164
|
+
result?: string;
|
|
2165
|
+
error?: {
|
|
2166
|
+
code: number;
|
|
2167
|
+
message: string;
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
declare function parseRawRpcResponses(responses: RawRpcResponse[], callMetadata: PreparedCall[], allowFailure?: boolean): any[];
|
|
2171
|
+
declare function parseRawRpcBatchResponses(batches: RawRpcBatch[], batchResponses: RawRpcResponse[][], allowFailure?: boolean): any[];
|
|
2172
|
+
/**
|
|
2173
|
+
* Parses multicall3 aggregate3 responses
|
|
2174
|
+
* The response contains an array of {success, returnData} tuples
|
|
2175
|
+
* Each returnData needs to be decoded using the original call's ABI
|
|
2176
|
+
*
|
|
2177
|
+
* `permanentFailures`, when supplied, is filled with the indices of calls that
|
|
2178
|
+
* failed DETERMINISTICALLY. This path can tell them apart with certainty, which
|
|
2179
|
+
* the viem path can only infer: if the batch response itself came back, the
|
|
2180
|
+
* transport worked, so a `success: false` entry inside it is a revert — the
|
|
2181
|
+
* chain's answer, not a lost read. Only a batch-level error is a lost read.
|
|
2182
|
+
*
|
|
2183
|
+
* The distinction matters downstream: a cross-margin lender voids its whole set
|
|
2184
|
+
* on a lost read, and without this a single always-reverting market would void
|
|
2185
|
+
* a perfectly good position on every request.
|
|
2186
|
+
*/
|
|
2187
|
+
declare function parseMulticallRpcResponses(responses: RawRpcResponse[], batches: MulticallRpcBatch[], allowFailure?: boolean, permanentFailures?: Set<number>): any[];
|
|
2188
|
+
|
|
2189
|
+
/** Sends prepared `eth_call` batches and returns their answers, in call order. */
|
|
2190
|
+
type UserDataTransport = (calls: RawRpcCall[]) => Promise<RawRpcResponse[]>;
|
|
2191
|
+
interface ReadUserPositionsParams extends SubAccountSelection {
|
|
2192
|
+
chainId: string;
|
|
2193
|
+
account: string;
|
|
2194
|
+
/** The chain's lender meta — the market book the parsers read against. */
|
|
2195
|
+
meta: LenderToLenderCrossPoolMeta;
|
|
2196
|
+
/** exact lender keys, or a prefix family (`MORPHO_BLUE`); absent = all */
|
|
2197
|
+
lenders?: string[];
|
|
2198
|
+
/** market ids a prefix family is narrowed to (see {@link filterLenderMeta}) */
|
|
2199
|
+
markets?: string[];
|
|
2200
|
+
/**
|
|
2201
|
+
* Pin every call — the batch AND the discovery reads — to this block.
|
|
2202
|
+
* Absent = the transport's own block tag, i.e. head.
|
|
2203
|
+
*/
|
|
2204
|
+
blockNumber?: number | bigint;
|
|
2205
|
+
/** calls per `aggregate3` batch */
|
|
2206
|
+
batchSize?: number;
|
|
2207
|
+
/** Names and logos, attached per entry when given. */
|
|
2208
|
+
lenderInfo?: LenderInfoMap;
|
|
2209
|
+
/** Endpoint lists / client for the discovery reads, instead of the globals. */
|
|
2210
|
+
readContext?: Omit<UserCallOptions, 'blockNumber'>;
|
|
2211
|
+
/** Called once per lender that did not read cleanly. */
|
|
2212
|
+
onIncomplete?: (info: IncompleteLenderRead) => void;
|
|
2213
|
+
transport: UserDataTransport;
|
|
2214
|
+
}
|
|
2215
|
+
interface ReadUserPositionsResult {
|
|
2216
|
+
/** Fused entries — positions plus the per-lender summary — one per lender. */
|
|
2217
|
+
items: LenderDataEntry[];
|
|
2218
|
+
/** The block the read was pinned to, or `null` when it was not pinned. */
|
|
2219
|
+
asOfBlock: number | null;
|
|
2220
|
+
/** True when at least one lender could not be read completely. */
|
|
2221
|
+
partial: boolean;
|
|
2222
|
+
/** `<chainId>:<lender>` for each lender dropped or flagged incomplete. */
|
|
2223
|
+
incompleteLenders: string[];
|
|
2224
|
+
stats: {
|
|
2225
|
+
lenders: number;
|
|
2226
|
+
calls: number;
|
|
2227
|
+
batches: number;
|
|
2228
|
+
ms: number;
|
|
2229
|
+
};
|
|
2230
|
+
}
|
|
2231
|
+
/**
|
|
2232
|
+
* A lender whose reads ALL failed is dropped and named rather than returned
|
|
2233
|
+
* as an empty position — "we could not read" and "there is nothing here" are
|
|
2234
|
+
* different answers and a consumer storing an anchor acts on them
|
|
2235
|
+
* differently.
|
|
2236
|
+
*/
|
|
2237
|
+
declare function readUserPositions(params: ReadUserPositionsParams): Promise<ReadUserPositionsResult>;
|
|
2238
|
+
|
|
2000
2239
|
type EmitterRole = 'core' | 'market' | 'shareToken' | 'debtToken' | 'positionNft' | 'broker' | 'factory' | 'router'
|
|
2001
2240
|
/** a side contract that emits an action on a market (Silo's PartialLiquidation hook: `LiquidationCall`) */
|
|
2002
2241
|
| 'hook';
|
|
@@ -3709,7 +3948,7 @@ interface LiquityDiscovery {
|
|
|
3709
3948
|
perBranch: LiquityDiscoveredTrove[][];
|
|
3710
3949
|
at: number;
|
|
3711
3950
|
}
|
|
3712
|
-
declare const getCachedLiquityTroves: (chainId: string, lender: string, account: string) => LiquityDiscovery | undefined;
|
|
3951
|
+
declare const getCachedLiquityTroves: (chainId: string, lender: string, account: string, opts?: UserCallOptions) => LiquityDiscovery | undefined;
|
|
3713
3952
|
/** Candidate trove ids for one user: direct + per-zapper salted, as decimal strings. */
|
|
3714
3953
|
declare function liquityCandidateTroveIds(account: string, zappers: string[]): string[];
|
|
3715
3954
|
/**
|
|
@@ -3723,7 +3962,7 @@ declare function liquityCandidateTroveIds(account: string, zappers: string[]): s
|
|
|
3723
3962
|
* getDepositorCollGain, stashedColl](account)
|
|
3724
3963
|
* + CollSurplusPool.getCollateral(account) (when configured)
|
|
3725
3964
|
*/
|
|
3726
|
-
declare const buildLiquityUserCall: (chainId: string, lender: string, account: string) => Promise<Call[]>;
|
|
3965
|
+
declare const buildLiquityUserCall: (chainId: string, lender: string, account: string, opts?: UserCallOptions) => Promise<Call[]>;
|
|
3727
3966
|
|
|
3728
3967
|
/**
|
|
3729
3968
|
* Raw per-TroveManager on-chain snapshot of a River deployment. All bigints
|
|
@@ -5013,8 +5252,8 @@ interface TellerDiscovery {
|
|
|
5013
5252
|
bids: TellerDiscoveredBid[];
|
|
5014
5253
|
at: number;
|
|
5015
5254
|
}
|
|
5016
|
-
declare const getCachedTellerBids: (chainId: string, account: string) => TellerDiscovery | undefined;
|
|
5017
|
-
declare const buildTellerUserCall: (chainId: string, _lender: string, account: string) => Promise<Call[]>;
|
|
5255
|
+
declare const getCachedTellerBids: (chainId: string, account: string, opts?: UserCallOptions) => TellerDiscovery | undefined;
|
|
5256
|
+
declare const buildTellerUserCall: (chainId: string, _lender: string, account: string, opts?: UserCallOptions) => Promise<Call[]>;
|
|
5018
5257
|
|
|
5019
5258
|
/**
|
|
5020
5259
|
* TermMax public-data types.
|
|
@@ -8694,6 +8933,10 @@ interface TermSheetDigest {
|
|
|
8694
8933
|
settlement: SupplyExitTerms['settlement'];
|
|
8695
8934
|
canOpen: boolean;
|
|
8696
8935
|
headline: string;
|
|
8936
|
+
/** The 1–3 sentence explainer — curated where a vault has hand-written
|
|
8937
|
+
* copy, templated from the structured fields otherwise. Always a string;
|
|
8938
|
+
* `''` only when the sheet itself carries none. */
|
|
8939
|
+
description: string;
|
|
8697
8940
|
tags: TermTag[];
|
|
8698
8941
|
backedBy?: Omit<ExposureTerms, 'items'>;
|
|
8699
8942
|
};
|
|
@@ -8707,6 +8950,8 @@ interface TermSheetDigest {
|
|
|
8707
8950
|
liquidationTrigger: LiquidationTerms['trigger'];
|
|
8708
8951
|
canOpen: boolean;
|
|
8709
8952
|
headline: string;
|
|
8953
|
+
/** See the supply-side note above. */
|
|
8954
|
+
description: string;
|
|
8710
8955
|
tags: TermTag[];
|
|
8711
8956
|
acceptedCollateral?: Omit<ExposureTerms, 'items'>;
|
|
8712
8957
|
};
|
|
@@ -12253,34 +12498,6 @@ interface DolomiteRowIdentity {
|
|
|
12253
12498
|
*/
|
|
12254
12499
|
declare function resolveDolomiteRowIdentity(chainId: string, lender: string, marketId: string | number, token: string, tokenList?: GenericTokenList): DolomiteRowIdentity;
|
|
12255
12500
|
|
|
12256
|
-
interface RawRpcResponse {
|
|
12257
|
-
jsonrpc: '2.0';
|
|
12258
|
-
id: number;
|
|
12259
|
-
result?: string;
|
|
12260
|
-
error?: {
|
|
12261
|
-
code: number;
|
|
12262
|
-
message: string;
|
|
12263
|
-
};
|
|
12264
|
-
}
|
|
12265
|
-
declare function parseRawRpcResponses(responses: RawRpcResponse[], callMetadata: PreparedCall[], allowFailure?: boolean): any[];
|
|
12266
|
-
declare function parseRawRpcBatchResponses(batches: RawRpcBatch[], batchResponses: RawRpcResponse[][], allowFailure?: boolean): any[];
|
|
12267
|
-
/**
|
|
12268
|
-
* Parses multicall3 aggregate3 responses
|
|
12269
|
-
* The response contains an array of {success, returnData} tuples
|
|
12270
|
-
* Each returnData needs to be decoded using the original call's ABI
|
|
12271
|
-
*
|
|
12272
|
-
* `permanentFailures`, when supplied, is filled with the indices of calls that
|
|
12273
|
-
* failed DETERMINISTICALLY. This path can tell them apart with certainty, which
|
|
12274
|
-
* the viem path can only infer: if the batch response itself came back, the
|
|
12275
|
-
* transport worked, so a `success: false` entry inside it is a revert — the
|
|
12276
|
-
* chain's answer, not a lost read. Only a batch-level error is a lost read.
|
|
12277
|
-
*
|
|
12278
|
-
* The distinction matters downstream: a cross-margin lender voids its whole set
|
|
12279
|
-
* on a lost read, and without this a single always-reverting market would void
|
|
12280
|
-
* a perfectly good position on every request.
|
|
12281
|
-
*/
|
|
12282
|
-
declare function parseMulticallRpcResponses(responses: RawRpcResponse[], batches: MulticallRpcBatch[], allowFailure?: boolean, permanentFailures?: Set<number>): any[];
|
|
12283
|
-
|
|
12284
12501
|
type TokenEntry = {
|
|
12285
12502
|
chainId: string;
|
|
12286
12503
|
decimals: number;
|
|
@@ -13894,10 +14111,22 @@ declare function enrichmentIndexFromRows(rows: Record<string, any>[]): Enrichmen
|
|
|
13894
14111
|
/**
|
|
13895
14112
|
* Collapse a sheet to its digest form (`?terms=digest`).
|
|
13896
14113
|
*
|
|
13897
|
-
* Drops `items[]` from the exposure sets
|
|
13898
|
-
*
|
|
13899
|
-
*
|
|
13900
|
-
*
|
|
14114
|
+
* Drops `items[]` from the exposure sets — an Aave market with 30 accepted
|
|
14115
|
+
* collaterals is several kB on its own, and it is the SAME accepted set
|
|
14116
|
+
* repeated on every row of that lender. Every dropped item is still reachable:
|
|
14117
|
+
* each carries a `marketUid` for the bulk endpoint.
|
|
14118
|
+
*
|
|
14119
|
+
* `description` is NOT dropped, though it was. The digest is what every
|
|
14120
|
+
* listing actually requests — `full` is reserved for a detail view — so
|
|
14121
|
+
* withholding the prose from it meant no surface ever rendered a sentence
|
|
14122
|
+
* explaining what a row is, and the curated per-vault copy might as well not
|
|
14123
|
+
* have been written.
|
|
14124
|
+
*
|
|
14125
|
+
* Measured on a live 500-row `/earn/latest` page (chain 1, 205 vault rows,
|
|
14126
|
+
* mean 199 chars): +43 KB raw, +16.7 KB gzipped on a 378 KB page — +4.4 %,
|
|
14127
|
+
* because the templates repeat across rows and compress accordingly. Unlike
|
|
14128
|
+
* `items[]` it is bounded by construction: a sentence does not grow with the
|
|
14129
|
+
* size of the market.
|
|
13901
14130
|
*/
|
|
13902
14131
|
declare function toDigest(sheet: TermSheet): TermSheetDigest;
|
|
13903
14132
|
/** Row shape of `~/risk-data/data/oracles/oracle-risk-flat.json`. */
|
|
@@ -15251,4 +15480,4 @@ declare const fetchFluidDexState: (chainId: string, multicallRetry: MulticallRet
|
|
|
15251
15480
|
/** Synchronous read of whatever `fetchFluidDexState` last cached for a chain. */
|
|
15252
15481
|
declare const getCachedFluidDexState: (chainId: string) => FluidDexStateMap | undefined;
|
|
15253
15482
|
|
|
15254
|
-
export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, type DeepPartial, type Denomination, type DepthMap, type DolomiteIsolationRow, type DolomiteSubAccount, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCurator, type EarnExclusions, type EarnExit, type 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, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchPendlePtOptions, type FetchSpectraPtOptions, type FetchTokenBalancesOptions, type FetchTokenMetadataOptions, type FlattenPriorityConfig, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FlyingTulipAssetRaw, type FlyingTulipMarketsRaw, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquidationPenaltyTerm, type LiquidationTerms, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitRoute, type SupplyExitTerms, type SupplyTermSheet, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserConfig, type UserData, type UserDataResult, type UserLendingPosition, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLendersByProtocol, finalizeInfo, findingsFor, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedFluidDexState, getCachedLiquityTroves, getCachedTellerBids, getCachedTermMaxDiscovery, getCachedTermMaxMarket, getCachedTermMaxMarkets, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isIlliquid, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isSecondaryMarketOnly, isStablecoinSymbol, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, ratePercent, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, supplyDescription, supplyFindings, supplyHeadline, swapRoutedProvidersArePriceConsistent, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toDolomiteSubAccountId, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, withMaturityLabel, withTrancheLabel };
|
|
15483
|
+
export { type AaveMetadata, type AaveV2Public, type AaveV2UserReserveResponse, type AaveV3Public, type AaveV3UserReserveResponse, type AdditionalYields, type AdminKind, ApiBookSource, type AprData, type AprPercent, type AssetInstrumentTerms, type AssetQuality, type AssetRiskIndex, type AuctionWindow, type AvailabilityTerms, type BalanceData, type BaseLendingPosition, type BasicReserveResponse, type BorrowExitTerms, type BorrowTermSheet, type BuildTermSheetOptions, type BuildVaultTermSheetOptions, type ChainDiagnostic, type ChainLinkResponse, type ChainQuery, type ChainSummary, type CompoundV2Metadata, type CompoundV3Public, type CompoundV3UserReserveResponse, type ConfigEntry, type ConvertLenderUserDataOptions, type CoolerDripRaw, type CoolerMarketsRaw, type CoolerPositionInfo, type CoreValidators, type CounterpartyTerms, type CoverageInfo, DEFAULT_MIDNIGHT_API, DEFAULT_OUTLIER_GUARD, DEFAULT_PROFILE_ID, DEFAULT_STALE_REJECT_SECONDS, DEFAULT_TERMMAX_API, DEFAULT_TERM_ORDER_STORE, DOLOMITE_ISO_ID_PREFIX, type DeepPartial, type Denomination, type DepthMap, type DolomiteIsolationRow, type DolomiteSubAccount, type DssMarketRaw, type DssMarketsRaw, type DssPositionInfo, EARN_DESCRIPTIONS, EARN_LABELS, EARN_RATE_SOURCE_BY_PROVIDER, EMPTY_BALANCE, type EModeAssets, type EModeData, type EModeResult, EXACTLY_LENDER_KEY, type EarnActionInput, type EarnActionKind, type EarnAmount, type EarnAppliedDefaults, type EarnAprBreakdown, type EarnAsset, type EarnAvailability, type EarnBasket, type EarnBasketLeg, type EarnCapability, type EarnCurator, type EarnExclusions, type EarnExit, type 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, FLYING_TULIP_LENDER_KEY, FRACTION_RATE_PROVIDERS, type FeeTerm, type FeeWhen, type FeedObservation, type FeedStat, type FeedStatsMap, type FeedTimestampMap, type FetchListaVaultsFromChainOptions, type FetchMorphoVaultsFromChainOptions, type FetchOraclePricesOptions, type FetchPendlePtOptions, type FetchSpectraPtOptions, type FetchTokenBalancesOptions, type FetchTokenMetadataOptions, type FlattenPriorityConfig, type FluidDexShareState, type FluidDexStateMap, type FluidFToken, type FluidFTokens, type FlyingTulipAssetRaw, type FlyingTulipMarketsRaw, type FrankencoinMarketRaw, type FrankencoinMarketsRaw, type FrankencoinPositionInfo, type FraxlendPairRaw, type FraxlendPairsRaw, type FullLenderRewardsMap, GMX_API_HOSTS, GMX_READ_CONTRACTS, GMX_SUPPORTED_CHAINS, type GenericCurrency, type GenericTokenList, type GetVaultPublicDataAllOptions, type GmxExecutionFees, type GmxPendingDeposit, type GmxPendingWithdrawal, type GmxReadContracts, type GmxUserBalance, type GmxUserPositions, type GmxUserPositionsOptions, type GmxVault, type GmxVaultKind, type GmxVaults, type GmxVaultsFetchOptions, type GovernancePower, type GovernanceRow, type GovernanceTerms, type GroupAccumulator, HYPERCORE_VAULT_REGISTRY, type HypercoreLockStatus, type HypercoreUserPositionsOptions, type HypercoreVault, type HypercoreVaultPosition, type HypercoreVaultRegistryEntry, type HypercoreVaults, type HypercoreVaultsFetchOptions, IDLE_MARKET_ID, INTERFACE_IDS, type IncompleteLenderRead, type IncompleteReason, type InitMetadata, type InitPublic, type InitUserReserveResponse, type InterfaceKind, type InvariantViolation, type InverseMarketRaw, type InverseMarketsRaw, type InversePositionInfo, LAGOON_API_URL, LAGOON_CHAIN_IDS, type LagoonApiVault, type LagoonSyncMode, type LagoonVault, type LagoonVaults, type LenderAssetReward, type LenderConfigData, type LenderConfigMap, type LenderCrossPoolMeta, type LenderData, type LenderDataEntry, type LenderInfo, type LenderInfoMap, type LenderPublicBase, type LenderRewardsMap, type LenderSummary, type LenderToLenderCrossPoolMeta, type LenderTotalAmounts, type LenderUserParams, type LenderUserQuery, type LenderUserResponse, type LenderYieldComplete, type LenderYields$1 as LenderYields, LendingMode, type LiquidationPenaltyTerm, type LiquidationTerms, type LiquityBranchRaw, type LiquityDiscoveredTrove, type LiquityDiscovery, type LiquityMarketsRaw, type LiquitySpInfo, type LiquityTroveInfo, type ListaMarketOverrides, type LlamaLendMarketOverride, type LlamaLendMarketOverrides, type LlamaLendMarketRaw, type LlamaLendMarketsRaw, type LlamaLendPositionInfo, type LoopPostTradeMetrics, type LstDelegation, type LstDelegationKind, type LstValidator, type LstWithdrawalFetchOptions, type LstWithdrawalRegistryEntry, type LstWithdrawalRequest, type LstWithdrawalRequestsByLst, type LstWithdrawalStatus, MORPHO_LENS, MULTICALL_FAILURE, type MaturityTerms, MaxParamThresholds, type MergedUserData, type MetaFilter, type MidnightBook, type MidnightBookLevel, type MidnightBookSource, type ModeBase, type ModeVariant, type MorphoMarketOverrides, type MorphoSubgraphProxyConfig, type MorphoUserMarketBalance, type MorphoUserReserveResponse, type MorphoVault, type MorphoVaults, type MulticallEndpointOptions, type MulticallRpcBatch, type NumberMap, type Open, type OracleBand, type OracleDiagnostics, type OraclePriceEntry, type OraclePricesResult, type OracleRiskRow, type OracleTerms, type OutlierGuardConfig, PASSTHROUGH_RATE_EPSILON, PENDLE_ASSETS_URL, PENDLE_CHAIN_IDS, PENDLE_MARKETS_URL, PREFIX_LENDERS, type ParsedBalanceData, type ParsedEarnUid, type ParsedLendingEarnUid, type ParsedResponse, type ParsedUserBalance, type ParsedVaultEarnUid, type PendleApiAsset, type PendleApiMarket, type PendleApiMarketDetails, type PendlePtMarket, type PendlePtMarkets, type PermissionKind, type PermissionParams, type PoolData, type PoolSourceRow, type PoolWithMeta, type PortfolioSummary, type PortfolioTotals, type PositionConstraints, type PostTradeMetrics, type PreparedCall, type PreparedMergedMulticallParams, type PreparedMergedRpcCalls, type PreparedTokenBalanceRpcCalls, type PreparedUserDataRpcCalls, type PriceDerivation, type PriceSelection, type ProtocolParams, type ProviderOptions, type RateKind, type RateMenuEntry, type RateTerms, type RawRpcBatch, type RawRpcCall, type RawRpcResponse, type ReadFailurePolicy, type ReadUserPositionsParams, type ReadUserPositionsResult, type RedemptionTerms, type ResupplyMarketsRaw, type ResupplyPairIdentity, type ResupplyPairRaw, type ResupplyPositionInfo, type ResupplyWrappedMarket, type RewardSourceRef, type RewardStream, type RewardTerm, type RewardTokenRef, type RiverMarketRaw, type RiverMarketsRaw, type RiverPositionInfo, SDK_FRACTION_RATE_PROVIDERS, SPECTRA_NETWORKS, SPECTRA_RATE_MAX_PERCENT, SPECTRA_RATE_MIN_PERCENT, STABLECOIN_SYMBOLS, STCELO_MANAGER_ADDRESS, type SelectPricesOptions, type Severity, type SeverityFinding, type SiloVault, type SiloVaults, type SpectraApiMarket, type SpectraApiPool, type SpectraApiToken, type SpectraPtMarket, type SpectraPtMarkets, type StCeloValidatorGroup, type StaleFeedEntry, type StampOptions, type StructuredOraclePrices, type SubAccountSelection, type SubAccountSummary, type SumerPositionInput, type SummaryAprData, type SummaryBalanceData, type SupplyExitMode, type SupplyExitRoute, type SupplyExitTerms, type SupplyTermSheet, TELLER_CALLS_PER_BID, DECIMAL_BASE as TERMMAX_DECIMAL_BASE, TERMMAX_LIQUIDATION_PENALTY, TERMMAX_LIQUIDATION_WINDOW_SECS, TERMMAX_LIQUIDATOR_BONUS, TERMMAX_MARKETS_PER_CALL, TERMMAX_PARTIAL_CLOSE_FACTOR, TERMMAX_PARTIAL_LIQUIDATION_THRESHOLD_USD, TERM_ADAPTERS, TERM_PROFILES, TERM_SHEET_SCHEMA_VERSION, type TellerDiscoveredBid, type TellerDiscovery, type TellerMarketsRaw, type TellerPoolRaw, type TermAdapter, type TermAssetRef, type TermAuctionOrder, type TermAuctionOrders, type TermBookSource, type TermBookTop, type TermFillNow, type TermFillNowSide, type TermInfo, type TermListing, type TermMarketRaw, TermMaxApiSource, type TermMaxBookTop, type TermMaxCurveSegment, type TermMaxDataSource, type TermMaxDiscovery, type TermMaxFeeConfig, type TermMaxMarketConfig, type TermMaxMarketRaw, type TermMaxOrderState, type TermProfile, type TermSheet, type TermSheetDigest, type TermSheetInput, type TermSheetViolation, type TermStoreOrder, TermSubgraphSource, type TermTag, type TokenApprovalMeta, type TokenApprovalParams, type TokenBalanceEntry, type TokenBalanceQuery, type TokenBalanceResult, type TokenEntry, type TokenList, type TokenListInput, type TrackerDiagnostic, UPSHIFT_CHAIN_IDS, UPSHIFT_VAULTS_URL, type USDPriceMap, type UpshiftApiAsset, type UpshiftApiVault, type UpshiftVault, type UpshiftVaults, type UsddMarketRaw, type UsddMarketsRaw, type DssPositionInfo as UsddPositionInfo, type UserApr, type UserCallOptions, type UserConfig, type UserData, type UserDataResult, type UserDataTransport, type UserLendingPosition, type UtilizationTerms, VAULT_PROVIDERS, VAULT_PROVIDER_PROFILE, VAULT_PROVIDER_TRAITS, VAULT_SHARE_PRICE_PROBE, VAULT_VENUE_PREFIX, VOLATILE_VAULT_OVERRIDES, type ValidationResult, type VaultAprResult, type VaultBalanceInput, type VaultClassification, type VaultClassificationFields, type VaultLookupEntry, type VaultMarketExposure, type VaultProvider, type VaultProviderTraits, type VaultPublicDataAll, type VaultPublicDataResult, type VaultSourceRow, type VaultTermInput, type VaultYieldSeries, type VaultYieldSnapshot, type YDaemonVault, YEARN_CHAIN_IDS, YEARN_YDAEMON_BASE, type YearnVault, type YearnVaultKind, type YearnVaults, type YieldProfile, __resetResupplyUserCaches, accountDepositListKey, accountWithdrawalListKey, appendSnapshot, applyEarnSanity, applyPositionDelta, attachImplications, attachPricesToFlashLiquidity, blockNumberFromTag, borrowDescription, borrowFindings, borrowHeadline, buildExposures, buildFluidFTokensCall, buildLendingPositionUid, buildLiquityUserCall, buildLoopResult, buildMorphoTypeCall, buildMorphoTypeUserCallWithLens, buildPortfolioTotals, buildQueriesFromMeta, buildSumerAccumulators, buildSummaries, buildTellerUserCall, buildTermMaxUserCall, buildTermSheet, buildTermSheetsForGroup, buildVaultEarnUid, buildVaultLookup, buildVaultTermSheet, calculateLeverage, calculateNetApr, calculateOverallNetApr, calculateWeightedAverage, classifyFreshness, classifyReliability, classifyVault, clearPendleMarketsCache, clearSpectraMarketsCache, collateralSymbolsByVenue, collectFeedObservations, computeBorrowDelta, computeCloseTradeDeltas, computeCollateralSwapDeltas, computeDebtSwapDeltas, computeDepositDelta, computeEModeAnalysis, computeOpenTradeDeltas, computePostTradeMetrics, computeRepayDelta, computeSumerBorrowDelta, computeSumerDepositDelta, computeSumerRepayDelta, computeSumerWaterfall, computeSumerWithdrawDelta, computeVaultApr, computeWithdrawDelta, computeZapTradeDeltas, consensusReference, convertCoolerMarketsToResponse, convertDssMarketsToResponse, convertExactlyMarketsToResponse, convertFlyingTulipMarketsToResponse, convertFrankencoinMarketsToResponse, convertFraxlendPairsToResponse, convertInverseMarketsToResponse, convertLenderUserDataResult, convertLiquityMarketsToResponse, convertLlamaLendMarketsToResponse, convertResupplyMarketsToResponse, convertRiverMarketsToResponse, convertTellerMarketsToResponse, convertTermMarketsToResponse, convertTermMaxMarketsToResponse, convertUsddMarketsToResponse, createMarketUid, createMidnightBookSource, createMulticallRpcCall, createRawRpcCalls, createTermBookSource, createTermMaxDataSource, decodeListaMarkets, decodeMarkets, decodePackedListaUserDataset, decodePackedMorphoUserDataset, deriveBorrowTags, deriveSupplyTags, detectInterfaceKinds, dexResolverFor, disambiguateEarnNames, dolomiteVaultAddress, dssIlkBytes32, dssKeyParts, dssLenderKey, duration, earnDescription, earnLabel, earnMarketFromPool, earnMarketFromVault, earnMarketLabel, earnPositionFromLenderEntry, earnPositionFromVaultBalance, earnPositionTotals, earnRateAtMaturity, earnRowSubtitle, earnUidFromMarketUid, earnVaultTerms, earnVenueKind, emitterCoverage, encodeBalanceFetcherCalldata, enrichTermSheet, enrichmentIndexFromRows, enumerateEmitters, exactlyPairLtv, exactlyPenaltyRateToAprPercent, exactlyWadRateToPercent, feePhrase, feedKeyOf, feedStatKey, fetchCoolerMarkets, fetchDolomiteAccountNumbers, fetchDolomiteSubAccounts, fetchDssMarkets, fetchEulerEarnVaults, fetchEulerEarnVaultsFromSubgraph, fetchEulerSubAccountIndexes, fetchExactlyMarkets, fetchFlashLiquidityForChain, fetchFluidDexState, fetchFluidFTokens, fetchFlyingTulipMarkets, fetchFrankencoinMarkets, fetchFraxlendPairs, fetchGeneralYields, fetchGeneralYieldsByMarketUid, fetchGmxExecutionFees, fetchGmxTickerPrices, fetchGmxVaults, fetchHypercoreVaults, fetchInverseMarkets, fetchLagoonApiVaults, fetchLagoonVaults, fetchLiquityMarkets, fetchListaVaultsFromChain, fetchLlamaLendMarkets, fetchMorphoUserBalances, fetchMorphoUserPositionMarkets, fetchMorphoVaults, fetchMorphoVaultsFromApi, fetchMorphoVaultsFromChain, fetchOraclePrices, fetchPendleApiAssets, fetchPendleApiMarkets, fetchPendlePrices, fetchPendlePtMarkets, fetchResupplyMarkets, fetchRiverMarkets, fetchSiloVaults, fetchSpectraApiMarkets, fetchSpectraPtMarkets, fetchTellerMarkets, fetchTermMarkets, fetchTermMaxMarkets, fetchTermStoreOrders, fetchTokenBalances, fetchTokenMetadata, fetchUpshiftApiVaults, fetchUpshiftVaults, fetchUsddMarkets, fetchYearnApiVaults, fetchYearnVaults, fillableRemaining, filterActiveLenders, filterLenderMeta, filterLendersByProtocol, finalizeInfo, findingsFor, formatRaw, frankencoinKeyParts, frankencoinLenderKey, fraxlendAssetPerCollateral, fraxlendKeyParts, fraxlendLenderKey, fuseLenderData, generateLendingPools, getAavesForChain, getAssetConfig, getBalanceForMarketUid, getBorrowCapacity, getCachedFluidDexState, getCachedLiquityTroves, getCachedTellerBids, getCachedTermMaxDiscovery, getCachedTermMaxMarket, getCachedTermMaxMarkets, getCoreValidators, getFluidFTokensConverter, getGmxApiHost, getGmxReadContracts, getGmxUserPositions, getHealthFactor, getHypercoreUserPositions, getHypercoreVaultRegistry, getLenderAssets, getLenderPublicData, getLenderPublicDataAll, getLenderPublicDataViaApi, getLenderUserDataMulti, getLenderUserDataResult, getLendersForChain, getLstDelegation, getLstValidators, getLstWithdrawalRegistry, getLstWithdrawalRequests, getMaxAmountClose, getMaxAmountCollateralSwap, getMaxAmountDebtSwap, getMaxAmountOpen, getMergedUserData, getMorphoTypeMarketConverter, getReadFailurePolicy, getResolvedDolomiteAccountNumbers, getResolvedDolomiteSubAccounts, getStCeloValidatorGroups, getSubAccountAddress, getSubAccountIndex, getTermProfile, getVaultPublicDataAll, getVaultWithdrawalRequests, hasCritical, hasEulerEarnVaultSubgraph, hasLagoonVaults, hasMorphoPositionIndex, hasMorphoUserApi, hasMorphoUserSubgraph, hasPendleMarkets, hasSpectraMarkets, hasUpshiftVaults, hasYearnVaults, ilkToKeySegment, implausibleRatePercent, injectLenderInfoIntoEntries, inverseKeyParts, inverseLenderKey, isBoundNeed, isFailedCall, isIlliquid, isLendingPosition, isLiveMarket as isLivePendleMarket, isLiveSpectraMarket, isMaturedTerm, isSecondaryMarketOnly, isStablecoinSymbol, isUnearnableEarnRate, isUnrealizableEarnRate, isVaultPosition, isVaultVenue, isYearnV3, keySegmentToIlk, keysFromMaps, lenderApiOnly, lenderFamily, liquityCandidateTroveIds, liquityKeyParts, liquityLenderKey, llamaLendKeyParts, llamaLendLenderKey, marketKeysOf, meetsLiquidityFloor, mergeDeep, multicall3Abi, nanTo, needsLenderApproval, needsTokenApproval, noOpResult, normalizeToBytes, organizeUserQueries, parseBalanceFetcherResult, parseDolomiteSubAccountId, parseEarnUid, parseLenderKey, parseMergedResult, parseMulticallRpcResponses, parseExpirySeconds as parsePendleExpirySeconds, parseRawRpcBatchResponses, parseRawRpcResponses, parseCurveFee as parseSpectraCurveFee, parsePtRate as parseSpectraPtRate, parseTermMaxLtv, parseTokenBalanceResult, pct, assetKey as pendleAssetKey, pickPool as pickSpectraPool, positivePart, predictInverseEscrow, prepareLenderUserDataRpcCalls, prepareMergedMulticallParams, prepareMergedRpcCalls, prepareMulticallInputs, prepareTokenBalanceRpcCalls, priceGlvVaults, priceGmMarkets, probeAaveFeedTimestamps, pruneFeedStats, rankFindings, ratePercent, readUserPositions, readVaultSharePrices, rejectOutliers as rejectPriceOutliers, repairImpossibleTvl, resolveAdapter, resolveDerivation, resolveDolomiteRowIdentity, resolveEarnIdentity, resolveModeConfig, resolveStCeloDepositGroup, resolveVaultProfileId, resupplyKeyParts, resupplyLenderKey, resupplyMarketLabel, riverKeyParts, riverLenderKey, sanePercent as saneSpectraPercent, savingsAddresses, savingsBalanceKind, secondaryMarketVault, selectAssetGroupPrices, setMysticApiKey, shortDate, spectraAddress, spectraNetwork, spectraPoolsUrl, splitChainScopedAddress as splitPendleChainScopedAddress, stampCapabilities, stampEarnSubtitles, stampVaultClassification, stampVaultTermSheets, stripLeadingBrand, subAccountsOf, supplyDescription, supplyFindings, supplyHeadline, swapRoutedProvidersArePriceConsistent, tellerBpsToPercent, tellerImpliedLtv, tellerLenderKey, tellerPoolFromLenderKey, termApiBaseUrl, termLenderKey, termMaxApiBase, borrowNif as termMaxBorrowNif, curveApr as termMaxCurveApr, curveAprNumber as termMaxCurveAprNumber, daysToMaturity as termMaxDaysToMaturity, lendNif as termMaxLendNif, mintGtFeeRatio as termMaxMintGtFeeRatio, ratioToNumber as termMaxRatioToNumber, ratioToPercent as termMaxRatioToPercent, termOfferRateToAprPct, termOrderStoreBaseUrl, tickToAprNumber, tickToPrice, toDigest, toDolomiteSubAccountId, toTermFillNow, toTermSheetInput, toVaultTermInput, trancheFromCounterparty, tryParseEarnUid, unflattenLenderData, updateFeedStats, usdValue, usddIlkBytes32, usddKeyParts, usddLenderKey, validateTermSheet, validateTermSheets, validateUserData, vaultSharesToAssets, vaultTermInputFromEarnMarket, vaultTermInputFromSourceRow, vaultTraits, vaultVenue, venueBrand, venueBrandKey, withMaturityLabel, withTrancheLabel };
|