Releases: delvtech/hyperdrive
Releases · delvtech/hyperdrive
v0.6.2
Bug Fixes
- Another fix to the checkpoint flow to address a problem caused by invalid fee logic.
Full Changelog: v0.6.1...v0.6.2
v0.6.1
Bug Fixes
- Fixed the bug where the addresses generated by the migrations script were empty.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Renamings by @jalextowle in #725
- correct get_time_stretch formula by @dpaiton in #729
- Added a slippage guard to
addLiquidity
on the realized LP share price by @jalextowle in #728 - Enforce
z - zeta >= z_min
(except for LPs) by @jalextowle in #726 - adding edge case to
_test_nonstandard_decimals_lp()
by @jrhea in #734 HyperdriveFactory
Cleanup by @jalextowle in #735- Rounding Roundup by @jalextowle in #736
- Removed unused contracts, interfaces, scripts, and docs by @jalextowle in #740
- fuzz roundtrip tests and reasonable initial fixed rate and timestretch by @jrhea in #738
- Errors Cleanup by @jalextowle in #741
- Zombie flat fee fix by @jrhea in #742
Full Changelog: v0.5.0...v0.6.0
v0.5.1
v0.5.0
What's Changed
- Adjusts the time stretch calculation to hold the ratio of reserves constant by @jalextowle in #716
- Post v0.4.0 cleanup by @jalextowle in #717
- Updated the sweep function and wrote some comprehensive tests by @jalextowle in #720
- stETH Integration by @jalextowle in #718
- Negative Interest: Zombie Edition by @jalextowle in #721
- Addressed Certora's concern with the weighted average calculation by @jalextowle in #722
- Implemented a fix for the share price accuracy issue by @jalextowle in #723
- update rust time stretch by @dpaiton in #724
Full Changelog: v0.4.0...v0.5.0
Breaking Changes
- The addresses object returned by the artifacts server no longer contains the
mockHyperdrive
field. Instead, the address of the pool that uses theERC4626Hyperdrive
instance (this is configured to represent an sDAI market) is in theerc4626Hyperdrive
field, and the address of the pool that uses theStETHHyperdrive
instance (this is configured to represent a stETH market) is in thestethHyperdrive
field. - A new field was added to
getPoolInfo
calledzombieBaseProceeds
: https://github.com/delvtech/hyperdrive/blob/10691c2a9a9d60566bcf12850d533acf5ef85df5/contracts/src/interfaces/IHyperdrive.sol#L214. This field allows us to easily calculate the zombie interest that has accrued since the last collection. - Zombie positions are now discounted to account for negative interest that has accrued. This negative interest is socialized, so it's possible for a zombie to receive a negative interest haircut even if the negative interest accrued before the position matured.
Features
- A
StETHHyperdrive
instance was added. IfasBase = true
, the deposit is accepted in native ETH. IfasBase = false
, the deposit is accepted in stETH shares (note that this is not denominated in stETH tokens).
v0.4.0
What's Changed
- ensure the event emits amount in units of base by @jrhea in #671
- Addressed the remaining Spearbit issues about tokens by @jalextowle in #664
- remove parameter and cleanup names from calc_fees functions by @wakamex in #656
- rust directory refactor by @jrhea in #679
calculatePresentValue
cleanup by @jalextowle in #680- Sdk close methods by @jrhea in #682
- feat: Generalize to many hyperdrive instances (MIlestone 2) by @lucas-manuel in #670
- Fixed the bug that broke the rust tests by @jalextowle in #684
- max spot price including flat fee by @wakamex in #657
- Netting fix and simplification by @jalextowle in #692
- Zombie Interest by @jrhea in #685
- 0 proceed withdraw logic by @jrhea in #699
- Update crash-report.md by @wakamex in #706
- Add calculate_present_value by @ryangoree in #681
- zombie interest gov fee by @jrhea in #709
_distributeExcessIdle
overhaul by @jalextowle in #688- Fixed some edge cases that caused problems with
calculateDistributeExcessIdle
by @jalextowle in #711 - feat: Update
initialSharePrice
initialization logic (Approach 1) by @lucas-manuel in #707 - feat: Create hyperdrive registry by @lucas-manuel in #676
- Added target2 and target3 to address the code size problem by @jalextowle in #713
- Fixed the docker build by @jalextowle in #712
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- new min lpShare check plus tests by @jrhea in #653
- rename checkpoint exposure and normalize addliquidity event value by @jrhea in #659
- Infinite Chocolate Fix by @jrhea in #661
- feat: Specify yield source on deploy, add pool lookups to factory (Milestone 1) by @lucas-manuel in #641
- Improved Proxy Architecture by @jalextowle in #654
- Fixed a bug in
get_max_long
by @jalextowle in #669
New Contributors
- @lucas-manuel made their first contribution in #641
Full Changelog: v0.2.0...v0.3.0
v0.2.0
v0.1.0
What's Changed
- Negative Interest: Zeta Adjustment by @jalextowle in #599
- Infrastructure improvements for the competition by @jalextowle in #619
- make yieldspace module public by @sentilesdal in #618
- Added an extra data field to the Hyperdrive interface by @jalextowle in #608
- improved decimals tests by @jrhea in #609
- Move tokio to dev dependencies in rust crates by @ryangoree in #634
- Debugging tools for prod environments and anvil state dumps by @jalextowle in #626
- multitoken name and symbol by @jrhea in #637
- add calc_bonds_given_shares_and_rate to rust utils by @dpaiton in #632
- new events by @jrhea in #640
- Change to always underestimate in
YieldSpaceMath.sol
by @jalextowle in #636 - Max Spot Price by @jalextowle in #642
- Rename to use
calculateSpotAPR
by @jalextowle in #643 - Added a pause script to
test-utils
by @jalextowle in #644 - Max Spot Price:
closeShort
by @jalextowle in #645 - Addressed the pre-release comments by @jalextowle in #647
Full Changelog: v0.0.16...v0.1.0
v0.0.16
What's Changed
- Negative Interest: Zeta Adjustment by @jalextowle in #599
- Infrastructure improvements for the competition by @jalextowle in #619
- make yieldspace module public by @sentilesdal in #618
- add calc_bonds_given_shares_and_rate to rust utils by @dpaiton in #624
Full Changelog: v0.0.15...v0.0.16