Skip to content

fix: factory interface solidity version #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
}
Loading