CubFinance V2 Day! | Tutorial on The V2 Migration, Rollout Schedules and 0 Deposit Fee day!

in LeoFinance3 years ago

image.png

Hey everyone! It's been a long-time in the making and we are finally making the leap to V2. The migration has begun with the first major step today: queuing the update in the CubFinance TimeLock. Once the 24 hour period has elapsed, the user part of the V2 migration (when you have to unstake, unpool, repool and restake) will begin!

This migration marks an important moment in the CubFinance history books. We're not only migrating our liquidity, we're migrating the vaults that earn CUB and seed liquidity. We're also prepping bLEO for the migration to V2 which includes LeoBridge.

The LeoBridge system should be far more reliable (and include lower slippage) under the V2 LP contract.

All of this sets us up nicely for our current and next major rollouts:

  • Kingdoms (Released)
  • IDO V1 (Released)
  • IDO V2 (Launching VerySoon)
  • CUB Partner Pools (Launching VerySoon)
  • Polygon CUB (Launching Very Soon)
  • vCUB DAO (Launching Soon)

Why Migrate to V2?

This has been covered in a number of places. In a nutshell, V2 is where everyone has been migrating on BSC for the past several months. V2 has a few features that make it superior to V1 and then you add network effect (more liquidity) into the mix and the reasons to migrate become obvious.

Wen Migrate to V2?

As of today, our migration has already begun! There are quite a few operations going on to make this migration possible. The first step was to prepare our frontend and backend for the migration.

As of this post going live, we've done the next step: queue the deprecation of V1 vaults and then queue the addition of V2 vaults to CubFinance. This includes:

  1. CUB-BUSD
  2. CUB-BNB
  3. bLEO-BNB
  4. DEC-BUSD

24 hour countdown: when CubFinance started, we hired CertiK to perform a deep audit on our platform. From this audit, we worked with their team to make CubFinance as secure as possible. One of the many things we added was a TimeLock smart contract to our MasterChef for Cub vaults.

This TimeLock SC creates a 24 hour countdown period for any changes we want to make to the platform.

When we say "Queue Transactions", this timelock is what we're referring to. In order to make a change, we have to first queue the operation into the timelock. We can then execute that change but ONLY after the 24 hour period has elapsed.

As of this post, we've queued the transactions to migrate to V2. This means that the countdown has begun and roughly 24 hours from now will be the next phase of migration...

Wen Users Do Migration?

You will need to migrate liquidity if you are in any of the following liquidity pools & CubFinance vaults:

  • CUB-BUSD
  • CUB-BNB
  • bLEO-BNB
  • DEC-BUSD

The migration for users will begin as soon as these vault TXs are executed (about 24 hours from when this post is live).

We'll release a number of tweets and posts (and a docs update) to aid you in this migration and inform you of when user action is required.

Users will begin migration on Tuesday, September 21st.

How Users Do Migration?

We'll continually release posts, tweets, videos, etc. to make this as smooth as possible.

Here is a quick tutorial on how to migrate from V1 CubFinance vaults to V2 CubFinance vaults:

Step 1). Go to https://cubdefi.com/farms

Note the farms page has a "Live" and "Finished" Tab toward the top. These two tabs are used to toggle between... live and finished vaults!

As of this writing, the CUB-BUSD, CUB-BNB, bLEO-BNB, DEC-BUSD V1 vaults are still considered "Live". Once the migration for users is in progress, these V1 vaults will be moved to the "Finished" tab and relabeled to indicate "V1".

When we announce the migration, you'll find the new V2 vaults on this page and V1 on "Finished". When you see new vaults on Farms, you'll know that the Migration is officially in progress for users.

image.png

Step 2). Unstake

Many have asked "why do I need to unstake?" - LP'ing on CubFinance involves two types of deposits:

  1. Liquidity Pooling
  2. Vault Staking

