defirisk.co
rubric v1.7.0

Mixed-decimals math without explicit scaling

SUNSwap (sun.io)'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 #

DEX AMM inherently handles tokens of different decimals. V2/V3/V4 inherit Uniswap's decimal-handling approach. TRC-20 tokens have 6-decimal convention (vs ERC-20 18-decimal) — a deviation but router-layer concern. No published tool output for sunswap.

Sources #

  • Internal
    SUNSwap protocol profile section 500-profile.md §5 — TRC-20 substrate note (6-decimal convention)retrieved 2026-05-17
  • GitHub
    SUNSwap V2 contractssunswap-v2-contracts — Uniswap V2-derived decimal handlingretrieved 2026-05-17

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 sunswap factor RD-F-017 score gray collected_at 2026-05-17 14:37:31