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

feat: add oracle migrations #855

Merged
merged 4 commits into from
Dec 26, 2023
Merged

Conversation

rndquu
Copy link
Member

@rndquu rndquu commented Dec 22, 2023

This PR updates migration scripts to deploy oracle related contracts.

We've got the following oracle related contracts:

  1. Curve Dollar-3CRVLP metapool (to fetch Dollar price)
  2. Chainlink price feed (to fetch collateral token price in UbiquityPool)

Development migration deploys all oracle related contracts from scratch for ease of debugging.

Mainnet migration uses already deployed oracle related contracts.

The only catch is that we haven't yet redeployed the old Dollar-3CRVLP metapool because we need the new Dollar token contract to be redeployed hence this commented block.

@rndquu rndquu marked this pull request as ready for review December 22, 2023 12:43
Copy link
Contributor

@gitcoindev gitcoindev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through the all changes and approving from my side.

@rndquu
Copy link
Member Author

rndquu commented Dec 26, 2023

Merging this PR because it blocks some of the tasks. @molecula451 If you have any other remarks pls let me know.

@rndquu rndquu merged commit aed79e7 into ubiquity:development Dec 26, 2023
37 checks passed
@rndquu rndquu deleted the feat/twap-migration branch December 26, 2023 06:21
@molecula451
Copy link
Member

I am keeping an eye on this one, moving on for now as I am sure we needed it at the soonest!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants