protocol-v2
protocol-v2 copied to clipboard
wrong `BASE_CURRENCY` in `AaveOracle.sol` on Avalanche mainnet and testnet
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)