Commit ff627d2
Supernova AMO (#2800)
* initial commit
* add some deployment files
* commit for easier diffs
* rename the variable in stableswap
* fix the fork tests and adjust them to refactoring
* fix fork tests
* add strategy file
* start re-working tests
* migrate some more tests
* more work on fork tests
* fix the fork tests
* prepare supernova fixture
* separate pool tilt config into a separate file
* fix 6 more fork tests
* remove only
* fix some more fork tests
* fix the swap contract code issue and ~10 fork test as a side effect
* test cleanup
* moving additional values to configuration field
* fix 3 more tests
* fix fork test and prettier
* WETH no longer requres whitelisting
* typo
* fix up the harvester test
* Fix spelling in Sonic fixture
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update Natspec of OETHSupernovaAMOProxy
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update comment in deployActions.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update comment in Sonic fixture
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix comment in Sonic fixture
* Supernova AMO additions (#2811)
* Removed asset and oToken from StableSwapAMMStrategy constructor
Added oToken to IVault which is used by StableSwapAMMStrategy constructor
Removed calculateRedeemOutput and calculateRedeemOutputs from IVault
* Added contract diagrams for OETHSupernovaAMOStrategy
* Fix SwapX AMO fork tests
* Fix SwapX AMO fork tests
* More rounding issues with Algebra fork tests
* add live pool and gauge
* fix fork tests
* prettier
* fix log
* Bumped deploy number
* correct comment
* combine vault upgrade and supernova deploy into a single governance proposal
* fix typo
* prettier
* fix some comments
* send tokens after amount out calculation
* add a nicer error message when pool is completely tilted into 1 direction
* add range protection for maxDepeg
* simplify code
---------
Co-authored-by: Nick Addison <nick@addisonbrown.com.au>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 6b88f3d commit ff627d2
23 files changed
Lines changed: 4277 additions & 2498 deletions
File tree
- contracts
- contracts
- interfaces
- algebra
- proxies
- strategies
- algebra
- sonic
- deploy
- mainnet
- sonic
- docs
- test
- behaviour
- strategies
- sonic
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| 152 | + | |
| 153 | + | |
147 | 154 | | |
148 | 155 | | |
149 | 156 | | |
| |||
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments