@1delta/margin-fetcher 0.0.304 → 0.0.305
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
|
@@ -31740,8 +31740,8 @@ var KHYPE_KEY = "Kinetiq Staked HYPE::kHYPE";
|
|
|
31740
31740
|
var kinetiqKHypeFetcher = {
|
|
31741
31741
|
label: "KHYPE",
|
|
31742
31742
|
fetch: async () => {
|
|
31743
|
-
const
|
|
31744
|
-
return { [KHYPE_KEY]:
|
|
31743
|
+
const apy = await fetchDefiLlamaApy(KHYPE_POOL_ID);
|
|
31744
|
+
return { [KHYPE_KEY]: apyToAprPercent(apy) };
|
|
31745
31745
|
}
|
|
31746
31746
|
};
|
|
31747
31747
|
|
|
@@ -32939,9 +32939,10 @@ var monadLstFetcher = {
|
|
|
32939
32939
|
fetchDefiLlamaApy(GMON_POOL_ID)
|
|
32940
32940
|
]);
|
|
32941
32941
|
const out = {};
|
|
32942
|
-
if (sMon.status === "fulfilled") out[SMON_KEY] = sMon.value;
|
|
32943
|
-
if (shMon.status === "fulfilled")
|
|
32944
|
-
|
|
32942
|
+
if (sMon.status === "fulfilled") out[SMON_KEY] = apyToAprPercent(sMon.value);
|
|
32943
|
+
if (shMon.status === "fulfilled")
|
|
32944
|
+
out[SHMON_KEY] = apyToAprPercent(shMon.value);
|
|
32945
|
+
if (gMon.status === "fulfilled") out[GMON_KEY] = apyToAprPercent(gMon.value);
|
|
32945
32946
|
return out;
|
|
32946
32947
|
}
|
|
32947
32948
|
};
|