Skip to content

Commit 09029f5

Browse files
committed
docs: minor fixes
1 parent bc4e36d commit 09029f5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/morpho-chainlink/MorphoChainlinkOracleV2.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ contract MorphoChainlinkOracleV2 is IMorphoChainlinkOracleV2 {
7070
/// @param quoteFeed1 First quote feed. Pass address zero if the price = 1.
7171
/// @param quoteFeed2 Second quote feed. Pass address zero if the price = 1.
7272
/// @param quoteTokenDecimals Quote token decimals.
73+
/// @dev The base asset should be the collateral token and the quote asset the loan token.
7374
constructor(
7475
IERC4626 baseVault,
7576
uint256 baseVaultConversionSample,

src/morpho-chainlink/interfaces/IMorphoChainlinkOracleV2Factory.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ interface IMorphoChainlinkOracleV2Factory {
2222
/// - Feeds are either Chainlink-compliant or the address zero.
2323
/// - Feeds have the same behavioral assumptions as Chainlink's.
2424
/// - The vaults, if set, are ERC4626-compliant.
25+
/// - The feeds, if set, are Chainlink-interface-compliant.
2526
/// - Decimals passed as argument are correct.
2627
/// - The base vaults's sample shares quoted as assets and the base feed prices don't overflow when multiplied.
2728
/// - 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 {
4041
/// @param quoteFeed2 Second quote feed. Pass address zero if the price = 1.
4142
/// @param quoteTokenDecimals Quote token decimals.
4243
/// @param salt The salt to use for the CREATE2.
44+
/// @dev The base asset should be the collateral token and the quote asset the loan token.
4345
function createMorphoChainlinkOracleV2(
4446
IERC4626 baseVault,
4547
uint256 baseVaultConversionSample,

0 commit comments

Comments
 (0)