Mixed-decimals math without explicit scaling
Dolomite's assessment for RD-F-017 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
DolomiteMargin uses Wei/Par accounting model where all balances are stored in a normalized form with conversion through index values. Architecture designed to handle multi-decimal tokens through price oracle integration. OZ 2019 audit and SECBIT 2021 audit covered arithmetic safety. No mixed-decimal vulnerability flagged in any known audit.
Sources #
- AuditSolo Margin Protocol Audit — OpenZeppelinOZ 2019 Solo Margin audit: arithmetic coverage (0 critical, 2 high findings — neither was mixed-decimals)retrieved 2026-05-16
- DolomiteMargin READMEREADME: Wei/Par balance system — normalized accounting across all token typesretrieved 2026-05-16
Methodology #
Determine whether shared numerator/denominator arithmetic operates over tokens with different decimals without WAD/RAY normalization or explicit decimal-adjustment.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol dolomite factor RD-F-017 score green collected_at 2026-05-16 11:12:56