-
Notifications
You must be signed in to change notification settings - Fork 808
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
Create ERC721-With-Balance strategy #207
Conversation
Hello @willhblackburn Thanks for the PR but erc20-with-balance works with ERC721 too, sorry for the confusion, we are actually trying to rename |
Hey @ChaituVR, Thanks, I see that history now. I didn't like combining these strategies for two reasons (we are currently using the |
@willhblackburn |
Right, my point is you can remove decimals altogether in the erc721 strategy, thus reducing confusion.
That's correct, but the logic is still unintuitive. The minBalance is a It's not that it cannot be done in one strategy; it is that separating them provides a more intuitive strategy for those trying to use Snapshot. But I understand if this is not accepted. |
For confusion, yes, but we want to keep the strategies as optimal as possible. maybe we should make the decimal option optional in erc20-with-balance
True let's wait for @bonustrack to see what he think we can do |
Closing this for now, please reopen this if needed |
@ChaituVR - we are waiting for @bonustrack to comment, right? |
@willhblackburn Maybe I think I can try to answer, there is no way to modify |
@ChaituVR - it took hours to find a strategy that worked and have it setup correctly due to the fact that the strategy uses |
@willhblackburn we are actually trying to find better ways to rename a few strategies and use new strategies without affecting old proposals, we can merge this but I am thinking if this will add up to that trouble list 😅 ya Fabien is the better person to take comment on this, I will ask Fabien to reply to this :) |
@willhblackburn We don't want to update the existing strategy to have |
This creates the
erc721-with-balance
strategy.It allows a strategy on ERC721 token balances with a
minimum balance
. The strategy returns0
VP if the account hasless than
theminimum balance
or1
VP if the account hasgreater than or equal
to theminimum balance
.This will allow token gated (ERC721) communities and protocols to have egalitarian voting power.