Token Staking Contract Update

in Palnet5 months ago

TL/DR: Token contract update for hive engine slated for Oct 6th.

An update to the tokens contract has been merged into the hive engine repository, and it resolves a discrepancy between how unstaking works when compared to Hive. For tokens that have an unstaking cooldown over more than 1 transaction, the reported amount unstaked will no longer be removed all at once. Instead, it will compute the next batch of tokens to be released, and only remove that amount.

Note that this should not be a visible impact, because Scotbot does not use the stake balance to do voting or mining (it has its own recording that matches the change that is happening now). But if any other services are using the stake balance, this will be a slight change in how balances are reported.

The contract updates how the total stake for all holders is counted accordingly, and it also does an initial backfill on deployment, so that all the stake balances will be corrected.

Why now? This is preparing the contract system for a later update involving bringing mining to the contract level, rather than the current state in Scotbot (this contract is already complete and is under review right now). And further, it will allow a future modification to the mining contract that will incorporate NFTs as well.

This also sets things up for possibly putting the voting contract itself into Hive Engine.

We are planning to deploy the new tokens contract on Oct 6th.

Sort:  

Really want to do it the same day as the hard fork?

That's the plan. In any case hive engine update can only happen once fork is confirmed and stable. And then this change isn't really dependent on the fork.

You are a brave man.

And further, it will allow a future modification to the mining contract that will incorporate NFTs as well.

So there is a chance NFTs is coming to Hive-engine?

Hive engine already has NFTs. But we're talking about more ways for NFTs to interact.

Oops. But yeah, he's right.

Oh I see gotcha on that!

We are planning to deploy the new tokens contract on Oct 6th.

Thank you for the update

Great work! I use more HE than the regular hive wallet =P

Im waiting to see rabona released on the market

Congratulations @eonwarped! You received a personal badge!

Happy Hive Birthday! You are on the Hive blockchain for 3 years!

You can view your badges on your board and compare yourself to others in the Ranking

Do not miss the last post from @hivebuzz:

Feedback from the October 1st Hive Power Up Day
Hive Power Up Day - Introducing the Power Up Helper!

I want to set up a community with a community token. With staking and an interface available too. Are you the person to talk to regarding this? Thank you

Yes, Please reach out on discord, e.g. in the hive engine discord