@1delta/margin-fetcher 5.0.30 → 5.0.31
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.js +19 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -25437,6 +25437,25 @@ function convertFraxlendPairsToResponse(raw, chainId, prices = {}, _additionalYi
|
|
|
25437
25437
|
isActive: true,
|
|
25438
25438
|
isFrozen: depositsHalted && borrowHalted
|
|
25439
25439
|
};
|
|
25440
|
+
entry.params = {
|
|
25441
|
+
market: {
|
|
25442
|
+
lender: lenderKey,
|
|
25443
|
+
name: `${p.assetSymbol} / ${p.collateralSymbol}`,
|
|
25444
|
+
id: p.pair.toLowerCase(),
|
|
25445
|
+
loanAddress: p.asset,
|
|
25446
|
+
collateralAddress: p.collateral,
|
|
25447
|
+
loanDecimals: p.assetDecimals,
|
|
25448
|
+
collateralDecimals: p.collateralDecimals,
|
|
25449
|
+
/** RAW, on the pair's own 1e5 scale — and it is ALSO the liquidation
|
|
25450
|
+
* threshold, so there is no separate LT to publish. */
|
|
25451
|
+
lltv: p.maxLtv.toString(),
|
|
25452
|
+
oracle: p.oracle,
|
|
25453
|
+
irm: p.rateContract,
|
|
25454
|
+
/** Whether the NATIVE loop is available on this pair right now,
|
|
25455
|
+
* probed live. Gate any leverage UI on this. */
|
|
25456
|
+
leverageEnabled: p.leverageSwapperApproved
|
|
25457
|
+
}
|
|
25458
|
+
};
|
|
25440
25459
|
entry.descriptor = {
|
|
25441
25460
|
pair: p.pair.toLowerCase(),
|
|
25442
25461
|
symbol: p.symbol,
|