From 0d50c958f70622ec04de75b9b46147c37afbf994 Mon Sep 17 00:00:00 2001 From: jipstavenuiter Date: Wed, 9 Jul 2025 10:19:11 -0400 Subject: [PATCH] feat: add pricefeed for USDGLO --- src/utils/getTokenPriceInUSD.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/getTokenPriceInUSD.ts b/src/utils/getTokenPriceInUSD.ts index 47f965d4..5501dce0 100644 --- a/src/utils/getTokenPriceInUSD.ts +++ b/src/utils/getTokenPriceInUSD.ts @@ -127,6 +127,7 @@ type CurrencyFeeds = Record< string >; +// Get pricefeeds from https://docs.chain.link/data-feeds/price-feeds/addresses?page=1&testnetPage=1 const feedsPerChain: Record, Partial> = { [ChainId.BASE_SEPOLIA]: { ETH: "0x4aDC67696bA383F43DD60A9e78F2C97Fbbfc7cb1", @@ -157,6 +158,8 @@ const feedsPerChain: Record, Partial> = { cUSD: "0xe38A27BE4E7d866327e09736F3C570F256FFd048", USDC: "0xc7A353BaE210aed958a1A2928b654938EC59DaB2", USDT: "0x5e37AF40A7A344ec9b03CCD34a250F3dA9a20B02", + // Placeholder for USDGLO, used USDC on Celo for now + USDGLO: "0xc7A353BaE210aed958a1A2928b654938EC59DaB2", }, [ChainId.ARBITRUM]: { ETH: "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",