Skip to content

Layr-Labs/eigenlayer-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EigenLayer

EigenLayer is a protocol built on Ethereum that introduces Restaking, a primitive for app and service builders to make verifiable commitments to their users.

EigenLayer brings together Restakers, Operators, and Autonomous Verifiable Services (AVSs) to extend Ethereum's cryptoeconomic security with penalty and reward commitments (like slashing) on staked assets acting as security. The protocol supports permissionless security; EIGEN, Native ETH, LSTs, and ERC-20s.

Deployments

The deployments on mainnet, holesky, sepolia, and hoodi are on the below versions:

Environment Version
Mainnet Ethereum v1.4.1
Testnet Holesky v1.5.0-rc.0
Testnet Sepolia v1.5.0-rc.0
Testnet Hoodi v1.5.0-rc.0

Current Deployment Contracts

Mainnet Ethereum
Core
Name Proxy Implementation Notes
DelegationManager 0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A 0xA751...7E73 Proxy: [email protected]
StrategyManager 0x858646372CC42E1A627fcE94aa7A7033e7CF075A 0xba4b...b925 Proxy: [email protected]
EigenPodManager 0x91E677b07F7AF907ec9a428aafA9fc14a0d3A338 0x8dB4...B7E9 Proxy: [email protected]
AVSDirectory 0x135dda560e946695d6f155dacafc6f1f25c1f5af 0xA396...B6A2 Proxy: [email protected]
RewardsCoordinator 0x7750d328b314EfFa365A0402CcfD489B80B0adda 0xa505...0aB Proxy: [email protected]
PermissionController 0x25E5F8B1E7aDf44518d35D5B2271f114e081f0E5 0xe7f3...C6B1 Proxy: [email protected]
AllocationManager 0x948a420b8CC1d6BFd0B6087C2E7c344a2CD0bc39 0x7400...8a0b Proxy: [email protected]
Strategies

Anyone can deploy and whitelist strategies for standard ERC20s by using the StrategyFactory deployed to the address below (see docs). Strategies deployed from the StrategyFactory are deployed using the beacon proxy pattern:

Name Proxy Implementation Notes
StrategyFactory 0x5e4C39Ad7A3E881585e383dB9827EB4811f6F647 0x1b97...c66 Proxy: [email protected]
StrategyBase 0x0ed6703C298d28aE0878d1b28e88cA87F9662fE9 0x0EC1...F456 - Beacon: BeaconProxy
- Strategies: UpgradeableBeacon

The following strategies were originally deployed and whitelisted outside of the StrategyFactory:

Name Proxy Implementation Notes
StrategyBase (cbETH) 0x54945180dB7943c0ed0FEE7EdaB2Bd24620256bc 0xaFDa...F178 Proxy: [email protected]
StrategyBase (stETH) 0x93c4b944D05dfe6df7645A86cd2206016c51564D 0xaFDa...F178 Proxy: [email protected]
StrategyBase (rETH) 0x1BeE69b7dFFfA4E2d53C2a2Df135C388AD25dCD2 0xaFDa...F178 Proxy: [email protected]
StrategyBase (ETHx) 0x9d7eD45EE2E8FC5482fa2428f15C971e6369011d 0xaFDa...F178 Proxy: [email protected]
StrategyBase (ankrETH) 0x13760F50a9d7377e4F20CB8CF9e4c26586c658ff 0xaFDa...F178 Proxy: [email protected]
StrategyBase (OETH) 0xa4C637e0F704745D182e4D38cAb7E7485321d059 0xaFDa...F178 Proxy: [email protected]
StrategyBase (osETH) 0x57ba429517c3473B6d34CA9aCd56c0e735b94c02 0xaFDa...F178 Proxy: [email protected]
StrategyBase (swETH) 0x0Fe4F44beE93503346A3Ac9EE5A26b130a5796d6 0xaFDa...F178 Proxy: [email protected]
StrategyBase (wBETH) 0x7CA911E83dabf90C90dD3De5411a10F1A6112184 0xaFDa...F178 Proxy: [email protected]
StrategyBase (sfrxETH) 0x8CA7A5d6f3acd3A7A8bC468a8CD0FB14B6BD28b6 0xaFDa...F178 Proxy: [email protected]
StrategyBase (lsETH) 0xAe60d8180437b5C34bB956822ac2710972584473 0xaFDa...F178 Proxy: [email protected]
StrategyBase (mETH) 0x298aFB19A105D59E74658C4C334Ff360BadE6dd2 0xaFDa...F178 Proxy: [email protected]
Strategies - Special

The following strategies differ significantly from the other strategies deployed/used above:

Name Proxy Implementation Notes
EigenStrategy (EIGEN) 0xaCB55C530Acdb2849e6d4f36992Cd8c9D50ED8F7 0x90B0...8729 Proxy: [email protected]
Beacon Chain ETH 0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0 - - Used for Beacon Chain ETH shares
- Not a real contract!
EigenPods
Name Proxy Implementation Notes
EigenPod (beacon) 0x5a2a4F2F3C18f09179B6703e63D9eDD165909073 0xe2E2...46c3 - Beacon: BeaconProxy
- Pods: UpgradeableBeacon
EIGEN/bEIGEN
Name Proxy Implementation Notes
Eigen 0xec53bf9167f50cdeb3ae105f56099aaab9061f83 0x17f5...26A0 Proxy: [email protected]
Backing Eigen 0x83E9115d334D248Ce39a6f36144aEaB5b3456e75 0xF2b2...9b17 Proxy: [email protected]
SignedDistributor - 0x035b...ad02 -
Multisigs
Name Proxy Implementation Notes
PauserRegistry - 0xB876...2806
Pauser Multisig 0x5050389572f2d220ad927CcbeA0D406831012390 0xd9db...9552 Proxy: [email protected]
Community Multisig 0xFEA47018D632A77bA579846c840d5706705Dc598 0xd9db...9552 Proxy: [email protected]
Executor Multisig 0x369e6F597e22EaB55fFb173C6d9cD234BD699111 0xd9db...9552 Proxy: [email protected]
Operations Multisig 0xBE1685C81aA44FF9FB319dD389addd9374383e90 0xd9db...9552 Proxy: [email protected]
Compound: Timelock - 0xA6Db...0EAF
OZ: Proxy Admin - 0x8b95...2444
Testnet Holesky

You can view the deployed contract addresses below, or check out the code itself on the testnet-holesky branch.

Core
Name Proxy Implementation Notes
DelegationManager 0xA44151489861Fe9e3055d95adC98FbD462B948e7 0xd563...67EC Proxy: [email protected]
StrategyManager 0xdfB5f6CE42aAA7830E94ECFCcAd411beF4d4D5b6 0x84aa...b1a7d Proxy: [email protected]
EigenPodManager 0x30770d7E3e71112d7A6b7259542D1f680a70e315 0xCc81...72c1 Proxy: [email protected]
AVSDirectory 0x055733000064333CaDDbC92763c58BF0192fFeBf 0x331e...2506 Proxy: [email protected]
RewardsCoordinator 0xAcc1fb458a1317E886dB376Fc8141540537E68fE 0x4087...d41 Proxy: [email protected]
AllocationManager 0x78469728304326CBc65f8f95FA756B0B73164462 0x5912...A04Ea Proxy: [email protected]
PermissionController 0x598cb226B591155F767dA17AfE7A2241a68C5C10 0x7ab0...a2b9 Proxy: [email protected]
Slashing

These contracts handle the burning/redistribution of slashed funds. The SlashEscrowFactory is upgradeable by the SlashEscrowProxyAdmin:

Name Proxy Implementation Notes
OZ Proxy Admin (SlashEscrowProxyAdmin) - 0x18dc...966b
SlashEscrowFactory 0xcc444eccD13E29033A46D3cbd4d30a2f70c10cbe 0xB643...348B Proxy: [email protected]
SlashEscrow (Clone Implementation) - 0xa84b...ab2d EIP-1167 Clone
Strategies

Anyone can deploy and whitelist strategies for standard ERC20s by using the StrategyFactory deployed to the address below (see docs). Strategies deployed from the StrategyFactory are deployed using the beacon proxy pattern:

Name Proxy Implementation Notes
StrategyFactory 0x9c01252B580efD11a05C00Aa42Dd3ac1Ec52DF6d 0x84aa...a7d Proxy: [email protected]
StrategyBase 0xd3c6C6BA4E40dB9288c6a2077e5635344F8aFA4F 0x0xbD16...3427 - Beacon: BeaconProxy
- Strategies: UpgradeableBeacon

The following strategies were originally deployed and whitelisted outside of the StrategyFactory:

Name Proxy Implementation Notes
StrategyBase (stETH) 0x7D704507b76571a51d9caE8AdDAbBFd0ba0e63d3 0x8037...3bc01 Proxy: [email protected]
StrategyBase (rETH) 0x3A8fBdf9e77DFc25d09741f51d3E181b25d0c4E0 0x8037...3bc01 Proxy: [email protected]
StrategyBase (WETH) 0x80528D6e9A2BAbFc766965E0E26d5aB08D9CFaF9 0x8037...3bc01 Proxy: [email protected]
StrategyBase (lsETH) 0x05037A81BD7B4C9E0F7B430f1F2A22c31a2FD943 0x8037...3bc01 Proxy: [email protected]
StrategyBase (sfrxETH) 0x9281ff96637710Cd9A5CAcce9c6FAD8C9F54631c 0x8037...3bc01 Proxy: [email protected]
StrategyBase (ETHx) 0x31B6F59e1627cEfC9fA174aD03859fC337666af7 0x8037...3bc01 Proxy: [email protected]
StrategyBase (osETH) 0x46281E3B7fDcACdBa44CADf069a94a588Fd4C6Ef 0x8037...3bc01 Proxy: [email protected]
StrategyBase (cbETH) 0x70EB4D3c164a6B4A5f908D4FBb5a9cAfFb66bAB6 0x8037...3bc01 Proxy: [email protected]
StrategyBase (mETH) 0xaccc5A86732BE85b5012e8614AF237801636F8e5 0x8037...3bc01 Proxy: [email protected]
StrategyBase (ankrETH) 0x7673a47463F80c6a3553Db9E54c8cDcd5313d0ac 0x8037...3bc01 Proxy: [email protected]
StrategyBase (reALT) 0xAD76D205564f955A9c18103C4422D1Cd94016899 0x8037...3bc01 Proxy: [email protected]
StrategyBase (EO) 0x78dBcbEF8fF94eC7F631c23d38d197744a323868 0x8037...3bc01 Proxy: [email protected]
Strategies - Special

The following strategies differ significantly from the other strategies deployed/used above:

Name Proxy Implementation Notes
EigenStrategy (EIGEN) 0x43252609bff8a13dFe5e057097f2f45A24387a84 0x0x6377...8459 Proxy: [email protected]
Beacon Chain ETH 0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0 - - Used for Beacon Chain ETH shares
- Not a real contract!
EigenPods
Name Proxy Implementation Notes
EigenPod (beacon) 0x7261C2bd75a7ACE1762f6d7FAe8F63215581832D 0x454B...3109 - Beacon: BeaconProxy
- Pods: UpgradeableBeacon
EIGEN/bEIGEN
Name Proxy Implementation Notes
Eigen 0x3B78576F7D4230A49bE2c915629b31122C3FbF88 0x01cb...3050 Proxy: [email protected]
Backing Eigen 0x275cCf9Be51f4a6C94aBa6114cdf2a4c45B9cb27 0x05ad...E05c Proxy: [email protected]
Multisigs
Name Proxy Implementation Notes
PauserRegistry - 0x41Db...ec1D
OZ: TimelockController - 0x5e83c7d195318A5acf46B29E5810DdC323b2F6fD
OZ: Proxy Admin - 0xDB023566064246399b4AE851197a97729C93A6cf
Pauser Multisig 0x53410249ec7d3a3F9F1ba3912D50D6A3Df6d10A7 0xd9db...9552 Proxy: [email protected]
Community Multisig 0xCb8d2f9e55Bc7B1FA9d089f9aC80C583D2BDD5F7 0xd9db...9552 Proxy: [email protected]
Executor Multisig 0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348 0xd9db...9552 Proxy: [email protected]
Operations Multisig 0xfaEF7338b7490b9E272d80A1a39f4657cAf2b97d 0xd9db...9552 Proxy: [email protected]
Testnet Sepolia

You can view the deployed contract addresses below, or check out the code itself on the testnet-sepolia branch.

Core
Name Proxy Implementation Notes
DelegationManager 0xD4A7E1Bd8015057293f0D0A557088c286942e84b 0x8a62...fdDb Proxy: [email protected]
StrategyManager 0x2E3D6c0744b10eb0A4e6F679F71554a39Ec47a5D 0x9942...6e42 Proxy: [email protected]
EigenPodManager 0x56BfEb94879F4543E756d26103976c567256034a 0xB417...B499 Proxy: [email protected]
AVSDirectory 0xa789c91ECDdae96865913130B786140Ee17aF545 0xD88b...C188 Proxy: [email protected]
RewardsCoordinator 0x5ae8152fb88c26ff9ca5C014c94fca3c68029349 0xcC30...7940 Proxy: [email protected]
AllocationManager 0x42583067658071247ec8CE0A516A58f682002d07 0xb368...DAd6 Proxy: [email protected]
PermissionController 0x44632dfBdCb6D3E21EF613B0ca8A6A0c618F5a37 0x59B1...f525 Proxy: [email protected]
Slashing

These contracts handle the burning/redistribution of slashed funds. The SlashEscrowFactory is upgradeable by the SlashEscrowProxyAdmin:

Name Proxy Implementation Notes
OZ Proxy Admin (SlashEscrowProxyAdmin) - 0x18dc...966b SlashEscrowFactory proxy admin
SlashEscrowFactory 0xA5022befe84Ad0f5aAdc12e9c59230bc076083A5 0x7A0D...883E Proxy: [email protected]
SlashEscrow - 0xa84b596F9456f473AD3241431fde8C135a63ab2d EIP-1167 Clone
Strategies

Anyone can deploy and whitelist strategies for standard ERC20s by using the StrategyFactory deployed to the address below (see docs). Strategies deployed from the StrategyFactory are deployed using the beacon proxy pattern:

Name Proxy Implementation Notes
StrategyFactory 0x066cF95c1bf0927124DFB8B02B401bc23A79730D 0xEE41...ca1A Proxy: [email protected]
StrategyBase 0x427e627Bc7E83cac0f84337d3Ad94230C32697D3 0x427e...97D3 - Beacon: BeaconProxy
- Strategies: UpgradeableBeacon
StETH Strategy 0x8b29d91e67b013e855EaFe0ad704aC4Ab086a574 0x427e...97D3 Strategy Factory deployed
WETH Strategy 0x424246eF71b01ee33aA33aC590fd9a0855F5eFbc 0x427e...97D3 Strategy Factory deployed
Strategies - Special

The following strategies differ significantly from the other strategies deployed/used above:

Name Proxy Implementation Notes
EigenStrategy (EIGEN) 0x8E93249a6C37a32024756aaBd813E6139b17D1d5 0xD2DC...6A68 Proxy: [email protected]
Beacon Chain ETH 0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0 - - Used for Beacon Chain ETH shares
- Not a real contract!
EigenPods

NOTE: Due to the permissioned validator set on Sepolia, all EigenPod functionality is PAUSED.

Name Proxy Implementation Notes
EigenPod (beacon) 0x0e19E56E41D42137d00dD4f51EC2F613E50cAcf4 0xd85d...6bCf - Beacon: BeaconProxy
- Pods: UpgradeableBeacon
EIGEN/bEIGEN
Name Proxy Implementation Notes
Eigen 0x0011FA2c512063C495f77296Af8d195F33A8Dd38 0xF83a...8725 Proxy: [email protected]
Backing Eigen 0xc5B857A92245f64e9D90cCc5b096Db82eB77eB5c 0x1298...3173 Proxy: [email protected]
Multisigs
Name Proxy Implementation Notes
PauserRegistry - 0x63AA...20f3
OZ: TimelockController - 0x1BEF...1b5B
OZ: Proxy Admin - 0x56E8...6Fa1
Pauser Multisig 0x0B415f75980D863872C3eb8caa76E6eC8Bc81536 0x4167...461a Proxy: [email protected]
Community Multisig 0x6f8459810197cc9fE123BBeB918451757a4fBAc6 0x4167...461a Proxy: [email protected]
Executor Multisig 0x4FDA8998EC3b7d4b4A612d45FeB8fB36734470f2 0x4167...461a Proxy: [email protected]
Operations Multisig 0xb094Ba769b4976Dc37fC689A76675f31bc4923b0 0x4167...461a Proxy: [email protected]
Testnet Hoodi
Core
Name Proxy Implementation Notes
DelegationManager 0x867837a9722C512e0862d8c2E15b8bE220E8b87d 0xC908...bfa0 Proxy: [email protected]
StrategyManager 0xeE45e76ddbEDdA2918b8C7E3035cd37Eab3b5D41 0x56Bf...034a Proxy: [email protected]
EigenPodManager 0xcd1442415Fc5C29Aa848A49d2e232720BE07976c 0x0A98...c49d Proxy: [email protected]
AVSDirectory 0xD58f6844f79eB1fbd9f7091d05f7cb30d3363926 0xd290...5d5c Proxy: [email protected]
RewardsCoordinator 0x29e8572678e0c272350aa0b4B8f304E47EBcd5e7 0xe786...2832 Proxy: [email protected]
AllocationManager 0x95a7431400F362F3647a69535C5666cA0133CAA0 0x5ae8...9349 Proxy: [email protected]
PermissionController 0xdcCF401fD121d8C542E96BC1d0078884422aFAD2 0x2D73...eA27 Proxy: [email protected]
Slashing

These contracts handle the burning/redistribution of slashed funds. The SlashEscrowFactory is upgradeable by the SlashEscrowProxyAdmin:

Name Proxy Implementation Notes
OZ Proxy Admin (SlashEscrowProxyAdmin) - 0xa789...F545
SlashEscrowFactory 0x885C0CC8118E428a2C04de58A93eB15Ed4F0e064 0x4258...2d07 Proxy: [email protected]
SlashEscrow (Clone Implementation) - 0x889B...420d EIP-1167 Clone
Strategies

Anyone can deploy and whitelist strategies for standard ERC20s by using the StrategyFactory deployed to the address below (see docs). Strategies deployed from the StrategyFactory are deployed using the beacon proxy pattern:

Name Proxy Implementation Notes
StrategyFactory 0xfB7d94501E4d4ACC264833Ef4ede70a11517422B 0x798E...7216 Proxy: [email protected]
StrategyBase 0x6d28cEC1659BC3a9BC814c3EFc1412878B406579 0xB4ba...6C67 - Beacon: BeaconProxy
- Strategies: UpgradeableBeacon
StETH Strategy 0x41525d38f59895d606e8c05c229864f2db6b64fd 0xB4ba...6C67 Strategy Factory deployed
WETH Strategy 0x24579ad4fe83ac53546e5c2d3df5f85d6383420d 0xB4ba...6C67 Strategy Factory deployed
Strategies - Special

The following strategies differ significantly from the other strategies deployed/used above:

Name Proxy Implementation Notes
EigenStrategy (EIGEN) 0xB27b10291DBFE6576d17afF3e251c954Ae14f1D3 0x09A4...f929 Proxy: [email protected]
Beacon Chain ETH 0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0 - - Used for Beacon Chain ETH shares
- Not a real contract!
EigenPods
Name Proxy Implementation Notes
EigenPod (beacon) 0x5e1577f8efB21b29cD5Eb4C5Aa3d6C4b228f650 0xbe2F...a0b5 - Beacon: BeaconProxy
- Pods: UpgradeableBeacon
EIGEN/bEIGEN
Name Proxy Implementation Notes
Eigen 0x8ae2520954db7D80D66835cB71E692835bbA45bf 0x45D3...9053 Proxy: [email protected]
Backing Eigen 0x6e60888132Cc7e637488379B4B40c42b3751f63a 0x43e4...a1C4 Proxy: [email protected]
Multisigs
Name Proxy Implementation Notes
PauserRegistry - 0x64D7...c13D
OZ: TimelockController - 0xE332...2d15
OZ: Proxy Admin - 0xE7f4...2257

Branching

Branches we use:

  • main: The canonical, most up-to-date branch, containing the work-in-progress code for upcoming releases
  • Vx.y.z: Release branch with version x.y.z that matches a release of EigenLayer, release branch is always cut from main via cherry-picking
  • release-dev/xxx: A development branch for a large feature to be released, the branch should eventually be deleted after merge to main

Building Apps & Services on EigenLayer

Developer & User Basics

Our documentation is a great place to start to understand EigenLayer and the Eigen ecosystem. If you are an audio/visual learner, check out the "You Could've Invented EigenLayer" video.

To understand more about how our ecosystem and its participants work, checkout the guides below. These are split out by who you are: AVS developers, restakers and Operators. All have different roles and interactioons with EigenLayer:

Contract Docs & Deep Dive

The most up-to-date and technical documentation on our core contracts can be found in /docs. If you're a shadowy super coder, this is a great place to get an overview of the contracts before diving into the code.

To learn more about interfacing with the EigenLayer core contracts onchain, see our middleware repo.

To get an idea of how users interact with these contracts, check out our integration tests: /src/test/integration.

Contribute to the Core

See CONTRIBUTING.

Contributions that do not follow our fork base PR practices will be either rejected or immediately deleted based on your role, preventing branch pollution, keeping our repository clean, make it more readable and searchable.

About

Contracts of EigenLayer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages