Skip to content

Commit

Permalink
rename IOracle from Morpho interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeNervoXS committed Apr 16, 2024
1 parent 8596ccf commit b1c8bfd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
/// @custom:contact [email protected]
/// @notice Interface that oracles used by Morpho must implement.
/// @dev It is the user's responsibility to select markets with safe oracles.
interface IOracle {
interface IOracleMorpho {
/// @notice Returns the price of 1 asset of collateral token quoted in 1 asset of loan token, scaled by 1e36.
/// @dev It corresponds to the price of 10**(collateral token decimals) assets of collateral token quoted in
/// 10**(loan token decimals) assets of loan token with `36 + loan token decimals - collateral token decimals`
Expand All @@ -21,7 +21,7 @@ interface IOracle {
/// @author Morpho Labs
/// @custom:contact [email protected]
/// @notice Interface of MorphoChainlinkOracleV2.
interface IMorphoChainlinkOracleV2 is IOracle {
interface IMorphoChainlinkOracleV2 is IOracleMorpho {
/// @notice Returns the address of the base ERC4626 vault.
function BASE_VAULT() external view returns (IERC4626);

Expand Down

0 comments on commit b1c8bfd

Please sign in to comment.