Divide-before-multiply pattern
M^0's assessment for RD-F-016 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
ContinuousIndexingMath.sol uses explicit divideDown/divideUp and multiplyDown/multiplyUp wrappers with deliberate rounding semantics. MinterGateway uses explicit rounding in collateral accounting. Certora FV covers arithmetic invariants. No divide-before-multiply pattern detected in source review.
Sources #
- GitHubContinuousIndexing.sol sourceContinuousIndexing.sol — explicit rounding wrappersretrieved 2026-05-16
Methodology #
Determine whether Slither's `divide-before-multiply` detector fires on the deployed verified source.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol m0 factor RD-F-016 score green collected_at 2026-05-16 09:46:19