Mirror Contract migration to support Astroport (MIR-UST pair)

Summary

Recently, a poll to Redirect MIR-UST rewards to Astroport passed on Mirror Protocol (Link: http://mirrorprotocol.is/#/gov/poll/167). To switch from Terraswap to Astroport, the following contracts need migration:

Members of the Mirror community will migrate these contracts in order to redirect MIR-UST rewards to Astroport after this poll passes.

Contracts to be migrated

  • Staking Contract: LP token and pair addresses for MIR-UST pair to use Astroport instead of Terraswap
    • Astroport MIR-UST LP token address:
      terra17trxzqjetl0q6xxep0s2w743dhw2cay0x47puc
    • Astroport MIR-UST pair address:
      terra143xxfw5xf62d5m32k3t4eu9s82ccw80lcprzl9
  • Collector Contract: Protocol fee generated from withdrawing collateral from borrow or short position will be swapped into MIR from Astroport MIR-UST pool instead of Terraswap.

Migration Time: Jan, 10th 2022 06:00am UTC

Expected changes (if the poll passes with majority vote YES)

Once the migration is completed, MIR-UST LP staked prior to this migration will stop receiving rewards.

Users who have provided liquidity and staked LP from the old pool (Terraswap) can withdraw and provide liquidity + stake LP tokens to the newly migrated Mirror Staking contract to receive staking rewards again.

Note: The contracts are under audit, and will be published before the migration takes place (Auditor: Oak Security). The scope of the current audit will also cover some of the expected changes to the underlying mechanism of the Mirror Protocol which is scheduled to take place in Q1 2022.

4 Likes

“some of the expected changes to the underlying mechanism of the Mirror Protocol which is scheduled to take place in Q1 2022”
:face_with_monocle::face_with_monocle::face_with_monocle::face_with_monocle:

1 Like

Note: The actual completion of migration may take up to 3-4 hours. All features explained above (including dual yield incentive, and Astroport pair) will be implemented when the migration is fully complete.