From eb842cfd9f0f2d769139545ba8b24efa8a82c223 Mon Sep 17 00:00:00 2001 From: mrq Date: Fri, 21 Mar 2025 23:08:53 +0100 Subject: [PATCH 1/2] allow to pick offline rpc --- .../provider/components/ProviderItem/ProviderItem.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sections/provider/components/ProviderItem/ProviderItem.tsx b/src/sections/provider/components/ProviderItem/ProviderItem.tsx index ebf8ade41f..c05c71921b 100644 --- a/src/sections/provider/components/ProviderItem/ProviderItem.tsx +++ b/src/sections/provider/components/ProviderItem/ProviderItem.tsx @@ -47,12 +47,9 @@ export const ProviderItemLayout = ({ /> ) - const isOffline = !blockNumber - const isDisabled = isLoading || isOffline - return ( onClick?.(url)} className={className} > From 0c36a3b759b3de9d9ede5a6fad67748fc8602f22 Mon Sep 17 00:00:00 2001 From: vkulinich Date: Wed, 26 Mar 2025 20:16:01 +0100 Subject: [PATCH 2/2] Support atBTC --- src/sections/lending/components/primitives/TokenIcon.tsx | 2 ++ src/sections/lending/ui-config/aTokens.ts | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/sections/lending/components/primitives/TokenIcon.tsx b/src/sections/lending/components/primitives/TokenIcon.tsx index 52595f284d..bd548f9ea6 100644 --- a/src/sections/lending/components/primitives/TokenIcon.tsx +++ b/src/sections/lending/components/primitives/TokenIcon.tsx @@ -10,6 +10,7 @@ const SYMBOL_TO_ASSET_ID_MAP_TESTNET: Record = { weth: "20", wbtc: "3", vdot: "15", + tbtc: "1000765", } const SYMBOL_TO_ASSET_ID_MAP_MAINNET: Record = { @@ -19,6 +20,7 @@ const SYMBOL_TO_ASSET_ID_MAP_MAINNET: Record = { weth: "20", wbtc: "19", vdot: "15", + tbtc: "1000765", } const SYMBOL_TO_ASSET_ID_MAP = diff --git a/src/sections/lending/ui-config/aTokens.ts b/src/sections/lending/ui-config/aTokens.ts index cb6e2cc4a0..b56c99127e 100644 --- a/src/sections/lending/ui-config/aTokens.ts +++ b/src/sections/lending/ui-config/aTokens.ts @@ -14,6 +14,8 @@ export const A_TOKEN_UNDERLYING_ID_MAP_TESTNET: { [key: string]: string } = { "1000041": "20", //avDOT "1005": "15", + //atBTC + "1006": "1000765", } export const A_TOKEN_UNDERLYING_ID_MAP_MAINNET: { [key: string]: string } = { @@ -27,6 +29,8 @@ export const A_TOKEN_UNDERLYING_ID_MAP_MAINNET: { [key: string]: string } = { "1004": "19", //avDOT "1005": "15", + //atBTC + "1006": "1000765", } export const A_TOKEN_UNDERLYING_ID_MAP =