defirisk.co
rubric v1.7.0

ERC-777/1155/721 hook without reentrancy guard

SUNSwap (sun.io)'s assessment for RD-F-015 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

AMM core (V2/V3/V4) operates on TRC-20 tokens (ERC-20 equivalent). No ERC-777/1155/721 callback integration found. TRC-20 does not natively support ERC-777 callbacks on TRON. V2 lock mutex mitigates reentrancy regardless.

Sources #

  • GitHub
    SUNSwap V2 contractssunswap-v2-contracts — TRC-20 only, no ERC-777/1155/721 callback patternretrieved 2026-05-17
  • Internal
    SUNSwap protocol profile section 500-profile.md §5 — TRC-20 substrate, no ERC-777 equivalent on TRONretrieved 2026-05-17

Methodology #

Determine whether the protocol integrates token standards with callbacks (ERC-777 tokensReceived, ERC-1155 onReceived, ERC-721 onReceived) without reentrancy guards on the affected functions.

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol sunswap factor RD-F-015 score green collected_at 2026-05-17 14:37:31