@1delta/margin-fetcher 0.0.98 → 0.0.100

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 CHANGED
@@ -10818,7 +10818,7 @@ var buildMorphoUserCallWithLens = (chainId, account, lender, marketsToQuery) =>
10818
10818
  address: MORPHO_LENS[chainId],
10819
10819
  name: "getUserDataCompact",
10820
10820
  params: [
10821
- marketsInChunk.map((a) => a.replace("MORPHO_BLUE_", "0x")),
10821
+ lender === Lender.MORPHO_BLUE ? marketsInChunk.map((a) => a.replace("MORPHO_BLUE_", "0x")) : marketsInChunk.map((a) => a.replace("LISTA_DAO_", "0x")),
10822
10822
  account,
10823
10823
  // @ts-ignore
10824
10824
  morphoPools()?.[lender]?.[chainId]
@@ -22121,6 +22121,8 @@ var fetchMainPrices = async (chainIds, rpcOverrides, lists = {}) => {
22121
22121
  aaveForks = aaveForks?.filter(
22122
22122
  (a) => a !== Lender.ZEROLEND_STABLECOINS_RWA
22123
22123
  );
22124
+ if (chainId === Chain.SCROLL)
22125
+ aaveForks = aaveForks?.filter((a) => a !== Lender.LORE);
22124
22126
  const reservesToQuery = aaveForks?.map((a) => ({
22125
22127
  fork: a,
22126
22128
  assets: getAaveAssets(chainId, a)