-
Notifications
You must be signed in to change notification settings - Fork 6
Renzo Integration #841
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
Merged
Merged
Renzo Integration #841
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cashd
reviewed
Mar 13, 2024
cashd
reviewed
Mar 13, 2024
013acff to
bbc8557
Compare
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
contracts/src/deployers/ezeth/EzETHHyperdriveDeployerCoordinator.sol
Outdated
Show resolved
Hide resolved
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
jalextowle
reviewed
Mar 15, 2024
cashd
reviewed
Mar 15, 2024
44d7c1b to
2250f2c
Compare
jalextowle
reviewed
Mar 16, 2024
jalextowle
reviewed
Mar 16, 2024
0f480be to
4f23503
Compare
dpaiton
pushed a commit
that referenced
this pull request
Mar 28, 2024
* Updated `HyperdriveFactory` so that it can support initialization with shares * Add initialize tests for the deployer coordinator * copy steth integration * rename files * stEth -> ezEth * add interfaces * add IRestakeManager interface * lido -> restakeManager * remove lido, update deposit method * copy steth test file * capitalize name * update deposit/withdraw functions * add deployers * fixup deployers * add ezETH to deployers * add ezETH to instances * add calculateTVLs to interface * add and cleanup tests * remove ezETH from constructors * update tests * fix remaining tests * small cleanups * wrap comment * address nit fixes * remove IEzETHHyperdriveCore.sol * remove unused import * add IRenzoOracle, combine interface files * update imports * final nits addressed * fix capitalization * capitalization * asdf.sol * rename * don't allow ETH txns * disable ETH for deployAndInitialize * update tests * remove consoles * small nits * fix revert tests * all tess passing * remove unused code * cleanup * last fixups --------- Co-authored-by: Alex Towle <jalextowle@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds Renzo's ezETH as an integration. Because their pool was launched Dec 15, 2023, there wasn't a large window for testing on a mainnet fork. The have a series of operator delegators that use a series of oracles for the token TVLs which limits testing capability without heavy mocking of the whole protocol. Instead, I used a 15 position duration to test with the actual deployed renzo code.
Notes:
TODOsuin256 refererIdtorestakingManager.depositETH(). I left it blank for now but happy to add.