Consider a AMM SWAP pool (under XYK model) has a ETH/SOME pair, with 100000 ETH and 20000000
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider a AMM SWAP pool (under XYK model) has a ETH/SOME pair, with 100000 ETH and 20000000 SOME.
i) If someone is using 100 ETH for SOME, how many SOME can he get if there is no fees?
ii) Say the SWAP fee is 1%, how many SOME can he get?
iii) Knowing that an anonymous user requested 800 ETH for SOME, based on this information, can you maximized your profit given that you are able to control the sequence of transactions. (1% SWAP fee)
Use XYK model
Related Book For
Posted Date: