Smart Contract Update for the Upcoming Tranchess V2 Launch

Tranchess
3 min readJun 14, 2022

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:

BTCB: 0x8C4E46E99DB41d121ac58E72e2b62F56fC0553C6

ETH: 0x04FF932cA53ED6E1f5B4b6e98693Bd95b0f647D7

BNB: 0x3826314c4D7d2D6EeE7bFEd4302A55b422540e87

  • 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:

BTCB: 0x66f9D16dB828D340858b1fD4859c4030247d4b70

ETH: 0xaF098f9AAdAd3bD8C9fc17CA16C7148f992Aa1b4

BNB: 0xFa7b73009d635b0AB069cBe99C5a5D498F701c76

New LP token contracts:

bBISHOP-BUSD: 0x3F586aA29C61488f25748911be3c52246c744fc2

eBISHOP-BUSD: 0x00d150c057F5d66107Dfdb9d6d97F8B53eBd4D7A

nBISHOP-BUSD: 0x131678e24F5F447D0a6a1A42Ff7d7723861a9d30

  • 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.

UpgradeTool contracts:

BTCB: 0x8347B6f298340954565bC6c8a47D55Bb21313aA8

ETH: 0x8369d4C07a1F853c5d167C9a042fcc918C3705a6

BNB: 0xFd781525e7778cFC84D005cb120CF550e1536B9b

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!

--

--

Tranchess

A Yield Enhancing Asset Tracker with Varied Risk-Return Solutions. https://www.tranchess.com/