This governance proposal will whitelist the Chainlink relayer contracts required to support the cCOP. The ChainlinkRelayer will transmit rate feed data from a Chainlink price feed or an aggregation of multiple Chainlink price feeds to the SortedOracles contract.
The rate feeds involved are COP/USD and CELO/COP, both of which already have relayer contracts deployed. Details of the rate feeds and corresponding relayer contracts are provided in the table below:
| RateFeed | RateFeedId | Relayer Contract |
|---|---|---|
| relayed:COPUSD | 0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1 | 0x783F947126Adb7646c2A459B867f5B526D2E6603 |
| relayed:CELOCOP | 0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC | 0x5926F76D43Ce2D778880226b3C4e7156C8Ece99e |
Add CELOCOP relayer as oracle
0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC, 0x5926F76D43Ce2D778880226b3C4e7156C8Ece99eSet token report expiry for CELOCOP
0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC, 360Add COPUSD relayer as oracle
0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1, 0x783F947126Adb7646c2A459B867f5B526D2E6603Set token report expiry for COPUSD
0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1, 360Set equivalent token for CELOCOP ratefeedId
0x8A567e2aE79CA692Bd748aB832081C45de4041eA, 0x32ABF1cBdFdcD56790f427694be2658d4B1A83bCCheck the forum post for a detailed description of verification steps.
The data relayed by the ChainlinkRelayer contract is only as secure as the Chainlink price feeds it relies on. If the Chainlink price feeds are compromised, the data relayed by the ChainlinkRelayer contract could be manipulated. This could lead to the SortedOracles contract reporting incorrect rate feeds to the rest of the protocol.
This risk is present with all Oracle solution and is not specific to the Chainlink price feeds. In order to mitigate this risk, the Mento Protocol has implemented onchain circuit breakers that automatically pause the protocol if the reported data is outside of a predefined threshold. As well as our onchain trading limits, which limit the trading bandwidth.