Skip to content

Commit ed80736

Browse files
committed
Merge remote-tracking branch 'origin/docs/natspec-issues' into docs/natspec-issues
2 parents efcda54 + 01dd291 commit ed80736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/morpho-chainlink/MorphoChainlinkOracleV2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ contract MorphoChainlinkOracleV2 is IMorphoChainlinkOracleV2 {
123123
// = 1e36 * (pB1 * 1e(-dB1) * pB2) / (pQ1 * 1e(-dQ1) * pQ2)
124124

125125
// Let fpB1, fpB2, fpQ1, fpQ2 be the feed precision of the respective prices pB1, pB2, pQ1, pQ2.
126-
// Chainlink-compliant feeds return pB1 * 1e(fpB1), pB2 * 1e(fpB2), pQ1 * 1e(fpQ1) and pQ2 * 1e(fpQ2).
126+
// Feeds return pB1 * 1e(fpB1), pB2 * 1e(fpB2), pQ1 * 1e(fpQ1) and pQ2 * 1e(fpQ2).
127127

128128
// Based on the implementation of `price()` below, the value of `SCALE_FACTOR` should thus satisfy:
129129
// (pB1 * 1e(fpB1)) * (pB2 * 1e(fpB2)) * SCALE_FACTOR / ((pQ1 * 1e(fpQ1)) * (pQ2 * 1e(fpQ2)))

0 commit comments

Comments
 (0)