mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-04-27 03:09:17 -04:00
Create tricks.md
This commit is contained in:
parent
4e57316655
commit
c7b34227c2
16
MEV_and_trading/protocols/uniswap/uniswap-v3/tricks.md
Normal file
16
MEV_and_trading/protocols/uniswap/uniswap-v3/tricks.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
## tricks
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
### example cex + dex
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
1. consider a JIT LP that has ETH and USDC both in a wallet and in a CEX.
|
||||||
|
2. when the LP observes a large ETH -> USDC swap in the mempool, they deploy a LP position on Uniswap, and at the same time submit an ETH buy order on the CEX.
|
||||||
|
3. after both trades, the LP has the same total amount of ETH and USDC as before.
|
||||||
|
4. assuming that the following holds, the LP are also profitable:
|
||||||
|
|
||||||
|
```
|
||||||
|
fees_DEX + price_impact_DEX > fees_CEX + price_impact_CEX
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user