Skip to content

Commit

Permalink
clarify function in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkatsios committed Sep 10, 2024
1 parent 8d82ff8 commit 95e25f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/contracts/libraries/Well/LibWell.sol
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ library LibWell {
// should not impact gas.
// LibUsdOracle returns the price with 6 decimal precision.
// This is canceled out by dividing by 1e6.
// This block is then used in calcLPToSupplyRatio that assumes 18 decimal precision,
// This return value is then used in LibEvaluate.calcLPToSupplyRatio that assumes 18 decimal precision,
// so we need to account for whitelisted tokens that have less than 18 decimals by multiplying the
// precision difference.

Expand Down

0 comments on commit 95e25f4

Please sign in to comment.