Austin Griffith
@austingriffith
⚖️ Balancer Hack TL;DR: 🧮 Most tokens on Ethereum use 18 decimals, but some don’t. ✖️ Balancer upscales token amounts (to 18-dec) and downscales them back. 🔧 Upscaling always rounded DOWN, but downscaling could round UP or DOWN. 😬 The more scaling steps involved, the greater the chance tiny amounts are lost in edge cases. 🎛️ An attacker tuned swaps to hit those rounding edges. ♾ Each hit gave a tiny profit, so he repeated it hundreds of times in a loop. https://x.com/BlockSecTeam/status/1986057732810518640
3 replies
8 recasts
39 reactions
Zeni
@zeni.eth
this was a surprisingly great tl;dr
0 reply
0 recast
3 reactions