Questions tagged [mev]
The mev tag has no usage guidance.
64 questions
0
votes
1
answer
44
views
My code doesn't accept op coin it always gives me ether coin
I have this code for mevbot
def build_transaction(to_address, value_in_op, gas_price):
gas_limit = 21000 # قد تحتاج إلى تعديل هذا بناءً على نوع المعاملة
value_in_wei = web3.to_wei(...
0
votes
0
answers
12
views
how to implement BEP322 in python or nodejs
In Bep322. there is a MEV builder api.
if i want to make my transection faster.i can direct send bnb to miner address in the same bundle.
but how i know what miner address i need to send bnb with.
how ...
1
vote
0
answers
78
views
i created sandwich attack python script using aave flashloan. is it correct? i created whole code
solidity contract function:
function executeOperation(
address asset,
uint256 amount,
uint256 premium,
address initiator,
bytes calldata params
) external override returns (bool) {
...
0
votes
1
answer
26
views
How can my transaction be in the same block of the wallet I'm copying?
I have been trying to copy trade some wallets, however I see my transactions always getting in the next block - especially if they snipe new token where volatility and slippage are quite high. Is they ...
0
votes
1
answer
20
views
How exactly does a validator's balance get updated with MEV tips?
When a validator is using MEV-boost with relays, how would the extracted value credited to their balance? Does it happen through the protocol itself or included as a transaction to fee recipient ...
0
votes
0
answers
33
views
Tokens randomly sent to a mev bot address
Last night I had some erc20 tokens transferred from my wallet to a mev bot address without my knowledge. It shows it being approved for trading and then two separate transactions of them taking tokens....
2
votes
2
answers
337
views
Why transaction with higher gas priority fee executes later than with lower priority fee?
I have found 2 transactions, the first one is has position 1 in block and another one has position 53 in the same block, although the second transaction has more fee to pay for gas and more priority ...
0
votes
1
answer
268
views
Sending bribes to block validators
I've got a question regarding bribes. Is it possible to send a bribe without using block builders' RPCs like rpc.titanbuilder.com? I would like to send a transaction using my own node and land it at ...
0
votes
1
answer
151
views
bundle transaction in bsc with contract address
i want to build bsc bundle like this contract address
here is example
https://bscscan.com/tx/0x934ad8417862a1e1e81a5b7ec4558f89877f06c33d3b2612293272eba437c869
https://bscscan.com/address/...
2
votes
2
answers
759
views
relay for L2 chain such as Base chain
For ethereum mainnet, there is "relay" for sending bundle, e.g., flashbots relay. But is I cannot find such thing for L2 chain such as Base chain.
Is there any relay for Base chain, or relay ...
0
votes
1
answer
292
views
Is the code in the link a scam? It's for "Uniswap ETH Arbitrage Bot" [duplicate]
There is a video on youtube with over 30k views, and I'm sus it's a scam...is it
the video: https://www.youtube.com/watch?v=4eLJZpGSHqk&t=20s&ab_channel=CryptoChemist%F0%9F%A6%87
the code:
...
0
votes
0
answers
14
views
MEV bot on Github - does it look like a scam? [duplicate]
this one was recently added to Github, my first opinion is that it is probably a scam. Can anyone take a look and let me know if anything fishy is in the smart contract code? If so then I will report ...
0
votes
0
answers
169
views
Timeout Error: eth_callBundle . Flashbot
Hi I am having an issue in flashbotsProvider.simulate() while pushing a transaction to the miners to be send to the block without sending it to the mempool.
Below is my source code
// 1. Import ...
1
vote
0
answers
99
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 ...
4
votes
1
answer
986
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
148
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
122
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
227
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
94
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
273
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
1k
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
274
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
...
4
votes
1
answer
1k
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
83
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
721
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 ...
1
vote
2
answers
633
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
237
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
193
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
615
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
1k
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 ...
4
votes
4
answers
2k
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
151
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
1
answer
286
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
994
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
1k
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 ...
3
votes
4
answers
3k
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
2
answers
2k
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 ...
3
votes
1
answer
1k
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
944
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
584
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 ...
1
vote
2
answers
645
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
83
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
3
answers
814
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
121
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
197
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
2k
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
975
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
62
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
30
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
101
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 ...