Skip to content

Commit

Permalink
docs: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Feb 28, 2024
1 parent bc4e36d commit 09029f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/morpho-chainlink/MorphoChainlinkOracleV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down

0 comments on commit 09029f5

Please sign in to comment.