# Attack Vectors

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcVktuozCwoEA53frdN95bReQNB3xBCA0vd5xoKgJpbDWne1MPUkGSe3DM0MB5zEztoAZPh1uZgUji3rDMpdA-VJiHUF3Da74Y-GfyQ7Qqj7OIc_qeloPIoeucKxjL3xzUXqW5_ojfTipmBmL8YO_TnCJdO?key=DVIou_k9iGi22TAN-_UqIg" alt=""><figcaption><p>Overview of various sources of blockchain extractable value</p></figcaption></figure>

## Maximal Extractable Value

MEV is excess value captured by miners (or validators) from users in a cryptocurrency network. This excess value often comes from reordering users’ transactions to maximize fees or from inserting new transactions that front-run users’ transactions. Public blockchains allow any user to submit a transaction that modifies the shared state of the network. Miners (or validators in proof-of-stake networks) aggregate these transactions into blocks which they propose to the network. Each miner can propose blocks at a rate roughly proportional to the resources they have locked into the network. Thus, the fixed fees each miner earns (e.g., block rewards in Bitcoin or staking yields in Ethereum) are also approximately proportional to these resources.[However, the transaction-dependent fees collected by the miner often vary dramatically from block to block.](https://arxiv.org/pdf/2207.11835)

There are three principal agents involved in MEV: **miners, network users, and MEV searchers**. Miners contribute resources to a network in order to win the chance to earn fees by validating transactions. Network users are ordinary users who submit financial transactions to miners to be validated and added to the blockchain. Finally, MEV searchers (or simply, ‘searchers’) are agents who find profitable opportunities from reordering, inserting, or omitting transactions. Searchers design strategies: solutions to knapsack-like problems which find the most profitable sequence of transactions that fits within the block limit.

By viewing MEV as a multi-agent game between miners, searchers, and users, we can compare the equilibria that emerge from different forms of MEV. This perspective allows us to analyze the economic properties of systems with MEV.  The profitability of MEV strategies often varies dramatically from one application to another. [Since MEV was first defined in 2019, miners and searchers have extracted over $650 million](https://explore.flashbots.net/). Moreover, the observed types of MEV strategies have grown rapidly.

<br>

<br>


---

# 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://bonding-curve-research-group.gitbook.io/bonding-curve-research-group-library/attack-vectors.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.
