Skip to content

Commit

Permalink
CGP 151 - Launch of $cCOP (#491)
Browse files Browse the repository at this point in the history
* CGP 151 - Launch of $cCOP

* chore: update rateResetFreq to 6 minutes

* chore: add proposal id
  • Loading branch information
nvtaveras authored Oct 24, 2024
1 parent 9a9cda7 commit 636bfa7
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 0 deletions.
44 changes: 44 additions & 0 deletions CGPs/cgp-0151.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
cgp: 151
title: Launch of the cCOP Stablecoin
date-created: 2024-10-17
author: "Bayo Sodimu (bayo.sodimu@mentolabs.xyz), @nvtaveras"
status: PROPOSED
discussions-to: https://forum.celo.org/t/launch-of-ccop-colombia-s-first-decentralized-stablecoin/9211
governance-proposal-id: 191
date-executed:
---

## Overview

This proposal outlines the final steps for the launch of the $cCOP stablecoin, proposed by Celo Colombia DAO, on the Mento platform.

The proposal includes transactions that when executed will do the following:

- Launch and initialize $cCOP
- Create and configure the cUSD/cCOP pool
- Configure trading limits and circuit breakers

For a detailed explanation of the transactions involved in this process, please refer to the following [forum post](https://forum.celo.org/t/launch-of-ccop-colombia-s-first-decentralized-stablecoin/9211)

## Proposed Changes

Check the [forum post](https://forum.celo.org/t/launch-of-ccop-colombia-s-first-decentralized-stablecoin/9211) for a detailed description of the proposed changes.

## Verification

Check the [forum post](https://forum.celo.org/t/launch-of-ccop-colombia-s-first-decentralized-stablecoin/9211) for a detailed description of verification steps.

## Risks

There are couple of risks factors to take into account when launching new stablecoin like $cCOP:

- Data providers report the price that is different from the actual COP/USD exchange rate.

In conjunction with the Mento team the contract changes have been thoroughly tested, in addition to putting tight limits and circuit breakers during the initial launch phase to protect the Mento Reserve and $cCOP holders.

## Useful Links

- [cCOP Proposal Forum Post](https://forum.celo.org/t/launch-of-ccop-colombia-s-first-decentralized-stablecoin/9211)
- [Mento Core Contracts](https://github.com/mento-protocol/mento-core)
- [Mento Docs](https://docs.mento.org)
160 changes: 160 additions & 0 deletions CGPs/cgp-0151/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
[
{
"contract": "StableTokenCOPProxy",
"address": "0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
"function": "_setAndInitializeImplementation",
"args": [
"0x434563B0604BE100F04B7Ae485BcafE3c9D8850E",
"0x1e4f0e0300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000001343656c6f20436f6c6f6d6269616e205065736f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000463434f5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"value": "0"
},
{
"contract": "StableTokenV2",
"address": "0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
"function": "initializeV2",
"args": [
"0x777A8255cA72412f0d706dc03C9D1987306B4CaD",
"0xaEb865bCa93DdC8F47b8e29F40C5399cE34d0C58",
"0x0000000000000000000000000000000000000000"
],
"value": "0"
},
{
"contract": "Governance",
"address": "0xD533Ca259b330c7A88f74E000a3FaEa2d63B7972",
"function": "setConstitution",
"args": [
"0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
"0xa9059cbb",
"900000000000000000000000"
],
"value": "0"
},
{
"contract": "Governance",
"address": "0xD533Ca259b330c7A88f74E000a3FaEa2d63B7972",
"function": "setConstitution",
"args": [
"0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
"0xe1d6aceb",
"600000000000000000000000"
],
"value": "0"
},
{
"contract": "Governance",
"address": "0xD533Ca259b330c7A88f74E000a3FaEa2d63B7972",
"function": "setConstitution",
"args": [
"0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
"0x095ea7b3",
"600000000000000000000000"
],
"value": "0"
},
{
"contract": "Reserve",
"address": "0x9380fA34Fd9e4Fd14c06305fd7B6199089eD4eb9",
"function": "addToken",
"args": ["0x8A567e2aE79CA692Bd748aB832081C45de4041eA"],
"value": "0"
},
{
"contract": "FeeCurrencyWhitelist",
"address": "0xBB024E9cdCB2f9E34d893630D19611B8A5381b3c",
"function": "addToken",
"args": ["0x8A567e2aE79CA692Bd748aB832081C45de4041eA"],
"value": "0"
},
{
"contract": "BiPoolManager",
"address": "0x22d9db95E6Ae61c104A7B6F6C78D7993B94ec901",
"function": "createExchange",
"args": [
[
"0x765DE816845861e75A25fCA122bb6898B8B1282a",
"0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
"0xDebED1F6f6ce9F6e73AA25F95acBFFE2397550Fb",
"0",
"0",
"0",
[
["3000000000000000000000"],
"0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1",
"360",
"1",
"10000000000000000000000000"
]
]
],
"value": "0"
},
{
"contract": "Broker",
"address": "0x777A8255cA72412f0d706dc03C9D1987306B4CaD",
"function": "configureTradingLimit",
"args": [
"0x1c9378bd0973ff313a599d3effc654ba759f8ccca655ab6d6ce5bd39a212943b",
"0x765DE816845861e75A25fCA122bb6898B8B1282a",
["300", "86400", "200000", "1000000", "5000000", "7"]
],
"value": "0"
},
{
"contract": "Broker",
"address": "0x777A8255cA72412f0d706dc03C9D1987306B4CaD",
"function": "configureTradingLimit",
"args": [
"0x1c9378bd0973ff313a599d3effc654ba759f8ccca655ab6d6ce5bd39a212943b",
"0x8A567e2aE79CA692Bd748aB832081C45de4041eA",
["300", "86400", "842200000", "4211000000", "21055000000", "7"]
],
"value": "0"
},
{
"contract": "BreakerBox",
"address": "0x303ED1df62Fa067659B586EbEe8De0EcE824Ab39",
"function": "addRateFeeds",
"args": [["0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1"]],
"value": "0"
},
{
"contract": "BreakerBox",
"address": "0x303ED1df62Fa067659B586EbEe8De0EcE824Ab39",
"function": "toggleBreaker",
"args": [
"0x49349F92D2B17d491e42C8fdB02D19f072F9B5D9",
"0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1",
true
],
"value": "0"
},
{
"contract": "MedianDeltaBreaker",
"address": "0x49349F92D2B17d491e42C8fdB02D19f072F9B5D9",
"function": "setCooldownTime",
"args": [["0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1"], ["900"]],
"value": "0"
},
{
"contract": "MedianDeltaBreaker",
"address": "0x49349F92D2B17d491e42C8fdB02D19f072F9B5D9",
"function": "setRateChangeThresholds",
"args": [
["0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1"],
["40000000000000000000000"]
],
"value": "0"
},
{
"contract": "MedianDeltaBreaker",
"address": "0x49349F92D2B17d491e42C8fdB02D19f072F9B5D9",
"function": "setSmoothingFactor",
"args": [
"0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1",
"5000000000000000000000"
],
"value": "0"
}
]

0 comments on commit 636bfa7

Please sign in to comment.