Questions tagged [mev]
The mev tag has no usage guidance.
54
questions
1
vote
0
answers
15
views
API to get MEV reward recipient from Beacon Chain
Is there any API which I can reliably use to get the MEV reward recipient and block reward for a particular block number as shown on the beacon chain page?
I can use the flashbots relay API but this ...
2
votes
1
answer
109
views
What is the difference between sqrtPriceLimitX96 and amountOutMinimum for uniswap?
The sqrtPriceLimitX96 is just a price limit which cannot be exceeded by the trade.
At the same time, the amountOutMinimum appears to do the same thing in that you can achieve maximum price by taking:
...
2
votes
0
answers
45
views
What are the MEV builder algorithms?
I am looking for a source that explains the algorithm on how the block builders select the transactions from the mempool. The only thing that looks close is this code from flashbots
https://github.com/...
0
votes
2
answers
41
views
Calculate BPT price onchain
What's a safe way to calculate the onchain the price of a Balancer's BPT token? More specifically, from a Composable Stable Pool (if the clarification of the pool makes the calculation different). For ...
4
votes
3
answers
116
views
How does Tornado Cash protect against MEV?
As I understand it, when you send ETH into Tornado Cash, you have a piece of information that you can later submit from any address to retrieve your ETH.
In this case, if I can retrieve it from ...
1
vote
1
answer
54
views
Is there MEV in replacing referral code in calldata?
I've been reading AAVE document and saw that user can include a referral code inside deposit calldata, so that the referrer can receive some rewards(source: https://docs.aave.com/developers/v/1.0/...
1
vote
2
answers
101
views
What are the things MEV bots can MEV?
Suppose I'm performing swaps form Uniswap, sushiswap etc Can they MEV my funds? What are the things MEV bots can do?
1
vote
1
answer
313
views
Flashloan + flashbot
Can i use both flashloan and MEV builder in one transaction? Means borrowing from flashloan, then building my transaction in MEV builder (to prevent sandwich attack )?
If it is possible, can anyone ...
0
votes
1
answer
92
views
Help - MEV Contract [duplicate]
I created an deployed a MEV bot via remix.re — after deploying the contract — I noticed the internal transaction sent to an unknown address.
Any help on seeing what happened here??
My Contract Address
...
3
votes
1
answer
443
views
Does arbitrum / optimism / other L2s have MEV?
Due to the fact that the sequencer is the "real" node that sequences transactions, I would imagine that is the true MEVer...
But for example, could I run an Arbitrum node and MEV some ...
1
vote
1
answer
42
views
Why do MEV bots sometimes not include input tokens?
I'm trying to understand some on chain MEV activity and am a bit stumped.
(Edit) Here's the transaction:
https://etherscan.io/tx/0x75f0ee27fe3361634e5a051874d877f5e533705cc84ece32529246dc64f2211f
This ...
0
votes
1
answer
159
views
Please let me know if this code is a crypto scam (I believe it is) [duplicate]
This MEV Solidity language code is linked through the YouTube channel: https://www.youtube.com/watch?v=xNbqUYrhzFE&ab_channel=GeorgeMevBotDeveloper (which only has the one video).
If it is a ...
0
votes
2
answers
207
views
Why do people deploy MEV bots on chain?
More specifically, is there any advantages to be had with having the bot trading logic on chain in a smart contract? Versus doing it all off chain, watching for events and submitting the transaction
1
vote
0
answers
141
views
Why do flashbot transactions have gas fees?
From reading the docs it seemed to be that instead of setting a maximum gas fee on a transaction, we could use this function to tip the miner. However, looking at flaashbot transactions it seems like ...
0
votes
1
answer
103
views
How to add Pulsechain (ChainID 369) with factory proxy Gnosis-Safe existing ETH vault
Last week I managed to create a Polygon Gnosis Safe for my existing vault by adding the factory proxy, given at github:
https://github.com/safe-global/safe-deployments/blob/main/src/assets/v1.4.0/...
1
vote
1
answer
175
views
Prioritize Ethereum Transaction
What would be a good strategy to prioritize a transaction given the EIP-1559 definitions:
Base Fee: minimum fee a transaction must pay to be a valid transaction. The Base Fee changes per block, ...
0
votes
2
answers
587
views
Decoding Pending Transaction Input Web3 Python
I am writing some code on Python utilising the Web3 library. I am accessing the mempool and I am trying to access the slippage on pending transactions on swaps made on the Binance Smart Chain with ...
2
votes
3
answers
911
views
Can people do Sandwich Attack (MEV) on Polygon?
Can people do Sandwich Attack (MEV) on Polygon?
I know that people use Flashbots to do MEV on ETH layer 1. But Flashbots is not available on L2 or other side chains. Can people actually do similar ...
0
votes
1
answer
98
views
Profit or just waste of time?
I have some questions that I hope will be answered here I posted this question on twitter as well but with no response, I am a newcomer in the world of crypto and decentralized exchanges and Flash-...
0
votes
0
answers
203
views
Marlin relay keep giving "invalid chain id for signer" error
Using ethers + Marlin keep giving me the following error:
{
error: {
message: 'err:invalid chain id for signer; txhash 0x217d467045374dbfb2ca537c9a184472458706e7a69ca9931c7f1a4f89efeec3',
...
0
votes
1
answer
139
views
How does transaction ordering works in polygon blocks
Hello I am trying to do some easy dex arbitration but my transactions despite having enough gasPrice (or maxPriorityFeePerGas, maxFeePerGas) keep going way back sequentially in the block.
For example ...
1
vote
1
answer
484
views
Transaction order in the block and gas
I was wondering about how are transactions ordered in the block. I was checking three different transactions, two of them made by sniper bots and I don't know where lies the difference and why one is ...
0
votes
2
answers
714
views
Flashbot bundle not included troubleshooting
I'm trying to send Flashbots bundles on Goerli. I for-loop 10 times to send bundles, every time the target block number increases by 1, in case the previous bundle fails (What I did in Flashbot bundle ...
2
votes
2
answers
1k
views
NEED help - MEV bots attacking our liquidity pools - how to counter or block the MEV bots?
Intro
We have 2 tokens in our project and 3 liquidity pools ( "token1-ETH", "token2-ETH" & "token1-token2"). Token1 has ~5% of fees and includes reflection. Token2 ...
1
vote
1
answer
712
views
How to send bundles directly to top MEV builders?
I can send my bundles to Flashbots builder successfully. However, there are only about 20% of blocks are built by Flashbots builders, other blocks are mainly built by builder0x69, beaverbuild, and ...
0
votes
0
answers
391
views
How do I send bundles to mev builders on goerli testnet?
Flashbots operates a Goerli validator and searchers can test Flashbots by using it. I can send bundles with flashbots provider as said at https://docs.flashbots.net/flashbots-auction/searchers/...
3
votes
1
answer
618
views
How to explore the bundles on the blocks builded by the external builders?
As far as I know, the flashbots bundles can be found in flashbots explorer (https://flashbots-explorer.marto.lol/) when their block is built by Flashbots: Builder (you can find more mev-builder at ...
4
votes
1
answer
600
views
Is there any other way to send transaction bundle to miners besides Flashbot?
I'm studying flash bot recently, and I found by chance that the first few transactions of this block(https://etherscan.io/txs?block=16655452&ps=100&p=2) seemed to be a flash bot bundle (...
1
vote
1
answer
264
views
How to get all the bundles on a particular block?
I'm a beginner at flashbots. As stated in the document, we can use Flashbots Bundle Explorer (https://flashbots-explorer.marto.lol/) to inspect bundles and search by block numbers. How to obtain all ...
0
votes
0
answers
401
views
Flashbot bundle is not included because "isSendToMiners" is false
I'm trying to send a flashbot Bundle with several transactions. I use the following code to sign and send a bundle:
const signedTransactions = await flashbotsProvider.signBundle([
{
...
1
vote
1
answer
399
views
Is mev-geth analougue to geth?
I was reading about ethereum node impementations and found something about mev-geth, wich is a fork of geth made by flashbots.
If i want run a node just to propagate my own transactions and query the ...
0
votes
0
answers
78
views
Slight MEV ETH transaction
Thorswap integrates 0x as a liquidity provider on Ethereum. A user reports getting much less than anticipated on this transaction:
https://etherscan.io/tx/...
0
votes
2
answers
500
views
Flashbots Inclusion of a Mempool Signed Transaction
Hello i'm trying to understand how flashbots Bundles are working.
So far i can send a flashbots Bundle with several transactions that i made. But in the official docs it is stated that we can include ...
1
vote
1
answer
87
views
Does sandwich attack work if there are TWO attackers?
In this scenerio, could both attackers turn a profit from this attack?
I imagine it would work, but I want to be certain.
Tx No.
Description
Tx0
Attacker 1 trades A for B
Tx1
Attacker 2 trades A ...
2
votes
2
answers
150
views
What is this MEV tx trying to achieve?
For this TX: https://etherscan.io/tx/0x8b0351a83e453e30a8b4ada8adc1ce42dac73c05bc2ba87304906f1eed8a77a2
Seems PunkOTC sent 7 ETH to mev bot and mev bot sent this 7ETH to (Lido: Execution Layer ...
1
vote
1
answer
474
views
What is the difference between Miner Tip and maxPriorityFeePerGas
Yesterday I noticed 2 arbitrage transactions on Uniswap V3 in the same block and pools:
1)https://etherscan.io/tx/0x1933479aad430fc3b0acfb9394d138e62d19d1a15437a52a807ca4af9bad7591
2)https://etherscan....
1
vote
1
answer
575
views
What is the difference between Relay and Builder post Merge in Ethereum?
I was listening to an episode of Bankeless where they were talking about things coming up, post merge. In that episode they mentioned block builders and relayers.
The context they mention it was ...
1
vote
1
answer
50
views
Why doesn't ethereum enforce a transaction ordering to prevent MEV?
Why not just enforce ordering by priority fee? Just say a block is invalid if the transactions are out-of-order with respect to their priority fees. That way smart contracts can limit priority fees to ...
2
votes
0
answers
28
views
Should contracts enforce waiting 32 slots (1 epoch) between MEV-able functions, now that we're using Proof of Stake?
Context:
When Ethereum's consensus used proof of work, a miner of block B would have no guarantees that they would also be a miner of block B + 1. This property is important when considering the ...
2
votes
1
answer
92
views
What would be implications of Ethereum's merge for MEV searchers?
Within a few days, Ethereum will eventually be transmitted from PoW to PoS. The question is will MEV searchers (who use MEV relay API) need to do any update on their code? (i.e. change relay API ...
4
votes
1
answer
439
views
PBS - How & where do block builders submit their blocks?
With the merge and the change to PoS, there will also be a shift towards PBS. As far as i have researched, any block builder can build blocks with transactions from the mempool.
How are these blocks ...
1
vote
1
answer
826
views
Bundle of Transactions
I have been studying some articles about MEVs on the Ethereum network and met FlashBots which provides security for MEV Bots
That is a bundle propagation service which receives bundles from searchers ...
0
votes
0
answers
28
views
How to add time-sensitive data to governance proposals?
Many governance contracts use low level calls. In order to allow governance to call any contract, OpenZeppelin's governance bravo executes proposals through
targets[i].call{value: values[i]}(calldatas[...
1
vote
1
answer
254
views
Why miners are not picking my arbitrage trading bot transaction on ethereum.?
Miners not picking my arbitrage trading bot transaction that is sent to miners directly using relay.flashbot.net rpc. And we are also giving reward through block.coinbase.transfer() function and also ...
0
votes
1
answer
679
views
MEV bots contract addresses [duplicate]
how so many MEV bots contract addresses start with many zeros?
I understand they do so to use less gas but how they manage to create contracts with such addresses?
1
vote
1
answer
100
views
Could front-running be mitigated by placing the transaction fee data in the signed bytes?
I'm very much learning. I've just discovered front-running and MEV (not the hard way, luckily).
My understanding is that the transactions are reordered based on cloning the transaction and sending it ...
2
votes
4
answers
394
views
Is MEV possible on bitcoin?
Miner Extractable Value (MEV) is a big topic in the life of ethereum users, and it creates an additional revenue source for the miners.
Is MEV possible on the bitcoin blockchain as well? And if yes/no,...
0
votes
1
answer
278
views
can i smiulate 2 transactions using .call in web3 or in anyother way?
i want to be able to simulate 2 transactions using .call in web3.js.
To see if 1 tx affects the other. I cant find a way to do so. .call only works for 1 at a time and a custome node takes a lot of ...
0
votes
2
answers
247
views
What is the best way to check if the contract has experienced sandwich attacks
I am searching for a convenient way or tool to see if the contract was exploited by frontrunners. I have several smart contracts that expose functions that are suspect to these so-called sandwich ...
4
votes
1
answer
4k
views
Is Miner Extractable Value (MEV) possible on Binance Smart Chain?
Is it possible to arbitrarily order transactions on Binance Smart Chain as is the case on Ethereum to allow for MEV?
I could not find anything on google about this topic. I hope it's appropriate to ...