diff --git a/src/morpho-chainlink/MorphoChainlinkOracleV2.sol b/src/morpho-chainlink/MorphoChainlinkOracleV2.sol index 3cb291d..f666e4f 100644 --- a/src/morpho-chainlink/MorphoChainlinkOracleV2.sol +++ b/src/morpho-chainlink/MorphoChainlinkOracleV2.sol @@ -70,6 +70,7 @@ contract MorphoChainlinkOracleV2 is IMorphoChainlinkOracleV2 { /// @param quoteFeed1 First quote feed. Pass address zero if the price = 1. /// @param quoteFeed2 Second quote feed. Pass address zero if the price = 1. /// @param quoteTokenDecimals Quote token decimals. + /// @dev The base asset should be the collateral token and the quote asset the loan token. constructor( IERC4626 baseVault, uint256 baseVaultConversionSample, diff --git a/src/morpho-chainlink/interfaces/IMorphoChainlinkOracleV2Factory.sol b/src/morpho-chainlink/interfaces/IMorphoChainlinkOracleV2Factory.sol index d9874ec..b40dba1 100644 --- a/src/morpho-chainlink/interfaces/IMorphoChainlinkOracleV2Factory.sol +++ b/src/morpho-chainlink/interfaces/IMorphoChainlinkOracleV2Factory.sol @@ -22,6 +22,7 @@ interface IMorphoChainlinkOracleV2Factory { /// - Feeds are either Chainlink-compliant or the address zero. /// - Feeds have the same behavioral assumptions as Chainlink's. /// - The vaults, if set, are ERC4626-compliant. + /// - The feeds, if set, are Chainlink-interface-compliant. /// - Decimals passed as argument are correct. /// - The base vaults's sample shares quoted as assets and the base feed prices don't overflow when multiplied. /// - The quote vault's sample shares quoted as assets and the quote feed prices don't overflow when multiplied. @@ -40,6 +41,7 @@ interface IMorphoChainlinkOracleV2Factory { /// @param quoteFeed2 Second quote feed. Pass address zero if the price = 1. /// @param quoteTokenDecimals Quote token decimals. /// @param salt The salt to use for the CREATE2. + /// @dev The base asset should be the collateral token and the quote asset the loan token. function createMorphoChainlinkOracleV2( IERC4626 baseVault, uint256 baseVaultConversionSample,