Skip to content

Conversation

@sunbreak1211
Copy link
Collaborator

No description provided.

telome and others added 10 commits January 23, 2024 21:53
* Add Splitter

* Remove endgame-toolkit dep

* Use GemMock

* Skip reward when burning 100%

* Add setRewardsDuration test

* Refactor splitter & flapper init scripts

* Dummy change to force github refresh

* Revert "Dummy change to force github refresh"

This reverts commit 44aff8f.

* Group storage vars together

* Update src/Splitter.sol

Co-authored-by: sunbreak1211 <[email protected]>

* Remove farm_ cache

* Remove setting MCD_FLAP key in chainlog

* Cleanups

* Add duration change tests

* Update test/mocks/StakingRewardsMock.sol

Co-authored-by: sunbreak1211 <[email protected]>

* Add sanity checks for immutables

* Update deploy/FlapperInit.sol

Co-authored-by: sunbreak1211 <[email protected]>

* Fix alignment

* Update checkChangeRewardDuration

* Add mention of Splitter to README.md

* Simplify testKickBurnOnly

* Always rewrite PIP_MKR price in tests

* Add event

* Update README.md

Co-authored-by: oldchili <[email protected]>

* Update README.md

Co-authored-by: oldchili <[email protected]>

* Update src/Splitter.sol

Co-authored-by: oldchili <[email protected]>

* Add note and test related to very small burn values

* Remove minBurn detail from README

* Add burn not zero sanity check

* Use divup in testKickLowBurn

* Add rate limit to Splitter

* Add notice to farm mock

* Receive total amount of consumed DAI (#14)

* lot now represents total consumed dai

* Remove local change

* bought => buy

* Update ABDK link to correct line

Co-authored-by: telome <[email protected]>

* Update test/FlapperUniV2.t.sol

Co-authored-by: telome <[email protected]>

* Add testEquivalenceToSellLotAndDeposit

* Remove only in comment

* Use UNIV2_DAI_MKR_PAIR explicitly in test

* Refactor testEquivalenceToSellLotAndDeposit

---------

Co-authored-by: telome <[email protected]>

* Support also NST in Splitter init validation

* Update farm mock

* lot now represents total consumed dai

* Update test/FlapperUniV2.t.sol

Co-authored-by: telome <[email protected]>

* Simplify testKickBurnOnly

* Add note and test related to very small burn values

* Remove minBurn detail from README

* Add rate limit to Splitter

* Remove hop from flappers

* Fix README

* Address review comments

* Fix rebase

* Use hop as rewardsDuration

* Use removeAddress

* Use SplitterMock

* Update test/FlapperUniV2SwapOnly.t.sol

Co-authored-by: oldchili <[email protected]>

* Rename flapper kick -> exec

* Address review comments

* Exit dai to flapper

* Update src/Splitter.sol

Co-authored-by: sunbreak1211 <[email protected]>

* Update test/mocks/SplitterMock.sol

Co-authored-by: sunbreak1211 <[email protected]>

* Fix nits

* Sanity check mom's splitter

* Fix README

* Update README.md

Co-authored-by: sunbreak1211 <[email protected]>

* Update README.md

Co-authored-by: sunbreak1211 <[email protected]>

* Update test/FlapperUniV2.t.sol

Co-authored-by: sunbreak1211 <[email protected]>

* Update test/Splitter.t.sol

Co-authored-by: sunbreak1211 <[email protected]>

---------

Co-authored-by: telome <>
Co-authored-by: sunbreak1211 <[email protected]>
Co-authored-by: oldchili <[email protected]>
* Fix Babylonian.sqrt

* Move live check to splitter

* Remove dangling daiJoin approvals

* Add bump multiple of RAY check

* Fix typo and regorg storage

* Remove redundant line

* Add check for farm's rewardsToken

* Add sanity check for wrapper's divisor

* Update src/Splitter.sol

Co-authored-by: oldchili <[email protected]>

* Add `live` sanity check

---------

Co-authored-by: telome <>
Co-authored-by: oldchili <[email protected]>
* Add Splitter audit report

* Rename reports

---------

Co-authored-by: telome <>
* Make farm upgradeable in Splitter

* Spacing

* Save farm key

* Check hop wasn't empty

* Check farm again in splitter constructor

* Add comment

* Change comment

Co-authored-by: telome <[email protected]>

* Readme Addition and Minor Comment Change (#23)

* Add farm param to readme, change order

* Minor change

* Rename function and add comment

* Remove spaces

---------

Co-authored-by: telome <[email protected]>
Co-authored-by: oldchili <[email protected]>
* Replace dai by nst

* Add missing renaming

* Revert renaming for tests excepting the mandatory cases
@DaiFoundation-DevOps
Copy link

DaiFoundation-DevOps commented Aug 28, 2024

CLA assistant check
All committers have signed the CLA.

sunbreak1211 and others added 4 commits September 5, 2024 07:16
* Migrate tests to use USDS and SKY

* Some fixes

* Fix styling

* More styling fixes

* Standardize use of pips for tests and make use more logic prices for the assets
@sunbreak1211
Copy link
Collaborator Author

@telome @oldchili please give your final approval and I'll merge. We will use regular merge type.

@sunbreak1211 sunbreak1211 merged commit e136bb1 into master Sep 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants