Tag: solidity
All the articles with the tag "solidity".
Uniswap V4 Hooks — What the Next DEX Paradigm Looks Like
Posted on:February 9, 2026 at 10:00 AMUniswap V4 introduces hooks — arbitrary code that runs before/after swaps, LP actions, and pool initialization. This transforms Uniswap from a fixed-function AMM into a programmable financial primitive. A technical deep dive into the architecture and what it enables.
Gas Optimization in Solidity — Techniques That Saved Real ETH
Posted on:January 13, 2025 at 10:00 AMConcrete Solidity gas optimization techniques with before/after gas measurements: storage layout packing, calldata vs memory, custom errors, unchecked arithmetic, and mapping vs array tradeoffs. Numbers from a real ERC-20 + staking contract optimization.
ERC-20 Standard — Building and Auditing a Token from Scratch
Posted on:April 9, 2024 at 10:00 AMA line-by-line walkthrough of the ERC-20 standard — implementing a compliant token from scratch in Solidity, understanding every state variable and event, and learning the security vulnerabilities that have cost millions in real exploits.
UniswapV2 — The Math Behind Automated Market Makers
Posted on:January 18, 2024 at 10:00 AMA deep dive into the constant product formula x·y=k that powers UniswapV2. We derive price impact, slippage, and LP fee math from first principles — with a trade simulator you can run in your head.