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

how to calculate the voteweight when we vote snft ? #64

Open
baoqingli opened this issue Nov 23, 2022 · 1 comment
Open

how to calculate the voteweight when we vote snft ? #64

baoqingli opened this issue Nov 23, 2022 · 1 comment

Comments

@baoqingli
Copy link
Contributor

Background

According to wormholes economy system,we need to reward snfts to miners. 
wormholes allows users to provide the snfts, so users need competing this.
wormholes will select the snfts  that users provide automatically according to the users' voteweight.

how to calculate the voteweight

voteweight = (currentblocknumber - voteblocknumber) * snftvalue

* currentblocknumber is the current height of the wormholes chain
* voteblocknumber is the height when this user's snft was selected by wormholes chain
* snftvalue is the value of snfts the user have.
@Skips1
Copy link

Skips1 commented Dec 11, 2022

Thank you

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