Smart Contract Update for the Upcoming Tranchess V2 Launch
This brief article is dedicated to users with some technical background or who are curious to understand what will happen at the smart contract level in the next few days in preparation for the launch of Tranchess V2.
Please check out our Twitter post for a general timeline of the changes Tranchess will conduct in the next few days.
The following change(s) are scheduled to happen between 2022–06–14 14:00 UTC and 2022–06–15 14:00 UTC.
- Changing old funds’ primary market contract to corresponding UpgradeTool contracts.
This change takes effect after old funds are settled at 2022–06–15 14:00 UTC. After that, creation, redemption, split, and merge are disabled. Previous creations and redemptions will still be claimable.
The following change(s) are scheduled to happen before 2022–06–16 14:00 UTC.
- Upgrading old Swap contracts.
The Swap markets will be closed after 2022–06–16 14:00 UTC and allow corresponding UpgradeTool contracts to map staked Q/B/R tokens to those in Tranchess V2.
New implementation contract addresses:
- Adding new staking and LP token contracts as CHESS minters
CHESS emission will be distributed in the three new staking contracts and three new LP token contracts.
New Staking contracts:
New LP token contracts:
- Upgrading ChessController
Starting from 2022–06–16 14:00 UTC, this contract will read CHESS emission voting results from the new voting contract.
New implementation: 0x6986498555ead5659E603F410785C6f0E5c16cc2
New voting contract: 0x66CaE7A198792089060C7D68e31cA7fCF9274377
Tranchess will change old funds’ TWAP oracle, APR oracle, and interest rate ballot to corresponding UpgradeTool contracts. The UpgradeTool contract acts as a special TWAP oracle, APR oracle and interest rate ballot in order to keep the old Q/B/R’s NAV unchanged after Tranchess V2 launches. Starting from 2022–06–17, no rebalance will be triggered in old funds.
The following change(s) are scheduled to happen at 2022–06–16 14:00 UTC.
- The Treasury will send a transaction to each UpgradeTool contract to execute the Tranchess V2 upgrade.
The transactions will transfer BTCB/ETH/BNB to new funds and create new Q/B/R tokens. Users can map their old Q/B/R tokens to new ones after these transactions are complete.
The following change(s) are scheduled to happen at 2022–06–17 02:00 UTC.
- The Treasury will send a transaction to each new Fund contract to enable creation, redemption, split and merge.
The following change(s) are scheduled to happen after 2022–06–17.
- Removing VotingEscrow’s callback contract.
The callback contract synchronizes all old staking contracts and fee distributor contracts whenever users lock more CHESS or extend lock duration.
After Tranchess V2 launches, this callback will be removed. Users need to manually synchronize new staking contracts and fee distributor contracts (by clicking the “Enroll all veCHESS” button on the website).
All changes above will happen on the backend and, unless specifically mentioned in our Twitter notice, will not affect users’ experience with Tranchess. We are very excited about the upcoming Tranchess V2, and we hope you will share the excitement! Come and vote for the new CHESS emission split among all SIX pools!