Skip to content
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

Support for Proxy/Delegations #1227

Open
crystalin opened this issue Jul 20, 2023 · 8 comments
Open

Support for Proxy/Delegations #1227

crystalin opened this issue Jul 20, 2023 · 8 comments

Comments

@crystalin
Copy link
Contributor

I don't know well snapshot but I'm curious how we could support the proxy/delegations case for Moonbeam
Those are in a "many-to-many" relationship. Ex:

Account A gives proxy rights to Account B, C, D to perform "vote"

If I simply check if B is proxy of A and allows to use the Tokens, it also means that C, D (and also A) can spend the same tokens which is unfair.

@ChaituVR do you have an idea ?

@ChaituVR
Copy link
Member

HI @crystalin Which strategy you are referring to? 🙈 Sorry i didn't get it

@crystalin
Copy link
Contributor Author

@ChaituVR Sorry for the delay. I'm mostly referring to the moonbeam-free-balance strategy. But I think the concept is indepandant of which chain.

In this case, the same tokens can be used by multiple accounts, the question is how to limit so that it is used only once ?

@ChaituVR
Copy link
Member

ChaituVR commented Aug 9, 2023

Do you mean limiting spaces to use this strategy only once? 🤔

@crystalin
Copy link
Contributor Author

Yes, I think the easiest way to think about it is with proxies.
If you are account A and allow account B or account C to use your tokens for voting, how do you prevent having both B and C voting ? (on-chain this is easy because we have a "lock" mechanism for those tokens, but snapshot doesn't interact with the chain/state so it would require storing that lock in a database or ....)

@crystalin
Copy link
Contributor Author

Gentle ping :)
Any idea ?

@apocys
Copy link

apocys commented Aug 14, 2023

Could we consider implementing a "Proxy Login" feature? This would allow account B to vote as usual when logging in independently. However, if account B chooses to "log in as a proxy" for account A, their session would mimic that of account A, enabling them to vote (or propose) on behalf of account A. We can provide the verification on-chain, so we know that B is effectively a proxy of A.

@crystalin
Copy link
Contributor Author

That would work for supporting proxies yes, but requires Snapshot to support asProxy feature.
@ChaituVR what do you think ?

@apocys
Copy link

apocys commented Aug 29, 2023

gentle ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants