CREATE2 factory permits same-address redeploy
Yearn Finance's assessment for RD-F-144 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
VaultFactory uses create_minimal_proxy_to with create2 salt unique per (msg.sender, asset, name, symbol). Cannot redeploy same address with different bytecode (VAULT_ORIGINAL is immutable; no selfdestruct in factory). Duplicate salt attempts revert.
Sources #
- DocsVaultFactory Docs — Yearn DocsVaultFactory docs — 'deployer will not be able to deploy the exact same vault twice'retrieved 2026-05-16
- VaultFactory.vy — yearn-vaults-v3 GitHubVaultFactory.vy — create_minimal_proxy_to with unique salt; VAULT_ORIGINAL immutableretrieved 2026-05-16
Methodology #
Determine whether a CREATE2 factory deployment allows redeployment to the same address with different bytecode (via selfdestruct + redeploy pattern).
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol yearn-finance factor RD-F-144 score green collected_at 2026-05-16 08:34:32