hardStudy question · answer published in Blockchain interview questions, so no pointsdefisecurityerc-4626
First depositor in a vault
In a new ERC-4626 vault, an attacker deposits 1 wei, then donates a large amount of assets directly to the vault before a victim deposits. What happens and how is it prevented?
Discussion 0
Join free to post in the discussion.
Related questions
- What makes a flash loan possibleBlockchain Developer
- How an AMM sets pricesBlockchain Developer
- What TVL measuresBlockchain Developer
- A stablecoin pool paying 40%Blockchain Developer
- What a flash loan isBlockchain Developer
- Spot the reentrancy bugBlockchain Developer
- Using tx.origin for authBlockchain Developer
- Upgrading a proxy safelyBlockchain Developer