Learning About Harvesting and Compounding in CubDeFi

in LeoFinance3 years ago (edited)

A lot of people are getting interested in DeFi. It's the next alt-finance craze riding on the cusp of crypto starting to push out the legacy financial system. Stocks? Psshh, that's so last century, get into crypto :D

DeFi is taking crypto to new heights. The fear of missing out (FOMO) is increasing as more people start hearing about it. If you get in early, you could, potentially, ride a nice wave up to greater financial freedom. As always there is risk when you invest your money. Some projects that sprung up on the Uniswap craze from Ethereum, and subsequent Binance side-chain (BSC) have pulled-the-rug and taken people's money.

LeoFinance has a good track record when it comes to who you can trust. I am aware of a hack that occurred early on with wLEO, and the founder @khaleelkazi refunded everyone's losses. That's huge and goes a long way to establish trust and confidence in a product or service.

CubDeFi is getting a lot of attention, and people want to learn more about how it works. My last post explaining the X-Factor and APR was well received. A lot of people appreciated the explanation as to how that worked. People want to know how this new DeFi stuff works.

I received a comment with lots of questions by @hivecoffee:

So do we just harvest our farm forever? Do we have to compound, or can we just harvest the yeild and leave the LP? Will it diminish over time, or is that just a function of the price? Like lets say I just stop adding liqudity, and dont put any more cub in my den. Can I just keep harvesting for a year? Or is this just short term?

There are probably other who want to know some of the things that they are asking. So I'm going to provide some information that may answer these questions to a satisfiable degree.

Harvesting

In any den or farm you put stake into, you have a Harvest button that you can click once you have earned any amount of CUB. Harvesting the CUB lets you use it however you want. That could be to:

  • re-stake/re-invest and compound into the same den/farm, or another you're already staked into
  • trade/exchange for another token to re-stake somewhere else or sell that token on an exchange somewhere

Yes, you can harvest as many times as you want. But you don't want to do this.

Why not? When you stake into any den or farm, you pay a transaction fee. When you harvest, you pay a transaction fee. The fee is around $0.30 or more depending on the price of BNB. If you have 1 CUB, do you really want to be paying a transaction fee just for one CUB? No, you want to wait until you have enough CUB to make it worth your while to pay that fee.

If you stake a lot, then you earn a lot more CUB than staking less. Those who earn more CUB faster can harvest more often. Why? Because it's more beneficial to use the CUB as stake in one of the farms or dens you are already staked into than to leave it there just doing nothing.

The point of the DeFi system is to have your money make money. Just letting it sit there is not making you money. Again, if you aren't earning much quickly, then don't harvest it too often, otherwise you're paying more fees than you are going to be getting new CUB earned as a result of re-investing it.

Compounding

When you take your harvest, and re-invest it into a farm or den you are already staked into, that's called compounding. You can only do the compounding part in one step (for the time being) in the CUB den. Kingdoms will be coming out soon on CubDeFi where this can be done automatically for you (as I understand it).

The CUB den allows you to compound with one button click.

In the non-CUB dens and all the farms, you have to Harvest you CUB and pay the transactions (txn) fee. Then you can compound it back by selling you CUB to buy into the tokens you want to compound back into.

For example, if you are farming the CUB-BUSD farm, you would have to sell half the CUB you earned for the USD equivalent of BUSD on the Exchange. Then go to the Liquidity section and buy the LP token for that pair.

Get ready to pay a lot of txn fees for doing this. You have to pay to Harvest. Then pay to exchange half the CUB into the other token in the Exchange. Then pay to merge them into an LP token in the Liquidity section. Then you have to pay again to Stake those new LP tokens into the farm. They aren't actually 'tokens' like the other crypto tokens, but I'm calling them tokens for simplicity.

Or if you are going into another farm that doesn't have CUB, then you have to sell 1/2 the CUB into one of the token pairs, and sell the other half of the CUB into the other token pair for that farm.

So I think that takes care of Compounding.

Short Term and Long Term Earnings

If you want to leave the farm and not earn their anymore, you can do that and Harvest the CUB there at the same time by click the - button to extract your LP stake. Then you can go to the Liquidity section and extract the two tokens from the LP token.

You can enter and exist and den and any farm at your leisure, for a txn fee of course. It's up to you what you want to do and when you want to do it. Nothing is locked for a duration of time.

If you want to try out a den or farm for a day or a week, that's up to you. You can try another den or farm after that, or just get out of CubDeFi with your tokens.

If you have confidence in where you staked, or don't know yet, you can just leave it and let the CUB earnings pile up. But compounding is a great way to increase the the yield of your earnings as time goes on. It's good for the long term, and even short term if you have enough USD value stake in a farm or den to make it worth it to pay the txn fees and add to your investment and returns.

Losses in Farms

