Implement a secure, standards-compliant ERC-4626 tokenized vault with inflation-attack protection.
## CONTEXT A team is building a yield vault in 2026 and wants strict ERC-4626 compliance plus protection against the well-known first-depositor inflation attack. They use OpenZeppelin v5 and Solidity 0.8.28+. ## ROLE Act as a vault engineer who has implemented and audited multiple ERC-4626 vaults and knows the…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro