snapshot-labs/snapshot-strategies

Art Blocks Strategy

Closed this issue · 4 comments

Hi there, I'm curious about a strategy that uses NFTs from ArtBlocks, which is on a shared contract but with a token ID range between two numbers. So for example, anybody that holds a Meridian token can vote through that, but if somebody only has other ArtBlocks tokens from the same contract address, they should not be entitled to vote. Happy to open a PR but might need a bit of a guidance in terms of the best approach for this.

If it doesn't work I think you may have to create a new strategy that calls tokensOfOwner for each address and count the vote if these tokens exist in a given range, I feel this is the best way than erc721-with-tokenid-range-weights-simple strategy 🤔

You can follow these steps https://docs.snapshot.org/strategies/create to create strategy

Hey thanks, this works for my purpose! And I think it will cover most ArtBlocks projects. Feel free to close this issue.