Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Comments

[puffer-getpastvotes] Puffer erc20-votes strategy#1739

Merged
ChaituVR merged 5 commits intosnapshot-labs:masterfrom
PufferFinance:master
Jun 10, 2025
Merged

[puffer-getpastvotes] Puffer erc20-votes strategy#1739
ChaituVR merged 5 commits intosnapshot-labs:masterfrom
PufferFinance:master

Conversation

@bxmmm1
Copy link
Contributor

@bxmmm1 bxmmm1 commented Jun 3, 2025

Create a new voting strategy that uses getPastVotes from ERC20Votes.

bxmmm1 added 2 commits June 3, 2025 09:39
* create puffer getPastVotes strategy

* update the calculation
@ChaituVR ChaituVR changed the title Puffer erc20-votes strategy [puffer-getpastvotes] Puffer erc20-votes strategy Jun 3, 2025
Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @bxmmm1 you have to use snapshot block to calculate voting power, else it can behave weridly

@ChaituVR
Copy link
Member

ChaituVR commented Jun 5, 2025

@bxmmm1
Copy link
Contributor Author

bxmmm1 commented Jun 10, 2025

Hey @ChaituVR, could you please check if this solution is okay? Cheers.

@bxmmm1 bxmmm1 requested a review from ChaituVR June 10, 2025 06:03
Co-authored-by: Chaitanya <yourchaitu@gmail.com>
@ChaituVR ChaituVR merged commit 109697d into snapshot-labs:master Jun 10, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants