Update some comments

Signed-off-by: AlienTornadosaurusHex <>
This commit is contained in:
AlienTornadosaurusHex 2023-06-16 22:52:33 +00:00
parent 5765376121
commit 80a47ad36d

@ -160,7 +160,7 @@ library CurveChainedOracles {
* @title CurveFeeOracle
* @author AlienTornadosaurusHex
* @notice Many Curve contracts now have an EMA/TWAP Oracle which can be used instead of having to rely on
* Chainlink (Offchain) Pricefeeds or Uniswap V3 Twap Oracles. We do not use Metapools because they do not
* Chainlink (Offchain) Pricefeeds or Uniswap Twap Oracles. We do not use Metapools because they do not
* have a safe enough TWAP oracle, instead we use the `price_oracle` capable contracts, which use a safer
* analytical solution.
*/
@ -188,12 +188,12 @@ contract CurveFeeOracle is IFeeOracle {
mapping(bytes32 => string) public chainedPriceOracleNames;
/**
* @notice Our Uniswap V3 Fee Oracle, we will need it some time for TORN/ETH
* @notice Our Uniswap Fee Oracle, we will need it some time for TORN/ETH
*/
UniswapFeeOracle public uniswapFeeOracle;
/**
* @notice We will not need the Uniswap V3 Oracle forever though, TORN/ETH pools are possible on Curve too
* @notice We will not need the Uniswap Oracle forever though, TORN/ETH pools are possible on Curve too
*/
bool public tornOracleIsUniswap;
@ -243,7 +243,7 @@ contract CurveFeeOracle is IFeeOracle {
) / UniswapV3OracleHelper.RATIO_DIVIDER;
}
// The price is now either prepared by the chained oracles or by Uniswap V3, in any case we do the
// The price is now either prepared by the chained oracles or by Uniswap, in any case we do the
// legacy calculation and return the fee value
return uint160(
_instance.logic.denomination().mul(price).div(UniswapV3OracleHelper.RATIO_DIVIDER).mul(