contracts-v1
contracts-v1 copied to clipboard
Replaced Chainlink contract with proxy
While reading the code I noticed Hegic is using 0xf79d6afbb6da890132f9d7c355e3015f15f3406f
as the eth/usd price oracle. After reading the chainlink documentation, I noticed they mention 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
instead.
I asked about the difference in the chainlink discord: https://discordapp.com/channels/592041321326182401/722867103052464259/756941312569245847
In short, the 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
is just the proxy address for 0xf79d6afbb6da890132f9d7c355e3015f15f3406f
.
Important reply from one of Chainlink's admins:
When the proxy gets updated to have the new aggregator (for whatever reason. Maybe more nodes are added etc). The old aggregator address won’t be updated anymore. So you should always use the proxy to always have the more current aggregator address.