-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
39 additions
and
20 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
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,22 @@ | ||
// SPDX License Identifier: GPL v3 | ||
|
||
import '../Interfaces/Oracles/IXRETHOracle.sol'; | ||
import '../UpgradeableBase.sol'; | ||
|
||
pragma solidity 0.8.17; | ||
|
||
contract XRETHOracle is IXRETHOracle, UpgradeableBase { | ||
|
||
address public oracleService; // is gonna be rated | ||
|
||
constructor() initializer {} | ||
|
||
/// @dev Initializes the FundRouter contract with the specified directory address. | ||
/// @param _directoryAddress The address of the directory contract. | ||
function initializeOracleService(address _directoryAddress, address _oracleService) public virtual initializer { | ||
super.initialize(_directoryAddress); | ||
oracleService = _oracleService; | ||
} | ||
|
||
function getTotalYieldAccrued() external view override returns (uint) {} | ||
} |
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.