1 results for tag "defi-amm-security"
Solidity AMM / liquidity-pool / swap-flow security checklist with hardened OpenZeppelin patterns β enforces CEI ordering and `nonReentrant`, blocks donation/inflation attacks by tracking internal `_totalAssets` instead of `token.balanceOf(address(this))`, requires Uniswap V3 TWAP instead of spot price, mandatory `amountOutMin`/`deadline` on swaps, `FullMath.mulDiv` for overflow-sensitive reserve math, and `Ownable2Step` admin controls. Ends with a slither / echidna / forge fuzz audit step.