Skip to content

Commit

Permalink
fix: update cCOP pool reset frequency (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras authored Oct 24, 2024
1 parent 8b130ad commit a89d4f4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions script/upgrades/cCOP/Config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ library cCOPConfig {
* @dev Returns the configuration for the COPUSD rate feed.
*/
function COPUSD_RateFeedConfig() internal pure returns (Config.RateFeed memory rateFeedConfig) {
// TODO: Get confirmation for Roman that these are OK
// These are the exact same as the $PUSO rate feed config
rateFeedConfig.rateFeedID = Config.rateFeedID("relayed:COPUSD");
rateFeedConfig.medianDeltaBreaker0 = Config.MedianDeltaBreaker({
enabled: true,
Expand All @@ -59,15 +57,12 @@ library cCOPConfig {
function cCOPcUSD_PoolConfig(
Contracts.Cache storage contracts
) internal view returns (Config.Pool memory poolConfig) {
// TODO: Get confirmation from Roman that these are OK
// These were taken from the $PUSO pool and adjusted to the COP/USD exchange rate,
// which was 0.00023747 at the time of writing
poolConfig = Config.Pool({
asset0: contracts.celoRegistry("StableToken"),
asset1: contracts.deployed("StableTokenCOPProxy"),
isConstantSum: true,
spread: FixidityLib.newFixedFraction(3, 1000), // 0.3%, in line with current DT of chainlink feed
referenceRateResetFrequency: 5 minutes,
referenceRateResetFrequency: 6 minutes,
minimumReports: 1,
stablePoolResetSize: 10_000_000 * 1e18,
referenceRateFeedID: Config.rateFeedID("relayed:COPUSD"),
Expand Down

0 comments on commit a89d4f4

Please sign in to comment.