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

feat(#major); eigenlayer; add EigenLayer schema and methodology #2397

Merged
merged 11 commits into from
Nov 2, 2023

Conversation

dhruv-chauhan
Copy link
Collaborator

@dhruv-chauhan dhruv-chauhan commented Oct 6, 2023

Description

  • Added EigenLayer subgraph using non-standard schema.
  • Added configs for networks: ethereum

Links

New Subgraph Checklist

  • Researched protocol / contracts
  • Modeled off this template using the latest versions
  • Updated title
  • Added subgraph(s) to deployment.json
  • Used standard subgraph libraries (if necessary/available)
  • General aggregate metrics can be similar to known sources like the protocol or defi llama (The detailed QA will be done by a protocol specialist)
  • Assigned the proper reviewers. If you are unsure, ask in our discord!
  • Followed docs, especially WALKTHROUGH.md

@dhruv-chauhan dhruv-chauhan requested review from melotik and bye43 October 6, 2023 13:00
@bye43
Copy link
Contributor

bye43 commented Oct 6, 2023

@dhruv-chauhan Took a first pass and looks good! Couple questions though:

  • Is there a way to map Strategies and EigenPods to the entity that the restake is being used for?
  • For DEPOSIT events will the "to" address always be the specific EigenPod/Strategy and WITHDRAWALevents will the "from" address always be the specific EigenPod/Strategy?

@dhruv-chauhan
Copy link
Collaborator Author

  • Is there a way to map Strategies and EigenPods to the entity that the restake is being used for?

Like I mentioned in the README, The initial launch is limited to restaking and withdrawing of staked assets, and does not feature opting in to AVSs or delegation of restaked assets to operators.
Hence, the restake is not actually being used for anything right now, we shall add it when it starts to.

  • For DEPOSIT events will the "to" address always be the specific EigenPod/Strategy and WITHDRAWALevents will the "from" address always be the specific EigenPod/Strategy?

Yes and yes.

@bye43

@dhruv-chauhan dhruv-chauhan marked this pull request as ready for review October 20, 2023 12:08
Copy link
Contributor

@melotik melotik left a comment

Choose a reason for hiding this comment

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

code lgtm other than a few comments!

deployment/deployment.json Outdated Show resolved Hide resolved
subgraphs/eigenlayer/README.md Outdated Show resolved Hide resolved
subgraphs/eigenlayer/schema.graphql Outdated Show resolved Hide resolved
subgraphs/eigenlayer/src/mappings/handlers.ts Show resolved Hide resolved
@dhruv-chauhan dhruv-chauhan requested a review from melotik October 30, 2023 13:22
@bye43 bye43 linked an issue Oct 30, 2023 that may be closed by this pull request
Copy link
Contributor

@melotik melotik left a comment

Choose a reason for hiding this comment

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

lg!

deployment/deployment.json Outdated Show resolved Hide resolved
@dhruv-chauhan dhruv-chauhan merged commit bb263b6 into messari:master Nov 2, 2023
4 checks passed
@dhruv-chauhan dhruv-chauhan deleted the eigenlayer branch November 2, 2023 16:24
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

Successfully merging this pull request may close these issues.

Build EigenLayer Subgraph
3 participants