Reentrancy guard on external-calling functions
Stargate Finance's assessment for RD-F-014 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
StargatePool's core functions (deposit(), redeem(), redeemSend()) are protected by the custom `nonReentrantAndNotPaused` modifier inherited from StargateBase. This modifier uses a 3-state status variable (NOT_ENTERED=1, ENTERED=2, PAUSED=3) and reverts on reentrant calls. Equivalent to OpenZeppelin's ReentrancyGuard pattern.
Sources #
- Curator noteExtracted from 01-code-security.md — RD-F-014 finding; no URL cited in originalretrieved 2026-04-28
Methodology #
Determine whether all state-mutating functions that perform external calls carry `nonReentrant` or an equivalent reentrancy guard.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol stargate factor RD-F-014 score green collected_at 2026-04-28 01:38:41