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

Release v2.2.x #82

Merged
merged 25 commits into from
Jan 10, 2022
Merged

Release v2.2.x #82

merged 25 commits into from
Jan 10, 2022

Conversation

csanti
Copy link
Contributor

@csanti csanti commented Dec 1, 2021

I suggest introducing the following 3 main features:

1. First round of preparations for Astroport migration (#80)

  • Update collector to be able to change the MIR/UST pair (since it will be the first pool to be migrated)
  • Add a LP token deprecation mechanism to staking contract

2. Allow governance voters to execute migrations with a new admin_manager contract (#81)

  • New admin manager contract to execute contract migrations
  • Admin manager contract integrated with governance
    • Ability to have different poll types with different parameters
    • Fast track polls to execute emergency migrations

3. Integrate with the new oracle contracts (#81)

Mirror will be using a new set of oracle contracts TeFi Oracle contracts that will allow easier integrations with different price sources such as Band Protocol or Chainlink.

  • Whitelist process updated to work with the new oracle contracts
  • No longer rely on feeder address to migrate, revoke or trigger IPO events
  • Now preIPO assets need to specify a trigger address authorized to execute the IPO trigger on mint contract
  • Collateral oracle and other price dependent contracts now query prices form the new oracle using the timeframe constrain feature

Migrations

Feature 1 will be added before 2 and 3, that is the reason why staking contract still depends on deprecated oracle.
Since Astroport and Terraswap share the relevant interfaces, no package update yet.
Another release will be needed when all mAsset pools are migrated to Astroport, to update the dependency as well as the whitelist process.

@csanti csanti requested a review from yun-yeo December 1, 2021 09:17
@csanti
Copy link
Contributor Author

csanti commented Dec 28, 2021

Tag 2.2.0b to be deployed on Testnet:

  • Collector (use Astroport pair to swap MIR)
  • Staking (Add deprecation feature and trigger MIR pair deprecation)

@csanti csanti marked this pull request as ready for review January 10, 2022 01:42
Copy link
Contributor

@yun-yeo yun-yeo left a comment

Choose a reason for hiding this comment

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

LGTM

@csanti csanti merged commit d2bffaf into main Jan 10, 2022
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.

2 participants