Skip to content
RED SAGSkills
hard20 pts · first answer countsdefismart-contract-security

Flash-loaned voting power

A DAO counts votes using token.balanceOf(voter) at the moment of voting. An attacker borrows millions of tokens in a flash loan, votes, and repays in one transaction. What is the standard fix?

Choose one answer