From 981a83a9ebab193acd4981c6dc395c2ec3932dcd Mon Sep 17 00:00:00 2001 From: emidev98 Date: Tue, 7 Nov 2023 11:57:10 +0200 Subject: [PATCH 1/2] fix: filter virtual token for migaloo --- lib/AllianceQuery.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/AllianceQuery.ts b/lib/AllianceQuery.ts index 66ed843..c9f494f 100644 --- a/lib/AllianceQuery.ts +++ b/lib/AllianceQuery.ts @@ -9,6 +9,7 @@ const TOTAL_STAKED_QUERY = "ewogICJ0b3RhbF9zdGFrZWRfYmFsYW5jZXMiOiB7fQp9"; export const QueryForAlliances: AllianceQuery = async (chain: Chain): Promise => { const chainResponse = await fetch(`${chain.lcd}/terra/alliances?pagination.limit=100`); const resp = (await chainResponse.json()) as AllianceResponse; + resp.alliances = resp.alliances.filter((a) => a.denom !== "factory/migaloo190qz7q5fu4079svf890h4h3f8u46ty6cxnlt78eh486k9qm995hquuv9kd/ualliance"); if (chain.name === "Terra") { const allianceHubDenom = Object.keys(chain.alliance_coins).find((key: string) => chain.alliance_coins[key].hub_contract); From 6e8a92449dd6b8c22ce1d56d7a964f4118754687 Mon Sep 17 00:00:00 2001 From: emidev98 Date: Wed, 31 Jan 2024 16:31:24 +0200 Subject: [PATCH 2/2] fix:carbon URL to use foundation --- const/Variables.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/const/Variables.tsx b/const/Variables.tsx index 616e767..c99439f 100644 --- a/const/Variables.tsx +++ b/const/Variables.tsx @@ -45,7 +45,7 @@ export const supportedTokens: any = { export const supportedChains: { [key: string]: Chain } = { carbon: { name: "Carbon", - lcd: "https://query-api.carbon.network", + lcd: "https://lcd-carbon.tfl.foundation", inflation: 0.0746, denom: "swth", decimals: 8,