Skip to content

Commit

Permalink
Clean up code for LiquidityBoundPricing
Browse files Browse the repository at this point in the history
  • Loading branch information
tryouge committed Nov 29, 2023
1 parent ce059d1 commit 7d9effe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions subgraphs/orbit/src/prices/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ export function getUsdPrice(
const tokenPrice = getUsdPricePerToken(tokenAddr, block);

if (!tokenPrice.reverted) {
// if (
// tokenPrice.oracleType == constants.OracleType.UNISWAP_FORKS_ROUTER ||
// tokenPrice.oracleType == constants.OracleType.CURVE_ROUTER
// ) {
// return getLiquidityBoundPrice(tokenAddr, tokenPrice, amount);
// }
return tokenPrice.usdPrice.times(amount);
}

Expand Down

0 comments on commit 7d9effe

Please sign in to comment.