Skip to content

Plume Rooster AMO #2499

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

Open
wants to merge 111 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
2909855
Repo setup for Plume
shahthepro Apr 1, 2025
fead130
add provider URL config
sparrowDom Apr 3, 2025
00f632a
intermediary comit
sparrowDom Apr 3, 2025
3422920
switch to the legacy testnet that has the rooster AMM deployed
sparrowDom Apr 4, 2025
5848e0e
Merge branch 'shah/plume' into sparrowDom/roosterAMO
sparrowDom Apr 4, 2025
f03833f
add some addresses
sparrowDom Apr 7, 2025
5fb29de
deploy OETHp/WETH pool
sparrowDom Apr 7, 2025
cd847dc
sucessfully deploy fund s
sparrowDom Apr 10, 2025
4a023b1
add maverick common library (these parts are open-source)
sparrowDom Apr 23, 2025
f06b1ab
add functions to add liquidity
sparrowDom Apr 25, 2025
c7dac2a
add swapping logic
sparrowDom Apr 25, 2025
871ea00
add more add/remove liquidity logic to the rooster amo strategy
sparrowDom Apr 28, 2025
61ee759
Merge remote-tracking branch 'origin/master' into sparrowDom/roosterAMO
sparrowDom Apr 28, 2025
521cf52
more work on add liquidity
sparrowDom Apr 29, 2025
40e5486
add additional deposti / withdrawal integration
sparrowDom Apr 29, 2025
890e9de
Merge remote-tracking branch 'origin/master' into sparrowDom/roosterAMO
sparrowDom Apr 29, 2025
6346248
update deploy indexes
sparrowDom Apr 29, 2025
a00c580
remove unneeded deploy file
sparrowDom Apr 29, 2025
ce962fe
clean up the deploy file
sparrowDom Apr 29, 2025
d4d762c
prettier
sparrowDom Apr 29, 2025
d79cdec
add basic fork tests
sparrowDom Apr 30, 2025
1f87882
add more tests
sparrowDom May 7, 2025
c17f88e
add more tests
sparrowDom May 8, 2025
d8a0a1a
add quoter clean up some tests
sparrowDom May 13, 2025
c4e60b8
implement a quoter solution
sparrowDom May 14, 2025
c06d22f
update the OETHp/WETH pool with the correct address that has 1bp swap…
sparrowDom May 14, 2025
186a233
greatly improve test stability
sparrowDom May 14, 2025
f4088f1
better naming
sparrowDom May 14, 2025
b6a74d0
add docs
sparrowDom May 14, 2025
61bb43b
add additinal tests
sparrowDom May 15, 2025
acff3c9
improve mint initial position
sparrowDom May 15, 2025
da07298
update comments
sparrowDom May 15, 2025
4511a70
documentation
sparrowDom May 15, 2025
3f17289
add check for binId value
sparrowDom May 26, 2025
5535c19
remove unneeded code
sparrowDom May 26, 2025
33f1106
fix liquidity inaccuracies
sparrowDom May 30, 2025
90dc558
clean up code and tests
sparrowDom May 30, 2025
7b5d8ca
fix tests and clean up strategy code
sparrowDom May 30, 2025
2239247
cleanup
sparrowDom May 30, 2025
6568573
add some comments
sparrowDom Jun 1, 2025
74ce704
add some comments
sparrowDom Jun 2, 2025
90fdd69
Merge remote-tracking branch 'origin/master' into sparrowDom/roosterAMO
sparrowDom Jun 2, 2025
ac6375e
add comment
sparrowDom Jun 3, 2025
4562e15
small fixes
sparrowDom Jun 3, 2025
3aa9e2e
small fix to assure no 1e18 overflow
sparrowDom Jun 3, 2025
f17e6f5
Collect rewards from Pool distributor (#2521)
shahthepro Jun 3, 2025
f8c9e40
add more tests, move deploy file
sparrowDom Jun 4, 2025
0cad1ac
minimise gifted amount
sparrowDom Jun 4, 2025
8ab23e1
prettier
sparrowDom Jun 4, 2025
81e14cd
prettier
sparrowDom Jun 4, 2025
30b3535
add comment
sparrowDom Jun 4, 2025
7a970ed
change to const
sparrowDom Jun 5, 2025
14f8ba4
remove duplicate code
sparrowDom Jun 5, 2025
94751f0
change from constant
sparrowDom Jun 5, 2025
4204c2a
move governorOrStrategist modidifier to abstract contract. + fix bug
sparrowDom Jun 5, 2025
540f082
add checkBalance test
sparrowDom Jun 5, 2025
5b2ed03
Sparrow dom/rooster am ofixes (#2527)
sparrowDom Jun 6, 2025
073356a
prepare for plume environment
sparrowDom Jun 6, 2025
39401d5
also add ABIs
sparrowDom Jun 7, 2025
44cb093
minor changes to the report script
sparrowDom Jun 8, 2025
9ad942f
make minimum liquidity required a constant
sparrowDom Jun 8, 2025
d047f91
make code more readable with usage of a constant
sparrowDom Jun 8, 2025
769acd8
change to pure
sparrowDom Jun 8, 2025
c71ec7b
slight gas optimisation
sparrowDom Jun 8, 2025
1b09a9a
expose the reservesInTickForGivenPrice to public
sparrowDom Jun 8, 2025
998d4e8
simplify code
sparrowDom Jun 8, 2025
a50e3b6
simplify code again
sparrowDom Jun 8, 2025
437d3f9
remove unused return variable
sparrowDom Jun 8, 2025
42c9196
simplification
sparrowDom Jun 8, 2025
de683ae
great code simplification
sparrowDom Jun 8, 2025
3b69272
prettier
sparrowDom Jun 8, 2025
ddb22dc
slither
sparrowDom Jun 8, 2025
a1b8fa9
prettier
sparrowDom Jun 8, 2025
6b4ae02
remove unused tickSpacing immutable
sparrowDom Jun 9, 2025
d04130f
do adjustments for the Rooster AMO
sparrowDom Jun 10, 2025
dd29f49
add liquidity
sparrowDom Jun 10, 2025
5aac66c
correct the bug where initial mint wouldn't update the underlying assets
sparrowDom Jun 10, 2025
b274c04
changes to the liqudity script
sparrowDom Jun 11, 2025
9466a27
simplify the add liquidity params code
sparrowDom Jun 11, 2025
ffbf5bc
Merge remote-tracking branch 'origin/master' into sparrowDom/roosterAMO
sparrowDom Jun 11, 2025
5f4c4e6
nicer formatting
sparrowDom Jun 11, 2025
58f849f
improve style
sparrowDom Jun 11, 2025
70ad5dd
for consistency update underlying assets after burning the OETHp tokens
sparrowDom Jun 11, 2025
3640538
unify fork/mainnet approach
sparrowDom Jun 11, 2025
d1c7f8e
remove the unneeded require
sparrowDom Jun 11, 2025
49a4371
better name and comment
sparrowDom Jun 11, 2025
b6c7fc8
order and whitespaces
sparrowDom Jun 11, 2025
5de0f1b
slight improvement
sparrowDom Jun 11, 2025
935257c
read the binId dynamically from the configured tick number
sparrowDom Jun 11, 2025
97af511
group branching logic
sparrowDom Jun 12, 2025
8e0eba5
move event to the last step of the function
sparrowDom Jun 12, 2025
51cd18b
correct comment
sparrowDom Jun 12, 2025
9b1ba1a
correct comment
sparrowDom Jun 12, 2025
12350c8
better variable name
sparrowDom Jun 12, 2025
cb60e34
remove deposit threshold check on depositAll
sparrowDom Jun 12, 2025
de41756
assign storage variable directly
sparrowDom Jun 12, 2025
6e5f497
approve the calculated value
sparrowDom Jun 12, 2025
236b682
remove references to OETHp and rename variables to a more general OETH
sparrowDom Jun 13, 2025
e34992c
lint
sparrowDom Jun 13, 2025
a10b98b
fix test
sparrowDom Jun 13, 2025
0594cf8
Merge remote-tracking branch 'origin/master' into sparrowDom/roosterAMO
sparrowDom Jun 13, 2025
7ff0628
correct reference link
sparrowDom Jun 13, 2025
8c3c354
adjust some comments and function location
sparrowDom Jun 13, 2025
c03a1c6
add some more tests
sparrowDom Jun 13, 2025
dc6a0b0
fix typo
sparrowDom Jun 13, 2025
2d02162
add more tests
sparrowDom Jun 13, 2025
0d044db
prettier
sparrowDom Jun 17, 2025
a4f252b
correct for rounding issues when withdrawing WETH
sparrowDom Jun 17, 2025
f64497b
remove unneeded gas optimisation
sparrowDom Jun 19, 2025
52716c9
gas optimisation
sparrowDom Jun 24, 2025
2c17a17
fix a problem where fork tests are able to rebalance Rooster AMO even…
sparrowDom Jun 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ contracts/.localKeyValueStorage.mainnet
contracts/.localKeyValueStorage.holesky
contracts/scripts/defender-actions/dist/

contracts/lib/defender-actions/dist/

todo.txt
brownie/env-brownie/

Expand Down
Loading