-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add basic steps to deploy OETH to holesky * prettier * minor change * holesky deployment ifles holesky deployment files * add holesky deployment files * minor fix * minor fixes * make the fork tests run on Holesky * add some more tests * testing SSV staking on Holesky * refactor where deployment files are located * more progress on deployment * add deposit to validator deployment files * remove log * prettier * lint * move file * SSV cluster info (#2036) * add ability to fetch SSV cluster information * prettier
- Loading branch information
1 parent
00ec878
commit ec4933b
Showing
138 changed files
with
16,113 additions
and
494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import { OETHOracleRouter } from "./OETHOracleRouter.sol"; | ||
|
||
// @notice Oracle Router that returns 1e18 for all prices | ||
// used solely for deployment to testnets | ||
contract OETHFixedOracle is OETHOracleRouter { | ||
constructor(address _auraPriceFeed) OETHOracleRouter(_auraPriceFeed) {} | ||
|
||
/** | ||
* @dev The price feed contract to use for a particular asset along with | ||
* maximum data staleness | ||
* @param asset address of the asset | ||
* @return feedAddress address of the price feed for the asset | ||
* @return maxStaleness maximum acceptable data staleness duration | ||
*/ | ||
// solhint-disable-next-line no-unused-vars | ||
function feedMetadata(address asset) | ||
internal | ||
view | ||
virtual | ||
override | ||
returns (address feedAddress, uint256 maxStaleness) | ||
{ | ||
// fixes price for all of the assets | ||
feedAddress = FIXED_PRICE; | ||
maxStaleness = 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.