-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a voting escrow veHATs contract #103
Comments
|
Examples:
|
i think it would be great to implement this in a simpler version, to remove
the repo seems to have vanished (as the creators decided to take down the project) but i think boba network forked it:
simple but doesn't calculate total voting power. i think this is a pretty good idea actually, because unless we need to know the total voting power (can't think rn what for), it really doesn't matter for the voting mechanism. i think would be the best to implement something like this, with the deposit/withdraw/extend etc.
they have done a v2 already: an ERC20Votes contract which mints voting tokens (which can be transferred and delegated) so voting power doesn't diminish during locking period. still not sure why diminishing values are better actually.. it also has the option to withdraw before lock expires and pay a penalty relative to how far is the expiration |
|
ben's comments about the tranchess v2 contract:
|
don't think we would want to have it upgradeable or pauseable, but let's discuss |
|
We will want the rewardcontroller alloc points (and perhaps also other settings) controlled by a voting escrow contract.
The text was updated successfully, but these errors were encountered: