@@ -20,6 +20,19 @@ The main branches we use are:
20
20
21
21
## Documentation
22
22
23
+ ### Setup
24
+
25
+ To set up this repo for the first time, run:
26
+
27
+ ``` bash
28
+ make deps
29
+ ```
30
+
31
+ This will:
32
+ * Install the pre-commit hook
33
+ * Install foundry and its tools
34
+ * Install abigen
35
+
23
36
### Basics
24
37
25
38
To get a basic understanding of EigenLayer, check out [ You Could've Invented EigenLayer] ( https://www.blog.eigenlayer.xyz/ycie/ ) . Note that some of the document's content describes features that do not exist yet (like the Slasher). To understand more about how restakers and operators interact with EigenLayer, check out these guides:
@@ -41,6 +54,8 @@ foundryup
41
54
42
55
forge build
43
56
forge test
57
+
58
+ make bindings
44
59
```
45
60
46
61
### Running Fork Tests
@@ -83,6 +98,12 @@ surya inheritance ./src/contracts/**/*.sol | dot -Tpng > InheritanceGraph.png
83
98
surya mdreport surya_report.md ./src/contracts/**/*.sol
84
99
```
85
100
101
+ ### Generate Go bindings
102
+
103
+ ``` bash
104
+ make bindings
105
+ ```
106
+
86
107
## Deployments
87
108
88
109
### Current Mainnet Deployment
@@ -99,7 +120,7 @@ The current mainnet deployment is our M2 release. You can view the deployed cont
99
120
| [ ` AVSDirectory ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/4b15d68b7e16b5965bad398496bfce57f5a47e1b/src/contracts/core/AVSDirectory.sol ) | [ ` 0x135dda560e946695d6f155dacafc6f1f25c1f5af ` ] ( https://etherscan.io/address/0x135dda560e946695d6f155dacafc6f1f25c1f5af ) | [ ` 0xdabd...a5b7 ` ] ( https://etherscan.io/address/0xdabdb3cd346b7d5f5779b0b614ede1cc9dcba5b7 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
100
121
| [ ` Slasher ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/4b15d68b7e16b5965bad398496bfce57f5a47e1b/src/contracts/core/Slasher.sol ) | [ ` 0xD92145c07f8Ed1D392c1B88017934E301CC1c3Cd ` ] ( https://etherscan.io/address/0xD92145c07f8Ed1D392c1B88017934E301CC1c3Cd ) | [ ` 0xf323...6614 ` ] ( https://etherscan.io/address/0xf3234220163a757edf1e11a8a085638d9b236614 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
101
122
102
- ###### Strategies
123
+ ###### Strategies - ETH
103
124
104
125
| Name | Proxy | Implementation | Notes |
105
126
| -------- | -------- | -------- | -------- |
@@ -117,6 +138,12 @@ The current mainnet deployment is our M2 release. You can view the deployed cont
117
138
| [ ` StrategyBase (mETH) ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/strategies/StrategyBaseTVLLimits.sol ) | [ ` 0x298aFB19A105D59E74658C4C334Ff360BadE6dd2 ` ] ( https://etherscan.io/address/0x298aFB19A105D59E74658C4C334Ff360BadE6dd2 ) | [ ` 0xdfdA...46d3 ` ] ( https://etherscan.io/address/0xdfdA04f980bE6A64E3607c95Ca26012Ab9aA46d3 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
118
139
| ` Beacon Chain ETH ` | ` 0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0 ` | - | - Used for Beacon Chain ETH shares <br />- Not a real contract! |
119
140
141
+ ###### Strategies - EIGEN
142
+
143
+ | Name | Proxy | Implementation | Notes |
144
+ | -------- | -------- | -------- | -------- |
145
+ | [ ` EigenStrategy (EIGEN) ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/strategies/EigenStrategy.sol ) | [ ` 0xaCB55C530Acdb2849e6d4f36992Cd8c9D50ED8F7 ` ] ( https://etherscan.io/address/0xaCB55C530Acdb2849e6d4f36992Cd8c9D50ED8F7 ) | [ ` 0x27e7...0428 ` ] ( https://etherscan.io/address/0x27e7a3a81741b9fcc5ad7edcbf9f8a72a5c00428 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.0/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
146
+
120
147
###### EigenPods
121
148
122
149
| Name | Proxy | Implementation | Notes |
@@ -125,6 +152,13 @@ The current mainnet deployment is our M2 release. You can view the deployed cont
125
152
| [ ` DelayedWithdrawalRouter ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/4b15d68b7e16b5965bad398496bfce57f5a47e1b/src/contracts/pods/DelayedWithdrawalRouter.sol ) | [ ` 0x7Fe7E9CC0F274d2435AD5d56D5fa73E47F6A23D8 ` ] ( https://etherscan.io/address/0x7Fe7E9CC0F274d2435AD5d56D5fa73E47F6A23D8 ) | [ ` 0x4bb6...4226 ` ] ( https://etherscan.io/address/0x4bb6731b02314d40abbffbc4540f508874014226 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
126
153
| [ ` EigenLayerBeaconOracle ` ] ( https://github.com/succinctlabs/eigenlayer-beacon-oracle/blob/main/contracts/src/EigenLayerBeaconOracle.sol ) | - | [ ` 0x3439...5442 ` ] ( https://etherscan.io/address/0x343907185b71adf0eba9567538314396aa985442 ) | Provided by [ Succinct] ( https://succinct.xyz/ ) |
127
154
155
+ ###### EIGEN/bEIGEN
156
+
157
+ | Name | Proxy | Implementation | Notes |
158
+ | -------- | -------- | -------- | -------- |
159
+ | [ ` Eigen ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/token/Eigen.sol ) | [ ` 0xec53bf9167f50cdeb3ae105f56099aaab9061f83 ` ] ( https://etherscan.io/address/0xec53bf9167f50cdeb3ae105f56099aaab9061f83 ) | [ ` 0x7ec3...700b ` ] ( https://etherscan.io/address/0x7ec354c84680112d3cff1544ec1eb19ca583700b ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.0/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
160
+ | [ ` Backing Eigen ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/token/BackingEigen.sol ) | [ ` 0x83E9115d334D248Ce39a6f36144aEaB5b3456e75 ` ] ( https://etherscan.io/address/0x83E9115d334D248Ce39a6f36144aEaB5b3456e75 ) | [ ` 0xB91c...FFE3 ` ] ( https://etherscan.io/address/0xB91c69Af3eE022bd0a59Da082945914BFDcEFFE3 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.0/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
161
+
128
162
###### Multisigs
129
163
130
164
| Name | Proxy | Implementation | Notes |
@@ -153,7 +187,7 @@ The current testnet deployment is on holesky, and is from our M2 beta release. Y
153
187
| [ ` AVSDirectory ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/core/AVSDirectory.sol ) | [ ` 0x055733000064333CaDDbC92763c58BF0192fFeBf ` ] ( https://holesky.etherscan.io/address/0x055733000064333CaDDbC92763c58BF0192fFeBf ) | [ ` 0xEF5B...3e3a ` ] ( https://holesky.etherscan.io/address/0xEF5BA995Bc7722fd1e163edF8Dc09375de3d3e3a ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
154
188
| [ ` Slasher ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/core/Slasher.sol ) | [ ` 0xcAe751b75833ef09627549868A04E32679386e7C ` ] ( https://holesky.etherscan.io/address/0xcAe751b75833ef09627549868A04E32679386e7C ) | [ ` 0x9971...345A ` ] ( https://holesky.etherscan.io/address/0x99715D255E34a39bE9943b82F281CA734bcF345A ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
155
189
156
- ###### Strategies
190
+ ###### Strategies - ETH
157
191
158
192
| Name | Proxy | Implementation | Notes |
159
193
| -------- | -------- | -------- | -------- |
@@ -169,6 +203,12 @@ The current testnet deployment is on holesky, and is from our M2 beta release. Y
169
203
| [ ` StrategyBase (ankrETH) ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/strategies/StrategyBaseTVLLimits.sol ) | [ ` 0x7673a47463F80c6a3553Db9E54c8cDcd5313d0ac ` ] ( https://holesky.etherscan.io/address/0x7673a47463F80c6a3553Db9E54c8cDcd5313d0ac ) | [ ` 0xFb83...3305 ` ] ( https://holesky.etherscan.io/address/0xFb83e1D133D0157775eC4F19Ff81478Df1103305 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
170
204
| ` Beacon Chain ETH ` | ` 0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0 ` | - | - Used for Beacon Chain ETH shares <br />- Not a real contract! |
171
205
206
+ ###### Strategies - EIGEN
207
+
208
+ | Name | Proxy | Implementation | Notes |
209
+ | -------- | -------- | -------- | -------- |
210
+ | [ ` EigenStrategy (EIGEN) ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/strategies/EigenStrategy.sol ) | [ ` 0x43252609bff8a13dFe5e057097f2f45A24387a84 ` ] ( https://holesky.etherscan.io/address/0x43252609bff8a13dFe5e057097f2f45A24387a84 ) | [ ` 0x9465...2697 ` ] ( https://holesky.etherscan.io/address/0x94650e09a471CEF96e7966cabf26718FBf352697 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
211
+
172
212
###### EigenPods
173
213
174
214
| Name | Proxy | Implementation | Notes |
@@ -177,6 +217,13 @@ The current testnet deployment is on holesky, and is from our M2 beta release. Y
177
217
| [ ` DelayedWithdrawalRouter ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/pods/DelayedWithdrawalRouter.sol ) | [ ` 0x642c646053eaf2254f088e9019ACD73d9AE0FA32 ` ] ( https://holesky.etherscan.io/address/0x642c646053eaf2254f088e9019ACD73d9AE0FA32 ) | [ ` 0xcE8b...3407 ` ] ( https://holesky.etherscan.io/address/0xcE8b8D99773a718423F8040a6e52c06a4ce63407 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
178
218
| [ ` EigenLayerBeaconOracle ` ] ( https://github.com/succinctlabs/eigenlayer-beacon-oracle/blob/main/contracts/src/EigenLayerBeaconOracle.sol ) | - | [ ` 0x4C11...8f25 ` ] ( https://holesky.etherscan.io/address/0x4C116BB629bff7A8373c2378bBd919f8349B8f25 ) | Provided by [ Succinct] ( https://succinct.xyz/ ) |
179
219
220
+ ###### EIGEN/bEIGEN
221
+
222
+ | Name | Proxy | Implementation | Notes |
223
+ | -------- | -------- | -------- | -------- |
224
+ | [ ` Eigen ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/token/Eigen.sol ) | [ ` 0x3B78576F7D6837500bA3De27A60c7f594934027E ` ] ( https://holesky.etherscan.io/address/0x3B78576F7D6837500bA3De27A60c7f594934027E ) | [ ` 0x083b...8c5a ` ] ( https://holesky.etherscan.io/address/0x083bC9e0DCF2C3e13E24686e5202232995578c5a ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
225
+ | [ ` Backing Eigen ` ] ( https://github.com/Layr-Labs/eigenlayer-contracts/blob/testnet-holesky/src/contracts/token/BackingEigen.sol ) | [ ` 0x275cCf9Be51f4a6C94aBa6114cdf2a4c45B9cb27 ` ] ( https://holesky.etherscan.io/address/0x275cCf9Be51f4a6C94aBa6114cdf2a4c45B9cb27 ) | [ ` 0x4500...bce8 ` ] ( https://holesky.etherscan.io/address/0x4500927874Ad41538c1bEF2F5278E7a86DF6bce8 ) | Proxy:
[ ` [email protected] ` ] ( https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.1/contracts/proxy/transparent/TransparentUpgradeableProxy.sol ) |
226
+
180
227
###### Multisigs
181
228
182
229
| Name | Proxy | Implementation | Notes |
0 commit comments