mstable/mStable-contracts

Stake mBPT in mStable's Staked Token BPT (stkBPT) into Balancer's new mBPT Gauge

naddison36 opened this issue · 7 comments

This is the implementation of RPF Stake BPT staked in mStable into Balancer Staking contracts on the mStable Forum.

Details are documented in MCCP 21.

Deployment plan:

  • Deploy new StakedTokenBPT contract using the StakedToken.deploy hardhat task
  • Propose proxy upgrade of StakedTokenBPT to newly deployed contract with data calling the initialize function.
    • Raise Protocol DAO tx
    • Execute tx after 4 sigs
  • Execute fork tests against the proposed upgrade
  • Request Etherscan tag for new contract

Tuesday, 10 May

New StabkedTokenBPT implementation deployed to 0xc63a48d85CCE7C3bD4d18db9c0972a4D223e4193

New Mainnet tx https://gnosis-safe.io/app/eth:0xF6FF1F7FCEB2cE6d26687EaaB5988b445d0b94a2/transactions/queue
312. Propose upgraded of StakedTokenBPT proxy to use Balancer's new mBPT Guage

Proposed proxy upgrade was done in https://etherscan.io/tx/0xa87fc987a4489a9dbab97f3b06ac522a2f804c6ff6341e4f034f05bdd366b0f4
at 2-May-2022 10:49:27 PM +UTC

The acceptance of the upgrade can be done from Tuesday, 10 May.

New mainnet tx https://gnosis-safe.io/app/eth:0xF6FF1F7FCEB2cE6d26687EaaB5988b445d0b94a2/transactions/queue
319. Accept upgrade of StakedTokenBPT proxy so mBPT can be added to Balancer's new gauge contract and rewards collected

I tested in a fork test that there is no more BAL to claim from the old StakedTokenBPT implementation

The proxy has been upgraded