Skip to content

Commit 01dd291

Browse files
authored
docs: minor improvement
Signed-off-by: MathisGD <[email protected]>
1 parent 3e65407 commit 01dd291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/morpho-chainlink/MorphoChainlinkOracleV2.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ contract MorphoChainlinkOracleV2 is IMorphoChainlinkOracleV2 {
125125
// = 1e36 * (pB1 * 1e(-dB1) * pB2) / (pQ1 * 1e(-dQ1) * pQ2)
126126

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

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

0 commit comments

Comments
 (0)