One thing to be aware of is Impermanent Loss in farms. This is when one of the pairs of tokens you have gets sold off to buy the other tokens in your LP. Why does this happen? Because that token went up in value. Recall that when you create the LP token paring in the Liquidity section, you have to put in an equal amount of tokens. And this is measured in USD value of each token.

If you're in the CUB-BNB farm, and then BNB goes up in price, then BNB gets sold off to buy CUB. If CUB goes up, then your CUB gets sold off to buy more BNB. Each half of the LP pair will always have equal USD value. Both added up equal your total USD investment in that farm.

If you want to find out what your total staked value is on CubDefi, go to https://mycublp.holdings/ and connect your wallet. It will show you exactly how much USD you have staked in the system. It doesn't count the CUB you have sitting in earnings.

I hope this explanation helps some people understand DeFi and CubDefi more. Do your own research. Make your own decisions. Good luck in whatever you choose to do :)

Posted Using LeoFinance Beta

Sort:  

Each half of the LP pair will always have equal USD value. Both added up equal your total USD investment in that farm.

Your USD investment value into the farm grows over time, because of the Liquidity Provider Fee, that people have to pay for every exchange of two tokens, when using the Cub Finance exchange. When they trade using tokens from your liquidity pool, for example when selling CUB into BUSD, the fees will be shared with everyone in that farm. You find that info on the exchange page in the info box below.

fee.PNG

For each trade a 0.2% fee is paid. 0.17% goes to liquidity providers and 0.03% goes to the PancakeSwap treasury.

Thanks for that, an extra fee to know about.

Posted Using LeoFinance Beta

What does that mean exactly?
How can I see how much my investment growed?

@krnel btw. thanks for this awesome article! This was really helpful!

Posted Using LeoFinance Beta

You can use https://mycublp.holdings/ and click "connect" to allow MetaMask to read your wallet address and the website will calculate your current holdings based on your positions in each farm and den and current market values of the according tokens.

Thank you!
So i just have to compare it with my initial investment? :)

Posted Using LeoFinance Beta

You can do that or not. The page only gives you the status quo.

Well written article. You have nicely outlined what Harvesting or Compounding is all about. I personally am in the DEC-BUSD pool as I collect DEC by playing Splinterlands. I will probably invest something in CUB Den soon. Wen CUB to the Moon! :)

Posted Using LeoFinance Beta

Thanks. How great is that, getting CUB by staking a game token :D

Posted Using LeoFinance Beta

I have seen that you can spend up to $0.5 to harvest the cub, then allocate half of it to BNB and then provide liquidity and if you have someone like me who has very little you are practically harvesting for the gas rates.

It is best to take it out once every 2 weeks or instead of harvesting it invest more and more to accumulate a large amount.

I currently have 0.43 CUB-BNB skate, and harvesting what I have earned is of no use to me if I do it daily, I need to have at least 20 CUB-BNB to make a daily harvest worthwhile, but at the current price it would mean an investment of approximately 150$.

So the best thing to do is to wait to accumulate a good harvest that the gas rates do not affect.

Posted Using LeoFinance Beta

Yeah with a little it will take a while before it's worth it to harvest.

Posted Using LeoFinance Beta

Thanks so much for this. It is a huge help, especially the breakdown of how many fees we pay for each bit of the process.

I only had a very small stake in the CUB den which I compounded after a week. Big mistake as I made a loss.

I'm also in the DEC/BUSD farm and now I now not to harvest until I've earned a decent amount of CUB. The DEC was just sitting there doing nothing so being able to earn CUB with it seems like a real gift to me.

!LUV 1

Posted Using LeoFinance Beta

You're welcome. Free CUB is good hehe.

Posted Using LeoFinance Beta

Great article. Quick question, in the UDST-BUSD Farm does that get rid of impermanent loss because they are both stable coins and always $1.00?

Posted Using LeoFinance Beta

But the second coin in the pair goes up

Posted Using LeoFinance Beta

Yes exactly. Its the farm with the least risk. You just put the coins in and get CUB.

Posted Using LeoFinance Beta

Losses in Farms - this is what many do not understand.
You have a brilliant article again.

Posted Using LeoFinance Beta

Thanks, maybe not brilliant, but it explains some stuff for people trying to understand ;)

Posted Using LeoFinance Beta

Thank you for the good explanation. Yeah, we, with small stakes need to be careful with fees! 👍😎🤑

Slow and steady wins the race :)

Posted Using LeoFinance Beta

Really useful info. My LP is very less, so I don't harvest till I have 3-4 cubs o I need quick funds. In 2 cases my LP is too low that I earn less than 0.1 CUB in a day but I can harvest them once a month or once a quarter. At least it I earning cubs.

Watch out with rising CUB, lots gets sold off.

Posted Using LeoFinance Beta

Amazing ;))

Great article, I sent you a message over on discord. Please check it out ;)