snapshot-labs / snapshot-strategies

Snapshot voting strategies
https://docs.snapshot.org/strategies
MIT License
218 stars 753 forks source link

[staking-balance-of-v2] New strategy staking v2 #1489

Closed propchain-development closed 3 months ago

propchain-development commented 3 months ago

Changes proposed in this pull request:

adding a custom staking-balance-of-v2 method that allows to track staked tokens for voting power. Voting power is be weighed by the lockup period of a staking pool

Reasoning:

EDIT: Differing staking-balance-v1 method was removed from this PR and moved to PR1490 as requested by @ChaituVR for easier review.