🛡️ Flash Loan Protection: Block Snapshots
Discover how snapshots prevent flash loan governance attacks
Vote without gas fees using off-chain signatures
Your Progress
0 / 5 completed🚫 How Snapshots Block Flash Loans
Flash loans let you borrow millions with zero collateral—but only for one transaction/block. Snapshot voting makes borrowed tokens worthless because voting power comes from a past block (before the flash loan existed). Attacker borrows 10M tokens at block 1,000,000? Their voting power at snapshot block 999,000 is zero. Attack blocked, no governance risk.
🎮 Interactive: Attack Timeline Comparison
Compare how flash loan attacks work against traditional voting vs snapshot voting. Step through each scenario to see where snapshot protection kicks in.
Timeline Steps
Step 1 of 5🎯 Beanstalk Could Have Been Saved
April 2022: Beanstalk lost $182M to flash loan attack. Attacker borrowed $1B in governance tokens, voted on malicious proposal, drained treasury, repaid loan—all in 13 seconds.
⚡ Flash Loan Requirements
📸 Snapshot Protection
💡 Key Insight
Flash loans break traditional governance because voting power = current balance. Snapshot voting flips this: voting power = historical balance at snapshot block. Since flash loans can't time-travel backwards, they become worthless for governance attacks. The snapshot creates a temporal barrier—borrowed power from block 1,000,000 can't influence votes counted at block 999,000. It's like trying to vote in yesterday's election using today's ID—doesn't work.