Crypto Trading Systems
Bug Report
DEX swaps reverting with Too little received: stale quotes, slippage bounds and deadlines
Our treasury rebalancing service swapped on a DEX and about a quarter of swaps reverted on volatile days with Too little received, wasting gas. Quotes were computed seconds before submission and transactions waited in the mempool. Fresh quotes, simulation and a deadline fixed it without loosening slippage.