The order of the 3 transaction is incorrect on Uniswap. They are all in one Block. The correct order is
- 31k WLEO BUY
- 18k WLEO BUY
- 31K WLEO SELL
Whoever interacted with that contract managed to frontrun that 18k LEO buy order and sell afterwards. Made them about 0.7 ETH profit. The user that placed the 18k LEO buy order probably had the slippage set too high to allow that.