From 7abc4f20004113b37a028482bcc30244ccef96cf Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Wed, 4 Oct 2023 17:08:51 +0200 Subject: [PATCH] docs: update comments --- src/chainlink/OracleFourFeeds.sol | 4 +--- src/chainlink/OracleTwoFeeds.sol | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/chainlink/OracleFourFeeds.sol b/src/chainlink/OracleFourFeeds.sol index c1cca4a..ebdaa1c 100644 --- a/src/chainlink/OracleFourFeeds.sol +++ b/src/chainlink/OracleFourFeeds.sol @@ -8,8 +8,7 @@ import {AggregatorV3Interface, DataFeedLib} from "./libraries/DataFeedLib.sol"; /// @title OracleFourFeeds /// @author Morpho Labs /// @custom:contact security@morpho.org -/// @notice Oracle using 4 Chainlink-compliant feeds to compute the price of a collateral token quoted in a borrowable -/// token within a Morpho Blue market. +/// @notice Morpho Blue oracle using 4 Chainlink-compliant feeds. contract OracleFourFeeds is IOracle { using DataFeedLib for AggregatorV3Interface; @@ -28,7 +27,6 @@ contract OracleFourFeeds is IOracle { /* CONSTRUCTOR */ - /// @dev Initializes the contract. /// @param firstBaseFeed First base feed. Pass address zero if the price = 1. /// @param secondBaseFeed Second base feed. Pass address zero if the price = 1. /// @param firstQuoteFeed Quote feed. Pass address zero if the price = 1. diff --git a/src/chainlink/OracleTwoFeeds.sol b/src/chainlink/OracleTwoFeeds.sol index 7ac8701..d2142aa 100644 --- a/src/chainlink/OracleTwoFeeds.sol +++ b/src/chainlink/OracleTwoFeeds.sol @@ -8,8 +8,7 @@ import {AggregatorV3Interface, DataFeedLib} from "./libraries/DataFeedLib.sol"; /// @title OracleTwoFeeds /// @author Morpho Labs /// @custom:contact security@morpho.org -/// @notice Oracle using 2 Chainlink-compliant feeds to compute the price of a collateral token quoted in a borrowable -/// token within a Morpho Blue market. +/// @notice Morpho Blue oracle using 2 Chainlink-compliant feeds. contract OracleTwoFeeds is IOracle { using DataFeedLib for AggregatorV3Interface; @@ -24,7 +23,6 @@ contract OracleTwoFeeds is IOracle { /* CONSTRUCTOR */ - /// @dev Initializes the contract. /// @param baseFeed Base feed. Pass address zero if the price = 1. /// @param quoteFeed Quote feed. Pass address zero if the price = 1. /// @param baseTokenDecimals Base token decimals.