CryptoForgeVaultFactory
Factory contract for deploying governance-controlled ERC-4626 yield vaults.
Product 10 of the vault-forge store. Part of the CryptoForge DeFi toolkit.
Price: $14.99 | License: MIT | Solidity: ^0.8.24 | Framework: Foundry
Overview
CryptoForgeVaultFactory is a governance-controlled factory that deploys new CryptoForgeVault (ERC-4626) instances. It maintains:
- Approved asset whitelist — only whitelisted ERC-20 tokens can be used as vault underlyings
- Approved strategy whitelist — only whitelisted yield strategies can be assigned to vaults
- Default fee configuration — new vaults inherit default fees unless overridden
- Vault registry — on-chain record of all deployed vaults for monitoring and governance
Each deployed vault is a full-featured ERC-4626 vault with:
- Management fees (annualized, via share dilution)
- Performance fees (on yield above high-water mark)
- Timelocked admin operations (48h delay on fee/strategy changes)
- Emergency pause functionality
- Virtual shares for inflation attack resistance
🔒 Available in full product
Architecture
🔒 Available in full product
Installation
You’ve reached the end of the free preview
Get the full Vault Factory Contract and unlock everything.
All Chapters
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Full Tool Suite
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Source Files
Downloadable source code, configuration files, and working examples from every chapter.
Lifetime Updates
Free updates for life. Every new chapter, tool, and improvement included.
Buy Now — $15 →
📦 Free sample included — download another copy for the full product.
Vault Factory Contract v1.0.0 — Free Preview