Releases: pods-finance/yield-contracts
Releases · pods-finance/yield-contracts
v2.0.0
What's Changed
- Fixed DepositQueue list by @ggviana in #1
- feature: added adapted scripts by @Robsonsjre in #3
- Migrator by @ggviana in #2
- Added Migration ABI by @ggviana in #7
- Adapted Migration for single-way migration by @ggviana in #8
- ETH Adapter by @ggviana in #5
- Added permit to mint and deposit functions by @ggviana in #4
- Allowing users to refund from unprocessed deposits by @ggviana in #9
- Syncing by @ggviana in #6
- Added Curve Mock for tests by @ggviana in #10
- Fixed Curve mock pricing by @ggviana in #11
- Added permit to ETHAdapter.(withdraw|redeem) by @ggviana in #12
- Syncing with public by @ggviana in #13
- Removed configuration param by @ggviana in #14
- mintWithPermit and depositWithPermit uses overridden _deposit method by @ggviana in #15
- Coverage boost by @ggviana in #16
- [ABDK-29]: Validating if curve pool handle ETH<>stETH by @ggviana in #19
- [ABDK-16]: Avoiding overflow by @ggviana in #20
- [ABDK-23]: Passing the shares as an argument of Migration by @ggviana in #21
- [ABDK-49]: Added asset to ERC4626 interface by @ggviana in #22
- Abdk/main by @ggviana in #26
- [ABDK-13]: fix convertToAssets calculation by @Robsonsjre in #23
- [ABDK-30]: Avoiding sending wrong ETH amount by @ggviana in #25
- [ABDK-47]: Refund function should return asset amount by @ggviana in #28
- [ABDK-24]: When mint 0 shares, it not change queue behavior by @Robsonsjre in #31
- [ABDK-42]: Changing Cap parameter to a constant by @ggviana in #27
- [ABDK-46]: StartRound function should return the started round by @ggviana in #29
- [ABDK-17]: Only transfer greater than zero assets by @ggviana in #30
- [ABDK-8]: Returning effective shares and assets by @ggviana in #24
- Linter by @ggviana in #35
- [ABDK-8 cont.]: Only transfer assets > 0 on STETHVault by @ggviana in #33
- [ABDK-38]: Simplifing Address Cast by @ggviana in #34
- [ABDK-26]: Writing variable to storage once by @ggviana in #36
- [ABDK-19]: Returning migrated shares by @ggviana in #38
- [ABDK-32]: improved receive documentation at ETHAdapter by @Robsonsjre in #37
- [ABDK-2-9-18]: Adding documentation by @Robsonsjre in #39
- [ABDK-35]: Renamed Math library by @ggviana in #40
- Code freeze OZ by @ggviana in #32
- Implementing OZ Libs + EnumMap by @ggviana in #41
- [M-05] Maximum mintable and depositable amounts returned are incorrect by @ggviana in #42
- [M-06] Refund does not restore the cap by @ggviana in #43
- [M-08] Parallel share cap setting by @ggviana in #44
- [L-02] Inconsistent name and symbol by @ggviana in #45
- [C-03 / H-03] The vault can be drained one share at a time by @Robsonsjre in #46
- [C-02] Miscounted assets breaking system invariants by @Robsonsjre in #54
- [L-03] Misleading comments by @ggviana in #55
- [N-06] Fixed variable visibility by @ggviana in #64
- [N-03] Fixed naming issues by @ggviana in #65
- [N-05] Outdated Solidity version by @ggviana in #66
- [N-08] Fix typos by @ggviana in #69
- [N-12] Removed unused imports by @ggviana in #77
- [OZ: H-01]: Function withdraw can disable endRound by @Robsonsjre in #73
- [OZ: H-03] Incorrect calculations by @Robsonsjre in #75
- [OZ: N-07] Adequating events and constants to a style by @ggviana in #70
- [OZ: L-01] Fixed Gas inefficiencies by @ggviana in #81
- [OZ: N-13] Removed unused named return variables by @ggviana in #83
- [OZ: N-09] Removed unnecessary arguments by @ggviana in #85
- [OZ: L-08] Permissioning migrations based on allowance by @ggviana in #88
- Fix backrun endround by @ggviana in #89
- Centralizing Vault state in a struct by @ggviana in #90
- Using implicit imports by @ggviana in #92
- Added sharePrice view function by @ggviana in #91
- Improved Docstrings by @ggviana in #95
- Fix/add fix to fuzz by @Robsonsjre in #93
- fix: added new import to fuzzy file by @Robsonsjre in #97
- [OZ: M-02] Incorrect assetsOf calculation by @Robsonsjre in #98
- Upgrade OpenZeppelin to v4.8.0 by @ggviana in #96
- [OZ#2: M-04] Negative rebase of stETH could prevent a round from ending by @Robsonsjre in #100
- [OZ#2: N-06] Non-explicit imports are used by @Robsonsjre in #102
- [OZ#2: L-06] The sharePrice function should not revert by @Robsonsjre in #104
- [OZ#2: L-01] Magic numbers are used by @ggviana in #103
- [OZ#2: N-03]: Lack of indexed parameters by @Robsonsjre in #105
- [OZ#2: N-01] Inconsistent use of named return variables by @ggviana in #110
- [OZ#2: L-05] Share price calculations should never result in a zero value by @Robsonsjre in #109
- [OZ#2: N-07] Use of uint32 for round timestamp limits vault lifetime by @ggviana in #107
- [OZ#2: L-08] Use of deprecated function for setting token allowances by @ggviana in #106
- [OZ#2: N-05] Mismatched event parameters by @ggviana in #113
- [OZ#2: L-02] Misplaced totalAssets function implementation by @Robsonsjre in #117
- [OZ#2: M-06] Phantom permit functions callable from child vault by @ggviana in #123
- [OZ#2: M-03] Incorrect recalculation of shares during deposit by @Robsonsjre in #118
- [OZ#2: L-03] Missing docstrings by @Robsonsjre in #122
- No need for passing a
newVault
in Migrations by @ggviana in #124 - [OZ#2: M-05] Non-standard ERC-4626 vault functionality by @Robsonsjre in #101
- Revert "[OZ#2: M-05] Non-standard ERC-4626 vault functionality" by @Robsonsjre in #126
- ConfigurationManager should not assign migrations with zero address… by @ggviana in #129
- [OZ#2: M-05] Non-standard ERC-4626 vault functionality by @Robsonsjre in #128
- Rever...