Relating to a single uniswap pool, if I have a sell transaction on the same block as a remove liquidity transaction. Would I still be able to swap if they are removing all the liquidity? Which transaction would go first? If I have a higher maxPriorityFeePerGas say than the remove liquidity transaction would my tx get swapped/confirmed first? Who or what decides the "Position In Block"? Similar question to how do MEV bots frontend buy transactions in the pool?
Someone said to look here at the add method but bit too deep for me... https://github.com/ethereum/go-ethereum/blob/9489853321bb221694f5262772c656413be073af/core/tx_pool.go#L649
So I detect a remove liquidity event in the pool, I instantly put in a sell order that has a higher maxPriorityFeePerGas than the remove liquidity transaction but my "Position In Block" is still after than remove liquidity transaction?