Skip to content

Commit

Permalink
Merge pull request #106 from morpho-org/fix/factory-interface-solidit…
Browse files Browse the repository at this point in the history
…y-version

fix: factory interface solidity version
  • Loading branch information
MathisGD authored Jan 10, 2025
2 parents a25b4ad + ed2d5e7 commit 630ca9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/morpho-chainlink/MorphoChainlinkOracleV2Factory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ contract MorphoChainlinkOracleV2Factory is IMorphoChainlinkOracleV2Factory {
AggregatorV3Interface quoteFeed2,
uint256 quoteTokenDecimals,
bytes32 salt
) external returns (MorphoChainlinkOracleV2 oracle) {
) external returns (IMorphoChainlinkOracleV2 oracle) {
oracle = new MorphoChainlinkOracleV2{salt: salt}(
baseVault,
baseVaultConversionSample,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import {MorphoChainlinkOracleV2} from "../MorphoChainlinkOracleV2.sol";
import {IERC4626} from "../libraries/VaultLib.sol";
import {AggregatorV3Interface} from "../libraries/ChainlinkDataFeedLib.sol";
import {IMorphoChainlinkOracleV2} from "./IMorphoChainlinkOracleV2.sol";

/// @title IMorphoChainlinkOracleV2Factory
/// @author Morpho Labs
Expand Down Expand Up @@ -52,5 +52,5 @@ interface IMorphoChainlinkOracleV2Factory {
AggregatorV3Interface quoteFeed2,
uint256 quoteTokenDecimals,
bytes32 salt
) external returns (MorphoChainlinkOracleV2 oracle);
) external returns (IMorphoChainlinkOracleV2 oracle);
}

0 comments on commit 630ca9a

Please sign in to comment.