Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
338da0f
initial commit
sparrowDom Feb 11, 2026
fcf4a61
add some deployment files
sparrowDom Feb 11, 2026
70d2412
commit for easier diffs
sparrowDom Feb 12, 2026
3c5655e
rename the variable in stableswap
sparrowDom Feb 13, 2026
8e40837
fix the fork tests and adjust them to refactoring
sparrowDom Feb 14, 2026
4a9d40a
fix fork tests
sparrowDom Feb 14, 2026
681dfda
add strategy file
sparrowDom Feb 14, 2026
f7ffaec
start re-working tests
sparrowDom Feb 16, 2026
adc2645
migrate some more tests
sparrowDom Feb 16, 2026
154e81c
more work on fork tests
sparrowDom Feb 16, 2026
f64f5e0
fix the fork tests
sparrowDom Feb 16, 2026
5206926
prepare supernova fixture
sparrowDom Feb 16, 2026
6cda7e3
separate pool tilt config into a separate file
sparrowDom Feb 16, 2026
d167231
fix 6 more fork tests
sparrowDom Feb 20, 2026
8566cf9
remove only
sparrowDom Feb 20, 2026
6ceb0c1
fix some more fork tests
sparrowDom Feb 20, 2026
feddfd7
fix the swap contract code issue and ~10 fork test as a side effect
sparrowDom Feb 20, 2026
4affe87
test cleanup
sparrowDom Feb 20, 2026
ff4edb8
moving additional values to configuration field
sparrowDom Feb 20, 2026
0ad876c
fix 3 more tests
sparrowDom Feb 20, 2026
1800d1d
fix fork test and prettier
sparrowDom Feb 21, 2026
0948678
Merge remote-tracking branch 'origin/master' into sparrowDom/supernov…
sparrowDom Feb 21, 2026
d571d52
WETH no longer requres whitelisting
sparrowDom Feb 21, 2026
f8ab0ab
typo
sparrowDom Feb 21, 2026
03e81d9
fix up the harvester test
sparrowDom Feb 22, 2026
5c96c30
Fix spelling in Sonic fixture
naddison36 Feb 23, 2026
53510c1
Update Natspec of OETHSupernovaAMOProxy
naddison36 Feb 23, 2026
faec0cf
Update comment in deployActions.js
naddison36 Feb 23, 2026
57e2148
Update comment in Sonic fixture
naddison36 Feb 23, 2026
15bc2af
Fix comment in Sonic fixture
naddison36 Feb 23, 2026
eb15b5b
Supernova AMO additions (#2811)
naddison36 Feb 26, 2026
540e480
add live pool and gauge
sparrowDom Feb 26, 2026
eff6da2
fix fork tests
sparrowDom Feb 26, 2026
e07d995
prettier
sparrowDom Feb 26, 2026
d24c358
Merge remote-tracking branch 'origin/master' into sparrowDom/supernov…
sparrowDom Feb 26, 2026
b28575d
fix log
sparrowDom Feb 26, 2026
4a7750c
Bumped deploy number
naddison36 Feb 26, 2026
1625dc6
correct comment
sparrowDom Feb 27, 2026
6bde7d3
combine vault upgrade and supernova deploy into a single governance p…
sparrowDom Feb 27, 2026
5d1a14f
fix typo
sparrowDom Feb 27, 2026
4e49bd8
prettier
sparrowDom Feb 28, 2026
00a4130
fix some comments
sparrowDom Mar 2, 2026
cbf4344
send tokens after amount out calculation
sparrowDom Mar 2, 2026
f1fb146
add a nicer error message when pool is completely tilted into 1 direc…
sparrowDom Mar 2, 2026
b846277
add range protection for maxDepeg
sparrowDom Mar 2, 2026
ef23e98
Merge remote-tracking branch 'origin/master' into sparrowDom/supernov…
sparrowDom Mar 2, 2026
cac09bd
simplify code
sparrowDom Mar 2, 2026
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
9 changes: 8 additions & 1 deletion contracts/contracts/interfaces/IVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,18 @@ interface IVault {

function getAllStrategies() external view returns (address[] memory);

/// @notice Deprecated.
function strategies(address _addr)
external
view
returns (VaultStorage.Strategy memory);

/// @notice Deprecated: use `asset()` instead.
function isSupportedAsset(address _asset) external view returns (bool);

function asset() external view returns (address);

function oToken() external view returns (address);

function initialize(address) external;

function addWithdrawalQueueLiquidity() external;
Expand Down
7 changes: 7 additions & 0 deletions contracts/contracts/proxies/Proxies.sol
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,10 @@ contract CompoundingStakingSSVStrategyProxy is
contract OUSDMorphoV2StrategyProxy is InitializeGovernedUpgradeabilityProxy {

}

/**
* @notice OETHSupernovaAMOProxy delegates calls to an OETHSupernovaAMOStrategy implementation
*/
contract OETHSupernovaAMOProxy is InitializeGovernedUpgradeabilityProxy {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

/**
* @title Supernova OETH Algorithmic Market Maker (AMO) Strategy
* @notice AMO strategy for the Supernova OETH/WETH stable pool
* @author Origin Protocol Inc
*/
import { StableSwapAMMStrategy } from "./StableSwapAMMStrategy.sol";

contract OETHSupernovaAMOStrategy is StableSwapAMMStrategy {
/**
* @param _baseConfig The `platformAddress` is the address of the Supernova OETH/WETH pool.
* The `vaultAddress` is the address of the OETH Vault.
* @param _gauge Address of the Supernova gauge for the pool.
*/
constructor(BaseStrategyConfig memory _baseConfig, address _gauge)
StableSwapAMMStrategy(_baseConfig, _gauge)
{}
}
19 changes: 19 additions & 0 deletions contracts/contracts/strategies/algebra/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Diagrams

## OETH Supernova AMO Strategy

### Hierarchy

![OETH Supernova AMO Strategy Hierarchy](../../../docs/OETHSupernovaAMOStrategyHierarchy.svg)

### Interactions

![OETH Supernova AMO Strategy Interactions](../../../docs/OETHSupernovaAMOStrategyInteractions.svg)

### Squashed

![OETH Supernova AMO Strategy Squashed](../../../docs/OETHSupernovaAMOStrategySquashed.svg)

### Storage

![OETH Supernova AMO Strategy Storage](../../../docs/OETHSupernovaAMOStrategyStorage.svg)
Loading
Loading