@1delta/margin-fetcher 0.0.270 → 0.0.271

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
@@ -43773,6 +43773,7 @@ var stampVaultClassification = (data, chainId) => {
43773
43773
  stampBag(data.fluid, "fluid");
43774
43774
  stampBag(data.gearbox, "gearbox");
43775
43775
  stampBag(data.morpho, "morpho");
43776
+ stampBag(data.lista, "lista");
43776
43777
  stampBag(data.silo, "silo");
43777
43778
  stampBag(data["euler-earn"], "euler-earn");
43778
43779
  stampBag(data.lst, "lst");
@@ -44808,6 +44809,7 @@ function buildVaultLookup(data) {
44808
44809
  addEntries(data.fluid, "fluid");
44809
44810
  addEntries(data.gearbox, "gearbox");
44810
44811
  addEntries(data.morpho, "morpho");
44812
+ addEntries(data.lista, "lista");
44811
44813
  addEntries(data.silo, "silo");
44812
44814
  addEntries(data["euler-earn"], "euler-earn");
44813
44815
  addEntries(data.lst, "lst");
@@ -44859,6 +44861,18 @@ var getVaultPublicDataAll = async (chainId, providers, multicallRetry, prices =
44859
44861
  })
44860
44862
  );
44861
44863
  }
44864
+ if (requested.has("lista")) {
44865
+ tasks.push(
44866
+ fetchListaVaultsFromChain(chainId, multicallRetry, prices, tokenList).then((res) => {
44867
+ out.lista = res;
44868
+ }).catch((e) => {
44869
+ warn4(
44870
+ `[vaults] lista fetch failed for chain ${chainId}:`,
44871
+ e?.message ?? e
44872
+ );
44873
+ })
44874
+ );
44875
+ }
44862
44876
  if (requested.has("silo")) {
44863
44877
  tasks.push(
44864
44878
  fetchSiloVaults(chainId, prices, tokenList, {