Topics in Solidity
summary
Shows concrete language changes and proposals: replace error‑prone abi.encodeWithSignature and abi.encodeWithSelector with abi.encodeCall (available since 0.8.11) and add abi.encodeError for typed revert testing; documents Foundry/test patterns and OpenZeppelin usage. Details fixed‑point debate: most requested feature is decimal fixed 18, compares Maker vat math, Uniswap v2 binary shift, and Uniswap v3 fullMath, explains shadow overflow and gas tradeoffs, and proposes a 512→256 MALDIV EVM opcode plus user‑defined value types and operators with a special zero rule.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:41Abi Dot Encode with Selector
- 7:43What Is the Most Requested Solidity Feature
- 10:13Multiplication and Division
- 10:58History of Expanded Arithmetic
- 12:20Ways To Implement Fixed Point Types
- 12:45Shadow Overflow
- 19:01User Defined Value Types
- 20:34Implementing Operators for Fixed Point Types
- 23:10Syntax for User-Defined Operators
- 24:59Floating Point Numbers
- 26:16Floating Point Errors








