Skip to content

Commit

Permalink
Fix: Axelar (outdated not refillable) (#11683)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Sep 20, 2024
1 parent 1f92e07 commit 2fad97b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions projects/alexar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ const chainMapping = {
bsc: 'binance'
};

const chainListSupply = ['juno', 'cosmos', 'comdex', 'carbon', /*'crescent',*/ 'injective', 'kujira', 'osmosis', 'persistence', 'stargaze', 'secret', 'stargaze', 'umee', 'evmos', 'terra2'];
const blackListChains = ['comdex', 'crescent'];
const chainListSupply = ['juno', 'cosmos', 'carbon', 'injective', 'kujira', 'osmosis', 'persistence', 'stargaze', 'secret', 'stargaze', 'umee', 'evmos', 'terra2'];
const chainListTotal = ['avax', 'bsc', 'moonbeam', 'polygon', 'fantom', 'arbitrum', 'aurora', 'celo', 'kava', 'mantle', 'ethereum', 'base'];


chainListSupply.concat(chainListTotal).forEach(chain => {
module.exports[chain] = { tvl };
if (blackListChains.includes(chain)) {
module.exports[chain] = { tvl: () => ({}) };
} else {
module.exports[chain] = { tvl };
}
async function tvl(api) {
const config = await getConfig('alexar', 'https://api.axelarscan.io/api/getTVL')
const tokensAndOwners = []
Expand Down

0 comments on commit 2fad97b

Please sign in to comment.