First you pool liquidity (on Pancakeswap), then you deposit the LP tokens you receive in a vault - known as staking.

Thus, the first transactional step to migrate from V1 to V2 is to unstake your LP tokens so that you can (in the next step) un-pool those CUB-BUSD and migrate them to V2.

image.png

Step 3). Remove Liquidity Pool

It's time to get those liquid CUB and BUSD (or bLEO, BNB, DEC) back so that you can repool on Pancakeswap in the next step.

image.png

Visit the Liquidity Page on CubFinance and then wait for your Liquidity balance to show.

Note: you MUST follow Step #2 before your liquidity position will show on this page.

Once here, click the drop-down and then select "Remove" to remove liquidity from V1.

Step 4). Approve & Remove Liquidity Pairing on V1 to Prep for Repool on V2

Time to approve and remove that liquidity. Make sure to do Max (obviously, you'll want to remove 100% of your liquidity and then repool 100% back on PCSv2).

Note: the Approval for this TX is actually just a text signature. You won't need to pay a gas fee for that approval.

Once approved, the "Remove" button will light up and then you can un-pool the tokens.

image.png

Step 5). Time to Join V2! Pool Your Assets on PCSv2
How to Find the PCSv2 Page:

Our CubFinance V2 AMM page will most likely not be live on the day of liquidity migration for users, there are direct PCS links that can get you to the same spot.

In many cases, this will actually be easier for everyone since you won't have to worry about the V1 to V2 AMM difference (i.e. we'd have to create a separate domain to handle the V1 old pairs - which may be confusing for people right off the bat). We've decided to go ahead and leave the old AMM up for the beginning and direct people to PCS to add liquidity for this week's migration.

Direct Links:

Note: these direct links will also be available on the day of user migration via the vaults on https://cubdefi.com/farms. All the V2 pairings will have a "Get CUB-BUSD LP" link to these direct pages where it will prefill the tokens for you.

(Alternative Method): Add Token Addresses Directly on PCS:

When searching for a token, you can add the token contracts directly in. This will make it easier for you because it will actually pre-load CUB, BLEO and DEC into PancakeSwap for you future use.

  • CUB Address: 0x50D809c74e0B8e49e7B4c65BB3109AbE3Ff4C1C1
  • bLEO Address: 0x6421531AF54C7B14Ea805719035EBf1e3661c44A
  • DEC Address: 0xE9D7023f2132D55cbd4Ee1f78273CB7a3e74F10A

Once you get to the page for your liquidity pair, click max and add your liquidity into the V2 pool!

image.png

Step 6). Re-Stake on CubFinance V2!

Once confirmed, you now have LPv2 tokens! Head back over to https://cubdefi.com/farms and find the V2 vaults (again, on migration for users day, this vault will be located under the "Live" tab and we'll label it V2!).

  1. Enable the Farm
  2. Click "Stake" or the "+" Icon
  3. Stake Tokens

image.png

All Done! Congratulations, You've Made it to V2!

Fees for Migration?

The only fees for migration will be transaction fees. We're deploying another 0 deposit fee day for all of our users to re-enter the V2 pools without paying any fees.

In order to smooth the transition, we'll leave this day open for 48-72 hours and make sure to make a lot of noise about it so that our users have time to make the change to V2.

The Other Reasons V2 is Important..

We're working on a lot of important features and partnerships for CUB. All of these rely on us making the leap to V2 first.

We pushed off this V2 migration until it became an absolute necessity because V1 worked fine for us and didn't cause any problems before. It allowed us to operate without much hinderance at all and we knew that the migration would cause a great deal of headaches for a few days while our users adjusted and migrated.

Now that we've got Kingdoms (already on V2), CUB IDOs (already on V2), IDO Partners (all planning to use V2), Polygon CUB on the horizon, massive LeoBridge upgrade, the vCUB DAO launching in the very near future and a few more massive feature rollouts before the end of 2021, it has become an absolute necessity to make the V2 leap.

