better-simple-arbitrage
better-simple-arbitrage copied to clipboard
Fixed & improved key aspects of Flashbots' boilerplate simple-arbitrage bot. Solved and implemented computation of profit-maximizing trade size across two constant product markets.
Results
2
better-simple-arbitrage issues
Sort by
recently updated
recently updated
newest added
https://github.com/jacksonConrad/better-simple-arbitrage/blob/f8b96f3be6306ffc48336903852f6b82d4ca4310/src/UniswappyV2EthPair.ts#L335 What is the purpose of the statement `if (ethMarket.receiveDirectly(tokenIn) === true)` if the function returns the same either way
Anyone else is experiencing this issue? What can I do?