diff --git a/src/hooks/gauges/useGaugeTVL.ts b/src/hooks/gauges/useGaugeTVL.ts index 984bcfce..495ea119 100644 --- a/src/hooks/gauges/useGaugeTVL.ts +++ b/src/hooks/gauges/useGaugeTVL.ts @@ -21,16 +21,21 @@ const useGaugeTVL = (gauge: ActiveSupportedGauge) => { const bao = useBao() const poolInfo = usePoolInfo(gauge) const gaugeInfo = useGaugeInfo(gauge) - const bSTBLPrice = useVaultPrice(Config.vaults['baoUSD'].markets[1].vaultAddresses[chainId], 'baoUSD') - const baoUSDPrice = useVaultPrice(Config.vaults['baoUSD'].markets[3].vaultAddresses[chainId], 'baoUSD') - const bETHPrice = useVaultPrice(Config.vaults['baoETH'].markets[1].vaultAddresses[chainId], 'baoETH') - const baoETHPrice = useVaultPrice(Config.vaults['baoETH'].markets[2].vaultAddresses[chainId], 'baoETH') + const bSTBLPrice = usePrice('dai') //useVaultPrice(Config.vaults['baoUSD'].markets[1].vaultAddresses[chainId], 'baoUSD') + const baoUSDPrice = usePrice('dai') //useVaultPrice(Config.vaults['baoUSD'].markets[3].vaultAddresses[chainId], 'baoUSD') + const bETHPrice = usePrice('ethereum') // useVaultPrice(Config.vaults['baoETH'].markets[1].vaultAddresses[chainId], 'baoETH') + const baoETHPrice = usePrice('ethereum') //useVaultPrice(Config.vaults['baoETH'].markets[2].vaultAddresses[chainId], 'baoETH') const daiPrice = usePrice('dai') const ethPrice = usePrice('ethereum') const threeCrvPrice = usePrice('lp-3pool-curve') const baoPrice = usePrice('bao-finance-v2') const lusdPrice = usePrice('liquity-usd') + console.log('baoUSD Price', formatUnits(baoUSDPrice)) + console.log('bSTBL Price', formatUnits(bSTBLPrice)) + console.log('bETH Price', formatUnits(bETHPrice)) + console.log('baoETH Price', formatUnits(baoETHPrice)) + const [baoUSDlusdPrice, setBaoUSDlusdPrice] = useState(BigNumber.from(0)) const [baoETHethPrice, setBaoETHethPrice] = useState(BigNumber.from(0)) const [bETHbaoETHPrice, setBETHbaoETHPrice] = useState(BigNumber.from(0))