Posts

Creating a Pool that Already Exists on CubDeFi?

avatar of @krnel
25
@krnel
·
·
0 views
·
2 min read

Something odd happened this morning on CubDeFi. I harvested some CUB and then wanted to increase my stake in the CUB-BUSD LP farm.

Exchange bug

The first issue started when I went to the Exchange page to try to get more BUSD. In trying to convert half the CUB into BUSD, I chose MAX CUB, then took that value and divided it by 2 in my PC calculator. Copying that value and replacing the MAX CUB I have resulted in BUSD still showing 0 and telling me there is an insufficient supply.

What?

There was no more BUSD to get? Everyone bought up the BUSD? No way... something is up here... something isn't right...

I have done this before, and it worked. I copied over the amount, but this time it didn't work. So I manually entered the whole number value and copied over the half after the decimal. It finally worked.

Great. Why didn't it work before? Maybe there was some extra space? No, the calculator doesn't have extra spaces. I don't know why it didn't work the 2-3 times I have just tried and finally did, but oh well.

Onto the next step, converting the tokens to Liquidity for the farm.

Liquidity bug

I selected CUB and BUSD to merge into the CUB-BUSD LP token. I clicked on MAX for CUB, but I had a little more CUB than BUSD needed for the merger. I guess the price of CUB went down a slightly so I needed a bit more BUSD to max out my CUB.

Instead of maxing CUB, I did a max on BUSD which allowed me to proceed with enough CUB to merge them together. But instead of getting the token next... I saw something I shouldn't be seeing...

Create Pool and Supply

Well first off, that's interesting that I can create my own pool. But more importantly, that pool already exists!

What the hell is going on here? I'm not going to create a pool that already exists... something is buggy here. It couldn't even calculate the equivalent value the pair, saying undefined.

I had already refreshed my page a few times with the previous issues I was having with CUB to BUSD exchanging, and having to connect MetaMask all the time. I did cache refresh with Ctrl+F5 to see. Maybe there was an update to the page and it wasn't working with some cached stuff.

I'm not sure if that's accurate, but the next time I tried to get liquidity token for the pool, it worked.

In the end, I got to the result I wanted: more stake in the farm. But all these errors were quite odd. It was the first time I had seen this before, and they both happened together.

I had just booted up my computer for the morning, so I doubt it was the PC. But maybe it was like I said earlier, and the page that was open in my browser had some cached stuff that caused an issue. But it has never been an issue previously. I'll paste a link to this in the Leo discord just so the Leo team can be aware that this happened.

Happy Cubbing all ;)

Posted Using LeoFinance Beta