Skip to content
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

Using part of locked tokens to calculate voter_weight #17

Open
s-medvedev opened this issue Apr 1, 2022 · 0 comments
Open

Using part of locked tokens to calculate voter_weight #17

s-medvedev opened this issue Apr 1, 2022 · 0 comments
Assignees

Comments

@s-medvedev
Copy link
Contributor

s-medvedev commented Apr 1, 2022

Rationale: spl-governance contract does not allow to set the percentage of use of the power of the vote at the moment. The implementation of this functionality is in the plans. But for us, this functionality is critical.

Suggested solution: To avoid modifying the spl-governance contract code, it was decided to add in the vesting addin contract the ability to specify the percentage of voting power. This percentage determines how much of the total number of staked tokens should be used to calculate the voter_weight of the user.

┆Issue is synchronized with this Jira Task by Unito

@s-medvedev s-medvedev self-assigned this Apr 1, 2022
s-medvedev pushed a commit that referenced this issue Apr 1, 2022
mich-master pushed a commit that referenced this issue Apr 1, 2022
* Using part of locked tokens to calculate `voter_weight` #17

* Fix clippy warnings #17

Co-authored-by: Semen Medvedev <[email protected]>
@sync-by-unito sync-by-unito bot closed this as completed Jun 14, 2022
@YYYurchenko YYYurchenko reopened this Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants