From d5c9f99912f133df1f23e7aa8b2174fcebc007a1 Mon Sep 17 00:00:00 2001 From: Ss5h Date: Mon, 15 Jul 2024 12:51:56 +0900 Subject: [PATCH] update bitcoinUSD, add BitcoinUSD=USDC pool --- projects/everdex/index.js | 4 ++++ projects/helper/coreAssets.json | 3 ++- projects/helper/tokenMapping.js | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/projects/everdex/index.js b/projects/everdex/index.js index c412a4a9f8fb..cf025fc2d024 100644 --- a/projects/everdex/index.js +++ b/projects/everdex/index.js @@ -11,6 +11,10 @@ const tokensAndOwners = [ [ADDRESSES.bfc.UnifiedDAI, '0xa455434802d8B530C77d2B7547eF93C798896581'], [ADDRESSES.bfc.UnifiedUSDC, '0xa455434802d8B530C77d2B7547eF93C798896581'], [ADDRESSES.bfc.UnifiedUSDT, '0xa455434802d8B530C77d2B7547eF93C798896581'], + + // BitcoinUSD - USDC Pool + [ADDRESSES.bfc.BitcoinUSD, '0x840Cf4522ED96CBBEB0924672Ea170456eea3a4c'], + [ADDRESSES.bfc.UnifiedUSDC, '0x840Cf4522ED96CBBEB0924672Ea170456eea3a4c'] ] async function tvl() { diff --git a/projects/helper/coreAssets.json b/projects/helper/coreAssets.json index 0d22e9243e3b..81614e0a0d54 100644 --- a/projects/helper/coreAssets.json +++ b/projects/helper/coreAssets.json @@ -1570,7 +1570,8 @@ "SAT": "0x17102AC78a02a98fC78B0c29B7b0506f035A99E5", "BIFI": "0x047938C3aD13c1eB821C8e310B2B6F889b6d0003", "WBTC": "0x7b8FAC5F29E101BaaB33c5f9c39d4F85ba2cc7C1", - "BTCB": "0xd267F821F1b8344B5A63626c8c824697194A173E" + "BTCB": "0xd267F821F1b8344B5A63626c8c824697194A173E", + "BitcoinUSD": "0x6906Ccda405926FC3f04240187dd4fAd5DF6d555" }, "scroll": { "WETH": "0x5300000000000000000000000000000000000004", diff --git a/projects/helper/tokenMapping.js b/projects/helper/tokenMapping.js index 15bd6e253b09..a6e13d63a8cc 100644 --- a/projects/helper/tokenMapping.js +++ b/projects/helper/tokenMapping.js @@ -46,6 +46,10 @@ const fixBalancesTokens = { '0xaec9e50e3397f9ddc635c6c429c8c7eca418a143': { coingeckoId: 'arcana-2', decimals: 18 }, '0xce1581d7b4ba40176f0e219b2cac30088ad50c7a': { coingeckoId: 'pearl', decimals: 18 }, }, + + bfc: { + '0x6906Ccda405926FC3f04240187dd4fAd5DF6d555': { coingeckoId: "bitcoin-usd-btcfi", decimals: 18, } + }, } ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })