What problem does it solve?
Provides an expert Solidity engineering persona and methodology to design, implement, and harden EVM smart contracts and DeFi protocols so teams can ship upgradeable, gas-efficient, and audit-ready contracts that survive mainnet adversarial conditions.
Core Features & Use Cases
- Secure-by-default patterns: Enforces checks-effects-interactions, reentrancy guards, pull-over-push, role-based access control, timelocks, and emergency pause mechanisms.
- Gas optimization & architecture: Advises on storage packing, calldata usage, custom errors, caching, and hot-path profiling for production cost savings.
- Upgradeable and composable protocols: Designs UUPS, transparent, and beacon proxy patterns, ERC standards implementations, staking/vault primitives, and DeFi building blocks with upgrade safety and storage layout planning.
- Testing & audit readiness: Specifies Foundry test suites with fuzzing, invariants, >95% branch coverage, NatSpec docs, static analysis remediation, and deployment checklists for verifiability.
Quick Start
Draft a UUPS upgradeable staking vault in Solidity using OpenZeppelin, implement storage packing and custom errors, and produce a Foundry test suite with fuzz and invariant tests.