You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: make the StrategyFactory actually whitelist new strategies
* feat: add several unit tests for the StrategyFactory
* feat: switch to beacon proxies
* feat: split storage, create interface, and rename
- separate storage contract
- create interface -- storage contract inherits from it
- rename `tokenStrategies` => `tokenStrategy` for clarity
* chore: move events to interface
* feat: additional unit tests, interface cleanup
* feat: reduce owner powers, make mapping behavior strict
- remove `editTokenStrategiesMapping` and `setStrategyBeacon` functions
- make the `whitelistStrategies` pass-through function no longer edit the `tokenStrategy` mapping
- delete and modify related tests, as necessary
* feat: add several unit tests for the StrategyFactory
* feat: switch to beacon proxies
* feat: additional unit tests, interface cleanup
* feat: reduce owner powers, make mapping behavior strict
- remove `editTokenStrategiesMapping` and `setStrategyBeacon` functions
- make the `whitelistStrategies` pass-through function no longer edit the `tokenStrategy` mapping
- delete and modify related tests, as necessary
* chore: formatting
feat: add `blacklistTokens` fn
refactor: separate mapping
Feat: add `sharesToUnderlying` event (#644)
* feat: add `sharesToUnderlying` event
* refactor: cleanup
* refactor: separate logic to new fn
* test: sanity
feat: emit exchange rate on deposits/withdrawals (#647)
* feat: exchange rate in deposits/withdrawals
* chore: forge fmt
---------
Co-authored-by: clandestine.eth <96172957+0xClandestine@users.noreply.github.com>
fix: strategy unit tests
feat: add pass thoughts for all `strategyWhitelister` gated functions (#648)
docs: add documentation for strategy factory methods
chore: make bindings
feat: change name of tokenStrategy mapping to deployedStrategies (#657)
feat: auto remove strategies from whitelist (#658)
feat: limit total shares on `StrategyBase` (#659)
* feat: limit totalShares
* chore: update natspec
* chore: bindings & formatting
* chore: bindings
* docs: update docs with max total shares change
* chore: fix formatting
---------
Co-authored-by: wadealexc <pragma-services@proton.me>
fix: natspec strategy factory (#660)
* fix: natspec
* chore: format
* chore: bindings
* chore: bindings
* chore: bindings
feat: integration tests
docs: wip readme update
docs: finalize deployment info in readme
Copy file name to clipboardExpand all lines: README.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ The current mainnet deployment is our M2 release. You can view the deployed cont
174
174
175
175
### Current Testnet Deployment
176
176
177
-
The current testnet deployment is on holesky, and is from our M2 beta release. You can view the deployed contract addresses below, or check out the code itself on the [`testnet-holesky`](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky) branch.
177
+
You can view the deployed contract addresses below, or check out the code itself on the [`testnet-holesky`](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky) branch.
178
178
179
179
###### Core
180
180
@@ -187,7 +187,16 @@ The current testnet deployment is on holesky, and is from our M2 beta release. Y
Anyone can deploy and whitelist strategies for standard ERC20s by using the `StrategyFactory` deployed to the address below (see [docs](./docs/core/StrategyManager.md#strategyfactorydeploynewstrategy)). Strategies deployed from the `StrategyFactory` are deployed using the beacon proxy pattern:
|[`StrategyBaseTVLLimits.sol`](../../src/contracts/strategies/StrategyBaseTVLLimits.sol)| Instanced, one per supported token | - Strategies deployed outside the `StrategyFactory` use transparent proxies <br /> - Anything deployed via the `StrategyFactory` uses a Beacon proxy |
53
54
54
-
These contracts work together to enable restaking for LSTs:
55
-
* The `StrategyManager` acts as the entry and exit point for LSTs in EigenLayer. It handles deposits into LST-specific strategies, and manages accounting+interactions between users with restaked LSTs and the `DelegationManager`.
56
-
*`StrategyBaseTVLLimits` is deployed as multiple separate instances, one for each supported LST. When a user deposits into a strategy through the `StrategyManager`, this contract receives the tokens and awards the user with a proportional quantity of shares in the strategy. When a user withdraws, the strategy contract sends the LSTs back to the user.
55
+
These contracts work together to enable restaking for ERC20 tokens supported by EigenLayer:
56
+
* The `StrategyManager` acts as the entry and exit point for any supported tokens in EigenLayer. It handles deposits into LST-specific strategies, and manages accounting+interactions between users with restaked LSTs and the `DelegationManager`.
57
+
*`StrategyFactory` allows anyone to deploy strategies to support deposits/withdrawals for new ERC20 tokens
58
+
*`StrategyBaseTVLLimits` is deployed as multiple separate instances, one for each supported token. When a user deposits into a strategy through the `StrategyManager`, this contract receives the tokens and awards the user with a proportional quantity of shares in the strategy. When a user withdraws, the strategy contract sends the LSTs back to the user.
57
59
58
60
See full documentation in [`/core/StrategyManager.md`](./core/StrategyManager.md).
0 commit comments