Skip to content

Commit

Permalink
Merge branch 'main' of github.com:terra-money/alliance-dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersuweijie committed Feb 6, 2024
2 parents 56cfce7 + 77a5df9 commit 9c5db94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion const/Variables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions lib/AllianceQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const TOTAL_STAKED_QUERY = "ewogICJ0b3RhbF9zdGFrZWRfYmFsYW5jZXMiOiB7fQp9";
export const QueryForAlliances: AllianceQuery = async (chain: Chain): Promise<AllianceResponse> => {
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);
Expand Down

0 comments on commit 9c5db94

Please sign in to comment.