felipe (@mande_eth) header
felipe (@mande_eth) profile picture
Joined February 2022
5 things you should consider when preparing to give a smart contract audit 🧵
10
14
2
47
6,437
Ethereum Address Checksum explained!
4
8
3
57
3,890
As an auditor, it's crucial to know the ERC20 approve vulnerability. It's a sneaky exploit that can be used to manipulate transaction ordering and double spend allowance. In this 🧵, I'll share tips on identifying and protecting against this exploit during your audits.
17
57
5
260
35,113
Random Solidity tips: 1️⃣ Use "type(uint256).max" instead of "uint256(-1)" 2️⃣ Surround code with {} to avoid "stack too deep" 3️⃣ Skip tuple vars with commas: "uint a, , ," 4️⃣ Swap vars in one line: "(a,b)=(b,a)" 5️⃣ Use "assert" and get built-in formal verification with SMTChecker
16
41
4
245