Skip to content

Commit ed2d5e7

Browse files
committed
fix: compilation
1 parent f93f316 commit ed2d5e7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/morpho-chainlink/MorphoChainlinkOracleV2Factory.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ contract MorphoChainlinkOracleV2Factory is IMorphoChainlinkOracleV2Factory {
3333
AggregatorV3Interface quoteFeed2,
3434
uint256 quoteTokenDecimals,
3535
bytes32 salt
36-
) external returns (MorphoChainlinkOracleV2 oracle) {
36+
) external returns (IMorphoChainlinkOracleV2 oracle) {
3737
oracle = new MorphoChainlinkOracleV2{salt: salt}(
3838
baseVault,
3939
baseVaultConversionSample,

src/morpho-chainlink/interfaces/IMorphoChainlinkOracleV2Factory.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pragma solidity >=0.5.0;
33

44
import {IERC4626} from "../libraries/VaultLib.sol";
55
import {AggregatorV3Interface} from "../libraries/ChainlinkDataFeedLib.sol";
6+
import {IMorphoChainlinkOracleV2} from "./IMorphoChainlinkOracleV2.sol";
67

78
/// @title IMorphoChainlinkOracleV2Factory
89
/// @author Morpho Labs
@@ -51,5 +52,5 @@ interface IMorphoChainlinkOracleV2Factory {
5152
AggregatorV3Interface quoteFeed2,
5253
uint256 quoteTokenDecimals,
5354
bytes32 salt
54-
) external returns (address oracle);
55+
) external returns (IMorphoChainlinkOracleV2 oracle);
5556
}

0 commit comments

Comments
 (0)