Mixed-decimals math without explicit scaling
Curve Finance'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 #
CurveStableSwapNG.vy explicitly handles rate_multipliers for decimal normalization of different token types. NG contracts were specifically designed to support mixed-decimal tokens including ERC-4626 vaults with variable decimals. MixBytes audit confirmed fix of rebasing token balance accounting. Decimal normalization is a core design feature of Curve's AMM.
Sources #
- GitHubCurveStableSwapNG.vy source inspectionCurveStableSwapNG.vy — rate_multipliers for decimal normalization documented in headerretrieved 2026-04-28
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 curve-v2 factor RD-F-017 score green collected_at 2026-04-28 19:48:40