hoprnet / hopr-devrel

Projects related to support our users, node runners and developers
hopr-prompt.vercel.app
GNU General Public License v3.0
1 stars 12 forks source link

Update the current Snapshot strategy #353

Closed thewanderingeditor closed 7 months ago

thewanderingeditor commented 10 months ago

This is part of issue #351

Issue deadline

Based on current projections, the aim is to be able to hold a vote by January 22nd.

Detailed Description

The current Snapshot strategy is outdated, since it is based on the old staking program. With the transition to SafeStaking, we need to update the strategy to correctly calculate tokenholders' balances for the purposes of governance.

In addition, the transition to the new Community Trust governance processes on the Lexicon governance platform requires a further modification to the strategy, since vote power is no longer calculated purely quadratically.

Instead, it is calculated using the formula vote_power = token_balance ^ power_modifier, where power_modifier can be set by the community to any value between 0 and 1, inclusive. Currently it is set at 0.75.

Tasks

QYuQianchen commented 7 months ago

Strategy "hopr-stake-and-balance-qv" can be included in the next DAO voting. Read more on how to set parameters https://github.com/snapshot-labs/snapshot-strategies/tree/master/src/strategies/hopr-stake-and-balance-qv