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

Bugfix: Return stake #401

Closed n13 closed 2 years ago

n13 commented 2 years ago

Before: Lose 100% if proposal fails for any reason

Desired / After: Lose 5% if it doesn't reach quorum Lose 100% if it doesn't reach unity

Spec

If unity is not met, burn the stake (same as before) if unity is met, but quorum is not met, burn part of the stake, return the rest to the sponsor (whoever paid for it to begin with) if both unity and quorum are met, the whole stake is returned (as before)