@1delta/margin-fetcher 0.0.333 → 0.0.334
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 +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +779 -51
- package/dist/index.js.map +1 -1
- package/dist/lending/public-data/fetchLenderAll.d.ts.map +1 -1
- package/dist/lending/public-data/fetchLenderExt.d.ts.map +1 -1
- package/dist/lending/public-data/teller/convertPublic.d.ts +32 -0
- package/dist/lending/public-data/teller/convertPublic.d.ts.map +1 -0
- package/dist/lending/public-data/teller/fetchPublic.d.ts +16 -0
- package/dist/lending/public-data/teller/fetchPublic.d.ts.map +1 -0
- package/dist/lending/public-data/teller/index.d.ts +5 -0
- package/dist/lending/public-data/teller/index.d.ts.map +1 -0
- package/dist/lending/public-data/teller/math.d.ts +18 -0
- package/dist/lending/public-data/teller/math.d.ts.map +1 -0
- package/dist/lending/public-data/teller/types.d.ts +33 -0
- package/dist/lending/public-data/teller/types.d.ts.map +1 -0
- package/dist/lending/user-data/abis.d.ts.map +1 -1
- package/dist/lending/user-data/fetch-balances/parse.d.ts.map +1 -1
- package/dist/lending/user-data/fetch-balances/prepare.d.ts.map +1 -1
- package/dist/lending/user-data/teller/index.d.ts +3 -0
- package/dist/lending/user-data/teller/index.d.ts.map +1 -0
- package/dist/lending/user-data/teller/userCallBuild.d.ts +31 -0
- package/dist/lending/user-data/teller/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/teller/userCallParse.d.ts +22 -0
- package/dist/lending/user-data/teller/userCallParse.d.ts.map +1 -0
- package/dist/prices/oracle-prices/fetchOraclePrices.d.ts +2 -2
- package/dist/prices/oracle-prices/fetchOraclePrices.d.ts.map +1 -1
- package/dist/prices/oracle-prices/fetchers/index.d.ts +1 -0
- package/dist/prices/oracle-prices/fetchers/index.d.ts.map +1 -1
- package/dist/prices/oracle-prices/fetchers/teller.d.ts +413 -0
- package/dist/prices/oracle-prices/fetchers/teller.d.ts.map +1 -0
- package/dist/types/lenderTypes.d.ts +1 -1
- package/dist/types/lenderTypes.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import { FetcherResult, OraclePriceEntry, ParseContext } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Teller Protocol V2 oracle price fetcher.
|
|
4
|
+
*
|
|
5
|
+
* Each `LenderCommitmentGroup` pool carries its OWN price mechanism (a Uniswap
|
|
6
|
+
* V3 TWAP / Chainlink feed configured per pool) that values the collateral in
|
|
7
|
+
* principal-token terms — the same price the pool uses to size a borrow's
|
|
8
|
+
* collateral. We read `calculateCollateralTokensAmountEquivalentToPrincipalTokens`
|
|
9
|
+
* (the raw value ratio, WITHOUT the overcollateralization factor) to get "how
|
|
10
|
+
* much collateral equals 1 principal token in value", then invert to the
|
|
11
|
+
* collateral price in principal terms.
|
|
12
|
+
*
|
|
13
|
+
* Why a dedicated fetcher: Teller pools list EXOTIC collateral no other protocol
|
|
14
|
+
* on the chain prices (e.g. VCNT, LFI, DN-FLAGSHIP). Without this, those markets
|
|
15
|
+
* would have no oracle price and their USD/risk numbers would be blank or wrong.
|
|
16
|
+
* For the standard tokens (WETH/USDC/AERO) the generic pipeline already has a
|
|
17
|
+
* price; this adds the exotic ones from Teller's OWN oracle — the correct source
|
|
18
|
+
* for that market.
|
|
19
|
+
*
|
|
20
|
+
* Like Morpho/Midnight, Teller collateral prices are DERIVED: the collateral USD
|
|
21
|
+
* needs the PRINCIPAL token's USD price from an earlier (Pass 1) parser. Parsed
|
|
22
|
+
* with `updatePrices=false` so derived values never overwrite direct oracle reads.
|
|
23
|
+
*/
|
|
24
|
+
/** Grouped metadata for one pool (one equivalence call). */
|
|
25
|
+
interface TellerPoolMeta {
|
|
26
|
+
pool: string;
|
|
27
|
+
principal: string;
|
|
28
|
+
principalDecimals: number;
|
|
29
|
+
collateral: string;
|
|
30
|
+
collateralDecimals: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Build multicall calls for Teller oracles. One `FetcherResult` per curated pool
|
|
34
|
+
* with a single call: the collateral amount whose value equals ONE principal
|
|
35
|
+
* token. `lender` is the pool's `TELLER_<pool>` key so entries join the lending
|
|
36
|
+
* data emitted by `convertTellerMarketsToResponse`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function getTellerCalls(chainId: string): FetcherResult<TellerPoolMeta>[];
|
|
39
|
+
/**
|
|
40
|
+
* Parse Teller oracle results. `data[0]` = the collateral base units of equal
|
|
41
|
+
* value to 1 principal token. The collateral price in principal terms is
|
|
42
|
+
* `10^collateralDecimals / rawCollateralUnits`; USD = that × principal USD.
|
|
43
|
+
* Emits a principal entry (price = 1, the oracle's own unit) + the collateral
|
|
44
|
+
* entry (derived).
|
|
45
|
+
*/
|
|
46
|
+
export declare function parseTellerResults(data: any[], meta: TellerPoolMeta, context: ParseContext): OraclePriceEntry[];
|
|
47
|
+
/** ABI for the Teller oracle call (the pool's value-equivalence view). */
|
|
48
|
+
export declare function getTellerAbi(): readonly [{
|
|
49
|
+
readonly type: "function";
|
|
50
|
+
readonly name: "getPrincipalTokenAddress";
|
|
51
|
+
readonly stateMutability: "view";
|
|
52
|
+
readonly inputs: readonly [];
|
|
53
|
+
readonly outputs: readonly [{
|
|
54
|
+
readonly name: "";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "function";
|
|
59
|
+
readonly name: "getCollateralTokenAddress";
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
readonly inputs: readonly [];
|
|
62
|
+
readonly outputs: readonly [{
|
|
63
|
+
readonly name: "";
|
|
64
|
+
readonly type: "address";
|
|
65
|
+
}];
|
|
66
|
+
}, {
|
|
67
|
+
readonly type: "function";
|
|
68
|
+
readonly name: "getMarketId";
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly outputs: readonly [{
|
|
72
|
+
readonly name: "";
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
}];
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "getMaxLoanDuration";
|
|
78
|
+
readonly stateMutability: "view";
|
|
79
|
+
readonly inputs: readonly [];
|
|
80
|
+
readonly outputs: readonly [{
|
|
81
|
+
readonly name: "";
|
|
82
|
+
readonly type: "uint32";
|
|
83
|
+
}];
|
|
84
|
+
}, {
|
|
85
|
+
readonly type: "function";
|
|
86
|
+
readonly name: "principalToken";
|
|
87
|
+
readonly stateMutability: "view";
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly name: "";
|
|
91
|
+
readonly type: "address";
|
|
92
|
+
}];
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
readonly name: "collateralToken";
|
|
96
|
+
readonly stateMutability: "view";
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly outputs: readonly [{
|
|
99
|
+
readonly name: "";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
}, {
|
|
103
|
+
readonly type: "function";
|
|
104
|
+
readonly name: "maxLoanDuration";
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
|
+
readonly inputs: readonly [];
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly name: "";
|
|
109
|
+
readonly type: "uint32";
|
|
110
|
+
}];
|
|
111
|
+
}, {
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
readonly name: "poolSharesToken";
|
|
114
|
+
readonly stateMutability: "view";
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly outputs: readonly [{
|
|
117
|
+
readonly name: "";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
}];
|
|
120
|
+
}, {
|
|
121
|
+
readonly type: "function";
|
|
122
|
+
readonly name: "getPrincipalAmountAvailableToBorrow";
|
|
123
|
+
readonly stateMutability: "view";
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
}];
|
|
129
|
+
}, {
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
readonly name: "totalPrincipalTokensCommitted";
|
|
132
|
+
readonly stateMutability: "view";
|
|
133
|
+
readonly inputs: readonly [];
|
|
134
|
+
readonly outputs: readonly [{
|
|
135
|
+
readonly name: "";
|
|
136
|
+
readonly type: "uint256";
|
|
137
|
+
}];
|
|
138
|
+
}, {
|
|
139
|
+
readonly type: "function";
|
|
140
|
+
readonly name: "totalPrincipalTokensLended";
|
|
141
|
+
readonly stateMutability: "view";
|
|
142
|
+
readonly inputs: readonly [];
|
|
143
|
+
readonly outputs: readonly [{
|
|
144
|
+
readonly name: "";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
}];
|
|
147
|
+
}, {
|
|
148
|
+
readonly type: "function";
|
|
149
|
+
readonly name: "totalPrincipalTokensRepaid";
|
|
150
|
+
readonly stateMutability: "view";
|
|
151
|
+
readonly inputs: readonly [];
|
|
152
|
+
readonly outputs: readonly [{
|
|
153
|
+
readonly name: "";
|
|
154
|
+
readonly type: "uint256";
|
|
155
|
+
}];
|
|
156
|
+
}, {
|
|
157
|
+
readonly type: "function";
|
|
158
|
+
readonly name: "getMinInterestRate";
|
|
159
|
+
readonly stateMutability: "view";
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly name: "_amountDelta";
|
|
162
|
+
readonly type: "uint256";
|
|
163
|
+
}];
|
|
164
|
+
readonly outputs: readonly [{
|
|
165
|
+
readonly name: "";
|
|
166
|
+
readonly type: "uint16";
|
|
167
|
+
}];
|
|
168
|
+
}, {
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly name: "calculateCollateralRequiredToBorrowPrincipal";
|
|
171
|
+
readonly stateMutability: "view";
|
|
172
|
+
readonly inputs: readonly [{
|
|
173
|
+
readonly name: "_principalAmount";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}];
|
|
176
|
+
readonly outputs: readonly [{
|
|
177
|
+
readonly name: "";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
}];
|
|
180
|
+
}, {
|
|
181
|
+
readonly type: "function";
|
|
182
|
+
readonly name: "calculateCollateralTokensAmountEquivalentToPrincipalTokens";
|
|
183
|
+
readonly stateMutability: "view";
|
|
184
|
+
readonly inputs: readonly [{
|
|
185
|
+
readonly name: "_principalAmount";
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
}];
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly name: "";
|
|
190
|
+
readonly type: "uint256";
|
|
191
|
+
}];
|
|
192
|
+
}, {
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
readonly name: "sharesExchangeRate";
|
|
195
|
+
readonly stateMutability: "view";
|
|
196
|
+
readonly inputs: readonly [];
|
|
197
|
+
readonly outputs: readonly [{
|
|
198
|
+
readonly name: "rate_";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
}];
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "getPoolUtilizationRatio";
|
|
204
|
+
readonly stateMutability: "view";
|
|
205
|
+
readonly inputs: readonly [{
|
|
206
|
+
readonly name: "_activeLoansAmountDelta";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
readonly outputs: readonly [{
|
|
210
|
+
readonly name: "";
|
|
211
|
+
readonly type: "uint16";
|
|
212
|
+
}];
|
|
213
|
+
}, {
|
|
214
|
+
readonly type: "function";
|
|
215
|
+
readonly name: "addPrincipalToCommitmentGroup";
|
|
216
|
+
readonly stateMutability: "nonpayable";
|
|
217
|
+
readonly inputs: readonly [{
|
|
218
|
+
readonly name: "_amount";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "_sharesRecipient";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "_minSharesAmountOut";
|
|
225
|
+
readonly type: "uint256";
|
|
226
|
+
}];
|
|
227
|
+
readonly outputs: readonly [{
|
|
228
|
+
readonly name: "sharesAmount_";
|
|
229
|
+
readonly type: "uint256";
|
|
230
|
+
}];
|
|
231
|
+
}, {
|
|
232
|
+
readonly type: "function";
|
|
233
|
+
readonly name: "prepareSharesForBurn";
|
|
234
|
+
readonly stateMutability: "nonpayable";
|
|
235
|
+
readonly inputs: readonly [{
|
|
236
|
+
readonly name: "_amountPoolSharesTokens";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}];
|
|
239
|
+
readonly outputs: readonly [{
|
|
240
|
+
readonly name: "";
|
|
241
|
+
readonly type: "bool";
|
|
242
|
+
}];
|
|
243
|
+
}, {
|
|
244
|
+
readonly type: "function";
|
|
245
|
+
readonly name: "burnSharesToWithdrawEarnings";
|
|
246
|
+
readonly stateMutability: "nonpayable";
|
|
247
|
+
readonly inputs: readonly [{
|
|
248
|
+
readonly name: "_amountPoolSharesTokens";
|
|
249
|
+
readonly type: "uint256";
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "_recipient";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
}, {
|
|
254
|
+
readonly name: "_minAmountOut";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
}];
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "uint256";
|
|
260
|
+
}];
|
|
261
|
+
}, {
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
readonly name: "asset";
|
|
264
|
+
readonly stateMutability: "view";
|
|
265
|
+
readonly inputs: readonly [];
|
|
266
|
+
readonly outputs: readonly [{
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}];
|
|
270
|
+
}, {
|
|
271
|
+
readonly type: "function";
|
|
272
|
+
readonly name: "totalAssets";
|
|
273
|
+
readonly stateMutability: "view";
|
|
274
|
+
readonly inputs: readonly [];
|
|
275
|
+
readonly outputs: readonly [{
|
|
276
|
+
readonly name: "";
|
|
277
|
+
readonly type: "uint256";
|
|
278
|
+
}];
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "function";
|
|
281
|
+
readonly name: "convertToShares";
|
|
282
|
+
readonly stateMutability: "view";
|
|
283
|
+
readonly inputs: readonly [{
|
|
284
|
+
readonly name: "assets";
|
|
285
|
+
readonly type: "uint256";
|
|
286
|
+
}];
|
|
287
|
+
readonly outputs: readonly [{
|
|
288
|
+
readonly name: "shares";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
}];
|
|
291
|
+
}, {
|
|
292
|
+
readonly type: "function";
|
|
293
|
+
readonly name: "convertToAssets";
|
|
294
|
+
readonly stateMutability: "view";
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly name: "shares";
|
|
297
|
+
readonly type: "uint256";
|
|
298
|
+
}];
|
|
299
|
+
readonly outputs: readonly [{
|
|
300
|
+
readonly name: "assets";
|
|
301
|
+
readonly type: "uint256";
|
|
302
|
+
}];
|
|
303
|
+
}, {
|
|
304
|
+
readonly type: "function";
|
|
305
|
+
readonly name: "previewRedeem";
|
|
306
|
+
readonly stateMutability: "view";
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly name: "shares";
|
|
309
|
+
readonly type: "uint256";
|
|
310
|
+
}];
|
|
311
|
+
readonly outputs: readonly [{
|
|
312
|
+
readonly name: "assets";
|
|
313
|
+
readonly type: "uint256";
|
|
314
|
+
}];
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly name: "maxWithdraw";
|
|
318
|
+
readonly stateMutability: "view";
|
|
319
|
+
readonly inputs: readonly [{
|
|
320
|
+
readonly name: "owner";
|
|
321
|
+
readonly type: "address";
|
|
322
|
+
}];
|
|
323
|
+
readonly outputs: readonly [{
|
|
324
|
+
readonly name: "";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}];
|
|
327
|
+
}, {
|
|
328
|
+
readonly type: "function";
|
|
329
|
+
readonly name: "maxRedeem";
|
|
330
|
+
readonly stateMutability: "view";
|
|
331
|
+
readonly inputs: readonly [{
|
|
332
|
+
readonly name: "owner";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}];
|
|
335
|
+
readonly outputs: readonly [{
|
|
336
|
+
readonly name: "";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}];
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "function";
|
|
341
|
+
readonly name: "deposit";
|
|
342
|
+
readonly stateMutability: "nonpayable";
|
|
343
|
+
readonly inputs: readonly [{
|
|
344
|
+
readonly name: "assets";
|
|
345
|
+
readonly type: "uint256";
|
|
346
|
+
}, {
|
|
347
|
+
readonly name: "receiver";
|
|
348
|
+
readonly type: "address";
|
|
349
|
+
}];
|
|
350
|
+
readonly outputs: readonly [{
|
|
351
|
+
readonly name: "shares";
|
|
352
|
+
readonly type: "uint256";
|
|
353
|
+
}];
|
|
354
|
+
}, {
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
readonly name: "mint";
|
|
357
|
+
readonly stateMutability: "nonpayable";
|
|
358
|
+
readonly inputs: readonly [{
|
|
359
|
+
readonly name: "shares";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "receiver";
|
|
363
|
+
readonly type: "address";
|
|
364
|
+
}];
|
|
365
|
+
readonly outputs: readonly [{
|
|
366
|
+
readonly name: "assets";
|
|
367
|
+
readonly type: "uint256";
|
|
368
|
+
}];
|
|
369
|
+
}, {
|
|
370
|
+
readonly type: "function";
|
|
371
|
+
readonly name: "withdraw";
|
|
372
|
+
readonly stateMutability: "nonpayable";
|
|
373
|
+
readonly inputs: readonly [{
|
|
374
|
+
readonly name: "assets";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
}, {
|
|
377
|
+
readonly name: "receiver";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "owner";
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
}];
|
|
383
|
+
readonly outputs: readonly [{
|
|
384
|
+
readonly name: "shares";
|
|
385
|
+
readonly type: "uint256";
|
|
386
|
+
}];
|
|
387
|
+
}, {
|
|
388
|
+
readonly type: "function";
|
|
389
|
+
readonly name: "redeem";
|
|
390
|
+
readonly stateMutability: "nonpayable";
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly name: "shares";
|
|
393
|
+
readonly type: "uint256";
|
|
394
|
+
}, {
|
|
395
|
+
readonly name: "receiver";
|
|
396
|
+
readonly type: "address";
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "owner";
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
}];
|
|
401
|
+
readonly outputs: readonly [{
|
|
402
|
+
readonly name: "assets";
|
|
403
|
+
readonly type: "uint256";
|
|
404
|
+
}];
|
|
405
|
+
}];
|
|
406
|
+
/** Teller Oracle Fetcher module. */
|
|
407
|
+
export declare const tellerFetcher: {
|
|
408
|
+
getCalls: typeof getTellerCalls;
|
|
409
|
+
parse: typeof parseTellerResults;
|
|
410
|
+
getAbi: typeof getTellerAbi;
|
|
411
|
+
};
|
|
412
|
+
export {};
|
|
413
|
+
//# sourceMappingURL=teller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teller.d.ts","sourceRoot":"","sources":["../../../../src/prices/oracle-prices/fetchers/teller.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EAEb,gBAAgB,EAChB,YAAY,EACb,MAAM,UAAU,CAAA;AAIjB;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,4DAA4D;AAC5D,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GACd,aAAa,CAAC,cAAc,CAAC,EAAE,CA4BjC;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,GAAG,EAAE,EACX,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,YAAY,GACpB,gBAAgB,EAAE,CAsDpB;AAED,0EAA0E;AAC1E,wBAAgB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAE3B;AAED,oCAAoC;AACpC,eAAO,MAAM,aAAa;;;;CAIzB,CAAA"}
|
|
@@ -164,7 +164,7 @@ export interface FixedTermProvider {
|
|
|
164
164
|
*/
|
|
165
165
|
export interface FixedTermInfo {
|
|
166
166
|
/** Underlying fixed-term protocol shape. */
|
|
167
|
-
model: 'lista' | 'midnight' | 'term' | 'exactly';
|
|
167
|
+
model: 'lista' | 'midnight' | 'term' | 'exactly' | 'teller';
|
|
168
168
|
/**
|
|
169
169
|
* Single fixed calendar maturity (unix secs). Undefined for rolling-duration
|
|
170
170
|
* menus (Lista) and multi-maturity markets (Exactly — the maturity menu lives
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lenderTypes.d.ts","sourceRoot":"","sources":["../../src/types/lenderTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lenderTypes.d.ts","sourceRoot":"","sources":["../../src/types/lenderTypes.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AACzD,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAA;AACxC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAA;AAErC,MAAM,WAAW,eAAe;IAC9B,6FAA6F;IAC7F,MAAM,EAAE,GAAG,CAAA;IACX,mBAAmB;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,+DAA+D;IAC/D,MAAM,CAAC,EAAE,GAAG,EAAE,CAAA;IACd,8CAA8C;IAC9C,MAAM,CAAC,EAAE,GAAG,EAAE,CAAA;CACf;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,eAAe,EAAE,qBAgJ7D;AAED,MAAM,WAAW,mBAAmB;IAElC,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAElB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IAErB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,gBAAgB,EAAE,MAAM,CAAA;CACzB,EAAE,CAAA;AAEH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,EAAE;QAChB,CAAC,MAAM,EAAE,MAAM,GAAG;YAChB,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB,CAAA;SACzC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AE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,EAAE,OAAO,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,EAAE;QAEhB,CAAC,KAAK,EAAE,MAAM,GAAG;YACf,CAAC,SAAS,EAAE,MAAM,GAAG;gBACnB,QAAQ,EAAE,MAAM,CAAA;gBAChB,IAAI,EAAE,MAAM,CAAA;gBACZ,WAAW,EAAE,MAAM,CAAA;gBACnB,OAAO,EAAE,MAAM,CAAA;gBACf,UAAU,EAAE,GAAG,CAAA;gBACf,aAAa,EAAE,CAAC,CAAA;gBAChB,iBAAiB,EAAE,OAAO,CAAA;gBAC1B,SAAS,EAAE,OAAO,CAAA;aACnB,CAAA;SACF,CAAA;KACF,CAAA;IACD,mFAAmF;IACnF,KAAK,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IAC/B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAElD,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAG1B,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { createMarketUid } from './marketUid';
|
|
2
2
|
export { lenderShortName } from './marketName';
|
|
3
|
-
export { isCompoundV3, isCompoundV3Type, isInit, isMorphoType, isMidnight, isTerm, isExactly, isLiquityV2, isLiquityFamily, isRiver, isLista, isAaveV3Type, isAaveV2Type, isYLDR, isAaveV32Type, isAaveType, isCompoundV2Type, isVenusType, isSumerType, isTectonicType, isBenqiType, isKineticType, isMultiMarket, isEulerType, isAaveV4Type, isSiloV2Type, isSiloV3Type, isFluid, isGearboxV3, isDolomite, } from '@1delta/lender-registry';
|
|
3
|
+
export { isCompoundV3, isCompoundV3Type, isInit, isMorphoType, isMidnight, isTerm, isExactly, isLiquityV2, isLiquityFamily, isRiver, isTeller, isLista, isAaveV3Type, isAaveV2Type, isYLDR, isAaveV32Type, isAaveType, isCompoundV2Type, isVenusType, isSumerType, isTectonicType, isBenqiType, isKineticType, isMultiMarket, isEulerType, isAaveV4Type, isSiloV2Type, isSiloV3Type, isFluid, isGearboxV3, isDolomite, } from '@1delta/lender-registry';
|
|
4
4
|
export declare const ENABLED_EULER_V2_CHAINS: string[];
|
|
5
5
|
export declare const getLendersForChain: (c: string) => string[];
|
|
6
6
|
/** Filter lenders by protocol list */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAI9C,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,MAAM,EACN,YAAY,EACZ,UAAU,EACV,MAAM,EACN,SAAS,EACT,WAAW,EACX,eAAe,EACf,OAAO,EACP,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,cAAc,EACd,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,WAAW,EACX,UAAU,GACX,MAAM,yBAAyB,CAAA;AAgDhC,eAAO,MAAM,uBAAuB,EAAE,MAAM,EAgB3C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,GAAG,MAAM,aA4I3C,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,uBAAuB,GAClC,YAAY,MAAM,EAAE,EACpB,eAAe,MAAM,EAAE,KACtB,MAAM,EA6BR,CAAA;AAED,mCAAmC;AACnC,eAAO,MAAM,gBAAgB;;CAS5B,CAAA;AAED,eAAO,MAAM,eAAe,GAC1B,SAAS,MAAM,GAAG,MAAM,GAAG,SAAS,EACpC,kBAAiB,MAAuB,KACvC,MAAM,EAOR,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1delta/margin-fetcher",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.334",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"async-retry": "^1.3.3",
|
|
24
24
|
"lodash": "^4.17.23",
|
|
25
|
-
"@1delta/abis": "0.0.
|
|
26
|
-
"@1delta/
|
|
27
|
-
"@1delta/calldata-sdk": "0.0.159",
|
|
28
|
-
"@1delta/lender-registry": "0.0.35",
|
|
25
|
+
"@1delta/abis": "0.0.26",
|
|
26
|
+
"@1delta/calldata-sdk": "0.0.160",
|
|
29
27
|
"@1delta/dex-registry": "0.0.104",
|
|
30
|
-
"@1delta/
|
|
31
|
-
"@1delta/
|
|
28
|
+
"@1delta/lender-registry": "0.0.36",
|
|
29
|
+
"@1delta/data-sdk": "0.0.34",
|
|
30
|
+
"@1delta/providers": "0.0.62",
|
|
31
|
+
"@1delta/proxy-fetch": "0.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/async-retry": "^1.4.9",
|
|
35
35
|
"@types/lodash": "^4.17.23",
|
|
36
36
|
"tsup": "^8.5.1",
|
|
37
37
|
"typescript": "^5.9.3",
|
|
38
|
-
"@1delta/initializer-sdk": "0.0.
|
|
38
|
+
"@1delta/initializer-sdk": "0.0.22"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsup src/index.ts --format esm --clean && tsc -p tsconfig.dts.json",
|