CUB is living in exciting times. Prices could be better, but price can't be the only dictation of reality. Oftentimes the best opportunities are found when there is blood in the streets.

We're excited to deliver some incredible features for CUB throughout the rest of 2021 and in 2022. CUB is aiming to be a one-stop shop for DeFi. Allowing users to build a diversified liquidity portfolio (Kingdoms), find new projects and decide if they have a future (IDOs), vote on proposals, IDO requests and feature releases (vCUB DAO), bridge to Polygon and other blockchains, and so much more!

 

 

LeoFinance is a blockchain-based social media community that builds innovative applications on the Hive, BSC and ETH blockchains. Our flagship application: LeoFinance.io allows users and creators to engage and share content on the blockchain while earning cryptocurrency rewards.

DeFi PlatformTokenized BloggingTrack Hive Data
Cub FinanceLeoFinance BetaHivestats
Native DEXWrapped LEO (ETH)Hive Node
LeoDexwLEO On UniswapWitness Vote

Earn a 16% APR on HIVE POWER and Support LeoInfra's Onboarding Efforts by Delegating HP to @leo.voter (Currently at 2M HP). We Use this to Claim Accounts and Delegate RCs to Newly Onboarded Users + Daily LEO Payouts to Delegators

Posted Using LeoFinance Beta

Sort:  

Perfect ! That's really cool to see as much updates ! We can see you're really motivated ! !PIZZA

@leofinance! I sent you a slice of $PIZZA on behalf of @ykretz.

Learn more about $PIZZA Token at hive.pizza (2/10)

Thanks for the details. So it looks like our liquidity tokens are still V1 so we will have to remove then re-add them to the pool to get everything to V2.

Posted Using LeoFinance Beta

Exactly, the step by step guide will help you but as a quick overview:

  1. Unstake from CubFinance Farms Page (V1)
  2. Un-LP from CubFinance AMM Page
  3. Re-LP from Pancakeswap V2 AMM page
  4. Restake from CubFinance Farms Page (V2)

Posted Using LeoFinance Beta

The time is NOW and the V2 migration is what will ensure smooth sailing from now on. Great tutorial and probably will wait for a showcase video with a practical example to see that in action as well. Showcase is the best!

Posted Using LeoFinance Beta

"will wait for a showcase video with a practical example"

I'll get one out! I also think @scaredycatguide will post one shortly after the migration as well

Posted Using LeoFinance Beta

I love cub and this is great news but if I think of this from an average investor, DeFi has a long way to go before gaining average investor acceptance. I can't imagine anyone wanting to do this in the future and really it should be automated in a sense. Imagine having to have to go through these steps for your stocks, Id be mortified..anyways just some two cents

Posted Using LeoFinance Beta

DeFi has a long way to go before gaining average investor acceptance

We try to make it as easy as possible - many other DeFi platforms are far more difficult to use - our goal in the long-run is to continually simplify things. We have no control over the migration of V1 to V2, only the way we present it to users.

I am looking forward to a day when DeFi is as easy as using traditional web2 apps!

Posted Using LeoFinance Beta

Do I need to do something for CUB kingdom? I don't read anything about it. So funds there should be fine?

image.png

Yes, only these vaults are impacted

Posted Using LeoFinance Beta

Nice. Quite excited for this because it means the second IDO is around the corner. Get more CUB when it is still cheap people! 👍

🚀 big things on the way, as always

Posted Using LeoFinance Beta

Thanks for the update guys! I will wait for your next update and then make a move. ✌ Good thing is that I followed you guys on Twitter to get instant notifications.

One suggestion, can we get this post on top of the LeoFinance.io homepage so that nobody misses it?

Posted Using LeoFinance Beta

Yes! It looks like hive.vote was down yesterday and typically the official @leofinance posts get autovoted to the top of our homepage. Did it manually for now :)

