Building Scalable protocols with clones
summary
Explains using the clones pattern (sourced from zephron and wigawag) to deploy many validator-specific vaults cheaply by appending immutable arguments to bytecode so they arrive as call data on every call, avoiding storage reads and storage-layout collisions that plague proxies. Tenderize uses this to set four parameters per instance (asset, validator, two modules), saving gas compared with storage-backed proxies and removing unsafe initialize flows; it’s implemented in production and scales to hundreds of instances (e.g., ~300 indexer-like contracts).
AI-written summary · about
