Dex Two
Drain all funds from the DexTwo contract, which uses a slightly different price calculation but is still vulnerable.
Vulnerable Code
Analyze the Solidity code below to find the vulnerability.
Submit Explanation
Explain the vulnerability and how to exploit it.
Hints (4)
Just a little peak
Hint 1
Hint 2
Hint 3
Hint 4
Explanation
Discomfort = Learning