Closed pedrovalido closed 1 year ago
Note to self:
FujiOracle constructor takes address[] assets
and address[] priceFeeds
as arguments. This array of priceFeeds should be an array of Chainlink contract addresses
Note to self: In chainlink documentation there are several addresses https://docs.chain.link/data-feeds/price-feeds/addresses#Ethereum%20Mainnet
New contract that ForkingSetup inherits from that should contain a mapping:
chain domain -> token addresses[] chain domain -> feed addresses[]
or
chain domain -> token -> feed
The forking setup used in our tests gets data from hardcoded prices in a MockOracle. The goal is to replace it with IFujiOracle to have real time prices.