Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CGP150 proposal id #488

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions CGPs/cgp-0150.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ cgp: 150
title: Adding oracles to support cCOP
date-created: 2024-10-17
author: "Bayo Sodimu ([email protected])"
status: DRAFT
status: PROPOSED
discussions-to: https://forum.celo.org/t/launch-of-ccop-colombia-s-first-decentralized-stablecoin/9211
governance-proposal-id:
governance-proposal-id: 190
date-executed:
---

Expand All @@ -17,40 +17,40 @@ The rate feeds involved are COP/USD and CELO/COP, both of which already have rel

| RateFeed | RateFeedId | Relayer Contract |
| --------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |
| relayed:COPUSD | 0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1 | [0x783F947126Adb7646c2A459B867f5B526D2E6603](https://celoscan.io/address/0x783F947126Adb7646c2A459B867f5B526D2E6603#readContract) |
| relayed:COPUSD | 0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1 | [0x783F947126Adb7646c2A459B867f5B526D2E6603](https://celoscan.io/address/0x783F947126Adb7646c2A459B867f5B526D2E6603#readContract) |
| relayed:CELOCOP | 0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC | [0x5926F76D43Ce2D778880226b3C4e7156C8Ece99e](https://celoscan.io/address/0x5926F76D43Ce2D778880226b3C4e7156C8Ece99e#readContract) |

## Proposed Changes

1. **Add CELOCOP relayer as oracle**

- Destination: SortedOracles.addOracle
- Data: `0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC`, `0x5926F76D43Ce2D778880226b3C4e7156C8Ece99e`
- Value: 0
- Destination: SortedOracles.addOracle
- Data: `0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC`, `0x5926F76D43Ce2D778880226b3C4e7156C8Ece99e`
- Value: 0

2. **Set token report expiry for CELOCOP**

- Destination: SortedOracles.tokenReportExpirySeconds
- Data: `0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC`, 360
- Value: 0
- Destination: SortedOracles.tokenReportExpirySeconds
- Data: `0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC`, 360
- Value: 0

3. **Add COPUSD relayer as oracle**

- Destination: SortedOracles.addOracle
- Data: `0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1`, `0x783F947126Adb7646c2A459B867f5B526D2E6603`
- Value: 0
- Destination: SortedOracles.addOracle
- Data: `0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1`, `0x783F947126Adb7646c2A459B867f5B526D2E6603`
- Value: 0

4. **Set token report expiry for COPUSD**

- Destination: SortedOracles.tokenReportExpirySeconds
- Data: `0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1`, 360
- Value: 0
- Destination: SortedOracles.tokenReportExpirySeconds
- Data: `0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1`, 360
- Value: 0

5. **Set equivalent token for CELOPHP ratefeedId**
5. **Set equivalent token for CELOCOP ratefeedId**

- Destination: SortedOracles.setEquivalentToken
- Data: `0x8A567e2aE79CA692Bd748aB832081C45de4041eA`, `0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC`
- Value: 0
- Destination: SortedOracles.setEquivalentToken
- Data: `0x8A567e2aE79CA692Bd748aB832081C45de4041eA`, `0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC`
- Value: 0

## Verification

Expand Down
Loading