Token Staking Contract Update

avatar

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.



0
0
0.000
13 comments
avatar

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?

0
0
0.000
avatar

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

0
0
0.000
avatar

Oh I see gotcha on that!

0
0
0.000
avatar

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

Thank you for the update

0
0
0.000
avatar

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

0
0
0.000
avatar

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.

0
0
0.000
avatar

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

Im waiting to see rabona released on the market

0
0
0.000
avatar

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

0
0
0.000
avatar

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

0
0
0.000