@1delta/margin-fetcher 0.0.98 → 0.0.99
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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]
|