hard20 pts · first answer countssmart-contract-securityoraclesdefi
How far one swap moves a pool price
A constant product pool holds 100 ETH and 300,000 USDC (spot price 3,000). An attacker swaps 100 ETH in, ignoring fees. What is the new spot price of ETH in the pool?
Discussion 0
Join free to post in the discussion.
Related questions
- Private variables are public dataBlockchain Developer
- Verifying a contract on EtherscanBlockchain Developer
- Sharing a seed phraseBlockchain Developer
- Why use OpenZeppelinBlockchain Developer
- Why contracts need oraclesBlockchain Developer
- What makes a flash loan possibleBlockchain Developer
- How an AMM sets pricesBlockchain Developer
- What TVL measuresBlockchain Developer