This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
11 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 |
---|---|---|
|
@@ -13,23 +13,16 @@ import "../BasePriceOracle.sol"; | |
* @author Veliko Minkov <[email protected]> (https://github.com/vminkov) | ||
*/ | ||
contract RedstoneAdapterPriceOracle is BasePriceOracle { | ||
/** | ||
* @notice The USD Token of the chain | ||
*/ | ||
address public USD_TOKEN; | ||
|
||
/** | ||
* @notice The Redstone oracle contract | ||
*/ | ||
IRedstoneOracle public REDSTONE_ORACLE; | ||
|
||
/** | ||
* @dev Constructor to set admin, wtoken address and native token USD price feed address | ||
* @param _usdToken The Wrapped native asset address | ||
* @param redstoneOracle The Redstone oracle contract address | ||
*/ | ||
constructor(address _usdToken, address redstoneOracle) { | ||
USD_TOKEN = _usdToken; | ||
constructor(address redstoneOracle) { | ||
REDSTONE_ORACLE = IRedstoneOracle(redstoneOracle); | ||
} | ||
|
||
|
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