protocol-v2 icon indicating copy to clipboard operation
protocol-v2 copied to clipboard

wrong `BASE_CURRENCY` in `AaveOracle.sol` on Avalanche mainnet and testnet

Open 7xAquarius opened this issue 2 years ago • 0 comments

The current BASE_CURRENCY value on both Avalanche mainnet and testnet is 0x10F7Fc1F91Ba351f9C629c5947AD69bD03C05b96 which does not even seem to be a contract

According to the comments in AaveOracle.sol : "param baseCurrency the base currency used for the price quotes. If USD is used, base currency is 0x0"

As USD seems to be used both in Avalanche mainnet and testnet, I would expect BASE_CURRENCY to be 0x0

( BASE_CURRENCY_UNIT is correct though)

7xAquarius avatar Mar 12 '22 11:03 7xAquarius