| name | review-contracts |
| description | Deep-dive review of the Solidity smart contract architecture |
| disable-model-invocation | true |
Review and explain the Solidity smart contract architecture.
Read and analyze these key files:
contracts/src/interfaces/ISmartVault.sol — Data structures and interface
contracts/src/SmartVault.sol — Core ERC4626 vault logic
contracts/src/SmartVaultServiceHandler.sol — WAVS integration
contracts/src/libraries/RiskEngine.sol — Risk calculation library
contracts/src/libraries/UniV3Math.sol — Uniswap V3 math library
Focus on: deposit/withdrawal flows, rebalance execution, risk parameters, decimal handling, access control, and replay protection.
$ARGUMENTS