Skip to content

feat: Add v1.4.0 code#93

Merged
lucas-manuel merged 11 commits intodevfrom
add-v1.4.0-3
Apr 3, 2025
Merged

feat: Add v1.4.0 code#93
lucas-manuel merged 11 commits intodevfrom
add-v1.4.0-3

Conversation

@lucas-manuel
Copy link
Contributor

No description provided.

lucas-manuel and others added 11 commits April 2, 2025 17:21
* feat: add audits

* fix: update file

* fix: update staging test
* Adapt to latest vault address

* Update block number

* Remove unused setUp

---------

Co-authored-by: Lucas Manuel <lucasmanuel.tech@gmail.com>
* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo
* feat: add dai usds swaps

* fix: rm rate limits
* feat: add basic curve deposit/withdraw

* feat: Refactor to use internal functions and modifiers (#24)

* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo

* feat: Add DaiUsds swaps (SC-940) (#22)

* feat: add dai usds swaps

* fix: rm rate limits

* test: add testing for failure modes

* feat: tests all passing

* fix: update broken staging test

* test: add invalid order coverage, cleanup

* fix: rm morpho functionality

* fix: rm morpho

* feat: tests passing

* fix: rm console

* feat: refactor to use rlusd pool

* feat: refactor to use new slippages, remove tokens params

* feat: add remove liquidity working

* feat: tests passing

* fix: rm console

* fix: update remaining fixes

* fix: reorder some code, add zero slippage test coverage

* fix: update test names

* feat: add simplified calculation

* fix: rm unused function

* fix: formatting

* fix: update slippage

* fix: comment

* fix: cache param

* fix: update spacing
* feat: add comments

* feat: add virtual price

* feat: add stress test

* feat: add starting fuzz tests

* fix: delete fuzz test

* fix: add comments

* fix: update comments
* feat: add initial structure

* feat: add rate limit for swap

* feat: tests passing

* fix: ordering and test

* fix: update optimizer runs

* fix:  update comment
* feat: add index input validation

* feat: update to add testing

* ifx: update to use n coins
* feat: Add audits (#26)

* feat: add audits

* fix: update file

* fix: update staging test

* fix: Update Centrifuge tests (#25)

* Adapt to latest vault address

* Update block number

* Remove unused setUp

---------

Co-authored-by: Lucas Manuel <lucasmanuel.tech@gmail.com>

* feat: Refactor to use internal functions and modifiers (#24)

* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo

* feat: Add DaiUsds swaps (SC-940) (#22)

* feat: add dai usds swaps

* fix: rm rate limits

* feat: Add Curve support, remove Morpho allocator logic (SC-938)  (#23)

* feat: add basic curve deposit/withdraw

* feat: Refactor to use internal functions and modifiers (#24)

* feat: refactor to use internal functions and modifiers

* fix: use view

* fix: move helpers

* fix: rm todo

* feat: Add DaiUsds swaps (SC-940) (#22)

* feat: add dai usds swaps

* fix: rm rate limits

* test: add testing for failure modes

* feat: tests all passing

* fix: update broken staging test

* test: add invalid order coverage, cleanup

* fix: rm morpho functionality

* fix: rm morpho

* feat: tests passing

* fix: rm console

* feat: refactor to use rlusd pool

* feat: refactor to use new slippages, remove tokens params

* feat: add remove liquidity working

* feat: tests passing

* fix: rm console

* fix: update remaining fixes

* fix: reorder some code, add zero slippage test coverage

* fix: update test names

* feat: add simplified calculation

* fix: rm unused function

* fix: formatting

* fix: update slippage

* fix: comment

* fix: cache param

* fix: update spacing

* feat: Update to round up for rate limits and minimums (SC-955) (#31)

* feat: Use `get_virtual_price` (SC-959) (#29)

* feat: add comments

* feat: add virtual price

* feat: add stress test

* feat: add starting fuzz tests

* fix: delete fuzz test

* fix: add comments

* fix: update comments

* fix: Add line about transferAsset (#33)

* feat: Add swap rate limiting in `addLiquidityCurve` (SC-952) (#30)

* feat: add initial structure

* feat: add rate limit for swap

* feat: tests passing

* fix: ordering and test

* fix: update optimizer runs

* fix:  update comment

* feat: Add index input validation (SC-960) (#34)

* feat: add index input validation

* feat: update to add testing

* ifx: update to use n coins

* feat: initial logic working

* feat: update to add testing

* fix: cleanup

---------

Co-authored-by: Jeroen <1748621+hieronx@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Apr 2, 2025

Coverage after merging add-v1.4.0-3 into dev will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
deploy
   ControllerDeploy.sol100%100%100%100%
   ForeignControllerInit.sol100%100%100%100%
   MainnetControllerInit.sol97.18%93.33%100%100%136, 78
src
   ALMProxy.sol100%100%100%100%
   ForeignController.sol100%100%100%100%
   MainnetController.sol100%100%100%100%
   RateLimitHelpers.sol100%100%100%100%
   RateLimits.sol100%100%100%100%

@lucas-manuel lucas-manuel self-assigned this Apr 3, 2025
@lucas-manuel lucas-manuel merged commit b618c3f into dev Apr 3, 2025
3 checks passed
@lucas-manuel lucas-manuel deleted the add-v1.4.0-3 branch April 3, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants