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

Added brief concept topics for EigenLayer core and middleware contracts #421

Merged
merged 12 commits into from
Feb 10, 2025

Conversation

MadelineAu
Copy link
Contributor

Adding connection points between the docs and the contracts documentation that currently lives in the repo.

The topics are deliberately brief to avoid a maintenance overhead duplicating content in the short term.

Copy link

vercel bot commented Feb 5, 2025

@MadelineAu is attempting to deploy a commit to the EigenLabs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Feb 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
eigenlayer-docs ✅ Ready (Inspect) Visit Preview Feb 9, 2025 11:44pm

dabit3
dabit3 previously approved these changes Feb 5, 2025
@wesfloyd
Copy link
Collaborator

wesfloyd commented Feb 5, 2025

@MadelineAu this is a good idea to add references to these contracts, however the wording can be improved for accuracy.

Do you mind if we loop in Protocol Core Eng to advise on the wording for eigenlayer-contracts repo and AVS Eng to advise on the wording to describe eigenlayer-middleware repo? Until now, we do not have a succinct, accurate, and comprehensive definition of the purpose of those repos.

stevennevins
stevennevins previously approved these changes Feb 6, 2025
title: EigenLayer Core Contracts
---

The contracts for an AVS interact with the EigenLayer contracts. The EigenLayer core contracts are documented in
Copy link
Collaborator

@wesfloyd wesfloyd Feb 6, 2025

Choose a reason for hiding this comment

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

The contracts for an AVS interact with the EigenLayer contracts.
This description feels more appropriate for the middleware contracts. Eg middleware is intended to allow AVSs to have a simplified set of contracts to interact with EigenLayer "core" Contracts.

I would instead describe "EigenLayer Core Contracts" as:
"the set of contracts that comprise the core EigenLayer protocol including Staking, Operations, AVS registration and allocation." (or similar)

cc @wadealexc @ypatil12 @jbrower95 in case they have better guidance.

title: EigenLayer Middleware Contracts
---

The EigenLayer middleware contracts are reference implementations of the contracts an AVS uses to interact with the [EigenLayer contracts](core-contracts.md).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please check with smarter folks like @stevennevins @0xrajath @afkbyte , but here is a recommended rephrasing:
"The EigenLayer middleware contracts are higher level interfaces to the EigenLayer core contracts, recommended as the entry point for new AVS builders."

@MadelineAu MadelineAu dismissed stale reviews from stevennevins and dabit3 via 7a2a933 February 9, 2025 23:30
Copy link
Collaborator

@wesfloyd wesfloyd left a comment

Choose a reason for hiding this comment

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

lgtm

@MadelineAu MadelineAu merged commit 4fd4b0c into Layr-Labs:main Feb 10, 2025
1 check passed
@MadelineAu MadelineAu deleted the eigenlayerContracts branch February 10, 2025 00:06
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.

4 participants