Posted Using LeoFinance Beta

Perfect. Thanks Khal 👍

Posted Using LeoFinance Beta

This is an exciting development, I'm glad to be a part of it

🦁🚀

Posted Using LeoFinance Beta

Looking forward to star migration. Thanks for the detailed tutorial.

Posted Using LeoFinance Beta

What about Dens ? I have few CUBs in that.

It has already been in V2 as mentioned in this post.

<"Now that we've got Kingdoms (already on V2),"

Posted Using LeoFinance Beta

Yep! Only the 4 listed vaults in this post are effected

Posted Using LeoFinance Beta

I must say, great tutorial for people like me who have lack of knowledge. Waiting for V2 link. Thanks for the info.

Posted Using LeoFinance Beta

Thanks, we'll do our best to keep the experience as smooth as possible 👊🏽

Posted Using LeoFinance Beta

how do I know that I have migrated successfully? i dont see V2 tab

Posted Using LeoFinance Beta

Great work, well done to the whole team!

Posted Using LeoFinance Beta


~~~ embed:1440173960012853253 twitter metadata:TnV0Ym94Tnx8aHR0cHM6Ly90d2l0dGVyLmNvbS9OdXRib3hOL3N0YXR1cy8xNDQwMTczOTYwMDEyODUzMjUzfA== ~~~
The rewards earned on this comment will go directly to the person sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

Do I need to do anything to coins in the den?

Posted Using LeoFinance Beta

Nope! 🦁

image.png

Posted Using LeoFinance Beta

Thanks for the instructions. Doesn't seem too complicated

Posted Using LeoFinance Beta

No problem! It's relatively easy once you break it down. We'll be around to help people as much as possible!

  1. Unstake from CubFinance Farms Page (V1)
  2. Un-LP from CubFinance AMM Page
  3. Re-LP from Pancakeswap V2 AMM page
  4. Restake from CubFinance Farms Page (V2)

Posted Using LeoFinance Beta

I already unstake everything and put it in my wallet and tomorrow I can add funds to the pools. Right?

Posted Using LeoFinance Beta

thank you for the information, thas was very interesting

Congratulations @leofinance! Your post has been a top performer on the Hive blockchain and you have been rewarded with the following badge:

Post with the highest payout of the day.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Hive Power Up Month - Feedback from Day 20

Thanks for the tips I removed the LP and unpaired them, but I will wait for the v2 part

Posted Using LeoFinance Beta

Thanks!!! Migration completed

Posted Using LeoFinance Beta

Cheers, great all the changes, I hope CUB goes to the moon with all that is to come.

But I have a question, when I had my liquidity tokens in V1, they provided me with approximately 7 to 8 CUM daily, I guess even though I switch from V1 to V2 I will still generate the same? @khaleelkazi

Financial Markets Analyst
@lenonmc21

Posted Using LeoFinance Beta

Thanks for this, what a process, should have read this first, i restaked on V1 as i just did it from the Liquidity tab on cubdefi :-)

On DEC-BUSD v2 now but PCS doesn't recognize the token address of CUB as you mention in the post (0x50D809c74e0B8e49e7B4c65BB3109AbE3Ff4C1C1) so i don't get my BNB-CUB restaked

Posted Using LeoFinance Beta

A hard refresh was the solution here

Posted Using LeoFinance Beta

i have not looked at my pool for a long time. now i wanted to do it again and found out that there is a new version for this. how do i get my share out of the pool now. unfortunately the tutorial does not work.

Posted Using LeoFinance Beta

i'm currently waiting on a BLEO refund. Will that be available in time to join the BLEO / BNB pool without paying the fees?

Posted Using LeoFinance Beta

I don't think so, the last refund happened like a week ago and I waited for it a least a month.
!PIZZA

@michealb! I sent you a slice of $PIZZA on behalf of @ykretz.

Learn more about $PIZZA Token at hive.pizza (1/10)