-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: $cCOP launch deployment scripts #226
Conversation
@@ -40,7 +40,8 @@ library cCOPConfig { | |||
* @dev Returns the configuration for the COPUSD rate feed. | |||
*/ | |||
function COPUSD_RateFeedConfig() internal pure returns (Config.RateFeed memory rateFeedConfig) { | |||
// TODO: Get the final circuit breaker configuration values from Roman and update them below. | |||
// TODO: Get confirmation for Roman that these are OK | |||
// These are the exact same as the $PUSO rate feed config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rcroessmann Didn't update any of the circuit breaker parameters below
asset1limits: Config.TradingLimit({ | ||
enabled0: true, | ||
timeStep0: 5 minutes, | ||
limit0: 4211 * 200_000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rcroessmann Took this rate from the chainlink COP/USD aggregator directly https://celoscan.io/address/0x97b770B0200CCe161907a9cbe0C6B177679f8F7C#readContract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Simulation on Alfajores works and looks good
will approve once we have the config
Description
This adds the deployment script for launching $cCOP. Because it's essentially taking the same scripts we have written from previous deployments (in this case I took $PUSO as the base), I divided this into mostly 4 commits:
In this way, you can essentially review all commits after the first one independently to look at the smaller diff created when adjusting the $PUSO scripts, instead of the full blown overall changes of the PR.
Things left to do before this can be merged:
Tested
Not yet tested/simulated as the relayers are not yet deployed due to an issue on Alfajores when trying to deploy a contract using forno.
Related issues