What is going on with Hive Engine and Unstaking?

in LeoFinance4 years ago

image.png

I've been noticing some really weird shit on Hive Engine and trying to unstake tokens.

If I try to unstake a token, it appears to unstake (no error) but the staked balance doesn't change. In some cases the unstaking balance does go up, but the powered up amount stays the same.

For example in this case I tried to unstake just 1 token:


After I did, I can see the current uninstaking balance went from 496.xxx to 497.xxx. But the power hasn't changed from 442.xxx.

When I try to unstake the full amount on Hive Engine, it processes without error, but nothing changes.

Not only that, a few days ago a lot of my currently unstaking token operations were completely cancelled without my interaction. It seems every Hive Engine token I had unstaking was sent a cancelUnstake operation forcing me to have to start the unstaking process over again.

When I try to unstake from a tribe, I get the following message:

Apparently there was a recent bug where you can unstake the same stake multiple times basically printing tokens out of thin air (more so than usual). Some users unstaked the same token 20-30 times. It seems the mass unstakes was related to patching this issue. The issue has since been patched and not currently exploitable, but the current state of Hive Engine and unstaked tokens is all messed up.

I haven't seen any explanation of what went on or how it was resolved and what is being done about the confusing state of unstaking on Hive Engine.

Posted Using LeoFinance Beta

Sort:  

We are thinking about creating ECEN token, as a long time user of hive-engine what are your thoughts on hive engine, its stability, usability, extensibility?

Hive Engine has been fairly reliable, but not without problems.

I am not a fan of the centralization of Hive Engine, especially in situations like LEO where there is $1.2M USD market cap but it only exists on aggroed's private server. SMTs can't come fast enough to allow token holders an decentralized secure option.

Situations like the one above is unacceptable, especially without any formal announcement or disclosure that I can see.

I think Hive Engine was a fantastic experiment to show what can be done with SMTs but we need a decentralized native blockchain solution that isn't dependent on one party.

wLEO for example has almost $400,000 USD of liquidity all resting on a Hive Engine token, that only exists in a centralized database running on a VPS. There is more than that that hasn't been moved over to a liquidity pool that has similar risks as well.

I have a STEM token for my STEMGeeks community that I am not entirely thrilled with the current situation, but the entire market share is less than $15,000 USD. I had more Steem stolen from Justin Sun and rogue witnesses than that.

Anyway, my opinion, it's probably fine but far from ideal. It's all we have right now though.

SMTs?? What?

Are they still a thing????

Yes, SMTs (Smart Media Tokens, not Steem Media Tokens as many assume it stands for) are still very much on the road map.

The way they were coded though by Steemit Inc had some problems so they need some additional code to make them more viable, but that will be one of the primary focuses after Hard Fork 24 lands.

Bringing SMTs into existence would be a nice feather in Hive’s cap since Steemit Inc couldn’t do it. Having token creation at both layer 1 and layer 2 would give maximum flexibility as well for those that prefer one over the other. Decentralizing Hive-Engine would go a long way as well.

I'm working on the disclosure but it took a while to resolve properly. It's working as intended now, but some things will need explanation.

Your STEM token unstakes in 4 rounds. So when you unstaked 1 token, it reduced the stake by 1/4, as it does on hive (reduce by 1/13).

You cannot unstake tokens that are pending unstake but have not been subtracted from the balance yet.

If it is working as intended now, the display is awful.

Take my NEOX unstake for example:

I unstaked 1 (because nothing else I attempted actually did anything) and the display didn't change except for the unstaking in the right.

There is nothing in this display that tells me how much is unstakable right now, I have 496 unstaking, I have zero information to tell me how much of the 442 is unstakable, being unstaked or currently powered up for voting.

Yes agreed. This is similar to how hive handles it, but I didn't realize there is one difference making it a lot more complicated in that you can unstake multiple times and different amounts whereas on hive you can only do 1 amount.

Need UI to adjust for this for now, but it is a bit annoying to compute with the current state of the API

Thanks, right makes sense. Reason I was asking to see when/if Hive engine is decentralized and SMT/HMT is out, would there be some synergy or they would end up serving 2 different purposes.

what those "defi" shillers need to unterstand: a "wrapped" shitcoin is still a shitcoin if it has no use case. Sitting in a "liquidity pool" is not a use case ;-)

*not necessarily implying that LEO is a shitcoin here. It's more or less a general statement...

If you're hoping for an alternative, something new, I suggest sticking around with @lootkit, we have something pretty neat coming out soon 😉

Nice.

Posted Using LeoFinance Beta

