@defisaver/positions-sdk 0.0.201-fluid-dev → 0.0.201-fluid-dev-1

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.
Files changed (40) hide show
  1. package/cjs/config/contracts.d.ts +5 -5
  2. package/cjs/config/contracts.js +2 -2
  3. package/cjs/fluid/index.d.ts +1 -0
  4. package/cjs/fluid/index.js +65 -12
  5. package/cjs/markets/fluid/index.d.ts +2 -0
  6. package/cjs/markets/fluid/index.js +345 -1
  7. package/cjs/markets/index.d.ts +1 -1
  8. package/cjs/markets/index.js +3 -1
  9. package/cjs/morphoBlue/index.js +1 -2
  10. package/cjs/multicall/index.d.ts +1 -0
  11. package/cjs/multicall/index.js +8 -1
  12. package/cjs/services/utils.d.ts +1 -0
  13. package/cjs/services/utils.js +3 -1
  14. package/cjs/types/contracts/generated/FluidView.d.ts +0 -42
  15. package/cjs/types/fluid.d.ts +11 -0
  16. package/esm/config/contracts.d.ts +5 -5
  17. package/esm/config/contracts.js +2 -2
  18. package/esm/fluid/index.d.ts +1 -0
  19. package/esm/fluid/index.js +65 -13
  20. package/esm/markets/fluid/index.d.ts +2 -0
  21. package/esm/markets/fluid/index.js +343 -1
  22. package/esm/markets/index.d.ts +1 -1
  23. package/esm/markets/index.js +1 -1
  24. package/esm/morphoBlue/index.js +1 -2
  25. package/esm/multicall/index.d.ts +1 -0
  26. package/esm/multicall/index.js +6 -0
  27. package/esm/services/utils.d.ts +1 -0
  28. package/esm/services/utils.js +1 -0
  29. package/esm/types/contracts/generated/FluidView.d.ts +0 -42
  30. package/esm/types/fluid.d.ts +11 -0
  31. package/package.json +5 -3
  32. package/src/config/contracts.js +2 -2
  33. package/src/fluid/index.ts +69 -12
  34. package/src/markets/fluid/index.ts +347 -2
  35. package/src/markets/index.ts +1 -1
  36. package/src/morphoBlue/index.ts +1 -3
  37. package/src/multicall/index.ts +10 -1
  38. package/src/services/utils.ts +3 -1
  39. package/src/types/contracts/generated/FluidView.ts +0 -82
  40. package/src/types/fluid.ts +11 -0
@@ -1,6 +1,8 @@
1
1
  import { NetworkNumber } from '../../types/common';
