Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vminkov committed Mar 8, 2024
1 parent 3cd6b07 commit 5c50823
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contracts/external/redstone/IRedstoneOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface IRedstoneOracle {

function priceOfETH() external view returns (uint256);

function getDataFeedIdForAsset(address asset) external view returns(bytes32);
function getDataFeedIdForAsset(address asset) external view returns (bytes32);

function getDataFeedIds() external view returns (bytes32[] memory dataFeedIds);
}
5 changes: 1 addition & 4 deletions contracts/oracles/default/RedstoneAdapterPriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ contract RedstoneAdapterPriceOracle is BasePriceOracle {
* @param _usdToken The Wrapped native asset address
* @param redstoneOracle The Redstone oracle contract address
*/
constructor(
address _usdToken,
address redstoneOracle
) {
constructor(address _usdToken, address redstoneOracle) {
USD_TOKEN = _usdToken;
REDSTONE_ORACLE = IRedstoneOracle(redstoneOracle);
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/oracles/RedstoneAdapterOracleTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ contract RedstoneAdapterOracleTest is BaseTest {
emit log_named_uint("ezETH price (18 dec)", oracle.price(MODE_EZETH));
emit log_named_uint("WBTC price (8 dec)", oracle.price(MODE_WBTC));
}
}
}

0 comments on commit 5c50823

Please sign in to comment.