Hello good morning everyone, I'm doing some liquidity and swap tests in uniswap v2 goerli and I get some strange results, because a user initially spends an amount of eth for token A, then change token A for token B and then token B for token A and get more eth than initially spent this makes sense?
Here are the txs

Added 100,000 9INCH / 0.01 ETH
https://goerli.etherscan.io/tx/0x673de38d17d56c69d6e52e42766245fa7408bc90fd2169150728a56df183f4bd

Added 200,000 BBC / 0.01 ETH
https://goerli.etherscan.io/tx/0x3459852c133d460cbc96041d1a3f0ac00b1428fe4c7487eaec7625fda46bd135

Added 100,000 9INCH / 10,000 BBC
https://goerli.etherscan.io/tx/0x897efcf06504d5127d6d47f5d80fa8314a7f3e27a09ead6e41801c4b9b7e8519

Swap 0.00010131404313952 ETH To 1000 9INCH
https://goerli.etherscan.io/tx/0x2b5a11b76d6c4a736ca296ca4b08c0149442e60be53c2e6f8585155ca063ca84

Swap 1000 9INCH To 1988.25 BBC
https://goerli.etherscan.io/tx/0xa17844d8d4c37b7d0d74fc97e3563daab368905f5a8ec0ebc7c9dcd29053d42b

Swap 1,988.25539 BBC To 16,543.50314 9INCH
https://goerli.etherscan.io/tx/0x8a8b0f04ca82d66f638a4e214229dc2605771fc88203003f006d1686fa220b0c

Swap 16,543.50314 9INCH To 0.00141 ETH
https://goerli.etherscan.io/tx/0x67712e4dfbcea47cd6c49d5e40479bce3e43295288321f0c702bf036c58096c1

Jun 12, 2023, 9:40 AM

© 2024 Draquery.com All rights reserved.