Hive Engine is very easy to code for, everything from token transfers to staking to market orders is done as smart contract interactions triggered through custom json transactions. And we already have NFTs, which have been used with great success as the building blocks of the dCity game. :-)

We are busy extending the basic smart contract offerings beyond simple tokens & market contracts. We now have an automated market maker contract which anyone can use (see this post), and several other new smart contracts are in the works. I'm currently working on one called packmanager, which can be used as a Splinterlands style mechanism for opening packs of NFTs. And a new mining contract is about to become operational. The aim is to provide a robust toolbox of smart contracts that developers can use to easily add different features to their tokenized applications.

As far as robustness, we have not had any major problems with the sidechain since launch, and if something were to happen to the node we could just do a chain replay from the latest snapshot point. Introducing a decentralized witnessing system is a major goal in the short-to-intermediate term, and discussions around how best to go about that process are starting to kick off, as I think you're aware.

TL;DR: SMTs will be great I'm sure, but everything they will offer already exists in the form of Hive Engine fungible tokens, NFTs, and smart contracts. Why wait for a layer 1 solution that has been delayed for years, when we have a layer 2 solution now that works great?

When SMTs do launch, I'm sure we will have ways to have synergies between them and Hive Engine, though what form those synergies might take is yet to be determined.

Yes, decentralization is the key and I would be glad to contribute to discussions and be part of it, because without it there is not much benefit, imho.

There was a slight change recently to how unstaking works: https://peakd.com/hive-110490/@eonwarped/token-staking-contract-update

As you guessed, the canceled unstaking operations were a remedial action to correct incorrect data caused by the bug. Apologies for the inconvenience.

This is too technical for someone like me, but I hope Hive can still retain its purpose and value although changes as being made in the background. I somehow hope as well, that what happened to Steem blockchain won't happen to Hive. Steem was such a promising blockchain.

I've thought of moving away from it although it was where I started. But after reading your thoughts on this post, it made me think twice. I hope that these (if they were errors) can be fixed soon if they haven't been.

sounds like something that needs to get fully resolved immediately though.....what a mess this would be if Hive was a more widely popular coin with more eyes on it....

Good information

Oh boy...that would have messed up the good things that #LeoFinance had going...along with everyone's.

Have you checked the Pending Unstakes dashboard?
https://hive-engine.com/?p=pending_unstakes

Yes, but that doesn't resolve the issue, or forgive the transgressions.

Yeah, noticed some weirdness yesterday with my unstakes as well. They seem to still be active, but I’m unclear as to what the correct balance is now. 🤔

!BEER
!BRO

bro.gif

You have just been bro-fisted by the guys in the man cave and now have 1 more BRO. Enjoy!**

For more info, please give us a look in here: https://discord.gg/qd8J2x3


Hey @themarkymark, here is a little bit of BEER from @definethedollar for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

I don't know if it solves your particular issues, but I find LeoDex UI to be a little better.

Posted via neoxian.city | The City of Neoxian

I do use that for some things, but it appears to be a backend issue, not the front end. For example, when unstaking on STEMGeeks I get errors.

I had a lot of problems Wednesday with unstaking. I kept getting an error x)

I still do :(

Hmm.
I haven't tried since.
Can it be the node or wouldn't that affect it?

No. It is know the display of installed is changed and I don’t agree with how it looks now as it doesn’t give enough information anymore.

걍 뒈져 이 개쉐야~!!!

I haven't really messed with any of that stuff since before the HIVE hard fork when it was STEEM-Engine.

Screenshot_20180926185505_Chrome.jpg

네드랑 지구를 떠나랏~! 마키맠 샵새야~!

Screenshot_20180926082603_Chrome.jpg

since 2018.09.26

뒈져랏~! 마키맠 개쉐야~!

 4 years ago  Reveal Comment

There is no order matching, so if you sell something for 1 hive, it is possible someone is buying for 1 hive but they won't match up and execute. I've seen this happen a lot. Orders will stay out there for 30 days or until fulfilled.

There was suppose to be witnesses to create some decentralization, I know I pushed for it a few times, but it hasn't happened.

There is a lot of money in the centralized DB.

There is and always has been order matching, which is built into the smart contract that handles market orders. The confusion here is that price precision of orders is to 8 decimal places, however the UI shows prices rounded to 5 decimal places.

So if you see a sell order at, say, 0.00556, it may actually be a sell order at 0.00556123. To guarantee you will hit the order, it's best to place a buy just above the UI price, say at 0.00557, and then there will be no problem with the orders matching.

 4 years ago (edited) Reveal Comment

We are considering building liquidity pool smart contracts into Hive Engine. As you say Uniswap is open source, we can probably adapt their code for our use.