-
Notifications
You must be signed in to change notification settings - Fork 28
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
1 parent
8a6bbf5
commit 7abc4f2
Showing
2 changed files
with
2 additions
and
6 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 |
---|---|---|
|
@@ -8,8 +8,7 @@ import {AggregatorV3Interface, DataFeedLib} from "./libraries/DataFeedLib.sol"; | |
/// @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. | ||
/// @notice Morpho Blue oracle using 4 Chainlink-compliant feeds. | ||
contract OracleFourFeeds is IOracle { | ||
using DataFeedLib for AggregatorV3Interface; | ||
|
||
|
@@ -28,7 +27,6 @@ contract OracleFourFeeds is IOracle { | |
|
||
/* CONSTRUCTOR */ | ||
|
||
/// @dev Initializes the contract. | ||
/// @param firstBaseFeed First base feed. Pass address zero if the price = 1. | ||
/// @param secondBaseFeed Second base feed. Pass address zero if the price = 1. | ||
/// @param firstQuoteFeed Quote feed. Pass address zero if the price = 1. | ||
|
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 |
---|---|---|
|
@@ -8,8 +8,7 @@ import {AggregatorV3Interface, DataFeedLib} from "./libraries/DataFeedLib.sol"; | |
/// @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. | ||
/// @notice Morpho Blue oracle using 2 Chainlink-compliant feeds. | ||
contract OracleTwoFeeds is IOracle { | ||
using DataFeedLib for AggregatorV3Interface; | ||
|
||
|
@@ -24,7 +23,6 @@ contract OracleTwoFeeds is IOracle { | |
|
||
/* CONSTRUCTOR */ | ||
|
||
/// @dev Initializes the contract. | ||
/// @param baseFeed Base feed. Pass address zero if the price = 1. | ||
/// @param quoteFeed Quote feed. Pass address zero if the price = 1. | ||
/// @param baseTokenDecimals Base token decimals. | ||
|