Signed/unsigned arithmetic confusion
Curve Finance's assessment for RD-F-018 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
Vyper uses explicit integer types (uint256, int256) with no implicit signed/unsigned confusion; implicit casts are compile-time errors. No public audit finding flags signed/unsigned confusion in NG contracts. Vyper's type system structurally prevents this class of error.
Sources #
- GitHubCurveTricryptoOptimizedWETH.vy source inspectionCurveTricryptoOptimizedWETH.vy — Vyper type-safe arithmeticretrieved 2026-04-28
Methodology #
Determine whether signed-integer conversions or comparisons where unsigned was intended exist in the deployed bytecode/source.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol curve-v2 factor RD-F-018 score green collected_at 2026-04-28 19:48:40