Skip to content

Commit 2037d23

Browse files
committed
Added brief concept topics for EigenLayer core and middleware contracts
1 parent 8fbf70c commit 2037d23

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

Diff for: docs/developers/eigenlayer-contracts/_category_.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 1,
3+
"label": "EigenLayer Contracts"
4+
}
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
sidebar_position: 1
3+
title: EigenLayer Core Contracts
4+
---
5+
6+
The contracts for an AVS interact with the EigenLayer contracts. The EigenLayer core contracts are documented in
7+
the [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts) repository.
8+
9+
The core contracts include:
10+
* StrategyManager
11+
* DelegationManager
12+
* AVSDirectory
13+
* Slasher
14+
* RewardsCoordinator.
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
sidebar_position: 1
3+
title: EigenLayer Middleware Contracts
4+
---
5+
6+
The EigenLayer middleware contracts are reference implementations of the contracts an AVS uses to interact with the [EigenLayer contracts](core-contracts.md).
7+
The middleware contracts can be:
8+
* Deployed as is. The exception is the ServiceManager contract used to register and deregister an AVS with EigenLayer.
9+
* Modified to implement logic specific to the AVS before deploying
10+
* Not used. In this case, the interfaces present in the middleware contracts must be implemented in the AVS contracts.
11+
12+
The middleware contracts are documented in the [eigenlayer-middleware](https://github.com/Layr-Labs/eigenlayer-middleware) repository.
13+
The ServiceManagerBase contract is the reference implementation for the onchain registration and deregistration that each AVS must have.
14+

0 commit comments

Comments
 (0)