JoinSEEDS / seeds-smart-contracts

Smart contracts for SEEDS - A Regenerative Civilization Building Game.
https://docs.google.com/document/d/1C4w9Ol8VGabCIcQDVPDrwcTRoJXBqhrb7VjslwQbUGU/edit#heading=h.6f4sxygso816
MIT License
20 stars 6 forks source link

Hypha Staking Contract #407

Open n13 opened 2 years ago

n13 commented 2 years ago

This is really about Hypha - stake.hypha

Spec

The contract contains the list of multipliers by account All investors are flagged as such (investor flag, or separate lists) All token bonuses are pre-created, but only claimed when the user transfers the rest of the balance. Investors are automatically carried forward They must at minimum add 1/20th or 1/5ht - since their token balance will go up during the period where they can get in The contract locks up balances - until ... ??? After the 30 days no more stakes are accepted for this initial staking method. Unlock N% every year end of year? Have a default unlocking mechanism in there.

Vesting contract

The vesting contract will apply the multipliers as per sheet (manual or per script, I think script likely)

The idea with the vesting contract - this solves one of Rieki's tensions - is that people who're not even interested in Hypha enough to put their tokens into the vesting contract won't get the bonus

They'll have 44 days to get in

Investors will be in automatically, I have a technical way to do this, their additional tokens will simply get put into the vesting contract.

I am hoping to do that will less than 1 day of implementation time. 2 Max. Whatever is simplest, but it will be reflecting exactly the sheet, as it is voted in, when it is passing.