2
- import { FluidArbitrumVersion, FluidBaseVersions, FluidMainnetVersion, } from '../../types';
2
+ import { FluidArbitrumVersion, FluidBaseVersions, FluidMainnetVersion, FluidVaultType, } from '../../types';
3
3
  export const ETH_USDC_1 = (networkId = NetworkNumber.Eth) => ({
4
+ btcBased: false,
5
+ wstETHBased: false,
4
6
  chainIds: [NetworkNumber.Eth],
5
7
  label: 'ETH / USDC Market 1',
6
8
  shortLabel: 'ETH/USDC',
@@ -12,8 +14,12 @@ export const ETH_USDC_1 = (networkId = NetworkNumber.Eth) => ({
12
14
  hasSmartDebt: false,
13
15
  collateralAsset: 'ETH',
14
16
  debtAsset: 'USDC',
17
+ type: FluidVaultType.T1,
18
+ ethBased: true,
15
19
  });
16
20
  export const ETH_USDT_2 = (networkId = NetworkNumber.Eth) => ({
21
+ btcBased: false,
22
+ wstETHBased: false,
17
23
  chainIds: [NetworkNumber.Eth],
18
24
  label: 'ETH / USDT Market 2',
19
25
  shortLabel: 'ETH/USDT',
@@ -25,8 +31,11 @@ export const ETH_USDT_2 = (networkId = NetworkNumber.Eth) => ({
25
31
  hasSmartDebt: false,
26
32
  collateralAsset: 'ETH',
27
33
  debtAsset: 'USDT',
34
+ type: FluidVaultType.T1,
35
+ ethBased: true,
28
36
  });
29
37
  export const WSTETH_ETH_3 = (networkId = NetworkNumber.Eth) => ({
38
+ btcBased: false,
30
39
  chainIds: [NetworkNumber.Eth],
31
40
  label: 'wstETH / ETH Market 3',
32
41
  shortLabel: 'wstETH/ETH',
@@ -38,8 +47,13 @@ export const WSTETH_ETH_3 = (networkId = NetworkNumber.Eth) => ({
38
47
  hasSmartDebt: false,
39
48
  collateralAsset: 'wstETH',
40
49
  debtAsset: 'ETH',
50
+ type: FluidVaultType.T1,
51
+ ethBased: false,
52
+ wstETHBased: true,
41
53
  });
42
54
  export const WSTETH_USDC_4 = (networkId = NetworkNumber.Eth) => ({
55
+ btcBased: false,
56
+ ethBased: false,
43
57
  chainIds: [NetworkNumber.Eth],
44
58
  label: 'wstETH / USDC Market 4',
45
59
  shortLabel: 'wstETH/USDC',
@@ -51,8 +65,12 @@ export const WSTETH_USDC_4 = (networkId = NetworkNumber.Eth) => ({
51
65
  hasSmartDebt: false,
52
66
  collateralAsset: 'wstETH',
53
67
  debtAsset: 'USDC',
68
+ type: FluidVaultType.T1,
69
+ wstETHBased: true,
54
70
  });
55
71
  export const WSTETH_USDT_5 = (networkId = NetworkNumber.Eth) => ({
72
+ btcBased: false,
73
+ ethBased: false,
56
74
  chainIds: [NetworkNumber.Eth],
57
75
  label: 'wstETH / USDT Market 5',
58
76
  shortLabel: 'wstETH/USDT',
@@ -64,8 +82,12 @@ export const WSTETH_USDT_5 = (networkId = NetworkNumber.Eth) => ({
64
82
  hasSmartDebt: false,
65
83
  collateralAsset: 'wstETH',
66
84
  debtAsset: 'USDT',
85
+ type: FluidVaultType.T1,
86
+ wstETHBased: true,
67
87
  });
68
88
  export const WEETH_WSTETH_6 = (networkId = NetworkNumber.Eth) => ({
89
+ btcBased: false,
90
+ ethBased: true,
69
91
  chainIds: [NetworkNumber.Eth],
70
92
  label: 'weETH / wstETH Market 6',
71
93
  shortLabel: 'weETH/wstETH',
@@ -77,8 +99,12 @@ export const WEETH_WSTETH_6 = (networkId = NetworkNumber.Eth) => ({
77
99
  hasSmartDebt: false,
78
100
  collateralAsset: 'weETH',
79
101
  debtAsset: 'wstETH',
102
+ type: FluidVaultType.T1,
103
+ wstETHBased: false,
80
104
  });
81
105
  export const SUSDE_USDC_7 = (networkId = NetworkNumber.Eth) => ({
106
+ btcBased: false,
107
+ ethBased: false,
82
108
  chainIds: [NetworkNumber.Eth],
83
109
  label: 'sUSDe / USDC Market 7',
84
110
  shortLabel: 'sUSDe/USDC',
@@ -90,8 +116,12 @@ export const SUSDE_USDC_7 = (networkId = NetworkNumber.Eth) => ({
90
116
  hasSmartDebt: false,
91
117
  collateralAsset: 'sUSDe',
92
118
  debtAsset: 'USDC',
119
+ type: FluidVaultType.T1,
120
+ wstETHBased: false,
93
121
  });
94
122
  export const SUSDE_USDT_8 = (networkId = NetworkNumber.Eth) => ({
123
+ btcBased: false,
124
+ ethBased: false,
95
125
  chainIds: [NetworkNumber.Eth],
96
126
  label: 'sUSDe / USDT Market 8',
97
127
  shortLabel: 'sUSDe/USDT',
@@ -103,8 +133,12 @@ export const SUSDE_USDT_8 = (networkId = NetworkNumber.Eth) => ({
103
133
  hasSmartDebt: false,
104
134
  collateralAsset: 'sUSDe',
105
135
  debtAsset: 'USDT',
136
+ type: FluidVaultType.T1,
137
+ wstETHBased: false,
106
138
  });
107
139
  export const WEETH_USDC_9 = (networkId = NetworkNumber.Eth) => ({
140
+ btcBased: false,
141
+ ethBased: true,
108
142
  chainIds: [NetworkNumber.Eth],
109
143
  label: 'weETH / USDC Market 9',
110
144
  shortLabel: 'weETH/USDC',
@@ -116,8 +150,14 @@ export const WEETH_USDC_9 = (networkId = NetworkNumber.Eth) => ({
116
150
  hasSmartDebt: false,
117
151
  collateralAsset: 'weETH',
118
152
  debtAsset: 'USDC',
153
+ type: FluidVaultType.T1,
154
+ wstETHBased: false,
119
155
  });
120
156
  export const WEETH_USDT_10 = (networkId = NetworkNumber.Eth) => ({
157
+ btcBased: false,
158
+ wstETHBased: false,
159
+ ethBased: true,
160
+ type: FluidVaultType.T1,
121
161
  chainIds: [NetworkNumber.Eth],
122
162
  label: 'weETH / USDT Market 10',
123
163
  shortLabel: 'weETH/USDT',
@@ -131,6 +171,10 @@ export const WEETH_USDT_10 = (networkId = NetworkNumber.Eth) => ({
131
171
  debtAsset: 'USDT',
132
172
  });
133
173
  export const ETH_USDC_11 = (networkId = NetworkNumber.Eth) => ({
174
+ btcBased: false,
175
+ wstETHBased: false,
176
+ ethBased: true,
177
+ type: FluidVaultType.T1,
134
178
  chainIds: [NetworkNumber.Eth],
135
179
  label: 'ETH / USDC Market 11',
136
180
  shortLabel: 'ETH/USDC',
@@ -144,6 +188,10 @@ export const ETH_USDC_11 = (networkId = NetworkNumber.Eth) => ({
144
188
  debtAsset: 'USDC',
145
189
  });
146
190
  export const ETH_USDT_12 = (networkId = NetworkNumber.Eth) => ({
191
+ btcBased: false,
192
+ wstETHBased: false,
193
+ ethBased: true,
194
+ type: FluidVaultType.T1,
147
195
  chainIds: [NetworkNumber.Eth],
148
196
  label: 'ETH / USDT Market 12',
149
197
  shortLabel: 'ETH/USDT',
@@ -157,6 +205,10 @@ export const ETH_USDT_12 = (networkId = NetworkNumber.Eth) => ({
157
205
  debtAsset: 'USDT',
158
206
  });
159
207
  export const WSTETH_ETH_13 = (networkId = NetworkNumber.Eth) => ({
208
+ btcBased: false,
209
+ wstETHBased: true,
210
+ ethBased: false,
211
+ type: FluidVaultType.T1,
160
212
  chainIds: [NetworkNumber.Eth],
161
213
  label: 'wstETH / ETH Market 13',
162
214
  shortLabel: 'wstETH/ETH',
@@ -170,6 +222,10 @@ export const WSTETH_ETH_13 = (networkId = NetworkNumber.Eth) => ({
170
222
  debtAsset: 'ETH',
171
223
  });
172
224
  export const WSTETH_USDC_14 = (networkId = NetworkNumber.Eth) => ({
225
+ btcBased: false,
226
+ wstETHBased: true,
227
+ ethBased: false,
228
+ type: FluidVaultType.T1,
173
229
  chainIds: [NetworkNumber.Eth],
174
230
  label: 'wstETH / USDC Market 14',
175
231
  shortLabel: 'wstETH/USDC',
@@ -183,6 +239,10 @@ export const WSTETH_USDC_14 = (networkId = NetworkNumber.Eth) => ({
183
239
  debtAsset: 'USDC',
184
240
  });
185
241
  export const WSTETH_USDT_15 = (networkId = NetworkNumber.Eth) => ({
242
+ btcBased: false,
243
+ wstETHBased: true,
244
+ ethBased: false,
245
+ type: FluidVaultType.T1,
186
246
  chainIds: [NetworkNumber.Eth],
187
247
  label: 'wstETH / USDT Market 15',
188
248
  shortLabel: 'wstETH/USDT',
@@ -196,6 +256,10 @@ export const WSTETH_USDT_15 = (networkId = NetworkNumber.Eth) => ({
196
256
  debtAsset: 'USDT',
197
257
  });
198
258
  export const WEETH_WSTETH_16 = (networkId = NetworkNumber.Eth) => ({
259
+ btcBased: false,
260
+ wstETHBased: false,
261
+ ethBased: true,
262
+ type: FluidVaultType.T1,
199
263
  chainIds: [NetworkNumber.Eth],
200
264
  label: 'weETH / wstETH Market 16',
201
265
  shortLabel: 'weETH/wstETH',
@@ -209,6 +273,10 @@ export const WEETH_WSTETH_16 = (networkId = NetworkNumber.Eth) => ({
209
273
  debtAsset: 'wstETH',
210
274
  });
211
275
  export const SUSDE_USDC_17 = (networkId = NetworkNumber.Eth) => ({
276
+ btcBased: false,
277
+ wstETHBased: false,
278
+ ethBased: false,
279
+ type: FluidVaultType.T1,
212
280
  chainIds: [NetworkNumber.Eth],
213
281
  label: 'sUSDe / USDC Market 17',
214
282
  shortLabel: 'sUSDe/USDC',
@@ -222,6 +290,10 @@ export const SUSDE_USDC_17 = (networkId = NetworkNumber.Eth) => ({
222
290
  debtAsset: 'USDC',
223
291
  });
224
292
  export const SUSDE_USDT_18 = (networkId = NetworkNumber.Eth) => ({
293
+ btcBased: false,
294
+ wstETHBased: false,
295
+ ethBased: false,
296
+ type: FluidVaultType.T1,
225
297
  chainIds: [NetworkNumber.Eth],
226
298
  label: 'sUSDe / USDT Market 18',
227
299
  shortLabel: 'sUSDe/USDT',
@@ -235,6 +307,10 @@ export const SUSDE_USDT_18 = (networkId = NetworkNumber.Eth) => ({
235
307
  debtAsset: 'USDT',
236
308
  });
237
309
  export const WEETH_USDC_19 = (networkId = NetworkNumber.Eth) => ({
310
+ btcBased: false,
311
+ wstETHBased: false,
312
+ ethBased: true,
313
+ type: FluidVaultType.T1,
238
314
  chainIds: [NetworkNumber.Eth],
239
315
  label: 'weETH / USDC Market 19',
240
316
  shortLabel: 'weETH/USDC',
@@ -248,6 +324,10 @@ export const WEETH_USDC_19 = (networkId = NetworkNumber.Eth) => ({
248
324
  debtAsset: 'USDC',
249
325
  });
250
326
  export const WEETH_USDT_20 = (networkId = NetworkNumber.Eth) => ({
327
+ btcBased: false,
328
+ wstETHBased: false,
329
+ ethBased: true,
330
+ type: FluidVaultType.T1,
251
331
  chainIds: [NetworkNumber.Eth],
252
332
  label: 'weETH / USDT Market 20',
253
333
  shortLabel: 'weETH/USDT',
@@ -261,6 +341,10 @@ export const WEETH_USDT_20 = (networkId = NetworkNumber.Eth) => ({
261
341
  debtAsset: 'USDT',
262
342
  });
263
343
  export const WBTC_USDC_21 = (networkId = NetworkNumber.Eth) => ({
344
+ btcBased: true,
345
+ wstETHBased: false,
346
+ ethBased: false,
347
+ type: FluidVaultType.T1,
264
348
  chainIds: [NetworkNumber.Eth],
265
349
  label: 'WBTC / USDC Market 21',
266
350
  shortLabel: 'WBTC/USDC',
@@ -274,6 +358,10 @@ export const WBTC_USDC_21 = (networkId = NetworkNumber.Eth) => ({
274
358
  debtAsset: 'USDC',
275
359
  });
276
360
  export const WBTC_USDT_22 = (networkId = NetworkNumber.Eth) => ({
361
+ btcBased: true,
362
+ wstETHBased: false,
363
+ ethBased: false,
364
+ type: FluidVaultType.T1,
277
365
  chainIds: [NetworkNumber.Eth],
278
366
  label: 'WBTC / USDT Market 22',
279
367
  shortLabel: 'WBTC/USDT',
@@ -287,6 +375,10 @@ export const WBTC_USDT_22 = (networkId = NetworkNumber.Eth) => ({
287
375
  debtAsset: 'USDT',
288
376
  });
289
377
  export const WBTC_ETH_23 = (networkId = NetworkNumber.Eth) => ({
378
+ btcBased: true,
379
+ wstETHBased: false,
380
+ ethBased: false,
381
+ type: FluidVaultType.T1,
290
382
  chainIds: [NetworkNumber.Eth],
291
383
  label: 'WBTC / ETH Market 23',
292
384
  shortLabel: 'WBTC/ETH',
@@ -300,6 +392,10 @@ export const WBTC_ETH_23 = (networkId = NetworkNumber.Eth) => ({
300
392
  debtAsset: 'ETH',
301
393
  });
302
394
  export const ETH_WBTC_24 = (networkId = NetworkNumber.Eth) => ({
395
+ btcBased: false,
396
+ wstETHBased: false,
397
+ ethBased: true,
398
+ type: FluidVaultType.T1,
303
399
  chainIds: [NetworkNumber.Eth],
304
400
  label: 'ETH / WBTC Market 24',
305
401
  shortLabel: 'ETH/WBTC',
@@ -313,6 +409,10 @@ export const ETH_WBTC_24 = (networkId = NetworkNumber.Eth) => ({
313
409
  debtAsset: 'WBTC',
314
410
  });
315
411
  export const WSTETH_WBTC_25 = (networkId = NetworkNumber.Eth) => ({
412
+ btcBased: false,
413
+ wstETHBased: true,
414
+ ethBased: false,
415
+ type: FluidVaultType.T1,
316
416
  chainIds: [NetworkNumber.Eth],
317
417
  label: 'wstETH / WBTC Market 25',
318
418
  shortLabel: 'wstETH/WBTC',
@@ -326,6 +426,10 @@ export const WSTETH_WBTC_25 = (networkId = NetworkNumber.Eth) => ({
326
426
  debtAsset: 'WBTC',
327
427
  });
328
428
  export const WEETH_WBTC_26 = (networkId = NetworkNumber.Eth) => ({
429
+ btcBased: false,
430
+ wstETHBased: false,
431
+ ethBased: true,
432
+ type: FluidVaultType.T1,
329
433
  chainIds: [NetworkNumber.Eth],
330
434
  label: 'weETH / WBTC Market 26',
331
435
  shortLabel: 'weETH/WBTC',
@@ -339,6 +443,10 @@ export const WEETH_WBTC_26 = (networkId = NetworkNumber.Eth) => ({
339
443
  debtAsset: 'WBTC',
340
444
  });
341
445
  export const WEETHS_WSTETH_27 = (networkId = NetworkNumber.Eth) => ({
446
+ btcBased: false,
447
+ wstETHBased: false,
448
+ ethBased: true,
449
+ type: FluidVaultType.T1,
342
450
  chainIds: [NetworkNumber.Eth],
343
451
  label: 'weETHs / wstETH Market 27',
344
452
  shortLabel: 'weETHs/wstETH',
@@ -352,6 +460,10 @@ export const WEETHS_WSTETH_27 = (networkId = NetworkNumber.Eth) => ({
352
460
  debtAsset: 'wstETH',
353
461
  });
354
462
  export const CBBTC_ETH_28 = (networkId = NetworkNumber.Eth) => ({
463
+ btcBased: true,
464
+ wstETHBased: false,
465
+ ethBased: false,
466
+ type: FluidVaultType.T1,
355
467
  chainIds: [NetworkNumber.Eth],
356
468
  label: 'cbBTC / ETH Market 28',
357
469
  shortLabel: 'cbBTC/ETH',
@@ -365,6 +477,10 @@ export const CBBTC_ETH_28 = (networkId = NetworkNumber.Eth) => ({
365
477
  debtAsset: 'ETH',
366
478
  });
367
479
  export const CBBTC_USDC_29 = (networkId = NetworkNumber.Eth) => ({
480
+ btcBased: true,
481
+ wstETHBased: false,
482
+ ethBased: false,
483
+ type: FluidVaultType.T1,
368
484
  chainIds: [NetworkNumber.Eth],
369
485
  label: 'cbBTC / USDC Market 29',
370
486
  shortLabel: 'cbBTC/USDC',
@@ -378,6 +494,10 @@ export const CBBTC_USDC_29 = (networkId = NetworkNumber.Eth) => ({
378
494
  debtAsset: 'USDC',
379
495
  });
380
496
  export const CBBTC_USDT_30 = (networkId = NetworkNumber.Eth) => ({
497
+ btcBased: true,
498
+ wstETHBased: false,
499
+ ethBased: false,
500
+ type: FluidVaultType.T1,
381
501
  chainIds: [NetworkNumber.Eth],
382
502
  label: 'cbBTC / USDT Market 30',
383
503
  shortLabel: 'cbBTC/USDT',
@@ -391,6 +511,10 @@ export const CBBTC_USDT_30 = (networkId = NetworkNumber.Eth) => ({
391
511
  debtAsset: 'USDT',
392
512
  });
393
513
  export const ETH_CBBTC_31 = (networkId = NetworkNumber.Eth) => ({
514
+ btcBased: false,
515
+ wstETHBased: false,
516
+ ethBased: true,
517
+ type: FluidVaultType.T1,
394
518
  chainIds: [NetworkNumber.Eth],
395
519
  label: 'ETH / cbBTC Market 31',
396
520
  shortLabel: 'ETH/cbBTC',
@@ -404,6 +528,10 @@ export const ETH_CBBTC_31 = (networkId = NetworkNumber.Eth) => ({
404
528
  debtAsset: 'cbBTC',
405
529
  });
406
530
  export const WEETH_CBBTC_32 = (networkId = NetworkNumber.Eth) => ({
531
+ btcBased: false,
532
+ wstETHBased: false,
533
+ ethBased: true,
534
+ type: FluidVaultType.T1,
407
535
  chainIds: [NetworkNumber.Eth],
408
536
  label: 'weETH / cbBTC Market 32',
409
537
  shortLabel: 'weETH/cbBTC',
@@ -417,6 +545,10 @@ export const WEETH_CBBTC_32 = (networkId = NetworkNumber.Eth) => ({
417
545
  debtAsset: 'cbBTC',
418
546
  });
419
547
  export const WSTETH_CBBTC_33 = (networkId = NetworkNumber.Eth) => ({
548
+ btcBased: false,
549
+ wstETHBased: true,
550
+ ethBased: false,
551
+ type: FluidVaultType.T1,
420
552
  chainIds: [NetworkNumber.Eth],
421
553
  label: 'wstETH / cbBTC Market 33',
422
554
  shortLabel: 'wstETH/cbBTC',
@@ -430,6 +562,10 @@ export const WSTETH_CBBTC_33 = (networkId = NetworkNumber.Eth) => ({
430
562
  debtAsset: 'cbBTC',
431
563
  });
432
564
  export const WSTETH_ETH_WSTETH_ETH_44 = (networkId = NetworkNumber.Eth) => ({
565
+ btcBased: false,
566
+ wstETHBased: true,
567
+ ethBased: false,
568
+ type: FluidVaultType.T4,
433
569
  chainIds: [NetworkNumber.Eth],
434
570
  label: 'wstETH / ETH Market 44',
435
571
  shortLabel: 'wstETH/ETH',
@@ -443,6 +579,10 @@ export const WSTETH_ETH_WSTETH_ETH_44 = (networkId = NetworkNumber.Eth) => ({
443
579
  debtAsset: 'ETH',
444
580
  });
445
581
  export const ETH_USDC_USDT_45 = (networkId = NetworkNumber.Eth) => ({
582
+ btcBased: false,
583
+ wstETHBased: false,
584
+ ethBased: true,
585
+ type: FluidVaultType.T3,
446
586
  chainIds: [NetworkNumber.Eth],
447
587
  label: 'ETH / USDC Market 45',
448
588
  shortLabel: 'ETH/USDC',
@@ -456,6 +596,10 @@ export const ETH_USDC_USDT_45 = (networkId = NetworkNumber.Eth) => ({
456
596
  debtAsset: 'USDC',
457
597
  });
458
598
  export const WSTETH_USDC_USDT_46 = (networkId = NetworkNumber.Eth) => ({
599
+ btcBased: false,
600
+ wstETHBased: true,
601
+ ethBased: false,
602
+ type: FluidVaultType.T3,
459
603
  chainIds: [NetworkNumber.Eth],
460
604
  label: 'wstETH / USDC Market 46',
461
605
  shortLabel: 'wstETH/USDC',
@@ -469,6 +613,10 @@ export const WSTETH_USDC_USDT_46 = (networkId = NetworkNumber.Eth) => ({
469
613
  debtAsset: 'USDC',
470
614
  });
471
615
  export const WEETH_USDC_USDT_47 = (networkId = NetworkNumber.Eth) => ({
616
+ btcBased: false,
617
+ wstETHBased: false,
618
+ ethBased: true,
619
+ type: FluidVaultType.T3,
472
620
  chainIds: [NetworkNumber.Eth],
473
621
  label: 'weETH / USDC Market 47',
474
622
  shortLabel: 'weETH/USDC',
@@ -482,6 +630,10 @@ export const WEETH_USDC_USDT_47 = (networkId = NetworkNumber.Eth) => ({
482
630
  debtAsset: 'USDC',
483
631
  });
484
632
  export const WBTC_USDC_USDT_48 = (networkId = NetworkNumber.Eth) => ({
633
+ btcBased: true,
634
+ wstETHBased: false,
635
+ ethBased: false,
636
+ type: FluidVaultType.T3,
485
637
  chainIds: [NetworkNumber.Eth],
486
638
  label: 'WBTC / USDC Market 48',
487
639
  shortLabel: 'WBTC/USDC',
@@ -495,6 +647,10 @@ export const WBTC_USDC_USDT_48 = (networkId = NetworkNumber.Eth) => ({
495
647
  debtAsset: 'USDC',
496
648
  });
497
649
  export const CBBTC_USDC_USDT_49 = (networkId = NetworkNumber.Eth) => ({
650
+ btcBased: true,
651
+ wstETHBased: false,
652
+ ethBased: false,
653
+ type: FluidVaultType.T3,
498
654
  chainIds: [NetworkNumber.Eth],
499
655
  label: 'cbBTC / USDC Market 49',
500
656
  shortLabel: 'cbBTC/USDC',
@@ -508,6 +664,10 @@ export const CBBTC_USDC_USDT_49 = (networkId = NetworkNumber.Eth) => ({
508
664
  debtAsset: 'USDC',
509
665
  });
510
666
  export const SUSDE_USDC_USDT_50 = (networkId = NetworkNumber.Eth) => ({
667
+ btcBased: false,
668
+ wstETHBased: false,
669
+ ethBased: false,
670
+ type: FluidVaultType.T3,
511
671
  chainIds: [NetworkNumber.Eth],
512
672
  label: 'sUSDe / USDC Market 50',
513
673
  shortLabel: 'sUSDe/USDC',
@@ -521,6 +681,10 @@ export const SUSDE_USDC_USDT_50 = (networkId = NetworkNumber.Eth) => ({
521
681
  debtAsset: 'USDC',
522
682
  });
523
683
  export const WBTC_CBBTC_WBTC_CBBTC_51 = (networkId = NetworkNumber.Eth) => ({
684
+ btcBased: true,
685
+ wstETHBased: false,
686
+ ethBased: false,
687
+ type: FluidVaultType.T4,
524
688
  chainIds: [NetworkNumber.Eth],
525
689
  label: 'WBTC / cbBTC Market 51',
526
690
  shortLabel: 'WBTC/cbBTC',
@@ -534,6 +698,10 @@ export const WBTC_CBBTC_WBTC_CBBTC_51 = (networkId = NetworkNumber.Eth) => ({
534
698
  debtAsset: 'cbBTC',
535
699
  });
536
700
  export const WBTC_CBBTC_USDC_52 = (networkId = NetworkNumber.Eth) => ({
701
+ btcBased: true,
702
+ wstETHBased: false,
703
+ ethBased: false,
704
+ type: FluidVaultType.T2,
537
705
  chainIds: [NetworkNumber.Eth],
538
706
  label: 'WBTC / cbBTC Market 52',
539
707
  shortLabel: 'WBTC/cbBTC',
@@ -547,6 +715,10 @@ export const WBTC_CBBTC_USDC_52 = (networkId = NetworkNumber.Eth) => ({
547
715
  debtAsset: 'cbBTC',
548
716
  });
549
717
  export const WBTC_CBBTC_USDT_53 = (networkId = NetworkNumber.Eth) => ({
718
+ btcBased: true,
719
+ wstETHBased: false,
720
+ ethBased: false,
721
+ type: FluidVaultType.T2,
550
722
  id: 53,
551
723
  chainIds: [NetworkNumber.Eth],
552
724
  label: 'WBTC / cbBTC Market 53',
@@ -560,6 +732,10 @@ export const WBTC_CBBTC_USDT_53 = (networkId = NetworkNumber.Eth) => ({
560
732
  debtAsset: 'cbBTC',
561
733
  });
562
734
  export const ETH_GHO_54 = (networkId = NetworkNumber.Eth) => ({
735
+ btcBased: false,
736
+ wstETHBased: false,
737
+ ethBased: true,
738
+ type: FluidVaultType.T1,
563
739
  id: 54,
564
740
  chainIds: [NetworkNumber.Eth],
565
741
  label: 'ETH / GHO Market 54',
@@ -573,6 +749,10 @@ export const ETH_GHO_54 = (networkId = NetworkNumber.Eth) => ({
573
749
  debtAsset: 'GHO',
574
750
  });
575
751
  export const WSTETH_GHO_55 = (networkId = NetworkNumber.Eth) => ({
752
+ btcBased: false,
753
+ wstETHBased: true,
754
+ ethBased: false,
755
+ type: FluidVaultType.T1,
576
756
  id: 55,
577
757
  chainIds: [NetworkNumber.Eth],
578
758
  label: 'wstETH / GHO Market 55',
@@ -586,6 +766,10 @@ export const WSTETH_GHO_55 = (networkId = NetworkNumber.Eth) => ({
586
766
  debtAsset: 'GHO',
587
767
  });
588
768
  export const SUSDE_GHO_56 = (networkId = NetworkNumber.Eth) => ({
769
+ btcBased: false,
770
+ wstETHBased: false,
771
+ ethBased: false,
772
+ type: FluidVaultType.T1,
589
773
  id: 56,
590
774
  chainIds: [NetworkNumber.Eth],
591
775
  label: 'sUSDe / GHO Market 56',
@@ -599,6 +783,10 @@ export const SUSDE_GHO_56 = (networkId = NetworkNumber.Eth) => ({
599
783
  debtAsset: 'GHO',
600
784
  });
601
785
  export const WEETH_GHO_57 = (networkId = NetworkNumber.Eth) => ({
786
+ btcBased: false,
787
+ wstETHBased: false,
788
+ ethBased: true,
789
+ type: FluidVaultType.T1,
602
790
  id: 57,
603
791
  chainIds: [NetworkNumber.Eth],
604
792
  label: 'weETH / GHO Market 57',
@@ -612,6 +800,10 @@ export const WEETH_GHO_57 = (networkId = NetworkNumber.Eth) => ({
612
800
  debtAsset: 'GHO',
613
801
  });
614
802
  export const SUSDS_GHO_58 = (networkId = NetworkNumber.Eth) => ({
803
+ btcBased: false,
804
+ wstETHBased: false,
805
+ ethBased: false,
806
+ type: FluidVaultType.T1,
615
807
  id: 58,
616
808
  chainIds: [NetworkNumber.Eth],
617
809
  label: 'SUSDS / GHO Market 58',
@@ -625,6 +817,10 @@ export const SUSDS_GHO_58 = (networkId = NetworkNumber.Eth) => ({
625
817
  debtAsset: 'GHO',
626
818
  });
627
819
  export const WBTC_GHO_59 = (networkId = NetworkNumber.Eth) => ({
820
+ btcBased: true,
821
+ wstETHBased: false,
822
+ ethBased: false,
823
+ type: FluidVaultType.T1,
628
824
  id: 59,
629
825
  chainIds: [NetworkNumber.Eth],
630
826
  label: 'WBTC / GHO Market 59',
@@ -638,6 +834,10 @@ export const WBTC_GHO_59 = (networkId = NetworkNumber.Eth) => ({
638
834
  debtAsset: 'GHO',
639
835
  });
640
836
  export const CBBTC_GHO_60 = (networkId = NetworkNumber.Eth) => ({
837
+ btcBased: true,
838
+ wstETHBased: false,
839
+ ethBased: false,
840
+ type: FluidVaultType.T1,
641
841
  id: 60,
642
842
  chainIds: [NetworkNumber.Eth],
643
843
  label: 'cbBTC / GHO Market 60',
@@ -651,6 +851,10 @@ export const CBBTC_GHO_60 = (networkId = NetworkNumber.Eth) => ({
651
851
  debtAsset: 'GHO',
652
852
  });
653
853
  export const GHO_USDC_GHO_USDC_61 = (networkId = NetworkNumber.Eth) => ({
854
+ btcBased: false,
855
+ wstETHBased: false,
856
+ ethBased: false,
857
+ type: FluidVaultType.T4,
654
858
  id: 61,
655
859
  chainIds: [NetworkNumber.Eth],
656
860
  label: 'GHO / USDC Market 61',
@@ -664,6 +868,10 @@ export const GHO_USDC_GHO_USDC_61 = (networkId = NetworkNumber.Eth) => ({
664
868
  debtAsset: 'USDC',
665
869
  });
666
870
  export const WEETH_ETH_WSTETH_74 = (networkId = NetworkNumber.Eth) => ({
871
+ btcBased: false,
872
+ wstETHBased: false,
873
+ ethBased: true,
874
+ type: FluidVaultType.T2,
667
875
  id: 74,
668
876
  chainIds: [NetworkNumber.Eth],
669
877
  label: 'weETH / ETH Market 74',
@@ -677,6 +885,10 @@ export const WEETH_ETH_WSTETH_74 = (networkId = NetworkNumber.Eth) => ({
677
885
  debtAsset: 'ETH',
678
886
  });
679
887
  export const USDC_ETH_USDC_ETH_77 = (networkId = NetworkNumber.Eth) => ({
888
+ btcBased: false,
889
+ wstETHBased: false,
890
+ ethBased: false,
891
+ type: FluidVaultType.T4,
680
892
  id: 77,
681
893
  chainIds: [NetworkNumber.Eth],
682
894
  label: 'USDC / ETH Market 77',
@@ -690,6 +902,10 @@ export const USDC_ETH_USDC_ETH_77 = (networkId = NetworkNumber.Eth) => ({
690
902
  debtAsset: 'ETH',
691
903
  });
692
904
  export const RSETH_ETH_WSTETH_78 = (networkId = NetworkNumber.Eth) => ({
905
+ btcBased: false,
906
+ wstETHBased: false,
907
+ ethBased: true,
908
+ type: FluidVaultType.T2,
693
909
  id: 78,
694
910
  chainIds: [NetworkNumber.Eth],
695
911
  label: 'RSETH / ETH Market 78',
@@ -703,6 +919,10 @@ export const RSETH_ETH_WSTETH_78 = (networkId = NetworkNumber.Eth) => ({
703
919
  debtAsset: 'ETH',
704
920
  });
705
921
  export const RSETH_WSTETH_79 = (networkId = NetworkNumber.Eth) => ({
922
+ btcBased: false,
923
+ wstETHBased: false,
924
+ ethBased: true,
925
+ type: FluidVaultType.T1,
706
926
  id: 79,
707
927
  chainIds: [NetworkNumber.Eth],
708
928
  label: 'RSETH / wstETH Market 79',
@@ -716,6 +936,10 @@ export const RSETH_WSTETH_79 = (networkId = NetworkNumber.Eth) => ({
716
936
  debtAsset: 'wstETH',
717
937
  });
718
938
  export const WEETHS_ETH_WSTETH_80 = (networkId = NetworkNumber.Eth) => ({
939
+ btcBased: false,
940
+ wstETHBased: false,
941
+ ethBased: true,
942
+ type: FluidVaultType.T2,
719
943
  id: 80,
720
944
  chainIds: [NetworkNumber.Eth],
721
945
  label: 'weETHs / ETH Market 80',
@@ -729,6 +953,10 @@ export const WEETHS_ETH_WSTETH_80 = (networkId = NetworkNumber.Eth) => ({
729
953
  debtAsset: 'ETH',
730
954
  });
731
955
  export const ETH_USDC_1_ARB = (networkId = NetworkNumber.Eth) => ({
956
+ btcBased: false,
957
+ wstETHBased: false,
958
+ ethBased: true,
959
+ type: FluidVaultType.T1,
732
960
  id: 1,
733
961
  chainIds: [NetworkNumber.Arb],
734
962
  label: 'ETH / USDC Market 1',
@@ -742,6 +970,10 @@ export const ETH_USDC_1_ARB = (networkId = NetworkNumber.Eth) => ({
742
970
  debtAsset: 'USDC',
743
971
  });
744
972
  export const ETH_USDT_2_ARB = (networkId = NetworkNumber.Eth) => ({
973
+ btcBased: false,
974
+ wstETHBased: false,
975
+ ethBased: true,
976
+ type: FluidVaultType.T1,
745
977
  id: 2,
746
978
  chainIds: [NetworkNumber.Arb],
747
979
  label: 'ETH / USDT Market 2',
@@ -755,6 +987,10 @@ export const ETH_USDT_2_ARB = (networkId = NetworkNumber.Eth) => ({
755
987
  debtAsset: 'USDT',
756
988
  });
757
989
  export const WSTETH_USDC_3_ARB = (networkId = NetworkNumber.Eth) => ({
990
+ btcBased: false,
991
+ wstETHBased: true,
992
+ ethBased: false,
993
+ type: FluidVaultType.T1,
758
994
  id: 3,
759
995
  chainIds: [NetworkNumber.Arb],
760
996
  label: 'wstETH / USDC Market 3',
@@ -768,6 +1004,10 @@ export const WSTETH_USDC_3_ARB = (networkId = NetworkNumber.Eth) => ({
768
1004
  debtAsset: 'USDC',
769
1005
  });
770
1006
  export const WSTETH_USDT_4_ARB = (networkId = NetworkNumber.Eth) => ({
1007
+ btcBased: false,
1008
+ wstETHBased: true,
1009
+ ethBased: false,
1010
+ type: FluidVaultType.T1,
771
1011
  id: 4,
772
1012
  chainIds: [NetworkNumber.Arb],
773
1013
  label: 'wstETH / USDT Market 4',
@@ -781,6 +1021,10 @@ export const WSTETH_USDT_4_ARB = (networkId = NetworkNumber.Eth) => ({
781
1021
  debtAsset: 'USDT',
782
1022
  });
783
1023
  export const WSTETH_ETH_5_ARB = (networkId = NetworkNumber.Eth) => ({
1024
+ btcBased: false,
1025
+ wstETHBased: true,
1026
+ ethBased: false,
1027
+ type: FluidVaultType.T1,
784
1028
  id: 5,
785
1029
  chainIds: [NetworkNumber.Arb],
786
1030
  label: 'wstETH / ETH Market 5',
@@ -794,6 +1038,10 @@ export const WSTETH_ETH_5_ARB = (networkId = NetworkNumber.Eth) => ({
794
1038
  debtAsset: 'ETH',
795
1039
  });
796
1040
  export const WEETH_WSTETH_6_ARB = (networkId = NetworkNumber.Eth) => ({
1041
+ btcBased: false,
1042
+ wstETHBased: false,
1043
+ ethBased: true,
1044
+ type: FluidVaultType.T1,
797
1045
  id: 6,
798
1046
  chainIds: [NetworkNumber.Arb],
799
1047
  label: 'weETH / wstETH Market 6',
@@ -807,6 +1055,10 @@ export const WEETH_WSTETH_6_ARB = (networkId = NetworkNumber.Eth) => ({
807
1055
  debtAsset: 'wstETH',
808
1056
  });
809
1057
  export const WEETH_USDC_7_ARB = (networkId = NetworkNumber.Eth) => ({
1058
+ btcBased: false,
1059
+ wstETHBased: false,
1060
+ ethBased: true,
1061
+ type: FluidVaultType.T1,
810
1062
  id: 7,
811
1063
  chainIds: [NetworkNumber.Arb],
812
1064
  label: 'weETH / USDC Market 7',
@@ -820,6 +1072,10 @@ export const WEETH_USDC_7_ARB = (networkId = NetworkNumber.Eth) => ({
820
1072
  debtAsset: 'USDC',
821
1073
  });
822
1074
  export const WEETH_USDT_8_ARB = (networkId = NetworkNumber.Eth) => ({
1075
+ btcBased: false,
1076
+ wstETHBased: false,
1077
+ ethBased: true,
1078
+ type: FluidVaultType.T1,
823
1079
  id: 8,
824
1080
  chainIds: [NetworkNumber.Arb],
825
1081
  label: 'weETH / USDT Market 8',
@@ -833,6 +1089,10 @@ export const WEETH_USDT_8_ARB = (networkId = NetworkNumber.Eth) => ({
833
1089
  debtAsset: 'USDT',
834
1090
  });
835
1091
  export const ETH_ARB_9_ARB = (networkId = NetworkNumber.Eth) => ({
1092
+ btcBased: false,
1093
+ wstETHBased: false,
1094
+ ethBased: true,
1095
+ type: FluidVaultType.T1,
836
1096
  id: 9,
837
1097
  chainIds: [NetworkNumber.Arb],
838
1098
  label: 'ETH / ARB Market 9',
@@ -846,6 +1106,10 @@ export const ETH_ARB_9_ARB = (networkId = NetworkNumber.Eth) => ({
846
1106
  debtAsset: 'ARB',
847
1107
  });
848
1108
  export const ARB_USDC_10_ARB = (networkId = NetworkNumber.Eth) => ({
1109
+ btcBased: false,
1110
+ wstETHBased: false,
1111
+ ethBased: false,
1112
+ type: FluidVaultType.T1,
849
1113
  id: 10,
850
1114
  chainIds: [NetworkNumber.Arb],
851
1115
  label: 'ARB / USDC Market 10',
@@ -859,6 +1123,10 @@ export const ARB_USDC_10_ARB = (networkId = NetworkNumber.Eth) => ({
859
1123
  debtAsset: 'USDC',
860
1124
  });
861
1125
  export const ARB_USDT_11_ARB = (networkId = NetworkNumber.Eth) => ({
1126
+ btcBased: false,
1127
+ wstETHBased: false,
1128
+ ethBased: false,
1129
+ type: FluidVaultType.T1,
862
1130
  id: 11,
863
1131
  chainIds: [NetworkNumber.Arb],
864
1132
  label: 'ARB / USDT Market 11',
@@ -872,6 +1140,10 @@ export const ARB_USDT_11_ARB = (networkId = NetworkNumber.Eth) => ({
872
1140
  debtAsset: 'USDT',
873
1141
  });
874
1142
  export const WSTETH_ETH_WSTETH_ETH_16_ARB = (networkId = NetworkNumber.Eth) => ({
1143
+ btcBased: false,
1144
+ wstETHBased: true,
1145
+ ethBased: false,
1146
+ type: FluidVaultType.T1,
875
1147
  id: 16,
876
1148
  chainIds: [NetworkNumber.Arb],
877
1149
  label: 'wstETH / ETH Market 16',
@@ -885,6 +1157,10 @@ export const WSTETH_ETH_WSTETH_ETH_16_ARB = (networkId = NetworkNumber.Eth) => (
885
1157
  debtAsset: 'ETH',
886
1158
  });
887
1159
  export const WEETH_ETH_WSTETH_17_ARB = (networkId = NetworkNumber.Eth) => ({
1160
+ btcBased: false,
1161
+ wstETHBased: false,
1162
+ ethBased: true,
1163
+ type: FluidVaultType.T1,
888
1164
  id: 17,
889
1165
  chainIds: [NetworkNumber.Arb],
890
1166
  label: 'weETH / ETH Market 17',
@@ -898,6 +1174,10 @@ export const WEETH_ETH_WSTETH_17_ARB = (networkId = NetworkNumber.Eth) => ({
898
1174
  debtAsset: 'ETH',
899
1175
  });
900
1176
  export const ETH_USDC_1_BASE = (networkId = NetworkNumber.Eth) => ({
1177
+ btcBased: false,
1178
+ wstETHBased: false,
1179
+ ethBased: true,
1180
+ type: FluidVaultType.T1,
901
1181
  id: 1,
902
1182
  chainIds: [NetworkNumber.Base],
903
1183
  label: 'ETH / USDC Market 1',
@@ -911,6 +1191,10 @@ export const ETH_USDC_1_BASE = (networkId = NetworkNumber.Eth) => ({
911
1191
  debtAsset: 'USDC',
912
1192
  });
913
1193
  export const WSTETH_USDC_2_BASE = (networkId = NetworkNumber.Eth) => ({
1194
+ btcBased: false,
1195
+ wstETHBased: true,
1196
+ ethBased: false,
1197
+ type: FluidVaultType.T1,
914
1198
  id: 2,
915
1199
  chainIds: [NetworkNumber.Base],
916
1200
  label: 'wstETH / USDC Market 2',
@@ -924,6 +1208,10 @@ export const WSTETH_USDC_2_BASE = (networkId = NetworkNumber.Eth) => ({
924
1208
  debtAsset: 'USDC',
925
1209
  });
926
1210
  export const WSTETH_ETH_3_BASE = (networkId = NetworkNumber.Eth) => ({
1211
+ btcBased: false,
1212
+ wstETHBased: true,
1213
+ ethBased: false,
1214
+ type: FluidVaultType.T1,
927
1215
  id: 3,
928
1216
  chainIds: [NetworkNumber.Base],
929
1217
  label: 'wstETH / ETH Market 3',
@@ -937,6 +1225,10 @@ export const WSTETH_ETH_3_BASE = (networkId = NetworkNumber.Eth) => ({
937
1225
  debtAsset: 'ETH',
938
1226
  });
939
1227
  export const WEETH_WSTETH_4_BASE = (networkId = NetworkNumber.Eth) => ({
1228
+ btcBased: false,
1229
+ wstETHBased: false,
1230
+ ethBased: true,
1231
+ type: FluidVaultType.T1,
940
1232
  id: 4,
941
1233
  chainIds: [NetworkNumber.Base],
942
1234
  label: 'weETH / wstETH Market 4',
@@ -950,6 +1242,10 @@ export const WEETH_WSTETH_4_BASE = (networkId = NetworkNumber.Eth) => ({
950
1242
  debtAsset: 'wstETH',
951
1243
  });
952
1244
  export const WEETH_USDC_5_BASE = (networkId = NetworkNumber.Eth) => ({
1245
+ btcBased: false,
1246
+ wstETHBased: false,
1247
+ ethBased: true,
1248
+ type: FluidVaultType.T1,
953
1249
  id: 5,
954
1250
  chainIds: [NetworkNumber.Base],
955
1251
  label: 'weETH / USDC Market 5',
@@ -963,6 +1259,10 @@ export const WEETH_USDC_5_BASE = (networkId = NetworkNumber.Eth) => ({
963
1259
  debtAsset: 'USDC',
964
1260
  });
965
1261
  export const CBETH_USDC_6_BASE = (networkId = NetworkNumber.Eth) => ({
1262
+ btcBased: false,
1263
+ wstETHBased: false,
1264
+ ethBased: true,
1265
+ type: FluidVaultType.T1,
966
1266
  id: 6,
967
1267
  chainIds: [NetworkNumber.Base],
968
1268
  label: 'CBETH / USDC Market 6',
@@ -976,6 +1276,10 @@ export const CBETH_USDC_6_BASE = (networkId = NetworkNumber.Eth) => ({
976
1276
  debtAsset: 'USDC',
977
1277
  });
978
1278
  export const CBBTC_USDC_7_BASE = (networkId = NetworkNumber.Eth) => ({
1279
+ btcBased: true,
1280
+ wstETHBased: false,
1281
+ ethBased: false,
1282
+ type: FluidVaultType.T1,
979
1283
  id: 7,
980
1284
  chainIds: [NetworkNumber.Base],
981
1285
  label: 'cbBTC / USDC Market 7',
@@ -989,6 +1293,10 @@ export const CBBTC_USDC_7_BASE = (networkId = NetworkNumber.Eth) => ({
989
1293
  debtAsset: 'USDC',
990
1294
  });
991
1295
  export const CBBTC_EURC_8_BASE = (networkId = NetworkNumber.Eth) => ({
1296
+ btcBased: true,
1297
+ wstETHBased: false,
1298
+ ethBased: false,
1299
+ type: FluidVaultType.T1,
992
1300
  id: 8,
993
1301
  chainIds: [NetworkNumber.Base],
994
1302
  label: 'cbBTC / EURC Market 8',
@@ -1002,6 +1310,10 @@ export const CBBTC_EURC_8_BASE = (networkId = NetworkNumber.Eth) => ({
1002
1310
  debtAsset: 'EURC',
1003
1311
  });
1004
1312
  export const CBETH_EURC_9_BASE = (networkId = NetworkNumber.Eth) => ({
1313
+ btcBased: false,
1314
+ wstETHBased: false,
1315
+ ethBased: true,
1316
+ type: FluidVaultType.T1,
1005
1317
  id: 9,
1006
1318
  chainIds: [NetworkNumber.Base],
1007
1319
  label: 'CBETH / EURC Market 9',
@@ -1015,6 +1327,10 @@ export const CBETH_EURC_9_BASE = (networkId = NetworkNumber.Eth) => ({
1015
1327
  debtAsset: 'EURC',
1016
1328
  });
1017
1329
  export const ETH_EURC_10_BASE = (networkId = NetworkNumber.Eth) => ({
1330
+ btcBased: false,
1331
+ wstETHBased: false,
1332
+ ethBased: true,
1333
+ type: FluidVaultType.T1,
1018
1334
  id: 10,
1019
1335
  chainIds: [NetworkNumber.Base],
1020
1336
  label: 'ETH / EURC Market 10',
@@ -1028,6 +1344,10 @@ export const ETH_EURC_10_BASE = (networkId = NetworkNumber.Eth) => ({
1028
1344
  debtAsset: 'EURC',
1029
1345
  });
1030
1346
  export const WEETH_EURC_11_BASE = (networkId = NetworkNumber.Eth) => ({
1347
+ btcBased: false,
1348
+ wstETHBased: false,
1349
+ ethBased: true,
1350
+ type: FluidVaultType.T1,
1031
1351
  id: 11,
1032
1352
  chainIds: [NetworkNumber.Base],
1033
1353
  label: 'weETH / EURC Market 11',
@@ -1041,6 +1361,10 @@ export const WEETH_EURC_11_BASE = (networkId = NetworkNumber.Eth) => ({
1041
1361
  debtAsset: 'EURC',
1042
1362
  });
1043
1363
  export const WSTETH_EURC_12_BASE = (networkId = NetworkNumber.Eth) => ({
1364
+ btcBased: false,
1365
+ wstETHBased: true,
1366
+ ethBased: false,
1367
+ type: FluidVaultType.T1,
1044
1368
  id: 12,
1045
1369
  chainIds: [NetworkNumber.Base],
1046
1370
  label: 'wstETH / EURC Market 12',
@@ -1054,6 +1378,10 @@ export const WSTETH_EURC_12_BASE = (networkId = NetworkNumber.Eth) => ({
1054
1378
  debtAsset: 'EURC',
1055
1379
  });
1056
1380
  export const CBBTC_ETH_13_BASE = (networkId = NetworkNumber.Eth) => ({
1381
+ btcBased: true,
1382
+ wstETHBased: false,
1383
+ ethBased: false,
1384
+ type: FluidVaultType.T1,
1057
1385
  id: 13,
1058
1386
  chainIds: [NetworkNumber.Base],
1059
1387
  label: 'cbBTC / ETH Market 13',
@@ -1067,6 +1395,10 @@ export const CBBTC_ETH_13_BASE = (networkId = NetworkNumber.Eth) => ({
1067
1395
  debtAsset: 'ETH',
1068
1396
  });
1069
1397
  export const ETH_CBBTC_14_BASE = (networkId = NetworkNumber.Eth) => ({
1398
+ btcBased: false,
1399
+ wstETHBased: false,
1400
+ ethBased: true,
1401
+ type: FluidVaultType.T1,
1070
1402
  id: 14,
1071
1403
  chainIds: [NetworkNumber.Base],
1072
1404
  label: 'ETH / cbBTC Market 14',
@@ -1080,6 +1412,10 @@ export const ETH_CBBTC_14_BASE = (networkId = NetworkNumber.Eth) => ({
1080
1412
  debtAsset: 'cbBTC',
1081
1413
  });
1082
1414
  export const WEETH_CBBTC_15_BASE = (networkId = NetworkNumber.Eth) => ({
1415
+ btcBased: false,
1416
+ wstETHBased: false,
1417
+ ethBased: true,
1418
+ type: FluidVaultType.T1,
1083
1419
  id: 15,
1084
1420
  chainIds: [NetworkNumber.Base],
1085
1421
  label: 'weETH / cbBTC Market 15',
@@ -1093,6 +1429,10 @@ export const WEETH_CBBTC_15_BASE = (networkId = NetworkNumber.Eth) => ({
1093
1429
  debtAsset: 'cbBTC',
1094
1430
  });
1095
1431
  export const WSTETH_CBBTC_16_BASE = (networkId = NetworkNumber.Eth) => ({
1432
+ btcBased: false,
1433
+ wstETHBased: true,
1434
+ ethBased: false,
1435
+ type: FluidVaultType.T1,
1096
1436
  id: 16,
1097
1437
  chainIds: [NetworkNumber.Base],
1098
1438
  label: 'wstETH / cbBTC Market 16',
@@ -1194,3 +1534,5 @@ export const FluidMarkets = (networkId) => ({
1194
1534
  [FluidBaseVersions.WEETH_CBBTC_15_BASE]: WEETH_CBBTC_15_BASE(networkId),
1195
1535
  [FluidBaseVersions.WSTETH_CBBTC_16_BASE]: WSTETH_CBBTC_16_BASE(networkId),
1196
1536
  });
1537
+ export const getFluidVersionsDataForNetwork = (network) => (Object.values(FluidMarkets(network)).filter(({ chainIds, marketAddress, type }) => !!marketAddress && chainIds.includes(network) && type === FluidVaultType.T1));
1538
+ export const getFluidMarketInfoById = (vaultId, network = 1) => getFluidVersionsDataForNetwork(network).find(({ id }) => id === vaultId);