Skip to content

Commit efcda54

Browse files
committed
docs: adapt constructor natspec
1 parent 3e65407 commit efcda54

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/morpho-chainlink/MorphoChainlinkOracleV2.sol

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,10 @@ contract MorphoChainlinkOracleV2 is IMorphoChainlinkOracleV2 {
5252
/// @dev Here is the list of assumptions that guarantees the oracle behaves as expected:
5353
/// - Feeds are either Chainlink-compliant or the address zero.
5454
/// - Feeds have the same behavioral assumptions as Chainlink's.
55-
/// - Feeds are set in the correct order.
55+
/// - The vaults, if set, are ERC4626-compliant.
5656
/// - Decimals passed as argument are correct.
57-
/// - The vaults' sample shares quoted as assets and the base feed prices don't overflow when multiplied.
58-
/// - The quote feed prices don't overflow when multiplied.
59-
/// - Vaults are either ERC4626-compliant or the address zero.
60-
/// @dev The base asset is the collateral token and the quote asset is the loan token.
57+
/// - The base vaults's sample shares quoted as assets and the base feed prices don't overflow when multiplied.
58+
/// - The quote vault's sample shares quoted as assets and the quote feed prices don't overflow when multiplied.
6159
/// @param baseVault Base vault. Pass address zero to omit this parameter.
6260
/// @param baseVaultConversionSample The sample amount of base vault shares used to convert to underlying.
6361
/// Pass 1 if the base asset is not a vault. Should be chosen such that converting `baseVaultConversionSample` to

0 commit comments

Comments
 (0)