-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/chainlink' of github.com:morpho-labs/morpho-blue-o…
…racles into merlin-review
- Loading branch information
Showing
4 changed files
with
22 additions
and
21 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 |
---|---|---|
|
@@ -5,12 +5,12 @@ import {IOracle} from "morpho-blue/interfaces/IOracle.sol"; | |
|
||
import {AggregatorV3Interface, DataFeedLib} from "./libraries/DataFeedLib.sol"; | ||
|
||
/// @title Oracle4 | ||
/// @title OracleFourFeeds | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Oracle using 4 Chainlink-compliant feeds to compute the price of a collateral token quoted in a borrowable | ||
/// token within a Morpho Blue market. | ||
contract Oracle4 is IOracle { | ||
contract OracleFourFeeds is IOracle { | ||
using DataFeedLib for AggregatorV3Interface; | ||
|
||
/* IMMUTABLES */ | ||
|
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 |
---|---|---|
|
@@ -5,12 +5,12 @@ import {IOracle} from "morpho-blue/interfaces/IOracle.sol"; | |
|
||
import {AggregatorV3Interface, DataFeedLib} from "./libraries/DataFeedLib.sol"; | ||
|
||
/// @title Oracle2 | ||
/// @title OracleTwoFeeds | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Oracle using 2 Chainlink-compliant feeds to compute the price of a collateral token quoted in a borrowable | ||
/// token within a Morpho Blue market. | ||
contract Oracle2 is IOracle { | ||
contract OracleTwoFeeds is IOracle { | ||
using DataFeedLib for AggregatorV3Interface; | ||
|
||
/* IMMUTABLES */ | ||
|
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