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

[moxie] Adding Strategy For Moxie Voting Power Calculation #1604

Merged
merged 12 commits into from
Oct 15, 2024

Conversation

Hrishikesh-Thakkar
Copy link
Contributor

Changes proposed in this pull request:

  • Adding a custom strategy for calculating moxie voting power which involves multiple subgraphs and RPC Calls for Moxie Token
  • Adding Moxie as a strategy in the list of strategies

src/strategies/moxie/index.ts Outdated Show resolved Hide resolved
src/strategies/moxie/index.ts Outdated Show resolved Hide resolved
@ChaituVR ChaituVR changed the title Adding Strategy For Moxie Voting Power Calculation [moxie] Adding Strategy For Moxie Voting Power Calculation Oct 10, 2024
src/strategies/index.ts Outdated Show resolved Hide resolved
space,
network,
provider,
addresses,
Copy link
Member

Choose a reason for hiding this comment

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

Throw a error if addresses contain more than 1 address (just not to confuse) we can ignore errors in tests related to this change (need to modify examples.json to pass only one address)

@ChaituVR ChaituVR merged commit e0c64b7 into snapshot-labs:master Oct 15, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants