Protocol will always fail to fetch a asset price . Deployment of UniV3Relayer will fail .
Proof of Concept
UniV3Relayer contracts are supposed to consult a UniswapV3 TWAP and transforms the result into a standard IBaseOracle feed .then the quote obtained from the pool query is transformed into an 18 decimals format
However the current address of Uniswap V3 Factory being used is wrong . It's using Goerli's Uniswap V3 Factory address instead of Arbitrum's address . This arises a huge issue of Protocol always failing to fetch a asset price .
Lines of code
https://github.com/open-dollar/od-contracts/blob/v1.5.5-audit/src/contracts/oracles/UniV3Relayer.sol#L18
Vulnerability details
Impact
Protocol will always fail to fetch a asset price . Deployment of UniV3Relayer will fail .
Proof of Concept
UniV3Relayer contracts are supposed to consult a UniswapV3 TWAP and transforms the result into a standard IBaseOracle feed .then the quote obtained from the pool query is transformed into an 18 decimals format
However the current address of Uniswap V3 Factory being used is wrong . It's using Goerli's Uniswap V3 Factory address instead of Arbitrum's address . This arises a huge issue of Protocol always failing to fetch a asset price .
Tools Used
Etherscan
Recommended Mitigation Steps
Use Arbitrum's address of Uniswap V3 Factory :
Assessed type
Oracle