defirisk.co
rubric v1.7.0

Mixed-decimals math without explicit scaling

dYdX v4 (dYdX Chain)'s assessment for RD-F-017 — scored gray on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

Mixed-decimals arithmetic confusion is conceptually possible in Go perpetuals math (x/perpetuals, x/clob use sdk.Dec and sdk.Int types). The Informal Systems audits cover these modules but specific findings on decimal handling are not accessible from public audit blog summaries. No published Go static analysis for this specific pattern. Pipeline unimplemented for Go substrate.

Sources #

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 dydx-v4 factor RD-F-017 score gray collected_at 2026-05-17 09:58:47