# From Arbitrage, Sandwich to JIT and Oracle Manipulation

Check out these case studies if you're new to analyzing DeFi transactions' structures and exploring strategies. They provide a solid foundation for further progress.

* [A $3.2 million profit arbitrage, the most lucrative arbitrage of 2022.](/head-first-defi/mev-transaction-and-strategy-101/a-usd3.2-million-profit-arbitrage-the-most-lucrative-mev-of-2022.md)
* [Understand back-run arbitrage and join the MEV game.](/head-first-defi/mev-transaction-and-strategy-101/understand-back-run-arbitrages-and-their-signals-and-join-the-mev-game..md)
* [The hidden tax that you should know about.](/head-first-defi/mev-transaction-and-strategy-101/the-hidden-tax-that-you-should-know-about.md)
* [Wallchain's MEV arbitrage redistribution](/head-first-defi/mev-transaction-and-strategy-101/wallchains-mev-arbitrage-redistribution.md)
* [MEV Blocker, the multi-transaction MEV redistribution system that refunds 90% of builder rewards.](/head-first-defi/mev-transaction-and-strategy-101/mev-blocker-the-multi-transaction-mev-redistribution-system-that-refunds-90-of-builder-rewards.md)
* [MEV Share, Flashbots' MEV redistribution solution.](/head-first-defi/mev-transaction-and-strategy-101/mev-share-flashbots-mev-redistribution-solution.md)
* [With NFT arbitrage, someone was snipping your Baby Doge.](/head-first-defi/mev-transaction-and-strategy-101/with-nft-arbitrage-someone-was-snipping-your-baby-doge..md)

Armed with this invaluable knowledge, you can boldly venture into the treacherous depths of the Dark Forest of DeFi, where a formidable adversary known as the Sandwich Attack lurks, also called Front-running.

* [The notorious Jaredfromsubway.eth's Sandwich attack.](/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/the-notorious-jaredfromsubway.eths-sandwich-attack.md)
* [Combined with Flash Loan, this leveraged Sandwich launched the attack with millions of volumes.](https://app.gitbook.com/o/ahjSZgviWgaIHBT4FqC0/s/6mxU4QYtlg9O3vnppqQm/~/changes/35/dont-let-your-trading-become-the-recipe-of-someones-sandwich/combined-with-flash-loan-this-leveraged-sandwich-launched-the-attack-with-millions-of-volumes)
* [Liquidity providers can also be victims of Sandwich, as shown in this case.](/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/sandwich-targeting-liquidity-providers.md)
* [Even the Ethereum Foundation couldn't escape the claw of this flash-loan-enabled Sandwich MEV. ](/head-first-defi/dont-let-your-trading-become-the-recipe-of-someones-sandwich/the-flash-loan-enabled-sandwich-attack-against-ethereum-foundation.md)

DeFi Lego's flexible composability makes it hard to grasp behaviors and affiliations of trading. We dissect the strategies below to reveal the tactics under the hood. You can learn a lot from the initiators of these trades.

* [What's really going on when processing liquidity in a Uniswap Pool?](/head-first-defi/under-the-hood-of-the-defi-lego/whats-really-going-on-when-processing-liquidity-in-a-uniswap-pool.md)
* [Liquidation: a good entry point to comprehend internal accounting used by many DeFi protocols.](/head-first-defi/under-the-hood-of-the-defi-lego/liquidation-a-good-entry-point-to-comprehend-internal-accounting-used-by-many-defi-protocols..md)
* [A cross-chain arbitrage: the art of arbitraging BANANA cross BSC and Polygon chains.](/head-first-defi/under-the-hood-of-the-defi-lego/a-cross-chain-arbitrage-the-art-of-arbitraging-banana-cross-bsc-and-polygon-chains.md)
* [Liquidity rebalancing: moving around $9.4 million for more fee revenues.](/head-first-defi/under-the-hood-of-the-defi-lego/liquidity-rebalancing-moving-around-usd9.4-million-for-more-fee-revenues..md)
* [Rebalancing loan positions utilizing AAVE Flash loan](/head-first-defi/under-the-hood-of-the-defi-lego/rebalancing-loan-positions-utilizing-aave-flash-loan.md)

You are an expert now if you grasp the essentials of the transactions above. It's time to check out the following strategies that represent the pinnacle of DeFi participants exploiting Smart Contract's advanced features. Mastering them thoroughly will help you reduce risks and expand your trading toolkit as you strive to become a sleuth.

* [Just-in-time, an MEV type that benefits traders in the same trading venue.](/head-first-defi/unlocking-the-power-of-advanced-defi-transactions-and-becoming-a-defi-sleuth/just-in-time-an-mev-type-that-benefits-traders-in-the-same-trading-venue.md)
* [A bot devised distinct arbitrage strategies centered on the autonomous minting and burning of synthetic tokens.](/head-first-defi/unlocking-the-power-of-advanced-defi-transactions-and-becoming-a-defi-sleuth/a-bot-devised-arbitrage-strategies-centered-on-autonomous-minting-and-burning-of-synthetic-tokens.md)
* [The defect in a lending protocol's oracle module was exploited by a bot to generate a $110K profit.](/head-first-defi/unlocking-the-power-of-advanced-defi-transactions-and-becoming-a-defi-sleuth/the-defect-in-a-lending-protocols-oracle-module-was-exploited-by-a-bot-to-generate-a-usd110k-profit.md)
* [After the Vyper-Curve Exploit, Coffeebabe.eth utilized the Vyper-based Curve CRV/WETH pool's significant price deviation from the market price and made an arbitrage with a $5.4 million profit.](/head-first-defi/unlocking-the-power-of-advanced-defi-transactions-and-becoming-a-defi-sleuth/coffeebabe.eth-utilized-curves-crv-weth-pools-price-deviation-for-a-usd5.4-million-profit-arbitrage..md)
* [The Vyper-Curve exploits released massive arbitrage opportunities. The Lightning Reflex Bot captured the first arbitrage opportunity after the attack, earning $296K profit after paying 50% of the revenue to the builder.](/head-first-defi/unlocking-the-power-of-advanced-defi-transactions-and-becoming-a-defi-sleuth/a-usd296k-profit-arbitrage-done-by-the-lightning-reflex-bot-after-the-vyper-curve-exploit.md)
* [An attacker set up baits to attract MEV arbitrage bots and emptied their wallets when they took the bait, causing a loss of hundreds of thousands.](/head-first-defi/unlocking-the-power-of-advanced-defi-transactions-and-becoming-a-defi-sleuth/an-attacker-baited-mev-arbitrage-bots-and-emptied-their-wallets.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eigenphi-1.gitbook.io/head-first-defi/decoding-the-dna-of-defi-transactions-and-strategies/from-arbitrage-sandwich-to-jit-and-oracle-manipulation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
