Skip to content

Commit

Permalink
fix: btw wrong price feed
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-devatom committed Feb 14, 2024
1 parent 9b0a400 commit 172641c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fetchUsdTokenPrice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ const usdPriceFeeds = new Map<string, string>()
).toHexString()
)
.set(
wbtc,
weth,
Address.fromString(
"0x1b44F3514812d835EB1BDB0acB33d3fA3351Ee43"
"0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419"
).toHexString()
)
.set(
Expand Down Expand Up @@ -187,7 +187,7 @@ export function fetchUsdTokenPrice(tokenAddress: Address): BigDecimal {
);

const btcUsdPriceFeed = Address.fromString(
"0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419"
"0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c"
);

return fetchPriceFromFeed(btcUsdPriceFeed).times(
Expand Down

0 comments on commit 172641c

Please sign in to comment.